... intent mới và đặt action = "Calculate" Intent intent = new Intent( ); intent. setAction("Calculate"); // Lấy dữ liệu nhập vào trong Editbox String strNum1 = txtNum1.getText().toString(); ... Activity 2 startActivityForResult (intent, INTENT_REQUEST_CO DE) ; } Chú ý: INTENT_ REQUEST_CODE ở đây là một số nguyên do người lập trình định trước ở...
Ngày tải lên: 21/01/2014, 22:20
lập trình android (phần 3) ppsx
... android: toXScale="2.0" android: fromYScale="0.5" android: toYScale="2.0" android: pivotX="50%" android: pivotY="50%" android: startOffset="700" android: duration="400" ... xmlns :android= "http://schemas .android. com/apk/res /android& quot; <application android: icon="@drawable/restaurant...
Ngày tải lên: 05/07/2014, 20:21
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
Lập trình Android 3.0 ppsx
... View Debug: Lập trình Android – http://laptrinhdidong.vn Page 8 Trung tâm Tin học – ĐH KHTN Drag và Drop trên Android 3.0 Một trong những cải tiến của Android 3.0 so với các đời Android trước ... com.dac.drag.drop.demo; import android. animation.ObjectAnimator; import android. app.Fragment; import android. content.ClipData; import android. os.Bundle; import android. util...
Ngày tải lên: 08/08/2014, 22:20