This question might be silly...but still:
I would like to learn the Android SDK, now I dont have an Android based phone,Can I still develop for it even if I dont own an android phone?
thanks
Yes. The Android SDK comes with an emulator, so you can run your apps on that.
Get Eclipse and Download the Android SDK through eclipse. This will allow you to debug your apps on the emulator right from your IDE. Also allows for Android App projects and code highlighting.
Yes. There is an (essentially) fully functional emulator.
Related
#English isn't my first language.
So many questions..
Can I launch my project without emulator on android studio? Something like in libgdx?
Or how I can change emulator? (need low requirements)
You can set up your phone in order to display the app you are developing withoup needing the android emulator itself. You must enlable developer options and maybe install some drivers. Check this links:
https://developer.android.com/studio/debug/dev-options?hl=en-419
https://developer.android.com/studio/run/device
When everytihing is done you should be able to run the app in your phone
I downloaded the Android studio and installed it. When I launched it, it's all "graphical". My screen reader is reading nothing on it.
I'd prefer if I could use my Notepad app, but the "stand alone" tutorials are too tiresome, and not many tutorials on the web have instructions making apps using Notepad. I wanted to know if there is an alternate IDE, or another way to code Android apps?
The Java IDE Eclipse is also not very compatible with my screen reader. I use JAWS screen reader by Freedom Scientific. I used to code Java desktop software using my Notepad, so I'm familiar with programming using Notepad.
Also, if I somehow figure out how to make Android apps using Notepad, how am I going to test them? Do I need a phone? I'm sorry for all these beginner questions, but I'm a beginner :)
You can follow this link:
http://developer.android.com/tools/building/building-cmdline.html
If you only want to build, not run, you don't need a phone. If you want test without a phone you can use an emulator by running"AVD Manager.exe" in Android SDK folder.
The good thing since the transition to android studio is that now the building of an android project is done using Gradle and can be piloted entirely by command line. So technically, you don't need an IDE at all.
Basically, every project has at least a build.gradle file that contains the instructions to build it. You only have to launch Gradle with the appropriate command to compile your app.
Yelliver mentionned the tools to build the app from the command line, there are also tools to create the project structure and the basic build files: http://developer.android.com/tools/projects/projects-cmdline.html (this documentation appears not to be entirely up-to-date, though, as it mentions the old project.properties format)
Having a phone to run your app is certainly going to be nicer and faster to develop. The emulator is far from perfect, quite slow, and sometimes not responsive. It is also easier to install other apps on your phone than on the emulator, in case your app interacts with other apps.
I wrote two small scripts for Android development without using Android Studio. They are building apk and installing it on the connected device and opening the logcat with the output of the installed application. This two scripts not even near to complete when to think all the features of the Android Studio but they are allowing to at least run the project on your phone.
I want to develop some Android applications. I have had Google trying to find out how I should choose between Android Studio and Eclipse, but I don't know how I should choose between these two IDEs.
On many websites, I see developers more likely to use Eclipse than Android Studio, or it is because Android Studio was just released?
So which one should I choose?
Important: Support for the Android Developer Tools (ADT) in Eclipse is ending, per our announcement. You should migrate your app development projects to Android Studio as soon as possible. For more information on transitioning to Android Studio, see Migrating to Android Studio.
Reference for the quote.
So definitively, you should use Android Studio
You still may be more productive with Eclipse at the time of writing, as Android studio is relatively new and some obvious features (like Unit testing, for instance) are kind of present yet you just cannot get them working. It will pass many years till Android 6.0 applications you can develop with Eclipse no problem will no longer run on majority of devices on the market.
But as Android studio will likely to improve over time, and new features will be available only there in the future, I would recommend to start from that IDE for a complete beginner. Even better it may be to understand how the command line development works as this may allow to use any flexible enough IDE, does not matter is it officially supported on not.
I want to use my laptop camera in the Android Emulator, but the app crashes when I try to do so. Moreover, the emulator itself can't use the camera. Is there any software or SDK version that supports webcams. Currently I am using the Android Froyo 2.2 SDK.
Thanks!
I haven't tried that yet, although it sounds rather useful. You might wann check this
How to use web camera in android emulator to capture a live image?
and
Using Camera in the Android emulator
One answer says, this is only supported in the emulator starting with android ICS (4.0), but no further information is provided, so you might want to invest a little more research on this version.
I have the Android-based tablet, and I want to do some development actions on it.
Is there a way to code and compile Java and Android applications on my tablet?
Is there a way to code and compile Java and Android applications on my tablet?
There is no supported edition of the Android SDK build chain that works on Android devices. You are welcome to type in your code on a tablet, if you are a complete glutton for punishment, but you will need to compile that code on a development machine.
I have no idea what "development actions" are. If you mean scripting, look at SL4A.