Monday, October 1, 2012

Android development using jEdit part 2

In this part of tutorial we will see how to create Android virtual devices, create a project and deploy it.

First of all create an AVD of targetted Android platform.



Select Plugins->A-B->Android->Create AVD and fill in details. One needs to enter AVD Name (Specify identifiable name by which you can guess platform later), Target (platform),  SD Card Size and Skin. If no dialog box comes up check your $PATH variable, that happened with me and I kept wondering until I realize that Android sdk tools directory was missing from path.

If you see this error "Error: This platform has more than one ABI. Please specify one using --abi." in console window (requires console plugin) manually specify ABI as bellow.
android create avd -n avd-jelly-bean -t 11 -c 32M -s WVGA800 --abi x86
Android 4.1 is a basic Android platform.
Do you wish to create a custom hardware profile [no]
Process android exited with code 0
Created AVD 'avd-jelly-bean' based on Android 4.1, Intel Atom (x86) processor,
with the following hardware config:
hw.lcd.density=240
vm.heapSize=48
hw.ramSize=512
 PS. Bye no means this is an Android tutorial, nor I am a pro. To know about ABI etc follow any Android programming tutorial.


Launch the AVD by selecting "Launch AVD"



Depending upon how powerful machine you've got, sooner or later you'll see AVD running.

Now create a android project

Create a project viewer project. This one is for jEdit to track and different from Android project.



Build and deploy this project, and you shall see it in you emulator listed among other apps like this


Update:
If you see an error like "waiting for device" even if the AVD  is running try instructions from here.

This ends the tutorial here, I would like to reiterate that I am not a pro and if you want to learn Android programming in detail here is a link.

Thanks for reading, many thanks goes to Dale Anson for this plugin. See you some time later :).

21 comments:

  1. From your site I could learn how to make Android virtual devices.and you provide here easy steps,which can be learned smoothly.

    ReplyDelete
  2. Hi you are tutorial are awesome and easy way to understand. Thanks


    Android Development

    ReplyDelete
  3. I don't have any idea about this method thanks for sharing now I would love to explore about it.

    Android Development

    ReplyDelete
  4. I just want to say that It's really great sharing just keep it up.

    ReplyDelete
  5. Do you know which the top smartphone platform in the US is? It is undoubtedly Android. Android has achieved the trust of more than 52% of total Smartphone users in the U.S. Android Development California

    ReplyDelete
  6. Thank you for sharing this article, it is great info provide me. visit best leading
    Android App Developers

    ReplyDelete
  7. Professionally composed web journals are uncommon to discover, be that as it may I welcome every one of the focuses specified here. I likewise need to incorporate some other written work abilities which everybody must mindful of. Best App developers in USA

    ReplyDelete
  8. thanks for your sharing. i think this article must be share to other people. i like it. Wordpress Website Development in Dubai

    ReplyDelete
  9. Well, it’s a nice one, I have been looking for. Thanks for sharing such informative stuff. Android Applications

    ReplyDelete
  10. Ios emulator for windows pc
    I think this is an informative post and it is very useful and knowledgeable. therefore,
    I would like to thank you for the efforts you have made in writing this article.

    ReplyDelete
  11. We are struggling to do our daily chores & we should be thankful for these best bible study apps for helping us to nurture & protect our faith in Lords Check here s

    ReplyDelete