开发者

Tips for studying Android [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

I joined a company recently and they have requested me to develop a few applications for Android. I've never seen it before - though I'm familiar with Java, so the programmatic syntax is familiar to me - and I'd like to know if there is a good site/textbook/whatever where I could learn how to program for Android OS - the simpler the better!

In particular, I'm searching for some way to allow me to use Android to do 2 things - to get a GPS location on a regular basis and to get an application connecting with a remote database. These are my priorities at the moment, but this doesn't mean you can't indicate me a knowledge source that doesn't have th开发者_StackOverflowese on it. I do need to learn to program on this system, and I'll be thankful for whatever you indicate me. But if you happen to know where I could find these 2 items, please don't be shy and let me know.

Thanks in advance for your replies.


Honestly, the best place to start is right on the Android Developers site. Although you might not feel like you need it at first, spending the due time to do some of the simple tutorials to get used to how the UI works and how the Android framework and Activity lifecycle works is extremely important.


I think the first and the best start point to the Android developing, the Android Developers site (Official). Here is some link for you: developer.android.com/sdk/installing.html

developer.android.com/resources/tutorials/hello-world.html

developer.android.com/resources/tutorials/views/index.html

developer.android.com/reference/packages.html

developer.android.com/guide/practices/ui_guidelines/index.html

developer.android.com/reference/android/location/GpsSatellite.html

developer.android.com/guide/topics/location/index.html


I haven't find any better source of information than the official android developers page: http://developer.android.com/index.html

And here SO has a lot of interesting topics...

I also recomend you to investigate scripting in android with python, it's awesome the easy way to get things working...

Look at this code:

import android, time
droid = android.Android()
droid.startLocating()
time.sleep(10)
location = droid.readLocation()

now location is an dictionary with your latitude, longitude, altitude, speed, and some other information... you'll find everything about scripting in android here: http://code.google.com/p/android-scripting/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