Skip to first unread message

aumandg

unread,
Feb 7, 2015, 11:59:47 PM2/7/15
to mitappinv...@googlegroups.com
I have downloaded Android Studio and have tried serveral way to get a project from App Inventor into it with no luck.  Does anyone know if this can be done, if so how?

Thank you.

Enis

unread,
Feb 8, 2015, 12:18:59 AM2/8/15
to mitappinv...@googlegroups.com
No, it cannot be done.  App Inventor doesn't generate Java code...

aumandg

unread,
Feb 8, 2015, 8:32:17 AM2/8/15
to mitappinv...@googlegroups.com
ok, is there any other programs that will take it that you are aware of?

SteveJG

unread,
Feb 8, 2015, 8:49:14 AM2/8/15
to mitappinv...@googlegroups.com
An App Inventor aia source file is unique to App Inventor.   There is presently no automatic conversion to Java (Eclipse or Android Studio) tool.  You need to write the code yourself.   An apparently abandoned 'converted' AI Classic code to Java and the code is useless with AI2   https://code.google.com/p/appinventor-java-translation/    .  The last update in this project was in 2012.

Derek Barnes has a video showing how to convert AI2 to Java   using  AILiveComplete  if you want to try that  www.youtube.com/watch?v=FqNTc4DVYW8   .    

It might be simpler to re-code the AI2 app in Android Studio than using the techniques described in Derek's interesting and clever video.

Regards,

Steve



Reply all
Reply to author
Forward
0 new messages