예제 #1
0
 @Override
 protected void onCreate(Bundle savedInstanceState) {
   // TODO Auto-generated method stub
   super.onCreate(savedInstanceState);
   this.requestWindowFeature(Window.FEATURE_NO_TITLE);
   setContentView(MResource.getIdByName(getApplication(), "layout", "mobp2psdk_main"));
   SdkPreferences.initUZonePreferenceInstance(getApplicationContext());
   initWebView();
   initDate();
 }
예제 #2
0
 @Override
 public boolean onKeyDown(int keyCode, KeyEvent event) {
   if ((keyCode == KeyEvent.KEYCODE_BACK) && view.canGoBack()) {
     view.goBack();
     return true;
   } else {
     SdkPreferences.clear();
   }
   return super.onKeyDown(keyCode, event);
 }