Trying to make own app inventor

I want the component we need to remain in the builder and the rest can be added as per the requirement, so that the size of the app is also reduced. This is my idea.

(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)

No !
Please don't use hindi to talk in the community.

There are no firm rules about using languages other than English in the community, we have a translation service, however it is certainly more inclusive if English is used. If a non English language is used for #off topic# discussions then that will be flagged.

5 Likes

Ok, I'll do that. I'll PM him instead. Thanks for the feedback, I'll keep this in mind.

No, @nishyanthkumar there is no rule to talk only in English you can talk in your language.

2 Likes

I have merged https://github.com/mit-cml/appinventor-sources/pull/2553 that should fix the whitespace issue.

5 Likes

You would need to implement this functionality for yourself as it is not part of the built-in App Inventor system. I would point out that the AndroidRuntime.jar file, which contains all of the component classes, is only 1.3 MB. Of that, some classes would be impossible to eliminate, such as the items in the error and util packages (which contains items like YailDictionary and YailList). Additionally, the largest class by far is Form.class, which is the base implementation for all screens. I would be surprised if you could eliminate a whole megabyte (roughly 75%), but it might be doable.

At a high level, you'd need to adjust Compiler.java to create a new AndroidRuntime.jar file that contains the various subpackages and only those classes (plus any inner classes) for each component type used in the project. This modified AndroidRuntime.jar would then be used to build the final application following the existing logic.

7 Likes

Is now ant command work even spaces in username this do not work because I have spaces in my laptop username

Hello @Faraz_Firoz,
Well, it should be working, no matter it's a space in the username or in other directories.
However, your local sources aren't updated automatically with each commit being pushed in the origin repository, you must manually pull the commits pushed in the remote repository to get the latest changes. Have you updated the sources by re-cloning it or better by pulling the latest changes from the Appinventor master branch? i.e:

git pull origin master

If not, i don't expect something to change instead of what was going before.
Have you updated the sources?
If not, run the previous commit and try rebuilding.

4 Likes

Thank you all got Local host 8888
A special thanks to @MohamedTamer, @Techno_Vedang, @Sashibhusan_Sahoo
Got solution after 250 conservation
:wink: :wink: :wink:

3 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.