Today I'm taking my first stab at android app programming... starting with "Hello, Android"
.
Yesterday, I got an IS05 in Shibuya with Android 2.1 (the update to 2.2 will happen 4/14 10am)
and today, I've decided to review Java and give it a try... i am so confused...
I have Ubuntu 10.10 and had no JRE installed... so to quickly log the steps I've taken:
1) get the latest JRE, install it via Ubuntu Software Center to avoid all the confusion of which dir to install in...
2) get Eclipse from Ubuntu Software Center too
3) get the android SDK, install it...
4) install the ADT plugin for Eclipse , update it (had to do this a couple of times)
5) get the source codes for the android.jar files (click here for the explanation)...
-- went to source.android.com to set up the build environment and download the source using repo (took a long time...)
---- needed curl and repo from apt-get
-- actually, downloading the source was a waste of time!! go to the above explanation and get the script "android-source-build.sh"
---- make changes to the first line (make it bash, not sh)
---- make it maxdepth, not depth (a change you need for linux)
-- run this as bash android-source-build.sh -v android-sdk-2.1_r1 (to only build the jar file for android s.1 api7)
-- you should end up with a source.jar file... unpack this jar file into a dir called platforms/android-7/sources (mkdir, then jar xf blahblah-sources.jar inside the sources directory)
--restart eclipse, follow the instructions and make your new Hello, Android script... run it, then wait a looooong time for the android to boot up and display the text message.
YAY! worked!! : )
Yesterday, I got an IS05 in Shibuya with Android 2.1 (the update to 2.2 will happen 4/14 10am)
and today, I've decided to review Java and give it a try... i am so confused...
I have Ubuntu 10.10 and had no JRE installed... so to quickly log the steps I've taken:
1) get the latest JRE, install it via Ubuntu Software Center to avoid all the confusion of which dir to install in...
2) get Eclipse from Ubuntu Software Center too
3) get the android SDK, install it...
4) install the ADT plugin for Eclipse , update it (had to do this a couple of times)
5) get the source codes for the android.jar files (click here for the explanation)...
-- went to source.android.com to set up the build environment and download the source using repo (took a long time...)
---- needed curl and repo from apt-get
-- actually, downloading the source was a waste of time!! go to the above explanation and get the script "android-source-build.sh"
---- make changes to the first line (make it bash, not sh)
---- make it maxdepth, not depth (a change you need for linux)
-- run this as bash android-source-build.sh -v android-sdk-2.1_r1 (to only build the jar file for android s.1 api7)
-- you should end up with a source.jar file... unpack this jar file into a dir called platforms/android-7/sources (mkdir, then jar xf blahblah-sources.jar inside the sources directory)
--restart eclipse, follow the instructions and make your new Hello, Android script... run it, then wait a looooong time for the android to boot up and display the text message.
YAY! worked!! : )

それを待ってます!peiおじさんに教わったんだけど、赤いりぼんを輪にして巻いて年を越すと、厄がつかないそうです

私でダイジョブなのかな


