Convert a file source from AI (.zip) to AI2 (.aia)

11,268 views
Skip to first unread message

Androdiante

unread,
Aug 11, 2013, 12:21:28 PM8/11/13
to app-inventor-o...@googlegroups.com
anyone knows how to convert a file source from AI (.zip) to AI2 (.aia)?

Gareth Haylings

unread,
Aug 11, 2013, 1:09:33 PM8/11/13
to app-inventor-o...@googlegroups.com
AI 1 projects can't currently be imported  into AI2

Ralph Morelli

unread,
Aug 12, 2013, 6:14:02 AM8/12/13
to app-inventor-o...@googlegroups.com
Hi Gareth,

I think the only difference is the suffix.  I believe the 'aia' suffix is used
to prevent some browsers from unzipping downloaded projects.  

-- ralph

Gareth Haylings

unread,
Aug 12, 2013, 6:26:46 AM8/12/13
to app-inventor-o...@googlegroups.com
Hi Ralph

Currently a project created in AI1 can't be imported into AI2 as the code for converting AI1 projects hasn't been written yet. The only part of a AI1 project you can import to AI2 is the screen designer form, but you would need to do a little bit of work to do this anyway at the moment. The Blocks file structure has totally changed so AI1 projects aren't currently portable to AI2.

Jos Flores

unread,
Aug 12, 2013, 9:20:43 AM8/12/13
to app-inventor-o...@googlegroups.com

Gareth is correct, projects can't be reused in that way between the two versions. You could get the layout to load, but not the blocks.

Cheers,
José

--
You received this message because you are subscribed to the Google Groups "App Inventor Open Source Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to app-inventor-open-so...@googlegroups.com.
To post to this group, send email to app-inventor-o...@googlegroups.com.
Visit this group at http://groups.google.com/group/app-inventor-open-source-dev.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Javi Marina

unread,
Aug 28, 2013, 7:21:42 AM8/28/13
to app-inventor-o...@googlegroups.com
Are you going to do a converter or not? It´s to know if I should wait to the converter or I should start to rewrite the apps on AI2


El lunes, 12 de agosto de 2013 15:20:43 UTC+2, Jos escribió:

Gareth is correct, projects can't be reused in that way between the two versions. You could get the layout to load, but not the blocks.

Cheers,
José

On 12 Aug 2013 06:26, "Gareth Haylings" <gareth....@googlemail.com> wrote:
Hi Ralph

Currently a project created in AI1 can't be imported into AI2 as the code for converting AI1 projects hasn't been written yet. The only part of a AI1 project you can import to AI2 is the screen designer form, but you would need to do a little bit of work to do this anyway at the moment. The Blocks file structure has totally changed so AI1 projects aren't currently portable to AI2.

On Monday, 12 August 2013 11:14:02 UTC+1, Ralph Morelli wrote:
Hi Gareth,

I think the only difference is the suffix.  I believe the 'aia' suffix is used
to prevent some browsers from unzipping downloaded projects.  

-- ralph

On Sunday, August 11, 2013 1:09:33 PM UTC-4, Gareth Haylings wrote:
AI 1 projects can't currently be imported  into AI2

On Sunday, 11 August 2013 17:21:28 UTC+1, Androdiante wrote:
anyone knows how to convert a file source from AI (.zip) to AI2 (.aia)?

--
You received this message because you are subscribed to the Google Groups "App Inventor Open Source Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to app-inventor-open-source-dev+unsub...@googlegroups.com.

Jos Flores

unread,
Aug 28, 2013, 8:54:11 AM8/28/13
to app-inventor-o...@googlegroups.com

It's in the list but hasn't been started or even thought about, so we don't know if there are limitations of what we can automatically do.

Cheers,
José

To unsubscribe from this group and stop receiving emails from it, send an email to app-inventor-open-so...@googlegroups.com.

Javi Marina

