Lập trình Android: Tạo bảng màu với ScrollView pptx

Lập trình Android: tạo MenuOptions ppsx

Lập trình Android: tạo MenuOptions ppsx

... Trung tâm Tin học – ĐH KHTN Lập trình Android – http://laptrinhdidong.vn Page 4 Trung tâm Tin học – ĐH KHTN Chọn Add: Lập trình Android – http://laptrinhdidong.vn Page 3 ... return(super.onOptionsItemSelected(item)); } } Cuối cùng các bạn Debug và sẽ được các kết quả như sau: Ban đầu: Bấm vào button Menu: Lập trình Android – http://laptrinhdidong.vn Page 2
Ngày tải lên : 07/08/2014, 07:21
  • 4
  • 318
  • 1
Lập trình Android: Tạo DialogResult docx

Lập trình Android: Tạo DialogResult docx

... viết lên diễn đàn của trang web www.laptrinhdidong.vn . Mình sẽ cập nhật web thường xuyên ^^ Lập trình Android – http://laptrinhdidong.vn Page 2
Ngày tải lên : 07/08/2014, 08:22
  • 2
  • 295
  • 0
Lập trình Android: Tạo BackGround pdf

Lập trình Android: Tạo BackGround pdf

... <ImageView android:layout_height="wrap_content" android:layout_width="wrap_content" android :background= "@drawable /background& quot; android:id="@+id/countryimage" android:layout_alignParentTop="true" ... android:text="@string/info_text" android:layout_alignParentBottom="true" android:textColor="@color/Orange"...
Ngày tải lên : 07/08/2014, 08:22
  • 3
  • 334
  • 1
Lập trình Android: Tạo và sử dụng Snipper pot

Lập trình Android: Tạo và sử dụng Snipper pot

... android.R.layout.simple_spinner_item); Lập trình Android – http://laptrinhdidong.vn Page 2 Trung tâm Tin học – ĐH KHTN Tạo Spinner Sau đây mình sẽ demo Spinner chọn tháng trong năm như sau: 1/ Tạo 1 project như ... xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:padding="10dip" android:layout_width=&qu...
Ngày tải lên : 07/08/2014, 08:22
  • 4
  • 370
  • 1
Lập trình Android: Tạo hình nền (WallPaper) pptx

Lập trình Android: Tạo hình nền (WallPaper) pptx

... e.printStackTrace(); } }}); Lập trình Android – http://laptrinhdidong.vn Page 3 Trung tâm Tin học – ĐH KHTN Tạo hình nền tự chọn WallPaper Hẳn các bạn đã quen với việc chỉnh hình nền cho điện thoại bằng ... xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layou...
Ngày tải lên : 07/08/2014, 08:22
  • 5
  • 1.6K
  • 7
Lập trình Android: Tạo WebView potx

Lập trình Android: Tạo WebView potx

... thường xuyên ^^ Lập trình Android – http://laptrinhdidong.vn Page 3 Trung tâm Tin học – ĐH KHTN Tạo webView Sau đây mình sẽ demo cách tạo WebView tren môi trường Android như sau: 1/ Tạo 1 project ... project như sau: Project name: WebViewDemo Build Target: Google APIs Application name: WebViewDemo Package name: com.sample.WebViewDemo Create Activity: WebViewDemo 2/ Tạo giao d...
Ngày tải lên : 07/08/2014, 09:22
  • 3
  • 424
  • 1
Lập trình Android: Tạo menu dạng GridView potx

Lập trình Android: Tạo menu dạng GridView potx

... web thường xuyên Lập trình Android – http://laptrinhdidong.vn Page 3 Trung tâm Tin học – ĐH KHTN Tạo Menu dạng GridView 1/ Các bạn tạo Project như sau: Project name: GridViewMenu Build Target: ... GridViewMenu Build Target: Google APIs Application name: GridViewMenu Package name: com.sample. GridViewMenu Create Activity: GridViewMenu 2/ Các bạn chỉnh sửa nội dung trong file mai...
Ngày tải lên : 07/08/2014, 09:22
  • 3
  • 616
  • 2
Lập trình Android: Tạo Rating Bar pot

Lập trình Android: Tạo Rating Bar pot

