随笔分类 -  Android

sdk manager无法下载 linux
摘要:1.修改hosts文件。在/etc/hosts添加然后在出现的记事本窗体中在最末位出加入“#google_android更新 203.208.46.146 dl.google.com 203.208.46.146 dl-ssl.google.com”文字,注意要换行,然后,source /etc/hosts 使它生效。2.回到Android SDK Manager,菜单栏中依次选择“Packages”、“Reload”,然后就会显示所有的Packages 阅读全文
posted @ 2013-06-06 14:23 bailun 阅读(224) 评论(0) 推荐(0)
import com.google.android.maps missing
摘要:link:http://stackoverflow.com/questions/9950344/cant-import-com-google-android-maps-mapviewright clicked on my project in the Package Exploere and selected "Build Path->Configure Build Path"Selected "Java Build Path" and the "Libraries" tabSelected "Add External 阅读全文
posted @ 2013-06-06 08:31 bailun 阅读(551) 评论(0) 推荐(0)
解决android选项卡TabHost tabHost = getTabHost();提示出错
摘要:import android.app.TabActivity;public class MainActivity extends TabActivity //注意这里是TabActivity{ @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); TabHost tabHost = getTabHost(); 阅读全文
posted @ 2013-04-11 20:05 bailun 阅读(373) 评论(0) 推荐(0)
android进度条TitleProgressBar
摘要:1 package com.example.titleprogressbar; 2 3 import android.app.Activity; 4 import android.os.Bundle; 5 import android.view.View; 6 import android.view.View.OnClickListener; 7 import android.view.Window; 8 import android.widget.Button; 9 10 public class MainActivity extends Activity11 {12 @Over... 阅读全文
posted @ 2013-04-11 17:58 bailun 阅读(344) 评论(0) 推荐(0)
如何将Android Project建在指定文件夹下
摘要:1.新建文件夹02和2.32.new android progect3.更改路径为X:\Android\ws\02\2.3\TextViewTest4.即可看到 阅读全文
posted @ 2013-04-09 13:49 bailun 阅读(186) 评论(0) 推荐(0)
android安装心得
摘要:原来都集成了,只要下载一个405MB的adt-bundle-windows-x86_64-20130219.zip压缩包,直接解压后就可以用了.这个里面包括了Android sdk、已安装Android ADT的Eclipse和SDK Manager.exe。看样子是2013年2月19号刚更新的。而书看还是老一套的按步骤install,嘿嘿,不能死扣书本啊!! 阅读全文
posted @ 2013-03-19 11:37 bailun 阅读(402) 评论(0) 推荐(0)