unread,
Aug 28, 2013, 5:08:46 PM8/28/13
to app-inventor-o...@googlegroups.com
It would be interesting if Gareth could do the converter, he talked about it some time ago. A converter would help a lot of people because start developing the app again is a very hard work, especially people with large apps

Gareth Haylings

unread,
Aug 28, 2013, 5:33:44 PM8/28/13
to app-inventor-o...@googlegroups.com
This is something I may look at some point in the future but not at the moment as the AI2 code may still change quite a bit which could have an effect on any work I do on this. I think this is not impossible task do, but will be quite challenging and will take a while to get the conversion working correctly. Currently I have a large number of other AI mods I am looking at so won't get round to look at make a conversion tool for sometime sorry. 

Mattias Kratz

unread,
Sep 3, 2013, 3:02:21 PM9/3/13
to app-inventor-o...@googlegroups.com
I do love the new layout of ai2 without external java blockwindow. There is just one major problem. I have an app made in ai1 that have multiple screens and ALOT of blocks and other "coding" in it. I have spent around 500 hours the last year on this app and also integrated into the company i´m working at.

I do now wonder for how long ai1 will be active and functional so i can continue develop my app until hopefully a convert tool is released. Otherwise i have a full time job for 4-5 weeks to copy/re-code my app in the ai2.
Copy/re-code my app is not something i'm look forward to. This might be a make or break moment for me and app inventor.....

Please create/move the "ai1 to ai2 convert tool" to the list just beneath the "make ai2 stable" in your "to do list".

I do love app inventor and what it has done for me...... but another question is, if I have to rewrite my ai1 app in ai2 what will happen when ai3 might come out in the future. Do i have to spend hundreds of hours to rewrite it again.... I am not sure i want to rewrite it in ai2 at all.

I guess there are alot of people with same problem just like me and for us it is crucial that there will be an conversion tool in the future. I understand it will take some time but as long that I know you are working an a conversion tool with high priority I will keep on spending hours and creating new wonders in App Inventor.

Mark Friedman

unread,
Sep 3, 2013, 3:31:03 PM9/3/13
to App Inventor Open Source Development
I can't speak for the MIT team but my understanding is that AI1 will stay around for quite awhile after AI2 becomes the official version.  Not to mention that you will always have the option of running your own AI1 for as long as necessary.

My own personal opinion is that it is important for the App Inventor team to be able to innovate between major versions without having a hard constraint of backward-compatibility, as long as earlier versions remain available.  That said, it looks likely that a conversion tool might be doable (possibly by someone outside the MIT team) at some point.  So far, it appears that the core blocks language will remain backwards-compatible but it's less clear about the components.  I could imagine that some of the "Not yet ready for prime time" components might get removed or that some of the existing component APIs will get changed in an incompatible (or difficult to be compatible) way.

-Mark


--

Mark Adams

unread,
Sep 3, 2013, 4:58:32 PM9/3/13
to app-inventor-o...@googlegroups.com
When I started using AI 1.3.1, and the Image property of my ImagePicker component was suddenly causing an error, I found it annoying having to delete the block and recreate it as an ImagePath property. I was only slightly annoyed though. I look forward to refactoring my app in 2.x, taking advantage of local variables. I was originally just using App Inventor to build a proof of concept, but after the concept stage, I sat down and tried to learn the Android SDK. After spending 8 hours just doing the layout of one screen using Android Studio, I've determined that it will be easier for me to continue to use AI.

Additionally, after doing enough research into the Android SDK just to enhance AI, I've also learned that the AI team cares a lot more about backward compatibility than the Android team. You're less likely to have to refactor your code by continuing to use AI than if you were to switch to using the Android SDK directly. IMHO.

-mark a.

Gareth Haylings

unread,
Sep 4, 2013, 4:54:08 AM9/4/13
to app-inventor-o...@googlegroups.com
I could imagine that some of the "Not yet ready for prime time" components might get removed or that some of the existing component APIs will get changed in an incompatible (or difficult to be compatible) way.

