I am new to Eclipse. I am trying to learn it step by step. I am trying to create an ArcGIS app for Android using "Eclipse IDE for Java EE Developers". I followed this tutorial, and noticed this sentence:
"Be sure to have an Android device connected to the machine. We do not
support running in an Emulator."
My question is >>> How can I test my app? Is what have been mentioned is true?! I think that this tutorial is old because they are talking about old SDK version.
I thought about using the Eclipse's Emulator, and I tried it, but the app didn't work properly!! I am confused right now; because I don't know whether the problem is that:
ArcGIS apps don't work on Emulator!
My code is wrong!
My problem in details: Hello World Map (ArcGIS) - Eclipse's Emulator doesn't run ArcGIS app properly
Since the ArcGIS page states that they do not support applications running on the emulator, please try to run it on an actual device. Also since it uses GPS, you may have to enable these settings on the emulator to make it work.
Also help us understand why it isn't working on the emulator? Is there a crash or a not responding? A Logcat may also be helpful for us to debug.
Related
I am building an android application where my app user can do video chat with browser based user. For that, I have followed instruction on this link. But I think documentation on this link is very old.
So I checkout webRTC source code from here which is from Google repository. After that I have copied "talk" android sample example into my Eclipse workspace and run it. But I am getting error as "Could not load jingle_peerconnection_so".
Please help me.
Your question is not clear. You need to provide more information to allow people to give you a clear answer.
If you follow the guide on http://www.webrtc.org/native-code/android, you will be able to build the app.
I've got the same error when I tried to deploy on the emulator (kitkat version). But if I deploy the app on my device (Android 4.1), it's work perfectly.
So, in order to solve your problem (if it's really that), try to use your android device and not the emulator.
Sorry but I don't know why isn't working on the emulator.
I don't have an Android phone, is there still a way I can learn Android? How can I learn and what do I need?
Yes, absolutely ... the android SDK comes with an emulator, which, while quirky in some ways, does a pretty good job of letting you at least start learning and running most sample projects.
edit: This thread is somewhat old, but in recent times a new emulator has been released that is quite nice. Check out Genymotion :)
To add to Joel Martinezs answer,
Yes you can learn android dev without having a device, although it is really good to have one if you are into dev.
I started 3 months back and this is what i did
Downloaded the sdk and tools
Created a hello world app
Read about android sdk best practices in the developers site.
Looked at a lot of sample apps to know how they work
Started creating our app.
If I could do it, I am sure you could do it too. Android development is very easy to get started. You have all the info you need in the android developers site. If you need any help we are here at StackOVerFlow :-)
You need to fulfill the following requirements
Java knowledge
Android sdk
Android simulator
working knowledge of android OS(you can get it using emulator)
creativity and logics
Finally, a video tutorial(I suggest lynda.com)
Also take a look into android developer official site
Hey in addition to the above answers,
u should actually test on ur device when u r making an app that uses one of the following :
GPS, or wi-fi to get user location
when u want to use any phone sensor in ur app
when u r trying to integrate camera/ camcorder in your app
also u might need to actually test phone call/sms functionality integrated in an app
otherwise the emulator just works fine
As Joel puts it, you can use the emulator. Here is the developer website, and here is the page specific to the emulator.
Sure. Just get an android emulator and use that for your development. there are free emulators available online as well as tutorials and lots of books available for android OS development.
OK, possible stupid question - apologies - but can you install the SDK and Eclipse on an Android device (I'm thinking a tablet)?
I realise it will be trickier to use without a proper keyboard etc...
There is currently no way to do this on an android tablet. Although there is an app on the market called "Java Code Viewer" by Ahyane that will allow you to open java code, view and edit it on an android device. The app does read syntax, however sdk and library support are not part of the apps current functions.
I use it occasionally to tinker with some source code while I am thinking about it and then run it on eclipse when I am home.
for demonstration purpose of a developed Android App I would like to distribute a "Self running android emulator" with my App installed to some people. It should be simple for them to start the emulator on their computer and work with my App.
Currently I have to prepare their computer with the "Android SDK and AVD Manager" and my prepared virtual device (in their home directory). I wonder if there is a smarter solution.
Thanks for any response.
I am not aware of anything that offers this today. If you build such a thing from the Android SDK components, spread the word of the recipe!
Here is a complete packaged solution. I am going to see if I can update the version it is running. http://www.redmondpie.com/android-emulator-for-windows/
Seems that the BlueStacks App Player is that what I am looking for. Did not test it yet but will give it a try if needed.
Hi, I'm planning to learn android app development, but I don't have any Android device. Can I still learn it using my Windows machine?
If so, how to check the output? And can any one suggest me a good tutorial for beginners.
Yes you can develop android application.
You will require....
A IDE like Eclipse.
Android SDK --- This includes an android emulator.
Note:-- Some functionalities are not supported by android emulator and for that you will require android phone.
Yes you can use windows, and there is a simulator that shows a "virtual" android device thats part of the SDK
http://developer.android.com/guide/basics/what-is-android.html
The Android Guide has everything you need to know to get started. If you want to test on a real device (and you probably should if at all possible financially), you can either purchase a developer phone from Google or you can buy a cheap (relatively) used one on eBay.
you will need Eclipse and SDK for android
http://developer.android.com/index.html from this you will get lots of help
http://www.deviceanywhere.com/Test-Automation
visit the link above. This site lets you test through the web on real devices. It is a paid service though so you might have to decide which one would be cheaper, buying an android
phone or testing through this site.
Hope this helps.