Lasith-Niro / appinventor-java-translation

Automatically exported from code.google.com/p/appinventor-java-translation
0 stars 0 forks source link

Does not convert file #2

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. C:\users\myname\desktop\app_inventor_java_conversion> java -jar 
AppInventorToJava.jar
2. INPUT:  C:\Users\myname\Desktop\install checklist source code.zip
   OUTPUT:  C:\Users\emmertw\workspace\installChecklist2.zip
3. Click Convert

What is the expected output? What do you see instead?
I started a new project in the Eclipse program and after starting a project, 
made a copy and zipped the contents. I then downloaded my app inventor code 
from google docs where google put them when app inventor shut down. I then made 
a copy of that file and zipped it. I then followed the steps listed above with 
the App Inventor zip as the input, and the Eclipse zip as the output. I had 
expected to see some sort of output that tells me it's working. I get the 
message  Error Generating Manifest:  java.lang.NullPointerException in the 
command prompt when I hit convert. Then, it corrupts the output zip file.

What version of the product are you using? On what operating system?
build 67

Please provide any additional information below.
That is all I can tell you, I suck as actual Java Programming, but actually 
managed to eek out an awesome application in App-inventor. I figured I could 
just use this to translate it (to some degree) and use that as a launch-pad to 
start actual Java Programming.

I've attached the Google Supplied app-inventor code and my zipped project from 
Eclipse (un corrupted) so you can see.

Original issue reported on code.google.com by wemme...@gmail.com on 11 Feb 2012 at 9:39

Attachments:

GoogleCodeExporter commented 8 years ago
It appears this project may be dead.  I stumbled across it looking for items 
related to app inventor - java turnover.  I would have loved something like 
this 3 months ago, but at this point I am well in to my java programming and 
would not look back at App Inventor (I knew nothing more than app inventor when 
i started).  I recommend checking out this project:

http://code.google.com/p/alternate-java-bridge-library/

It is an open source project that has a library with functions and events 
similiar to app inventor.  Since you already have an eclipse enviornment set 
up, this would probably be a good idea for you to check out.  The guy who runs 
it is extremely helpful, he answered all my questions and took me from a noob 
to a pro in no time (had to do my fair share of reading and research though).  
He actively maintains the project, which is a huge plus.  

3 months after using it, I now have 1 complete (and awesome) app from AI 
translated over and totally improved, and 3 more in process.

I can honestly say I would never go back to AI after this.  Just some helpful 
tips...good luck in your programming.

Original comment by bric...@gmail.com on 22 Feb 2012 at 6:22

GoogleCodeExporter commented 8 years ago
The Zip-creating code is an empty stub method. The code for outputting to a 
directory is incomplete, but does exist.

Original comment by clhod...@crimson.ua.edu on 22 Feb 2012 at 8:38

GoogleCodeExporter commented 8 years ago
This is actually the same issue as issue 1, so I'm merging them.

Original comment by clhod...@crimson.ua.edu on 22 Feb 2012 at 8:40