Skip to first unread message

Ralph Tremmel

unread,
Apr 8, 2014, 12:28:40 PM4/8/14
to mitappinv...@googlegroups.com
"upload File" offers to upload a single file only.
Is there actually no way to upload many files in one step?

Thanks Ralph

SteveJG

unread,
Apr 8, 2014, 2:43:17 PM4/8/14
to mitappinv...@googlegroups.com
I know of no way to add resources to Media other than "one at a time".     I expect one of the guys that disassembles the aia files and looks at the project manifest may have another 
way to load/delete  files, but that will be outside of AI2, using text editors etc.  Be patient and someone may post about how to do this outside of the normal AI2 environment.

If you have lots of files in one project and want to use them in another, just save the current project with a different name, then open the new project and delete everything but the resources.  The 
resources follow the Project on the MIT server.

Regards,
Steve

Ralph Tremmel

unread,
Apr 8, 2014, 5:10:46 PM4/8/14
to mitappinv...@googlegroups.com
Thanks Steve.

I expected this but just wanted to be sure.
This is my 3rd app with AI/AI2 and each time more than 20 images to be loaded. Who knows what else will come :)

M. Hossein Amerkashi

unread,
Apr 8, 2014, 5:25:12 PM4/8/14
to Ralph Tremmel, mitappinv...@googlegroups.com

Download source.  Add  in assets folder.  Upload source

--
You received this message because you are subscribed to the Google Groups "MIT App Inventor Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mitappinventort...@googlegroups.com.
Visit this group at http://groups.google.com/group/mitappinventortest.
To view this discussion on the web visit https://groups.google.com/d/msgid/mitappinventortest/95919c9c-7d2a-4720-a013-b5a5dae8e4de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ralph Tremmel

unread,
Apr 9, 2014, 1:18:40 PM4/9/14
to mitappinv...@googlegroups.com, Ralph Tremmel
Hello Mr. Amerkashi.
 
I know the assets folder. My first 2 apps I only could build with the help of ATM because of the sizes alone. Each one had a lot of images, which I loaded via assets. But again I need to load about 20 files in advance for tests. And even if it would be 5 only, it would be nice to load in one go. As I said, I just wanted to be sure. Perhaps I overlooked an information.

Regards Ralph 

M. Hossein Amerkashi

unread,
Apr 9, 2014, 1:21:51 PM4/9/14
to Ralph Tremmel, mitappinv...@googlegroups.com
@Ralph, for what you are doing, you don't need AppToMarket. I was talking about the actual project source (.aia) not the .apk. Just download source, use a zip utility (7zip) to open up the .aia, and then add all your media files into assets folder, then re-upload your .aia into MIT AI

-Hossein.



--
You received this message because you are subscribed to the Google Groups "MIT App Inventor Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mitappinventort...@googlegroups.com.
Visit this group at http://groups.google.com/group/mitappinventortest.

SteveJG

unread,
Apr 9, 2014, 2:19:17 PM4/9/14
to
Ralph,
Hossein provided the answer I thought might come.  Why it works:  the aia file is actually a zip file, renamed to work with AI2   ... I believe the aia stands for AI Assets.

As Hossein says, use a program like the free 7zip to open your aia file.    Download your project's source aia to your PC.  Use 7zip to open up the .aia,  When you do that, you will find three folders; assets, src and youngandroidproject.    Ignore the last two folders.   Open the assets folder.   If you opened an existing project that already has image files, html files and others, you will see these files in thisfolder.    To add the new assets,  drag the files you want to add into this folder.    Now, zip the three folders into a zipped folder and call it theProjectName.aia   (or you can call it theProjectName.zip and then modify the sufix from zip to aia. )   Now load this project aia into the AI2 browser and you should have all the files you needed listed as assets in the Media area.

@Hossein...thanks.

Did that work for you?
 
Regards, 
Steve

Ralph Tremmel

unread,
Apr 10, 2014, 5:12:58 AM4/10/14
to mitappinv...@googlegroups.com
@Hossein + @Steve

Thanks !!!
It works and is THE great solution for me.

Ralph

Reply all
Reply to author
Forward
0 new messages