in any case, this is my on Create, when my code crash...
/* (non-Javadoc)
* @see android.app.Activity#onCreate(android.os.Bundle)
*/
@Override
protected void onCreate(Bundle savedInstanceState) {
// TODO Auto-generated method stub
super.onCreate(savedInstanceState);
Log.i(TAG, *** Creating MixDroid
***);
setContentView(R.layout.start_activity);
boolean b = NetworkConnection.isOnline(this);
setSharedPreferences(b, false, true, null, null);
Log.w(TAG, getIntent().getExtras()==null?Running for first
time, no SharedPreferences setted, using default values:
Have an saved state, checking SharedPreferences...);
if(getIntent().getExtras()==null){
boolean connected = sharedPreferences.getBoolean(ONLINE,
false);
boolean firstTime =
sharedPreferences.getBoolean(FIRST_TIME_USE, true);
if(!connected){
NetworkConnection.startNetworkAlertDialog(this);
}
if(firstTime){
MixDroidUtils.startErrorAlertDialog(this,
MixDroidUtils.RUNNING_FIRST_TIME);
}
}
//set layout
Log.d(TAG, Setting list adapter);
ButtonsAdapter adapter = new ButtonsAdapter(this,
Order.generateOrders(Order.TYPE_BUTTON, 5));
Log.d(TAG, putting adapter on list adapter);
setListAdapter(adapter);
}
On Jul 7, 12:25 pm, droidGUI gcravi...@gmail.com wrote:
Strange... now works :)
I tried delete my emulator images once (yesterday), to verify if
was problem in Debugger machine but not worked...
I tried again (deleted ALL Emulators images) and create
one new, and now my Launcher Activity works how expected...
(The DexFile Exception ocurred only when i tried debug my App)...
One Idea about this?
On Jul 7, 12:02 pm, Streets Of Boston flyingdutc...@gmail.com wrote:
Can't say much without seeing the code of your StartActivity.
Do you link to a library (JAR)? Maybe this JAR refers to the
ProtectionDomain class of another java-implementation that's not quite
compatible with the Android SDK's one.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en