I'm really new to android development, and now I'm doing a group project developing an android application and I'm in charge of user interface. My teammates are using eclipse to write code and I'm using App Inventor to design the UI. My question is, how do I export the UI to eclipse? or can I?
http://appinventor.googlelabs.com/learn/userfaq.html
Can I develop in App Inventor and export the source code to Eclipse or some other IDE to work on it further?
No, App Inventor does not generate Java source code.
If you want a dirty hack, create the apk with app inventor, and use APKManager to extract all the xml files from the res folder. You can add then those to the Eclipse project.
APKManager thread
A version of App inventor is being worked on that can export directly to java files and even an Eclipse project.
Check it out here:
https://appinventortojava.appspot.com
The last time that I checked, you cannot export it. The Android plugin for Eclipse does give you a (somewhat unreliable) drag-and-drop interface for the UI layout. You will learn a lot more about Android and programming if you do all the work in Eclipse, too.
Related
How to use j2objc in android studio?
I did not find any manual. How to implement and work with j2objc in android studio?
I'm a junior in java language, and I wrote one app for android, and now I need convert this app for iOS. It's a simple app.
I want use j2Objc for a separate build app for iOS, but I don't know how to work with j2objc.
Download distribution and this plugin. Follow instructions and everything will work.
Forgive this obvious question, but you have a Mac, right? You won't be able to build iOS apps without one. That's why many j2objc engineers use Xcode, since UI development and debugging are easier to do there.
I have win 10 machine.
OK, I downloaded it, unzip, and next step? I dont see any instruction, what i do with this. Paste in specific folder? Implement with plugin wizard? or? Maybe Im stupid, but realy I dont know how these features work on.
I see only:
This package must be built on an OS X system, with: ...
and for gradle plugin ...
oh shit!
I have a unity android application which I exported from unity, I wish to integrate it into my existing application using android studio. How would I go on to do this?
I have the same problem, the first thing I did was export the unity project by File->Build & Run->select android then switch platform->tick google android project->export after that just import the project into Android Studio and it will handle the build, by then you can access the source code. Currently I'm still working on it to meet my specific needs.
wow. Such a hard task, you can try opening up apk and implementing it in your project. But this is gonna be so painful and you might not get it to work if you are not experienced!!!
Im curious to know the what steps/tools need to build an android app from source code to apk inside android (i.e. inside an android powered smartphone).
Im actually curious how AIDE works. They give a whole integrated development environment as an android app. Without any root privilege, it compiles==>builds==>generates apk==>deploys/installs apk to host machine (i.e the smartphone).
Im guessing I need ANT/Gradle , keytool , jarsigner(to sign apk).
But:
What tools?
In what sequence?
How? :)
I dont know is it a good place to ask? If not, any suggestion of stackexchange network or any blog will be appriciated.
You don't need any extra tools, if you have AIDE installed...
Just wrap up your Android project code, hit the 'Build' button & it Compiles everything to a working Android App (.apk) :)
All you need is just AIDE .
IT HAS ALL REQUIRED TOOLS LIKE GRADLE, AAPT, SIGNER ETC
Just chill and start using AIDE, if you have problem with free version, try Pro. Am using Pro without any problem since 3 years
This may sound like a stupid question with a "duh" answer but I'm really new to this.
I have a HTML/JS project I created in Eclipse. Can such a project be exported as an Android application or .apk?
Or does a new Android project need to be created and programmed in Java for what I'm trying to achieve?
(I know about Phonegap and it is not suitable for my project as it doesn't have support for WebGL that I need)
There are a few libraries, tools which will pack your code into a webview. So with some work you can create multiplatform web implementation, and the build too, ofc ( apk, ipa )
Check the Google for more, but one is popular: Phonegap.
Google: "platform independent web based mobile" "framework" " solutions"
You can open your eclipse project by Dream Weaver and build it by phone gap .
the integration between phone gap and Dreamweaver support all versions of WebGL .
Since you are using Eclipse (and for all the others who do), the .apk file of the latest compilation you did is always found in the /bin folder of your project
I have an android library in the form of an eclipse project that I want to integrate with unity3d. I know I can make a jar from eclipse and drop it in unity's plugins/android folder. However as I understand it that necessarily strips out the resources from the project.
If I export the unity game to an eclipse project, I can right-click and add the android project as a library. However I don't like this approach because it doesn't fit with our current automation process - which basically just script's unity's build dialog.
I'd like a way to tell unity that I want this eclipse project linked as an android library on export. Does anyone know a way to do that, or how to pack the resources into the jar or another way of getting this stuff to talk?
One possible way to go is using Unity's Build Player Pipeline. Depending on the platform you are working on you then have to set up a shell script or do your stuff in C#.
It's some year ago that I were a Java/Eclipse expert as I am working on iOS now. The Android Developers page shows some way to manipulate projects via command line.
Maybe the better way to go is using Eclipse switches like --import (s. 1st answer in Create an Eclipse project on the command line? and the link provided) but on the other hand I can't find the switch in the help pages.
Well, not really a bounty answer but maybe some inspiration :-)
The only real answer I've found is that in 4.2, you can drop an eclipse project in plugins/android and it will be linked correctly. Just have to hang on I suppose. :-/