A number of the mods and enhancements I am working on could make other components redundant.
  • The addition features I am adding to the Imagesprite component makes the Image component redundant 
  • One of the mods for Button component I'm adding is a checked feature which means the button component could be used as a radio button, checkbox or just a button. This mean all the features of the Checkbox component can be done using the Button Component instead
  • The sound and player components could be merged
  • I am looking to make a panel component which will allow you to switch between horizontal and vertical this would replace the Horizontal and Vertical arrangement components.

Carter Smith

unread,
Dec 12, 2013, 12:36:27 AM12/12/13
to app-inventor-o...@googlegroups.com
Hello
all I did was go and rename the file instead of .zip rename to .aia it works with no loss of work

scottfromscott

unread,
Dec 12, 2013, 8:52:24 AM12/12/13
to app-inventor-o...@googlegroups.com
The Screen may look the same, but did any blocks get copied over?
---
Scott

Carter Smith

unread,
Dec 12, 2013, 9:23:47 PM12/12/13
to app-inventor-o...@googlegroups.com
no

Jeffrey Schiller

unread,
Dec 12, 2013, 10:42:50 PM12/12/13
to app-inventor-o...@googlegroups.com
And if you create new blocks, all will seem fine until you go to build the project (aka create a .apk file) and you will then have problems.

-Jeff


--
You received this message because you are subscribed to the Google Groups "App Inventor Open Source Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to app-inventor-open-so...@googlegroups.com.
To post to this group, send email to app-inventor-o...@googlegroups.com.
Visit this group at http://groups.google.com/group/app-inventor-open-source-dev.
For more options, visit https://groups.google.com/groups/opt_out.



--
_______________________________________________________________________
Jeffrey I. Schiller
Information Services and Technology
Massachusetts Institute of Technology
77 Massachusetts Avenue  Room E17-110A, 32-392
Cambridge, MA 02139-4307
617.910.0259 - Voice
_______________________________________________________________________

scottfromscott

unread,
Dec 14, 2013, 10:04:36 PM12/14/13
to app-inventor-o...@googlegroups.com

astral...@gmail.com

unread,
Apr 3, 2014, 8:49:37 AM4/3/14
to app-inventor-o...@googlegroups.com
i made it. what i did was . after downloading the .aia file. you convert it to .zip file by renaming it. then after i copied the screens i wanted to copy from another screen. i saved the file in the same destination folder (the location of the downloaded .aia file) then yes to replace it. now here's the trick i did. in the destination folder you saved the file. i pressed the CTRL+z then the .zip file was recovered to .aia file. then upload it to the AI. and it was succesful. the screens i copied was there

scottfromscott

unread,
Apr 4, 2014, 7:34:11 PM4/4/14
to app-inventor-o...@googlegroups.com

Great!
Just so others reading this don't confuse your solution with converting an AI Classic zip project to an AI2 aia project - astral's project was originally an ai2 aia archive. The original thread referred to converting AI Classic to AI2 which currently has no solution. (Screens can sort of get copied but not blocks and I understand that the screens will give errors.)
---
Scott
Message has been deleted

Rodney McKay

unread,
Apr 2, 2015, 1:51:28 PM4/2/15
to app-inventor-o...@googlegroups.com
I visited the old app inventor site and I've got this message:

"The App Inventor team will begin deprecating the App Inventor Classic system sometime this fall. Before that, we will provide a tool that will provide help in translating existing App Inventor projects to App Inventor 2. But if you are starting new projects, you should start them with App Inventor 2.

Maybe the problem will be solved this fall! 


Hal Abelson

unread,
Apr 3, 2015, 6:31:12 PM4/3/15
to App Inventor Open Source Development
see this newer notice:


We'll update the message on the AI classic site.



==Hal

