Hello there, 

I am been battling this issue for 4 days now. i tried all the suggestion in 
the web. Still not able to fix this. Any help on this is appreciated.
the crash happen in device and emulator when i press the back 
or orientation is changed. Attached is my manifest file

thanks
Geo

https://code.google.com/p/android/issues/detail?id=2373 
https://code.google.com/p/android/issues/detail?id=26658

I am using the following. 

1. Sencha 2.1 with jsonp store.
2. Android ( Target 4.2, targeted API 17)


11-25 13:06:10.701: I/Web Console(791): exception firing destroy event from 
native at :1
11-25 13:06:10.701: D/DroidGap(791): onMessage(onPageStarted,about:blank)
11-25 13:06:10.831: W/System.err(791): java.net.SocketException: 
Interrupted system call
11-25 13:06:10.831: W/System.err(791): at 
org.apache.harmony.luni.platform.OSNetworkSystem.acceptSocketImpl(Native 
Method)
11-25 13:06:10.831: W/System.err(791): at 
org.apache.harmony.luni.platform.OSNetworkSystem.accept(OSNetworkSystem.java:69)
11-25 13:06:10.841: W/System.err(791): at 
org.apache.harmony.luni.net.PlainSocketImpl.accept(PlainSocketImpl.java:126)
11-25 13:06:10.841: W/System.err(791): at 
java.net.ServerSocket.implAccept(ServerSocket.java:281)
11-25 13:06:10.841: W/System.err(791): at 
java.net.ServerSocket.accept(ServerSocket.java:165)
11-25 13:06:10.881: W/System.err(791): at 
org.apache.cordova.CallbackServer.run(CallbackServer.java:195)
11-25 13:06:10.881: W/System.err(791): at 
java.lang.Thread.run(Thread.java:1096)

My On Create.

*public void onCreate(Bundle savedInstanceState) {*

* super.onCreate(savedInstanceState);*

* /*if (!isTaskRoot()) {*

*     final Intent intent = getIntent();*

*     final String intentAction = intent.getAction();*

*     if (intent.hasCategory(Intent.CATEGORY_LAUNCHER) &&*

*             intentAction != null && 
intentAction.equals(Intent.ACTION_MAIN)) {*

*         finish();*

*     }*

* }*/*

*  /*ActivityManager manager = (ActivityManager) this.getSystemService( 
ACTIVITY_SERVICE );*

*         List<RunningTaskInfo> tasks =  
manager.getRunningTasks(Integer.MAX_VALUE);*

*
*

*         for (RunningTaskInfo taskInfo : tasks) {*

*             Log.w("Example", (taskInfo.baseActivity.getClassName()) + ":" 
+ taskInfo.numActivities);*

*             
if(taskInfo.baseActivity.getClassName().equals(this.getClass().getName()) 
&& (taskInfo.numActivities > 1)){*

*                 finish();*

*             }*

*         }*/*

* //setContentView(R.layout.activity_tamil_recipes_main);*

* *

*  setIntegerProperty("loadUrlTimeoutValue", 30000);*

*     super.loadUrl("file:///android_asset/www/index.html");*

*  *

*    *

* // Create the adView *

*        //adView = new AdView(this, AdSize.BANNER, ""); *

*        *

*        // Lookup your LinearLayout assuming it's been given *

*        //LinearLayout layout =  
(LinearLayout)findViewById(R.id.mainLayout);*

*        // the attribute android:id="@+id/mainLayout" *

*        //LinearLayout layout = this.root;  // this is the only change 
from the sample *

*
*

*        // Add the adView to it *

*        //layout.addView(adView); *

*
*

*        // Initiate a generic request to load it with an ad *

*        //AdRequest request = new AdRequest(); *

*        //request.addTestDevice(AdRequest.TEST_EMULATOR);*

*       
//layout.setHorizontalGravity(android.view.Gravity.CENTER_HORIZONTAL);*

*       //adView.loadAd(request); *

* *

* }*

-- 
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

Attachment: AndroidManifest.xml
Description: XML document

Reply via email to