2014年4月15日星期二

android development on ubuntu

horizon2014 mckinsey
xml 
http://developer.android.com/guide/topics/ui/declaring-layout.html
http://ui4app.com/category/tabbar
1, auto complete

Cloud sql
1, select servers for APP [2]
2, google cloud sql pricing [1]

[1] https://developers.google.com/cloud-sql/pricing#per_use
[2] http://mashable.com/2011/11/16/mobile-app-cloud-servers/
—-------------------—-------------------—-------------------
 cloud-client support
1, step by step 使用方法[2]
2, push message [3]
3, local sql lite [4]

[1] https://developers.google.com/cloud/samples/mbs/
[2] https://developers.google.com/cloud/samples/mbs/android/
[3] https://developers.google.com/cloud/samples/mbs/android/enable_push
[4] http://blog.csdn.net/liuhe688/article/details/6715983
—-------------------
Google map API
(1)  在获得API key的时候,需要自己签名程序的SHA1值,以及名称。这些可以在LogCat控制台报错的时候找到。[3] [4]
(2)建立搜索引擎 [1]
(3)假如想看google地图上某个地方的经纬度,那么右键地图上某一点,然后选“这是什么”即可。

[1] http://wptrafficanalyzer.in/blog/adding-google-places-autocomplete-api-as-custom-suggestions-in-android-search-dialog/
[2] https://www.youtube.com/watch?v=awX5T-EwLPc
[3] https://developers.google.com/maps/documentation/android/
[4] 具体sample操作过程:
https://developers.google.com/maps/documentation/android/start#obtain_a_google_maps_api_key
----------------------------------------------
初识android的project目录
http://blog.csdn.net/yangjy_is/article/details/5909351

1, 新建main.xml文件
setContentView(R.layout.main); //其中的main文件需要和.xml文件名对应

2, 去掉所有MainActivity中不相关的函数, 防止干扰

-------------------------------------------------------------------------------------
(1)安装ia32-libs-multiarch
sudo apt-get install ia32-libs-multiarch
(2)
参考[1]安装ADB工具,参考[2]成功进行调试。
尤其是,拔掉usb重新连上再执行:
adb kill-server
adb start-server
adb devices
adb root (这一步很重要 )
可能还需要sudo service udev restart
( 3)配置eclipse
https://www.youtube.com/watch?v=-qk9c-Ug2UI&list=PLx0MJzPyATnyQYH2_XMFNiCxPM5YgsYsG

Ref: 
[1] http://bernaerts.dyndns.org/linux/74-ubuntu/245-ubuntu-precise-install-android-sdk
[2]http://www.cnblogs.com/cat-lee/archive/2011/07/09/2101718.html

没有评论:

发表评论