
Android基础
Kwanvin
创业十年,编码不止!
展开
-
how to change home to another partition
1.if you need to new an partition,$sudo apt-get install gparted,a software for partition admin.*how to change the /home to another to another partition# cd /# mv /home /home.old# mkdir /ho原创 2013-01-28 14:21:01 · 444 阅读 · 0 评论 -
how to use SeekBar
//layout android:id="@+id/seekBar1" android:layout_width="213dp" android:layout_height="wrap_content" android:layout_marginBottom="104dp" and原创 2013-02-28 15:25:13 · 497 阅读 · 0 评论 -
Android基础应用之 ViewPager
/** * this is a sample show how to use ViewPager * edited by Kwanvin *///Layout xml android:orientation="vertical" android:layout_width="fill_parent" android:layout_height原创 2013-01-28 14:22:34 · 816 阅读 · 0 评论 -
how to use shared Preferences
how to use shared Preferencesthe sharedPreferences data is saved in /data/data/yourAppName/shared_prefs//show how to get value//get the preferences objectSharedPreferences settings = getPr原创 2013-01-28 14:17:43 · 410 阅读 · 0 评论 -
how to use Properties and File to Save Data
how to use Properties and File to Save Datathe file is saved to /data/data/yourappname/files//new a Properties object//show how to load valueProperties properties = new Properties();tr原创 2013-01-28 14:18:31 · 520 阅读 · 0 评论 -
A demo shows how to use TableLayout
A demo shows how to use TableLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="#FFFFFF" android:stretchColumns="*" android原创 2013-01-28 14:15:28 · 520 阅读 · 0 评论 -
Android基础应用之 HorizontalScrollView
Android基础应用之 HorizontalScrollView/** *This sample shows how to use HorizontalScrollView *Edited by Kwanvin *///XML code android:orientation="vertical" android:layout_width="f原创 2013-01-28 14:23:52 · 744 阅读 · 0 评论 -
How to Make an Activity Fullscreen
How to Make an Activity Fullscreenpublic class FullScreen extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);原创 2013-01-28 14:19:51 · 719 阅读 · 0 评论 -
linux下android开发的环境搭建
1.install jdk get the file jdk-6u26-linux-i586.bin copy it to /home/opt/ install it by excute it $ ./jdk-6u26-linux-i586.bin $ sudo vim /etc/environment*add PATH="/usr/local/原创 2013-01-28 14:12:35 · 483 阅读 · 0 评论 -
Android 中Logcat的使用
Logcat过滤及常见用法整理Usage: logcat [options] [filterspecs]options include:-s Set default filter to silent. Like specifying filterspec '*:s'-f Log to file. Defaul转载 2013-02-28 16:15:45 · 981 阅读 · 0 评论