摘要: Content provider的作用:Content providers manage access to a structured set of data. They encapsulate the data, and provide mechanisms for defining data s... 阅读全文
posted @ 2014-07-01 17:30 Zhentiw 阅读(252) 评论(0) 推荐(0)
摘要: package com.example.thenewboston; import android.app.ListActivity; import android.content.Intent; import android.os.Bundle; import android.view.View; 阅读全文
posted @ 2013-11-21 06:29 Zhentiw 阅读(217) 评论(0) 推荐(0)
摘要: package com.example.thenewboston; import android.app.Activity; import android.media.MediaPlayer; import android.media.SoundPool; import android.os.Bun 阅读全文
posted @ 2013-11-21 05:34 Zhentiw 阅读(141) 评论(0) 推荐(0)
摘要: An activity can exist in essentially three states: ResumedThe activity is in the foreground of the screen and has user focus. (This state is also some 阅读全文
posted @ 2013-11-21 03:55 Zhentiw 阅读(185) 评论(0) 推荐(0)
摘要: 1. Create a new xml in "layout" folder "splah.xml" <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/ 阅读全文
posted @ 2013-11-20 05:54 Zhentiw 阅读(214) 评论(0) 推荐(0)
摘要: 1. In the class, right click 2. "Scource" 3. "Override / Implement Menthods" 4. Find the methods you want. 阅读全文
posted @ 2013-11-20 05:37 Zhentiw 阅读(129) 评论(0) 推荐(0)
摘要: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:la 阅读全文
posted @ 2013-11-20 05:08 Zhentiw 阅读(137) 评论(0) 推荐(0)
摘要: android:textSize="45px" ==> android:textSize="45dp" 因为Android Phone的手机分辨率各不相同,用px的话,在高分辨率的机子上字体就会变的很小,所以用px。 阅读全文
posted @ 2013-11-20 04:30 Zhentiw 阅读(218) 评论(0) 推荐(0)
摘要: 1. "Windows" ==> "Android Virtual Device Manager" ==> Select one emulator ==> "Start" ==> Change the scrren size to "6" 阅读全文
posted @ 2013-11-20 04:17 Zhentiw 阅读(173) 评论(0) 推荐(0)
摘要: See how Dynamic programming working for TSP: Check this link: http://www.youtube.com/watch?v=IUzE1MbjoVs 阅读全文
posted @ 2013-10-28 01:53 Zhentiw 阅读(214) 评论(0) 推荐(0)