IVC Champion Cup (07/31/2011) 
IVC Amazing Race (07/08/2011)
Live, Learn, Work And Share
Notification notification = new Notification(icon, tickerText, when); Bundle xtra = new Bundle();Intent ntent = new Intent();
ntent.setClassName("com.nghelong.blogexample", "com.nghelong.blogexample.MainActivity"); //set data here
//xtra
ntent.putExtras(xtra); int flags = Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_SINGLE_TOP | Intent.FLAG_ACTIVITY_CLEAR_TOP;
ntent.setFlags(flags);PendingIntent pendingIntent = PendingIntent.getActivity(context, 0,
                ntent, PendingIntent.FLAG_UPDATE_CURRENT); notification.setLatestEventInfo(context, contentTitle, contentText, pendingIntent); nm.notify(NOTIFICATION_ID, notification);
String languageToLoad  = "vi";
Locale locale = new Locale(languageToLoad);
Locale.setDefault(locale);
Configuration config = new Configuration();
config.locale = locale;
getBaseContext().getResources().updateConfiguration(config, null);Trong tập tin AndroidManifest.xml:
<activity
  android:label="@string/app_name"
  android:name=".Dex"
  android:configChanges="locale"><supports-screens android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:anyDensity="true" />
Sau đó để không phải restart lại ứng dụng chúng ta sử dụng câu lệnh sau:setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_SENSOR); Tham khảo:lupdate vidu.qml -ts vidu.ts
Chúng ta dùng Linguist mở vidu.ts, dịch rồi release thu được tập tin vidu.qmqmlviewer -translation vidu.qm vidu.qml