What is Android application life cycle?

Programming Android apps is way too slow. Can I do the bulk of the work in a Java application and then migrate it to the Android SDK?

  • I'd like to keep my development cycle as uninterrupted as possible from minutes at a time of launching an emulator, but I still want to perform quality work, how should I do it? Note that I typically use the Android SDK on Eclipse.

  • Answer:

    While I don't have experience using it, I think Robolectric will help by letting you test from inside the standard JVM: http://pivotal.github.io/robolectric/

Miguel Paraz at Quora Visit the source

Was this solution helpful to you?

Other answers

If you are working on the non-UI part of the app, then definitely makes sense to write it as a Java app for the quick verification. Few points to consider though: 1. UI integration needs to be done regularly so moving to Android App Codebase at regular intervals would be good. 2. If you are doing any disk based access, android sdk has different ways compared to java IO. There are other APIs which are different too, so as long as you are writing POJOs and business logic on that, you should be safe.

Chandra Mohan

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.