Lập trình Android: State Persistence (Save trạng thái) doc
... dụng ko reset trạng thái). 1/ Các bạn tạo Project như sau: Project name: StatePersistence Build Target: Google APIs Application name: StatePersistence Package name: com.sample.StatePersistence Create ... StatePersistence extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);...
Ngày tải lên: 07/08/2014, 09:22
... xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:id="@+id/vg" > <ImageView android:id="@+id/img" ... > <ImageView android:id="@+id/img" android:layout_width="wrap_content" andr...
Ngày tải lên: 07/08/2014, 08:22
... http://www.youtube.com/watch?v=QBGfUs9mQYY Android Applications • Mỗi ứng dụng Android chạy trong tiến trình Linux của riêng nó. • Mỗi ứng dụng bao gồm một tổ hợp các component phần mềm, trong đó có: – Activity – Service – BroadcastReceiver – ContentProvider 44 The ... lệnh mới cho một service đang chạy. • Có thể truyền intent cho Context.bindService() để thiết lập kết nối giữa comp...
Ngày tải lên: 31/07/2013, 11:27
intent trong lap trinh android 2 258
... startActivity(intent); android:background="@android:drawable/editbox_backg round" android:layout_marginRight="10dip" android:layout_toRightOf="@id/TextView02" android:layout_alignBottom="@id/TextView02"></EditT ext> ... android:layout_alignBottom="@id/TextView02"></EditT ext> <Button android:id="@+id/btnGo&...
Ngày tải lên: 24/09/2013, 19:48
LẬP TRÌNH ANDROID Location & Sensor Programming
... hoạ Smart Robot Contest 2013 LẬP TRÌNH ANDROID Bài 03: Location & Sensor Programming Location & Sensor Programming Promixity Alerts Geocoding Thiết lập Promixity Alert. Đối ứng ... thức: LocationManager#requestLocationUpdate Theo dõi sự di chuyển của thiết bị Thu thập dữ liệu location. Trình bày dữ liệu location. Hiện thực ứng dụng demo Hiện thực interfa...
Ngày tải lên: 03/10/2013, 01:02
Lap trinh android ở androivn
... android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" > <WebView android:id="@+id/webkit" android:layout_width="fill_parent" ... font chữ là android:typeface="<tên font chữ>" ví dụ: <TextView android:layout_width="wrap_content" android:layout_height=&qu...
Ngày tải lên: 14/12/2013, 10:48