... (mIndicatorRatingBar.getRating() != rating) { mIndicatorRatingBar.setRating (rating) ; mSmallRatingBar.setRating (rating) ; } final float ratingBarStepSize = ratingBar.getStepSize(); if (mIndicatorRatingBar.getStepSize() ... public void onRatingChanged(RatingBar ratingBar, float rating, boolean fromTouch) { final int numStars = ratingBar.getNumStars(); mRatingText.setText( getStrin...
Ngày tải lên : 07/08/2014, 14:20
  • 4
  • 390
  • 1
Lập trình Android: Tạo và sữ dụng RadioButton pps

Lập trình Android: Tạo và sữ dụng RadioButton pps

... demo cách tạo và sử dụng Radio Button như sau: 1/ Tạo 1 project như sau: Build Target: Android 3.0 Application Name: RadioButtonDemo Package Name: com.org. RadioButtonDemo Activity Name: RadioButtonDemo Min ... android:text="@string/radio_group_snack" android:id="@+id/snack" /> < ;RadioButton android:text="@string/radio_group_1_breakfast" android...
Ngày tải lên : 07/08/2014, 14:20
  • 4
  • 439
  • 0
Lập trình Android: Tạo NotePad docx

Lập trình Android: Tạo NotePad docx

... Trung tâm Tin học – ĐH KHTN Tạo NotePad Hẳn các bạn đã quen với ứng dụng NotePad trên Window. Sau đây mình sẽ demo cách tạo 1 ứng dụng NotePad với vài chức năng chỉnh sửa văn bản ... android:layout_height="wrap_content" android:text="Title" /> <EditText android:id="@+id/title" android:layout_width="wrap_content" android:layout_height=...
Ngày tải lên : 07/08/2014, 14:20
  • 19
  • 334
  • 1
Lập trình Android: Tạo bảng màu với ScrollView pptx

Lập trình Android: Tạo bảng màu với ScrollView pptx

... /> </TableRow> <TableRow> <View android:layout_height="80px" android:background="#aa8844" /> <TextView android:text="#aa8844" android:paddingLeft="4px" android:layout_gravity="center_vertical" ... /> </TableRow> <TableRow> <View android:layout_height="80px" android:background="#ffaa88&qu...
Ngày tải lên : 07/08/2014, 23:20
  • 3
  • 886
  • 1
Lập trình Android: Tạo bảng nhắc nhở docx

Lập trình Android: Tạo bảng nhắc nhở docx

... hiện ra nhắc nhở (Ví dụ như nếu bạn cho giá trị là 3 thì khi nhập vào “ap” thì ko có dòng nhắc nhở nào hiện ra vì bạn chỉ nhập vào 2 ký tự). Tùy theo các cơ sở dữ liệu và ý tưởng lập trình khác ... android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/hello" android:id="@+id/selection" /> &l...
Ngày tải lên : 08/08/2014, 01:22
  • 3
  • 380
  • 0
Lập trình Android: tạo vật thể 3D ppt

Lập trình Android: tạo vật thể 3D ppt

... việc debug Project sẽ được 1 Kim tự tháp quay vòng vòng (gần giống như màn hình chờ của window) Lập trình Android – http://laptrinhdidong.vn Page 4 Trung tâm Tin học – ĐH KHTN }; ByteBuffer vbb ... 0); gl.glEnableClientState(GL10.GL_VERTEX_ARRAY); gl.glEnableClientState(GL10.GL_COLOR_ARRAY); mPyramid.draw(gl); mAngle += mAngleDelta; mCenter[0] += mVel[0]; mCenter[1] += mVel[1]; Lập t...
Ngày tải lên : 08/08/2014, 06:21
  • 4
  • 201
  • 2
Lập trình Android: Tạo button riêng potx

Lập trình Android: Tạo button riêng potx

... để tạo 1 button riêng đầy sống động Đầu tiên các bạn tạo 1 Project như sau: Project name: ChinhButton Build Target: Android 2.3.3 Application name: ChinhButton Package name: com.dac.ChinhButton Create ... Activity: ChinhButton Bước tiếp theo, các bạn cần 1 class có extends Button để làm button riêng của bạn. Tạo class MyButton.java trong package chính và viết code như sau: pac...
Ngày tải lên : 08/08/2014, 06:22
  • 5
  • 402
  • 0
Lập trình Android: Tạo Gallery pot

Lập trình Android: Tạo Gallery pot

... tả cách tạo và hoạt động của Gallery như sau: Đầu tiên các bạn tạo 1 Project: Project name: GalleryTest Build Target: Android 2.3.3 Application name: GalleryTest Package name: com.dac.GalleryTest ... super.onCreate(savedInstanceState); setContentView(R.layout .gallery) ; Gallery gallery = (Gallery) findViewById(R.id .gallery) ; ManateeAdapter manateeAdapter = new ManateeAdapte...
Ngày tải lên : 08/08/2014, 07:20
  • 5
  • 295
  • 1