Exemplo n.º 1
0
 /*
  * (non-Javadoc)
  * @see android.app.Activity#onCreate(android.os.Bundle)
  */
 @Override
 protected void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   Intent intent = getIntent();
   // get the fields from the launch intent extras
   if (intent != null) onUpdateAppState(intent);
   Locales.updateLocale(this, getString(R.string.force_locale));
 }
Exemplo n.º 2
0
 protected final void makeText(String text, int duration) {
   Locales.updateLocale(this, getString(R.string.force_locale));
   Toast.makeText(this, text, duration).show();
 }