--
You received this message because you are subscribed to the Google Groups "App Inventor Open Source Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to app-inventor-open-so...@googlegroups.com.
To post to this group, send email to app-inventor-o...@googlegroups.com.
Visit this group at http://groups.google.com/group/app-inventor-open-source-dev.
For more options, visit https://groups.google.com/d/optout.

P West

unread,
Jun 8, 2015, 1:13:14 PM6/8/15
to app-inventor-o...@googlegroups.com
The App Inventor Classic website says 'We expect to release this converter in about 2 weeks (i.e., around June 8).' Is there any word on if this has been released? I know the website says around but I thought there might have been a link to the converter somewhere I couldn't find!
Thanks!

Jos Flores

unread,
Jun 8, 2015, 1:16:27 PM6/8/15
to app-inventor-open-source-dev
As far as I know, it is still not out. You should download any zip
files for projects you want to keep anyway, even if the tool has not
been released yet, as a matter of caution.

cheers,
José

P West

unread,
Jun 8, 2015, 1:22:30 PM6/8/15
to app-inventor-open-source-dev
Thanks! I have done :D

You received this message because you are subscribed to a topic in the Google Groups "App Inventor Open Source Development" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/app-inventor-open-source-dev/0uOe-d6dksw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to app-inventor-open-so...@googlegroups.com.

To post to this group, send email to app-inventor-o...@googlegroups.com.
Visit this group at http://groups.google.com/group/app-inventor-open-source-dev.
For more options, visit https://groups.google.com/d/optout.
--

Peter West

Josh @ MIT

unread,
Jun 9, 2015, 11:26:49 AM6/9/15
to app-inventor-o...@googlegroups.com
Hi All,

The converter is being worked on feverishly, but still needs some last development and testing before we release it to the "wild"...

One thing to be sure of, when downloading projects from AI1, is that you OPEN them in AI Classic before you download them. Opening them will update the projects to the most recent file type for AI Classic, which is likely necessary for using the converter.

All the best
Josh


On Monday, June 8, 2015 at 1:22:30 PM UTC-4, P West wrote:
Thanks! I have done :D

On Mon, 8 Jun 2015 at 18:16 Jos Flores <josmas...@gmail.com> wrote:
As far as I know, it is still not out. You should download any zip
files for projects you want to keep anyway, even if the tool has not
been released yet, as a matter of caution.

cheers,
José



On 8 June 2015 at 18:13, P West <pkwj...@gmail.com> wrote:
> The App Inventor Classic website says 'We expect to release this converter
> in about 2 weeks (i.e., around June 8).' Is there any word on if this has
> been released? I know the website says around but I thought there might have
> been a link to the converter somewhere I couldn't find!
> Thanks!
>

--

Peter West

Abraham Getzler

unread,
Jun 9, 2015, 11:43:37 AM6/9/15
to app-inventor-o...@googlegroups.com
Is opening the projects in the Designer enough,
or do I have to also open them in the Blocks Editor?

(Java-free)
ABG


--

P West

unread,
Jun 9, 2015, 12:10:37 PM6/9/15
to app-inventor-o...@googlegroups.com

Great! Thanks!


--
You received this message because you are subscribed to a topic in the Google Groups "App Inventor Open Source Development" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/app-inventor-open-source-dev/0uOe-d6dksw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to app-inventor-open-so...@googlegroups.com.
To post to this group, send email to app-inventor-o...@googlegroups.com.
Visit this group at http://groups.google.com/group/app-inventor-open-source-dev.
For more options, visit https://groups.google.com/d/optout.
--

Peter West

Franklyn A Turbak

unread,
Jun 9, 2015, 12:16:30 PM6/9/15
to app-inventor-o...@googlegroups.com
Hi, Abraham --

Ideally, the projects should be opened up in the Blocks Editor as well as the Designer, since some upgrading of the blocks file takes place there. 

But if you don't have Java on your machine, then you can't do that. 

I suspect you may not be the only person in this situation, so the .zip files you provided will be good real-world test cases. 

- lyn -

Abraham Getzler

unread,
Jun 9, 2015, 1:19:49 PM6/9/15
to app-inventor-o...@googlegroups.com
I may have opened one or two of those projects (Sierpinski, Sieve1-4) in the Blocks Editor during a temporary re-install of Java after the recent flurry of impending closure announcements, for the sake of screen shots..  I'll leave Java off in the mean time, for maximal test coverage.

It's no big deal to re-install Java, if needed.

ABG

P West

unread,
Jun 9, 2015, 3:14:27 PM6/9/15
to app-inventor-o...@googlegroups.com
Do you have to download them from somewhere on each projects page or is it okay to press download all projects on the my projects page?
Thanks!

Josh @ MIT

unread,
Jun 10, 2015, 7:58:45 AM6/10/15
to app-inventor-o...@googlegroups.com
As far as I know, it should be fine to download all projects. However, before doing that, for best results with the converter tool, you should open each project, preferable (if possible) also opening the blocks for each project.

Moi C'EST

unread,
Jun 17, 2015, 1:26:41 PM6/17/15
to app-inventor-o...@googlegroups.com
Hello
Where is the the converter tool?

Thanks

P West

unread,
Jun 17, 2015, 2:30:47 PM6/17/15
to app-inventor-o...@googlegroups.com

It doesn't seem to be up yet :(


--
You received this message because you are subscribed to a topic in the Google Groups "App Inventor Open Source Development" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/app-inventor-open-source-dev/0uOe-d6dksw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to app-inventor-open-so...@googlegroups.com.
To post to this group, send email to app-inventor-o...@googlegroups.com.
Visit this group at http://groups.google.com/group/app-inventor-open-source-dev.
For more options, visit https://groups.google.com/d/optout.
--

Peter West

Taifun

unread,
Jun 17, 2015, 2:36:24 PM6/17/15
to app-inventor-o...@googlegroups.com
there will be an announcement as soon it is available
please be patient meanwhile
Taifun

Moi C'EST

unread,
Jun 18, 2015, 3:45:47 AM6/18/15
to app-inventor-o...@googlegroups.com
Ok 
Thanks

cleber kct

unread,
Jun 18, 2015, 7:47:57 AM6/18/15
to app-inventor-o...@googlegroups.com
Eu também estou pacientemente desesperando aguardando a ferramenta para converter um projeto.

Bem que o MIT poderia estender por mais uns 2 ou 3 meses o final do appinventor classic.

Taifun

unread,
Jun 18, 2015, 2:04:41 PM6/18/15
to app-inventor-o...@googlegroups.com
The conversion tool for converting an App Inventor Classic project to App Inventor 2 is now available. 

P West

unread,
Jun 18, 2015, 3:25:28 PM6/18/15
to app-inventor-o...@googlegroups.com
Thanks for the converter! I unfortunately had started to move my project over to AI2 and improved the design a lot. Is there any way to copy the code across from my converted project to the one i'd started to make? Thanks! 

--
You received this message because you are subscribed to a topic in the Google Groups "App Inventor Open Source Development" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/app-inventor-open-source-dev/0uOe-d6dksw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to app-inventor-open-so...@googlegroups.com.
To post to this group, send email to app-inventor-o...@googlegroups.com.
Visit this group at http://groups.google.com/group/app-inventor-open-source-dev.
For more options, visit https://groups.google.com/d/optout.
--

Peter West

Taifun

unread,
Jun 18, 2015, 3:33:20 PM6/18/15
to app-inventor-o...@googlegroups.com
you can convert AI Classic projects using the new converter tool and you can copy complete screens, see here
 How to copy screens by Scott and a video by Hossein
to keep the design of a screen and copy only the blocks is not possible
Taifun

btw. the correct place to ask questions like this is the main forum https://groups.google.com/forum/#!forum/mitappinventortest

Reply all
Reply to author
Forward
0 new messages