Screen orientation in PhoneGap / Android [duplicate] - android

This question already has answers here:
Phonegap app crashes when switched orientation even with AndroidManifest changes
(2 answers)
Closed 3 years ago.
I'm currently developing a small demo in PhoneGap to test out some functionalities. I want to use the PhoneGap-OrientationLock plugin available from Github to be able to dynamically change my screen orientation from JavaScript, I've updated the plugin to use it in Cordova.
My problem right now is that it crashes as soon as I want to change my screen orientation. Even if I try something as simple as setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); (without using PhoneGap technically) from my onCreate method, my application just quits to the launcher with the following debug log:
08-20 08:57:17.083: D/DroidGap(21383): DroidGap.onCreate()
08-20 08:57:17.193: D/CordovaWebView(21383): Origin to allow: http://127.0.0.1*
08-20 08:57:17.193: I/CordovaLog(21383): Found log level DEBUG
08-20 08:57:17.193: I/CordovaLog(21383): Changing log level to DEBUG(3)
08-20 08:57:17.193: I/CordovaLog(21383): Found preference for fullscreen=true
08-20 08:57:17.193: D/CordovaLog(21383): Found preference for fullscreen=true
08-20 08:57:17.193: I/CordovaLog(21383): Found preference for useBrowserHistory=false
08-20 08:57:17.193: D/CordovaLog(21383): Found preference for useBrowserHistory=false
08-20 08:57:17.223: D/DroidGap(21383): DroidGap.init()
08-20 08:57:17.223: D/CordovaWebView(21383): >>> loadUrl(file:///android_asset/www/index.html)
08-20 08:57:17.223: D/PluginManager(21383): init()
08-20 08:57:17.233: D/CordovaWebView(21383): >>> loadUrlNow()
08-20 08:57:17.243: D/CordovaWebView(21383): >>> loadUrlNow()
08-20 08:57:17.243: D/DroidGap(21383): onDestroy()
08-20 08:57:17.243: D/CordovaWebView(21383): >>> loadUrlNow()
08-20 08:57:17.243: D/CordovaWebView(21383): >>> loadUrlNow()
08-20 08:57:17.263: D/DroidGap(21383): DroidGap.onCreate()
08-20 08:57:17.263: D/CordovaWebView(21383): Origin to allow: http://127.0.0.1*
08-20 08:57:17.263: I/CordovaLog(21383): Found log level DEBUG
08-20 08:57:17.263: I/CordovaLog(21383): Changing log level to DEBUG(3)
08-20 08:57:17.263: I/CordovaLog(21383): Found preference for fullscreen=true
08-20 08:57:17.263: D/CordovaLog(21383): Found preference for fullscreen=true
08-20 08:57:17.263: I/CordovaLog(21383): Found preference for useBrowserHistory=false
08-20 08:57:17.263: D/CordovaLog(21383): Found preference for useBrowserHistory=false
08-20 08:57:17.273: D/DroidGap(21383): DroidGap.init()
08-20 08:57:17.273: D/CordovaWebView(21383): >>> loadUrl(file:///android_asset/www/index.html)
08-20 08:57:17.273: D/PluginManager(21383): init()
08-20 08:57:17.293: D/CordovaWebView(21383): >>> loadUrlNow()
08-20 08:57:17.313: D/DroidGap(21383): onMessage(onPageStarted,file:///android_asset/www/index.html)
08-20 08:57:17.313: D/SoftKeyboardDetect(21383): Ignore this event
08-20 08:57:17.373: D/SoftKeyboardDetect(21383): Ignore this event
08-20 08:57:17.483: D/Cordova(21383): onPageFinished(file:///android_asset/www/index.html)
08-20 08:57:17.483: D/CordovaWebView(21383): >>> loadUrlNow()
08-20 08:57:17.483: D/DroidGap(21383): onMessage(onNativeReady,null)
08-20 08:57:17.483: D/DroidGap(21383): onMessage(onPageFinished,file:///android_asset/www/index.html)
08-20 08:57:17.483: D/DroidGap(21383): onMessage(onPageStarted,about:blank)
08-20 08:57:17.503: D/dalvikvm(21383): GC_CONCURRENT freed 326K, 9% free 7566K/8263K, paused 8ms+2ms, total 33ms
08-20 08:57:17.513: D/Cordova(21383): onPageFinished(about:blank)
08-20 08:57:17.513: D/DroidGap(21383): onMessage(onPageFinished,about:blank)
08-20 08:57:17.513: D/DroidGap(21383): onMessage(exit,null)
08-20 08:57:17.563: D/DroidGap(21383): onMessage(onPageStarted,file:///android_asset/www/index.html)
08-20 08:57:17.563: D/CordovaWebView(21383): >>> loadUrlNow()
08-20 08:57:18.023: D/Cordova(21383): onPageFinished(file:///android_asset/www/index.html)
08-20 08:57:18.023: D/CordovaWebView(21383): >>> loadUrlNow()
08-20 08:57:18.023: D/DroidGap(21383): onMessage(onNativeReady,null)
08-20 08:57:18.023: D/DroidGap(21383): onMessage(onPageFinished,file:///android_asset/www/index.html)
08-20 08:57:18.053: E/SQLiteLog(21383): (14) cannot open file at line 30174 of [00bb9c9ce4]
08-20 08:57:18.053: E/SQLiteLog(21383): (14) os_unix.c:30174: (2) open(/CachedGeoposition.db) -
08-20 08:57:18.053: D/WebKit(21383): ERROR:
08-20 08:57:18.053: D/WebKit(21383): SQLite database failed to load from /CachedGeoposition.db
08-20 08:57:18.053: D/WebKit(21383): Cause - unable to open database file
08-20 08:57:18.053: D/WebKit(21383): external/webkit/Source/WebCore/platform/sql/SQLiteDatabase.cpp(71) : bool WebCore::SQLiteDatabase::open(const WTF::String&, bool)
08-20 08:57:18.143: D/DroidGap(21383): onMessage(networkconnection,wifi)
08-20 08:57:18.183: D/DroidGap(21383): onMessage(spinner,stop)
08-20 08:57:18.223: W/IInputConnectionWrapper(21383): showStatusIcon on inactive InputConnection
08-20 08:57:18.263: D/DroidGap(21383): onDestroy()
08-20 08:57:18.263: D/CordovaWebView(21383): >>> loadUrlNow()
08-20 08:57:18.263: D/CordovaWebView(21383): >>> loadUrlNow()
08-20 08:57:18.283: D/DroidGap(21383): onMessage(onPageStarted,about:blank)
08-20 08:57:18.303: D/Cordova(21383): onPageFinished(about:blank)
08-20 08:57:18.303: D/DroidGap(21383): onMessage(onPageFinished,about:blank)
08-20 08:57:18.303: D/DroidGap(21383): onMessage(exit,null)
08-20 08:57:19.483: D/DroidGap(21383): onMessage(spinner,stop)
08-20 08:57:19.513: D/DroidGap(21383): onMessage(spinner,stop)
08-20 08:57:20.023: D/DroidGap(21383): onMessage(spinner,stop)
So it looks like as soon as I call setRequestedOrientation like so:
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
super.loadUrl("file:///android_asset/www/index.html");
}
My application calls onDestroy and goes back to the launcher. Am I just not understanding an Android concept? Anyone has a clue?

You should add android:configChanges="orientation|keyboardHidden" in the Android Manifest in the first <activity> that appears. I had the same problem, it crashed my app too.

Related

Android map application crashes on emulator

I have created a very basic android map activity application after installing Android Studio and installing all the needed SDKs for my platform, google play services and google repository from the SDK Manager.
But when I launch the app regardless of the API level I set for my device I get a message "SampleApplication won't run unless you update Google Play services" with an Update button as soon as the emulator launches.
Clicking on the update button crashes the application and I see this in the logs:
08-20 13:07:35.225 1768-1768/? D/dalvikvm? Not late-enabling CheckJNI (already on) 08-20 13:07:35.565
1768-1768/example.com.sampleMapApp E/Trace? error opening trace file: No such file or directory (2) 08-20 13:07:35.875
1768-1768/example.com.sampleMapApp I/dalvikvm? Could not find method android.app.Notification$Builder.setLocalOnly,
referenced from method com.google.android.gms.common.GooglePlayServicesUtil.zza 08-20 13:07:35.875
1768-1768/example.com.sampleMapApp W/dalvikvm? VFY: unable to resolve virtual method 242:
Landroid/app/Notification$Builder;.setLocalOnly (Z)Landroid/app/Notification$Builder; 08-20 13:07:35.875
1768-1768/example.com.sampleMapApp D/dalvikvm? VFY: replacing opcode 0x6e at 0x00c2 08-20 13:07:35.885
1768-1768/example.com.sampleMapApp I/dalvikvm? DexOpt: access denied from Lcom/google/android/gms/common/GooglePlayServicesUtil;
to field Landroid/app/Notification;.extras 08-20 13:07:35.885
1768-1768/example.com.sampleMapApp W/dalvikvm? VFY: unable to resolve instance field 18 08-20 13:07:35.885
1768-1768/example.com.sampleMapApp D/dalvikvm? VFY: replacing opcode 0x54 at 0x00e1 08-20 13:07:35.895
1768-1768/example.com.sampleMapApp E/dalvikvm? Could not find class 'android.app.AppOpsManager',
referenced from method com.google.android.gms.common.GooglePlayServicesUtil.zza 08-20 13:07:35.895
1768-1768/example.com.sampleMapApp W/dalvikvm? VFY: unable to resolve check-cast 25 (Landroid/app/AppOpsManager;)
in Lcom/google/android/gms/common/GooglePlayServicesUtil; 08-20 13:07:35.895
1768-1768/example.com.sampleMapApp D/dalvikvm? VFY: replacing opcode 0x1f at 0x000e 08-20 13:07:35.905
1768-1768/example.com.sampleMapApp I/dalvikvm? Could not find method android.content.pm.PackageManager.getPackageInstaller,
referenced from method com.google.android.gms.common.GooglePlayServicesUtil.zzh 08-20 13:07:35.905
1768-1768/example.com.sampleMapApp W/dalvikvm? VFY: unable to resolve virtual method 532:
Landroid/content/pm/PackageManager;.getPackageInstaller ()Landroid/content/pm/PackageInstaller; 08-20 13:07:35.905
1768-1768/example.com.sampleMapApp D/dalvikvm? VFY: replacing opcode 0x6e at 0x000b 08-20 13:07:35.935
1768-1768/example.com.sampleMapApp W/GooglePlayServicesUtil? Google Play services out of date.
Requires 7571000 but found 3136130 08-20 13:07:35.946 1768-1768/example.com.sampleMapApp W/GooglePlayServicesUtil? Google Play services out of date.
Requires 7571000 but found 3136130 08-20 13:07:35.955 1768-1768/example.com.sampleMapApp W/GooglePlayServicesUtil? Google Play services out of date.
Requires 7571000 but found 3136130 08-20 13:07:35.965 1768-1768/example.com.sampleMapApp W/GooglePlayServicesUtil? Google Play services out of date.
Requires 7571000 but found 3136130 08-20 13:07:35.975 1768-1768/example.com.sampleMapApp W/GooglePlayServicesUtil? Google Play services out of date.
Requires 7571000 but found 3136130 08-20 13:07:35.985 1768-1768/example.com.sampleMapApp W/GooglePlayServicesUtil? Google Play services out of date.
Requires 7571000 but found 3136130 08-20 13:07:36.005 1768-1768/example.com.sampleMapApp W/GooglePlayServicesUtil? Google Play services out of date.
Requires 7571000 but found 3136130 08-20 13:07:36.015 1768-1768/example.com.sampleMapApp W/GooglePlayServicesUtil? Google Play services out of date.
Requires 7571000 but found 3136130 08-20 13:07:36.035 1768-1768/example.com.sampleMapApp W/GooglePlayServicesUtil? Google Play services out of date.
Requires 7571000 but found 3136130 08-20 13:07:36.085 1768-1768/example.com.sampleMapApp W/GooglePlayServicesUtil? Google Play services out of date.
Requires 7571000 but found 3136130 08-20 13:07:36.106 1768-1768/example.com.sampleMapApp W/GooglePlayServicesUtil? Google Play services out of date.
Requires 7571000 but found 3136130 08-20 13:07:36.135 1768-1768/example.com.sampleMapApp W/GooglePlayServicesUtil? Google Play services out of date.
Requires 7571000 but found 3136130 08-20 13:07:36.156 1768-1768/example.com.sampleMapApp W/GooglePlayServicesUtil? Google Play services out of date.
Requires 7571000 but found 3136130 08-20 13:07:36.185 1768-1768/example.com.sampleMapApp W/GooglePlayServicesUtil? Google Play services out of date.
Requires 7571000 but found 3136130 08-20 13:07:36.205 1768-1768/example.com.sampleMapApp W/GooglePlayServicesUtil? Google Play services out of date.
Requires 7571000 but found 3136130 08-20 13:07:36.355 1768-1768/example.com.sampleMapApp D/libEGL? loaded /system/lib/egl/libEGL_emulation.so 08-20 13:07:36.355
1768-1768/example.com.sampleMapApp D/libEGL? loaded /system/lib/egl/libGLESv1_CM_emulation.so 08-20 13:07:36.376
1768-1768/example.com.sampleMapApp D/libEGL? loaded /system/lib/egl/libGLESv2_emulation.so 08-20 13:07:36.396
1768-1772/example.com.sampleMapApp D/dalvikvm? GC_CONCURRENT freed 259K, 12% free 2510K/2832K, paused 12ms+3ms, total 141ms 08-20 13:07:36.405
1768-1768/example.com.sampleMapApp D/? HostConnection::get() New Host Connection established 0x2a139d08, tid 1768 08-20 13:07:36.515
1768-1768/example.com.sampleMapApp W/EGL_emulation? eglSurfaceAttrib not implemented 08-20 13:07:36.556
1768-1768/example.com.sampleMapApp D/OpenGLRenderer? Enabling debug mode 0 08-20 13:08:57.456
1768-1768/example.com.sampleMapApp D/AndroidRuntime? Shutting down VM 08-20 13:08:57.456
1768-1768/example.com.sampleMapApp W/dalvikvm? threadid=1: thread exiting with uncaught exception (group=0x40a71930) 08-20 13:08:57.496
1768-1768/example.com.sampleMapApp E/AndroidRuntime? FATAL EXCEPTION: main
android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=market://details?id=com.google.android.gms flg=0x80000 pkg=com.android.vending }
at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1622)
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1417)
at android.app.Activity.startActivityForResult(Activity.java:3370)
at android.app.Activity.startActivityForResult(Activity.java:3331)
at android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:820)
at android.app.Activity.startActivity(Activity.java:3566)
at android.app.Activity.startActivity(Activity.java:3534)
at com.google.android.gms.dynamic.zza$5.onClick(Unknown Source)
at android.view.View.performClick(View.java:4204)
at android.view.View$PerformClick.run(View.java:17355)
at android.os.Handler.handleCallback(Handler.java:725)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5041)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
at dalvik.system.NativeStart.main(Native Method) 08-20 13:09:00.516 1768-1768/? I/Process? Sending signal. PID: 1768 SIG: 9"
After seeing this ("Google Play services out of date. Requires 7571000 but found 3136130") in the log,
I have tried installing the Google play services apk com.google.android.gms-v7.5.74 by using the terminal's "adb install" command to no avail.
Please help me find out what am I missing.
PS: I have searched lot of other related questions on SO about this, but they all more or less point to the fact that the google play services might not be installed.
Your error clearly says
1768-1768/example.com.sampleMapApp W/GooglePlayServicesUtil? Google Play services out of date.
Go to SDK manage and update your Google API and create a new emulator.
I could resolve my issue by choosing "Lollipop 22 x86 Google APIs" for my emulator. Before this I was using Lollipop 22 x86_64 Android 5.1.1 for my target. Adding Google APIs in the target and updating all pending updates for my SDK solved this for me.
Edit: Also there were lot of other SDKs for different flavours of android present which I had to clean up and only retain API levels 19 and above for this to work.

Project No Longer Functional in Android Studio

I originally imported the Adobe Marketing Cloud (Omniture) v3x into my project, then changed my mind and replaced it with v4. I ran into problems with v4 though, and decided to remove it and go back to the original v3 library. When I tested it last night, it was working fine and sending hits like I expected. This morning I fired it up, and the project no longer works at all. It tries to start up, seems to fail at remotely loading assets (never a problem before), and eventually crashes without giving me a meaningful exception. All I get are screens and screens of stuff like this:
08-20 12:17:05.018 31576-31777/com.newspress.hurricanehub D/dalvikvm﹕ JIT unchain all for threadid=1
08-20 12:17:05.769 31576-31777/com.newspress.hurricanehub W/dalvikvm﹕ threadid=32: spin on suspend #1 threadid=1 (pcf=0)
08-20 12:17:06.519 31576-31777/com.newspress.hurricanehub W/dalvikvm﹕ threadid=32: spin on suspend #2 threadid=1 (pcf=0)
08-20 12:17:06.519 31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ "downloader" prio=5 tid=32 RUNNABLE
08-20 12:17:06.519 31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ | group="main" sCount=0 dsCount=0 obj=0x43195640 self=0x61f07738
08-20 12:17:06.519 31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ | sysTid=31777 nice=10 sched=0/0 cgrp=apps/bg_non_interactive handle=1643150224
08-20 12:17:06.519 31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ | state=R schedstat=( 0 0 0 ) utm=4 stm=1 core=0
08-20 12:17:06.519 31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method)
08-20 12:17:06.519 31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:405)
08-20 12:17:06.519 31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ at com.squareup.okhttp.Connection.upgradeToTls(Connection.java:208)
08-20 12:17:06.519 31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ at com.squareup.okhttp.Connection.connect(Connection.java:161)
08-20 12:17:06.519 31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ at com.squareup.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:246)
08-20 12:17:06.519 31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ at com.squareup.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:186)
08-20 12:17:06.519 31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ at com.squareup.okhttp.internal.http.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:375)
08-20 12:17:06.519 31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ at com.squareup.okhttp.internal.http.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:328)
08-20 12:17:06.519 31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ at com.squareup.okhttp.internal.http.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:196)
08-20 12:17:06.519 31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ at com.squareup.okhttp.internal.http.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:210)
08-20 12:17:06.519 31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ at com.squareup.okhttp.internal.http.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:25)
08-20 12:17:06.529 31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ at com.mapbox.mapboxsdk.tileprovider.tilesource.WebSourceTileLayer.getBitmapFromURL(WebSourceTileLayer.java:174)
08-20 12:17:06.529 31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ at com.mapbox.mapboxsdk.tileprovider.tilesource.WebSourceTileLayer.getDrawableFromTile(WebSourceTileLayer.java:120)
08-20 12:17:06.529 31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ at com.mapbox.mapboxsdk.tileprovider.tilesource.WebSourceTileLayer.getDrawableFromTile(WebSourceTileLayer.java:28)
08-20 12:17:06.529 31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ at com.mapbox.mapboxsdk.tileprovider.modules.MapTileDownloader$TileLoader.loadTile(MapTileDownloader.java:154)
08-20 12:17:06.529 31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ at com.mapbox.mapboxsdk.tileprovider.modules.MapTileModuleLayerBase$TileLoader.run(MapTileModuleLayerBase.java:316)
08-20 12:17:06.529 31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
08-20 12:17:06.529 31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
08-20 12:17:06.549 31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ at java.lang.Thread.run(Thread.java:841)
08-20 12:17:06.569 31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ [ 08-20 12:17:06.569 31576:31777 I/dalvikvm ]
"main" prio=5 tid=1 RUNNABLE JIT
I could post my full log if that would helpful, but there's a LOT of that. I've tried everything I know. I took the module out of the project and put it back in, I tried deleting my gradle and iml files and reimporting, I even reset the project to a previous commit from before I changed any libraries or had done anything that would hurt the project. Same result, it's just completely broken now, won't load anything, and eventually crashes. Any insight? I don't really know where to look or what to try at this point.
Turned out I was mistaken in assuming something I had changed in the code was causing the issue. Once I realized older apks were also broken, further testing revealed the data stream for the map was trying to load so many polygons it was crashing the Linux kernel. Once I removed the polygons from the map, everything worked fine. If something breaks I just always figure I probably broke it, but that isn't always a safe assumption!

Fragment Tabhost Error: java.lang.IllegalStateException: No tab known for tag null When Internet Connection not available

I Am first checking the internet connection and after that I am starting my Activity and I face this problem when I use the Tab Host.
I am also put my adding tab host code in the try catch but it don't even catch the exception.
XML Code:
<android.support.v4.app.FragmentTabHost
android:id="#android:id/tabhost"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#999999"
>
<FrameLayout
android:id="#android:id/tabcontent"
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_weight="0" />
</android.support.v4.app.FragmentTabHost>
My java Code
cd = new ConnectionDetector(Alumni_MainActivity.this);
// Check if Internet present
if (!cd.isConnectingToInternet()) {
// Internet Connection is not present
alert.showAlertDialog(Alumni_MainActivity.this,
"Internet Connection Error",
"Please connect to working Internet connection", false);
// stop executing code by return
return;
}
try {
tabHost = (FragmentTabHost) findViewById(android.R.id.tabhost);
tabHost.setup(this, getSupportFragmentManager(), R.id.fragment_container);
addTab("Chat", R.drawable.chaticon, ChatRoom.class, tabHost,null);
addTab("Contacts", R.drawable.contacticon, Memeber_view.class, tabHost, null);
addTab("Gallery", R.drawable.gallery, Galler_View.class, tabHost, null);
addTab("Event", R.drawable.event, EventList.class, tabHost,null);
addTab("More", R.drawable.moreicon, More.class, tabHost,null);
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
Error:
08-20 10:02:04.195: E/AndroidRuntime(13462): FATAL EXCEPTION: main
08-20 10:02:04.195: E/AndroidRuntime(13462): java.lang.IllegalStateException: No tab known for tag null
08-20 10:02:04.195: E/AndroidRuntime(13462): at android.support.v4.app.FragmentTabHost.doTabChanged(FragmentTabHost.java:330)
08-20 10:02:04.195: E/AndroidRuntime(13462): at android.support.v4.app.FragmentTabHost.onAttachedToWindow(FragmentTabHost.java:280)
08-20 10:02:04.195: E/AndroidRuntime(13462): at android.view.View.dispatchAttachedToWindow(View.java:11988)
08-20 10:02:04.195: E/AndroidRuntime(13462): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2495)
08-20 10:02:04.195: E/AndroidRuntime(13462): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2502)
08-20 10:02:04.195: E/AndroidRuntime(13462): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2502)
08-20 10:02:04.195: E/AndroidRuntime(13462): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2502)
08-20 10:02:04.195: E/AndroidRuntime(13462): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2502)
08-20 10:02:04.195: E/AndroidRuntime(13462): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1363)
08-20 10:02:04.195: E/AndroidRuntime(13462): at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1139)
08-20 10:02:04.195: E/AndroidRuntime(13462): at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4879)
08-20 10:02:04.195: E/AndroidRuntime(13462): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:776)
08-20 10:02:04.195: E/AndroidRuntime(13462): at android.view.Choreographer.doCallbacks(Choreographer.java:579)
08-20 10:02:04.195: E/AndroidRuntime(13462): at android.view.Choreographer.doFrame(Choreographer.java:548)
08-20 10:02:04.195: E/AndroidRuntime(13462): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:762)
08-20 10:02:04.195: E/AndroidRuntime(13462): at android.os.Handler.handleCallback(Handler.java:725)
08-20 10:02:04.195: E/AndroidRuntime(13462): at android.os.Handler.dispatchMessage(Handler.java:92)
08-20 10:02:04.195: E/AndroidRuntime(13462): at android.os.Looper.loop(Looper.java:153)
08-20 10:02:04.195: E/AndroidRuntime(13462): at android.app.ActivityThread.main(ActivityThread.java:5311)
08-20 10:02:04.195: E/AndroidRuntime(13462): at java.lang.reflect.Method.invokeNative(Native Method)
08-20 10:02:04.195: E/AndroidRuntime(13462): at java.lang.reflect.Method.invoke(Method.java:511)
08-20 10:02:04.195: E/AndroidRuntime(13462): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833)
08-20 10:02:04.195: E/AndroidRuntime(13462): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
08-20 10:02:04.195: E/AndroidRuntime(13462): at dalvik.system.NativeStart.main(Native Method)
Please help me I am struck.
Thanks in Advance!!

class not found exception in android

I am using following code for SQLConnection in android:
public void queryResultSet(String CommandSQL) throws ClassNotFoundException, java.sql.SQLException
{
ResultSet rs;
Connection conn = null;
Toast msg1 = Toast.makeText(getBaseContext(),
"Name = " + CommandSQL, Toast.LENGTH_LONG);
msg1.show();
Class.forName("net.sourceforge.jtds.jdbc.Driver");
String username="14Graficali\\Administrator";
String ConnUrl="jdbc:jtds:sqlserver://14GRAFICALI\\MSSQLSERVER2008;DatabaseName=DVDKiosk;user=14Graficali\\Administrator;Instance=SQLExpress";
conn = DriverManager.getConnection(ConnUrl);
Statement st=conn.createStatement();
rs=st.executeQuery(CommandSQL);
while(rs.next())
{
Toast msg2 = Toast.makeText(getBaseContext(),
"Name = " + rs.getString("UserName"), Toast.LENGTH_LONG);
msg2.show();
}
}
I have included net.sourceforge.jtds.jdbc.Driver as we can see below :
Stack Trace:
08-20 10:57:42.087: W/System.err(400): java.lang.ClassNotFoundException: net.sourceforge.jtds.jdbc.Driver
08-20 10:57:42.087: W/System.err(400): at java.lang.Class.classForName(Native Method)
08-20 10:57:42.087: W/System.err(400): at java.lang.Class.forName(Class.java:234)
08-20 10:57:42.087: W/System.err(400): at java.lang.Class.forName(Class.java:181)
08-20 10:57:42.087: W/System.err(400): at com.example.registrationapp.Login.queryResultSet(Login.java:93)
08-20 10:57:42.087: W/System.err(400): at com.example.registrationapp.Login$1.onClick(Login.java:126)
08-20 10:57:42.087: W/System.err(400): at android.view.View.performClick(View.java:2485)
08-20 10:57:42.087: W/System.err(400): at android.view.View$PerformClick.run(View.java:9080)
08-20 10:57:42.087: W/System.err(400): at android.os.Handler.handleCallback(Handler.java:587)
08-20 10:57:42.087: W/System.err(400): at android.os.Handler.dispatchMessage(Handler.java:92)
08-20 10:57:42.098: W/System.err(400): at android.os.Looper.loop(Looper.java:123)
08-20 10:57:42.098: W/System.err(400): at android.app.ActivityThread.main(ActivityThread.java:3683)
08-20 10:57:42.098: W/System.err(400): at java.lang.reflect.Method.invokeNative(Native Method)
08-20 10:57:42.098: W/System.err(400): at java.lang.reflect.Method.invoke(Method.java:507)
08-20 10:57:42.098: W/System.err(400): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
08-20 10:57:42.098: W/System.err(400): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
08-20 10:57:42.098: W/System.err(400): at dalvik.system.NativeStart.main(Native Method)
08-20 10:57:42.098: W/System.err(400): Caused by: java.lang.NoClassDefFoundError: net.sourceforge.jtds.jdbc.Driver
08-20 10:57:42.107: W/System.err(400): ... 16 more
08-20 10:57:42.107: W/System.err(400): Caused by: java.lang.ClassNotFoundException: net.sourceforge.jtds.jdbc.Driver in loader dalvik.system.PathClassLoader[/data/app/com.example.registrationapp-1.apk]
08-20 10:57:42.107: W/System.err(400): at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240)
08-20 10:57:42.107: W/System.err(400): at java.lang.ClassLoader.loadClass(ClassLoader.java:551)
08-20 10:57:42.107: W/System.err(400): at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
Please help me.
If you have already added the jtds-1.2.5 driver, good. Otherwise:
Right click on the Project > Properties > Libraries Tab Add the jtds-1.2.5.jar file by clicking on "Add External JARs"
Next, in the Order and Export tab (Right next to Libraries in the Java Build Path window) check the box for jtds-1.2.5.jar (and any other external jars you might have).
This will export the .jar containing the driver with the .apk file.
If you use ProGuard, then your class may be dropped by it because it is used with reflection only. And if you don't, Android can still fail to load class for some reasons. Look at LogCat during your package installation.
right click on the project - properties - java build path - Order and export - tick Android private libraries and all the libraries that u added

Android Mupdf : PDF viewer silenty crashed due to low memory after 13 pages

I am trying opened a large pdf file (10MB) which has high resolution images embedded on it with internal links,It seems to be working fine up to 13 pages when I continuous clicked the next page button. After 13 pages the application silently restart with list of all magazines files.
I am facing the issue with both 1.0 and 1.1 version.
Source for apk : http://code.google.com/p/mupdf/downloads/list
Tested on : Sony Ericsson XPERIA
model : X10i
sdk version : 2.3.3
Please check the log cat content attached below.
Any help will be appreciated
Thank You.
08-20 13:58:52.670: I/libmupdf(10800): In native method
08-20 13:58:52.670: I/libmupdf(10800): Checking format
08-20 13:58:52.670: I/libmupdf(10800): locking pixels
08-20 13:58:52.670: E/libmupdf(10800): Rendering page=480x640 patch=[0,0,480,640]
08-20 13:58:53.370: E/libmupdf(10800): Rendered
08-20 13:58:53.370: E/libmupdf(10800): Goto page 2...
08-20 13:58:54.460: D/dalvikvm(10800): GC_CONCURRENT freed 1233K, 56% free 3165K/7047K, external 6492K/6609K, paused 2ms+7ms
08-20 13:58:54.660: E/libmupdf(10800): Goto page 3...
08-20 13:58:54.670: E/libmupdf(10800): PageWidth=1191
08-20 13:58:54.670: E/libmupdf(10800): PageHeight=1588
08-20 13:58:54.710: I/libmupdf(10800): In native method
08-20 13:58:54.710: I/libmupdf(10800): Checking format
08-20 13:58:54.710: I/libmupdf(10800): locking pixels
08-20 13:58:54.710: E/libmupdf(10800): Rendering page=480x640 patch=[0,0,480,640]
08-20 13:58:58.390: E/libmupdf(10800): Rendered
08-20 13:58:58.390: E/libmupdf(10800): Goto page 3...
08-20 13:58:58.390: E/libmupdf(10800): Goto page 4...
08-20 13:58:58.400: E/libmupdf(10800): PageWidth=1191
08-20 13:58:58.400: E/libmupdf(10800): PageHeight=1588
08-20 13:58:58.410: I/libmupdf(10800): In native method
08-20 13:58:58.410: I/libmupdf(10800): Checking format
08-20 13:58:58.410: I/libmupdf(10800): locking pixels
08-20 13:58:58.410: E/libmupdf(10800): Rendering page=480x640 patch=[0,0,480,640]
08-20 13:59:01.670: E/libmupdf(10800): Rendered
08-20 13:59:01.670: E/libmupdf(10800): Goto page 4...
08-20 13:59:01.670: E/libmupdf(10800): Goto page 5...
08-20 13:59:01.710: E/libmupdf(10800): PageWidth=1191
08-20 13:59:01.710: E/libmupdf(10800): PageHeight=1588
08-20 13:59:01.730: I/libmupdf(10800): In native method
08-20 13:59:01.730: I/libmupdf(10800): Checking format
08-20 13:59:01.730: I/libmupdf(10800): locking pixels
08-20 13:59:01.730: E/libmupdf(10800): Rendering page=480x640 patch=[0,0,480,640]
08-20 13:59:05.080: E/libmupdf(10800): Rendered
08-20 13:59:05.080: E/libmupdf(10800): Goto page 5...
08-20 13:59:05.080: E/libmupdf(10800): Goto page 6...
08-20 13:59:05.120: E/libmupdf(10800): PageWidth=1191
08-20 13:59:05.120: E/libmupdf(10800): PageHeight=1588
08-20 13:59:05.130: I/libmupdf(10800): In native method
08-20 13:59:05.130: I/libmupdf(10800): Checking format
08-20 13:59:05.130: I/libmupdf(10800): locking pixels
08-20 13:59:05.130: E/libmupdf(10800): Rendering page=480x640 patch=[0,0,480,640]
08-20 13:59:08.260: E/libmupdf(10800): Rendered
08-20 13:59:08.260: E/libmupdf(10800): Goto page 6...
08-20 13:59:08.260: E/libmupdf(10800): Goto page 7...
08-20 13:59:08.270: E/libmupdf(10800): PageWidth=1191
08-20 13:59:08.270: E/libmupdf(10800): PageHeight=1588
08-20 13:59:08.280: I/libmupdf(10800): In native method
08-20 13:59:08.280: I/libmupdf(10800): Checking format
08-20 13:59:08.280: I/libmupdf(10800): locking pixels
08-20 13:59:08.280: E/libmupdf(10800): Rendering page=480x640 patch=[0,0,480,640]
08-20 13:59:11.350: E/libmupdf(10800): Rendered
08-20 13:59:11.350: E/libmupdf(10800): Goto page 7...
08-20 13:59:11.350: E/libmupdf(10800): Goto page 8...
08-20 13:59:11.350: E/libmupdf(10800): PageWidth=1191
08-20 13:59:11.350: E/libmupdf(10800): PageHeight=1588
08-20 13:59:11.370: I/libmupdf(10800): In native method
08-20 13:59:11.370: I/libmupdf(10800): Checking format
08-20 13:59:11.370: I/libmupdf(10800): locking pixels
08-20 13:59:11.370: E/libmupdf(10800): Rendering page=480x640 patch=[0,0,480,640]
08-20 13:59:12.050: D/dalvikvm(10800): GC_CONCURRENT freed 1875K, 59% free 3239K/7751K, external 6492K/6609K, paused 2ms+8ms
08-20 13:59:14.350: E/libmupdf(10800): Rendered
08-20 13:59:14.350: E/libmupdf(10800): Goto page 8...
08-20 13:59:14.350: E/libmupdf(10800): Goto page 9...
08-20 13:59:14.390: E/libmupdf(10800): PageWidth=1191
08-20 13:59:14.390: E/libmupdf(10800): PageHeight=1588
08-20 13:59:14.390: I/libmupdf(10800): In native method
08-20 13:59:14.390: I/libmupdf(10800): Checking format
08-20 13:59:14.390: I/libmupdf(10800): locking pixels
08-20 13:59:14.390: E/libmupdf(10800): Rendering page=480x640 patch=[0,0,480,640]
08-20 13:59:17.500: E/libmupdf(10800): Rendered
08-20 13:59:17.500: E/libmupdf(10800): Goto page 9...
08-20 13:59:17.510: E/libmupdf(10800): Goto page 10...
08-20 13:59:17.550: E/libmupdf(10800): PageWidth=1191
08-20 13:59:17.550: E/libmupdf(10800): PageHeight=1588
08-20 13:59:17.550: I/libmupdf(10800): In native method
08-20 13:59:17.550: I/libmupdf(10800): Checking format
08-20 13:59:17.550: I/libmupdf(10800): locking pixels
08-20 13:59:17.550: E/libmupdf(10800): Rendering page=480x640 patch=[0,0,480,640]
08-20 13:59:22.690: E/libmupdf(10800): Rendered
08-20 13:59:22.830: E/libmupdf(10800): Goto page 10...
08-20 13:59:22.830: E/libmupdf(10800): Goto page 11...
08-20 13:59:22.850: E/libmupdf(10800): PageWidth=1191
08-20 13:59:22.850: E/libmupdf(10800): PageHeight=1588
08-20 13:59:22.890: I/ActivityManager(1231): Start proc com.sonyericsson.eventstream.telephonyplugin for service com.sonyericsson.eventstream.telephonyplugin/.TelephonyPluginService: pid=11006 uid=10058 gids={}
08-20 13:59:22.910: I/libmupdf(10800): In native method
08-20 13:59:22.910: I/libmupdf(10800): Checking format
08-20 13:59:22.910: I/libmupdf(10800): locking pixels
08-20 13:59:22.910: E/libmupdf(10800): Rendering page=480x640 patch=[0,0,480,640]
08-20 13:59:24.490: I/ActivityManager(1231): Process com.sonyericsson.pccompanion (pid 10834) has died.
08-20 13:59:25.110: I/ActivityManager(1231): Process com.sonyericsson.android.support (pid 10850) has died.
08-20 13:59:25.970: I/ActivityManager(1231): Process android.process.acore (pid 10914) has died.
08-20 13:59:27.460: E/libmupdf(10800): Rendered
08-20 13:59:27.460: E/libmupdf(10800): Goto page 11...
08-20 13:59:27.460: E/libmupdf(10800): Goto page 12...
08-20 13:59:27.490: E/libmupdf(10800): PageWidth=1191
08-20 13:59:27.490: E/libmupdf(10800): PageHeight=1588
08-20 13:59:27.510: I/libmupdf(10800): In native method
08-20 13:59:27.510: I/libmupdf(10800): Checking format
08-20 13:59:27.510: I/libmupdf(10800): locking pixels
08-20 13:59:27.510: E/libmupdf(10800): Rendering page=480x640 patch=[0,0,480,640]
08-20 13:59:30.990: E/libmupdf(10800): Rendered
08-20 13:59:30.990: E/libmupdf(10800): Goto page 12...
08-20 13:59:30.990: E/libmupdf(10800): Goto page 13...
08-20 13:59:31.010: E/libmupdf(10800): PageWidth=1191
08-20 13:59:31.010: E/libmupdf(10800): PageHeight=1588
08-20 13:59:31.040: I/libmupdf(10800): In native method
08-20 13:59:31.040: I/libmupdf(10800): Checking format
08-20 13:59:31.040: I/libmupdf(10800): locking pixels
08-20 13:59:31.040: E/libmupdf(10800): Rendering page=480x640 patch=[0,0,480,640]
08-20 13:59:32.140: I/ActivityManager(1231): Process com.sonyericsson.customization (pid 10860) has died.
08-20 13:59:32.140: I/ActivityManager(1231): Low Memory: No more background processes.
08-20 13:59:33.200: I/ActivityManager(1231): Process com.sonyericsson.eventstream.telephonyplugin (pid 11006) has died.
08-20 13:59:33.200: W/ActivityManager(1231): Scheduling restart of crashed service com.sonyericsson.eventstream.telephonyplugin/.TelephonyPluginService in 705872ms
08-20 13:59:33.200: I/ActivityManager(1231): Low Memory: No more background processes.
08-20 13:59:33.660: I/ActivityManager(1231): Process com.sonyericsson.devicemonitor (pid 10951) has died.
08-20 13:59:33.660: W/ActivityManager(1231): Scheduling restart of crashed service com.sonyericsson.devicemonitor/.DeviceMonitorService in 5000ms
08-20 13:59:33.660: I/ActivityManager(1231): Low Memory: No more background processes.
08-20 13:59:34.310: I/ActivityManager(1231): Process com.sonyericsson.sync.service (pid 10876) has died.
08-20 13:59:34.310: W/ActivityManager(1231): Scheduling restart of crashed service com.sonyericsson.sync.service/sync.service.SemcRepeatingSyncManagerService in 34213ms
08-20 13:59:34.310: I/ActivityManager(1231): Low Memory: No more background processes.
08-20 13:59:34.960: E/libmupdf(10800): Rendered
08-20 13:59:34.960: E/libmupdf(10800): Goto page 13...
08-20 13:59:34.960: E/libmupdf(10800): Goto page 14...
08-20 13:59:34.970: E/libmupdf(10800): PageWidth=1191
08-20 13:59:34.970: E/libmupdf(10800): PageHeight=1588
08-20 13:59:35.010: I/libmupdf(10800): In native method
08-20 13:59:35.010: I/libmupdf(10800): Checking format
08-20 13:59:35.010: I/libmupdf(10800): locking pixels
08-20 13:59:35.010: E/libmupdf(10800): Rendering page=480x640 patch=[0,0,480,640]
08-20 13:59:35.160: I/ActivityManager(1231): Process com.sonyericsson.crashmonitor (pid 10986) has died.
08-20 13:59:35.170: W/ActivityManager(1231): Scheduling restart of crashed service com.sonyericsson.crashmonitor/.CrashMonitorService in 579664ms
08-20 13:59:35.170: I/ActivityManager(1231): Low Memory: No more background processes.
08-20 13:59:35.920: I/ActivityManager(1231): Process com.sonyericsson.android.bootinfo:remote (pid 10995) has died.
08-20 13:59:35.920: I/ActivityManager(1231): Low Memory: No more background processes.
08-20 13:59:36.610: I/ActivityManager(1231): Process com.sonyericsson.secureclockservice (pid 10808) has died.
08-20 13:59:36.610: W/ActivityManager(1231): Scheduling restart of crashed service com.sonyericsson.secureclockservice/.SecureClockEventListenerService in 41912ms
08-20 13:59:36.610: W/ActivityManager(1231): Scheduling restart of crashed service com.sonyericsson.secureclockservice/.SecureClockStartupService in 51912ms
08-20 13:59:36.610: I/ActivityManager(1231): Low Memory: No more background processes.
08-20 13:59:37.210: I/ActivityManager(1231): Process com.sonyericsson.eventstream.calllogplugin (pid 10963) has died.
08-20 13:59:37.210: W/ActivityManager(1231): Scheduling restart of crashed service com.sonyericsson.eventstream.calllogplugin/.CallLogPluginService in 61313ms
08-20 13:59:37.210: I/ActivityManager(1231): Low Memory: No more background processes.
08-20 13:59:38.370: E/libmupdf(10800): Rendered
08-20 13:59:38.370: E/libmupdf(10800): Goto page 14...
08-20 13:59:38.370: E/libmupdf(10800): Goto page 15...
08-20 13:59:38.420: E/libmupdf(10800): PageWidth=1191
08-20 13:59:38.420: E/libmupdf(10800): PageHeight=1588
08-20 13:59:38.430: I/libmupdf(10800): In native method
08-20 13:59:38.430: I/libmupdf(10800): Checking format
08-20 13:59:38.430: I/libmupdf(10800): locking pixels
08-20 13:59:38.430: E/libmupdf(10800): Rendering page=480x640 patch=[0,0,480,640]
08-20 13:59:38.600: I/ActivityManager(1231): Process com.sonyericsson.textinput.uxp (pid 10943) has died.
08-20 13:59:38.600: W/ActivityManager(1231): Scheduling restart of crashed service com.sonyericsson.textinput.uxp/.glue.InputMethodServiceGlue in 69922ms
08-20 13:59:38.600: I/ActivityManager(1231): Low Memory: No more background processes.
08-20 13:59:38.630: W/InputManagerService(1231): Session failed to close due to remote exception
08-20 13:59:38.630: W/InputManagerService(1231): android.os.DeadObjectException
08-20 13:59:38.630: W/InputManagerService(1231): at android.os.BinderProxy.transact(Native Method)
08-20 13:59:38.630: W/InputManagerService(1231): at com.android.internal.view.IInputMethodSession$Stub$Proxy.finishSession(IInputMethodSession.java:346)
08-20 13:59:38.630: W/InputManagerService(1231): at com.android.server.InputMethodManagerService.finishSession(InputMethodManagerService.java:896)
08-20 13:59:38.630: W/InputManagerService(1231): at com.android.server.InputMethodManagerService.clearCurMethodLocked(InputMethodManagerService.java:907)
08-20 13:59:38.630: W/InputManagerService(1231): at com.android.server.InputMethodManagerService.onServiceDisconnected(InputMethodManagerService.java:924)
08-20 13:59:38.630: W/InputManagerService(1231): at android.app.LoadedApk$ServiceDispatcher.doDeath(LoadedApk.java:1069)
08-20 13:59:38.630: W/InputManagerService(1231): at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1083)
08-20 13:59:38.630: W/InputManagerService(1231): at android.os.Handler.handleCallback(Handler.java:587)
08-20 13:59:38.630: W/InputManagerService(1231): at android.os.Handler.dispatchMessage(Handler.java:92)
08-20 13:59:38.630: W/InputManagerService(1231): at android.os.Looper.loop(Looper.java:123)
08-20 13:59:38.630: W/InputManagerService(1231): at com.android.server.ServerThread.run(SystemServer.java:549)
08-20 13:59:38.630: W/InputManagerService(1231): Session failed to close due to remote exception
08-20 13:59:38.630: W/InputManagerService(1231): android.os.DeadObjectException
08-20 13:59:38.630: W/InputManagerService(1231): at android.os.BinderProxy.transact(Native Method)
08-20 13:59:38.630: W/InputManagerService(1231): at com.android.internal.view.IInputMethodSession$Stub$Proxy.finishSession(IInputMethodSession.java:346)
08-20 13:59:38.630: W/InputManagerService(1231): at com.android.server.InputMethodManagerService.finishSession(InputMethodManagerService.java:896)
08-20 13:59:38.630: W/InputManagerService(1231): at com.android.server.InputMethodManagerService.clearCurMethodLocked(InputMethodManagerService.java:911)
08-20 13:59:38.630: W/InputManagerService(1231): at com.android.server.InputMethodManagerService.onServiceDisconnected(InputMethodManagerService.java:924)
08-20 13:59:38.630: W/InputManagerService(1231): at android.app.LoadedApk$ServiceDispatcher.doDeath(LoadedApk.java:1069)
08-20 13:59:38.630: W/InputManagerService(1231): at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1083)
08-20 13:59:38.630: W/InputManagerService(1231): at android.os.Handler.handleCallback(Handler.java:587)
08-20 13:59:38.630: W/InputManagerService(1231): at android.os.Handler.dispatchMessage(Handler.java:92)
08-20 13:59:38.630: W/InputManagerService(1231): at android.os.Looper.loop(Looper.java:123)
08-20 13:59:38.630: W/InputManagerService(1231): at com.android.server.ServerThread.run(SystemServer.java:549)
08-20 13:59:38.690: I/ActivityManager(1231): Start proc com.sonyericsson.devicemonitor for service com.sonyericsson.devicemonitor/.DeviceMonitorService: pid=11015 uid=10010 gids={3003, 3002, 1007}
08-20 13:59:39.230: I/ActivityManager(1231): Process com.sonyericsson.devicemonitor (pid 11015) has died.
08-20 13:59:39.230: W/ActivityManager(1231): Scheduling restart of crashed service com.sonyericsson.devicemonitor/.DeviceMonitorService in 79293ms
08-20 13:59:39.230: I/ActivityManager(1231): Low Memory: No more background processes.
08-20 13:59:39.700: I/ActivityManager(1231): Process com.google.process.gapps (pid 10888) has died.
08-20 13:59:39.700: W/ActivityManager(1231): Scheduling restart of crashed service com.google.android.gsf/.gtalkservice.service.GTalkService in 5000ms
08-20 13:59:39.700: W/ActivityManager(1231): Scheduling restart of crashed service com.google.android.location/.NetworkLocationService in 88820ms
08-20 13:59:39.700: I/ActivityManager(1231): Low Memory: No more background processes.
08-20 13:59:40.100: D/GeocoderProxy(1231): onServiceDisconnected ComponentInfo{com.google.android.location/com.google.android.location.NetworkLocationService}
08-20 13:59:40.100: D/LocationProviderProxy(1231): LocationProviderProxy.onServiceDisconnected ComponentInfo{com.google.android.location/com.google.android.location.NetworkLocationService}
08-20 13:59:40.440: D/dalvikvm(10800): GC_CONCURRENT freed 1939K, 59% free 3249K/7815K, external 6492K/6609K, paused 3ms+12ms
08-20 13:59:42.190: I/ActivityManager(1231): Process com.artifex.mupdf (pid 10800) has died.
08-20 13:59:42.190: I/WindowManager(1231): WIN DEATH: Window{4091b3f0 com.artifex.mupdf/com.artifex.mupdf.MuPDFActivity paused=false}
08-20 13:59:42.190: E/InputDispatcher(1231): channel '409046a0 com.artifex.mupdf/com.artifex.mupdf.ChoosePDFActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x8
08-20 13:59:42.190: E/InputDispatcher(1231): channel '409046a0 com.artifex.mupdf/com.artifex.mupdf.ChoosePDFActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
08-20 13:59:42.210: I/WindowManager(1231): WIN DEATH: Window{409046a0 com.artifex.mupdf/com.artifex.mupdf.ChoosePDFActivity paused=false}
08-20 13:59:42.210: E/InputDispatcher(1231): Received spurious receive callback for unknown input channel. fd=190, events=0x8
08-20 13:59:42.230: I/ActivityManager(1231): Start proc com.artifex.mupdf for activity com.artifex.mupdf/.ChoosePDFActivity: pid=11024 uid=10146 gids={}
08-20 13:59:42.230: I/ActivityManager(1231): Low Memory: No more background processes.
08-20 13:59:42.710: W/InputManagerService(1231): Got RemoteException sending setActive(false) notification to pid 10800 uid 10146
08-20 13:59:42.740: I/ActivityManager(1231): Displayed com.artifex.mupdf/.ChoosePDFActivity: +521ms
08-20 13:59:44.720: I/ActivityManager(1231): Start proc com.google.process.gapps for service com.google.android.gsf/.gtalkservice.service.GTalkService: pid=11032 uid=10022 gids={3003, 1015, 2001, 1007}
08-20 13:59:44.790: I/ActivityThread(11032): Pub com.google.settings: com.google.android.gsf.settings.GoogleSettingsProvider
08-20 13:59:44.811: I/ActivityThread(11032): Pub subscribedfeeds: com.google.android.gsf.subscribedfeeds.SubscribedFeedsProvider
08-20 13:59:44.940: I/ActivityThread(11032): Pub com.google.android.gsf.gservices: com.google.android.gsf.gservices.GservicesProvider
08-20 13:59:44.940: I/GservicesProvider(11032): Gservices pushing to system: true; secure: true
08-20 13:59:44.940: I/ActivityThread(11032): Pub com.google.android.providers.talk: com.google.android.gsf.talk.TalkProvider
08-20 13:59:45.160: D/SyncManager(1231): setSyncAutomatically: , provider subscribedfeeds -> true
08-20 13:59:45.160: D/SyncManager(1231): setSyncAutomatically: already set to true, doing nothing
08-20 13:59:45.170: D/GTalkService(11032): lost connectivity, notify
08-20 13:59:45.300: D/GTalkService(11032): [GTalkConnection.26] init: initialized presence to AVAILABLE(x) pmuc-v1
08-20 13:59:45.300: D/GTalkService(11032): [GTalkConnection.26] ensurePresenceHandlerLoginState: call RosterListenerImpl.onLoggedIn
08-20 13:59:45.300: D/GTalkService(11032): [RosterListenerImpl] onLoggedIn
08-20 13:59:45.430: I/ActivityManager(1231): Start proc android.process.acore for content provider com.android.providers.contacts/.SemcContactsProvider2: pid=11058 uid=10012 gids={3003}
08-20 13:59:45.470: D/dalvikvm(1145): GC_EXPLICIT freed 11K, 53% free 2556K/5379K, external 1685K/2133K, paused 38ms
08-20 13:59:45.510: D/GTalkService(11032): [GTalkImSession] login: kbvk527#gmail.com, hostConn.connState = RECONNECTION_SCHEDULED, hostConn.error=NO ERROR
08-20 13:59:45.510: D/GTalkService(11032): [GTalkConnection.26] connect: network unavailable, set state=PENDING, err=NO_NETWORK
08-20 13:59:45.510: D/GTalkService(11032): [RosterListenerImpl] onLoggedIn
08-20 13:59:45.520: D/dalvikvm(1145): GC_EXPLICIT freed <1K, 53% free 2556K/5379K, external 1685K/2133K, paused 46ms
08-20 13:59:45.520: I/ActivityThread(11058): Pub contacts;com.android.contacts: com.android.providers.contacts.SemcContactsProvider2
08-20 13:59:45.580: D/dalvikvm(1145): GC_EXPLICIT freed <1K, 53% free 2556K/5379K, external 1685K/2133K, paused 66ms
08-20 13:59:45.870: I/ActivityThread(11058): Pub user_dictionary: com.android.providers.userdictionary.UserDictionaryProvider
08-20 13:59:45.880: I/ActivityThread(11058): Pub call_log: com.android.providers.contacts.SemcCallLogProvider
08-20 13:59:45.880: I/ActivityThread(11058): Pub com.android.social: com.android.providers.contacts.SocialProvider
08-20 13:59:45.880: I/ActivityThread(11058): Pub applications: com.android.providers.applications.ApplicationsProvider
08-20 13:59:45.990: D/GTalkService(11032): [GTalkConnection.24] EVENT_REQUEST_ROSTER: not connected
08-20 13:59:50.120: D/skia(1299): purging 8K from font cache [1 entries]
08-20 13:59:50.150: D/dalvikvm(1299): GC_EXPLICIT freed 21K, 56% free 2870K/6407K, external 2586K/3164K, paused 30ms
08-20 13:59:55.120: D/skia(1231): purging 23K from font cache [3 entries]
08-20 13:59:55.210: D/dalvikvm(1231): GC_EXPLICIT freed 442K, 47% free 6830K/12743K, external 4080K/5095K, paused 93ms
08-20 13:59:58.540: I/ActivityManager(1231): Start proc com.sonyericsson.setupwizard for service com.sonyericsson.setupwizard/.simcard.SimService: pid=11067 uid=10092 gids={3003, 1015}
08-20 14:00:05.060: D/dalvikvm(1335): GC_EXPLICIT freed 4K, 51% free 3032K/6151K, external 1685K/2133K, paused 34ms
08-20 14:00:08.560: I/ActivityManager(1231): Start proc com.sonyericsson.sync.service for service com.sonyericsson.sync.service/sync.service.SemcRepeatingSyncManagerService: pid=11076 uid=10043 gids={3003}
08-20 14:00:08.730: I/ActivityThread(11076): Pub com.sonyericsson.syncml.Account: sync.service.provider.SonyEricssonAccountProvider
08-20 14:00:08.780: D/SYNCML/APPLICATION(11076): Creating wake-lock for BroadcastReceivers
08-20 14:00:08.780: D/SYNCML/PROVIDER(11076): onAccountsUpdated([Account {name=Phone contacts, type=com.sonyericsson.localcontacts}, Account {name=kbvk527#gmail.com, type=com.google}, Account {name=kbvk527#gmail.com, type=com.facebook.auth.login}, Account {name=kbvk527#gmail.com, type=com.sonyericsson.facebook.account}])
08-20 14:00:08.810: D/SYNCML/PROVIDER(11076): Starting static initialization of registry
08-20 14:00:08.810: D/SYNCML/MAINTENANCE(11076): Reading uri from ComponentInfo{com.sonyericsson.sync.service/versit.rpc.contacts.ContactsDataService}
08-20 14:00:08.810: D/SYNCML/MAINTENANCE(11076): Reading authority from ComponentInfo{com.sonyericsson.sync.service/versit.rpc.contacts.ContactsDataService}
08-20 14:00:08.810: D/SYNCML/MAINTENANCE(11076): Reading name from ComponentInfo{com.sonyericsson.sync.service/versit.rpc.contacts.ContactsDataService}
08-20 14:00:08.810: D/SYNCML/MAINTENANCE(11076): Reading description from ComponentInfo{com.sonyericsson.sync.service/versit.rpc.contacts.ContactsDataService}
08-20 14:00:08.810: D/SYNCML/MAINTENANCE(11076): Reading mime-type from ComponentInfo{com.sonyericsson.sync.service/versit.rpc.contacts.ContactsDataService}
08-20 14:00:08.820: D/SYNCML/MAINTENANCE(11076): Reading uri from ComponentInfo{com.sonyericsson.sync.service/versit.rpc.bookmarks.BookmarksDataService}
08-20 14:00:08.820: D/SYNCML/MAINTENANCE(11076): Reading authority from ComponentInfo{com.sonyericsson.sync.service/versit.rpc.bookmarks.BookmarksDataService}
08-20 14:00:08.820: D/SYNCML/MAINTENANCE(11076): Reading name from ComponentInfo{com.sonyericsson.sync.service/versit.rpc.bookmarks.BookmarksDataService}
08-20 14:00:08.820: D/SYNCML/MAINTENANCE(11076): Reading description from ComponentInfo{com.sonyericsson.sync.service/versit.rpc.bookmarks.BookmarksDataService}
08-20 14:00:08.820: D/SYNCML/MAINTENANCE(11076): Reading mime-type from ComponentInfo{com.sonyericsson.sync.service/versit.rpc.bookmarks.BookmarksDataService}
08-20 14:00:08.820: D/SYNCML/MAINTENANCE(11076): Reading uri from ComponentInfo{com.sonyericsson.sync.service/sync.service.SEMCCalendar2DataService}
08-20 14:00:08.820: D/SYNCML/MAINTENANCE(11076): Reading authority from ComponentInfo{com.sonyericsson.sync.service/sync.service.SEMCCalendar2DataService}
08-20 14:00:08.820: D/SYNCML/MAINTENANCE(11076): Reading name from ComponentInfo{com.sonyericsson.sync.service/sync.service.SEMCCalendar2DataService}
08-20 14:00:08.820: D/SYNCML/MAINTENANCE(11076): Reading description from ComponentInfo{com.sonyericsson.sync.service/sync.service.SEMCCalendar2DataService}
08-20 14:00:08.820: D/SYNCML/MAINTENANCE(11076): Reading mime-type from ComponentInfo{com.sonyericsson.sync.service/sync.service.SEMCCalendar2DataService}
08-20 14:00:08.830: D/SYNCML/MAINTENANCE(11076): Row already exists, skipping update
08-20 14:00:08.830: D/SYNCML/MAINTENANCE(11076): Row already exists, skipping update
08-20 14:00:08.840: D/SYNCML/MAINTENANCE(11076): Row already exists, skipping update
08-20 14:00:08.840: D/SYNCML/MAINTENANCE(11076): Found rows, deleting all missing rows in registry
08-20 14:00:08.880: I/ActivityManager(1231): Start proc com.sonyericsson.customization for content provider com.sonyericsson.provider.customization/.CustomizationProvider: pid=11086 uid=10083 gids={}
08-20 14:00:08.900: I/ActivityThread(11086): Pub com.sonyericsson.provider.useragent: com.sonyericsson.provider.useragent.UserAgentProvider
08-20 14:00:08.910: D/ActivityThread(11086): Loading provider com.sonyericsson.provider.customization: com.sonyericsson.provider.customization.CustomizationProvider
08-20 14:00:08.920: I/CustomizationProvider(11086): No configuration file: /system/etc/customization/settings/com/sonyericsson/provider/useragent/custom_settings.xml
08-20 14:00:08.920: W/UserAgentProvider(11086): onCreatejava.io.FileNotFoundException
08-20 14:00:08.920: I/ActivityThread(11086): Pub com.sonyericsson.provider.customization: com.sonyericsson.provider.customization.CustomizationProvider
08-20 14:00:08.920: I/CustomizationProvider(11086): No configuration file: /system/etc/customization/settings/com/sonyericsson/sync/service/customization/custom_settings.xml
08-20 14:00:08.920: W/SyncAccountCustomization(11076): Unable to find customization file
08-20 14:00:09.930: W/SyncAccountCustomization(11076): Stop CustomizationService
08-20 14:00:18.540: I/ActivityManager(1231): Start proc com.sonyericsson.secureclockservice for service com.sonyericsson.secureclockservice/.SecureClockEventListenerService: pid=11096 uid=10085 gids={3003}
08-20 14:00:18.570: I/SecureClock(11096): The listener for network connectivity is set up
08-20 14:00:18.570: I/SecureClock(11096): Generate an initial secure clock value.
08-20 14:00:18.570: I/SecureClock(11096): Network not connected
08-20 14:00:18.580: I/SecureClock(11096): network state changed
08-20 14:00:18.580: I/SecureClock(11096): Network not connected
08-20 14:00:28.530: I/JNI(11096): Trying to load libJNISecureClock.so
08-20 14:00:28.530: D/dalvikvm(11096): Trying to load lib /data/data/com.sonyericsson.secureclockservice/lib/libJNISecureClock.so 0x4051ae00
08-20 14:00:28.550: D/dalvikvm(11096): Added shared lib /data/data/com.sonyericsson.secureclockservice/lib/libJNISecureClock.so 0x4051ae00
08-20 14:00:28.550: D/dalvikvm(11096): No JNI_OnLoad found in /data/data/com.sonyericsson.secureclockservice/lib/libJNISecureClock.so 0x4051ae00, skipping init
08-20 14:00:28.550: I/SecureClock(11096): Setting up timer
08-20 14:00:28.550: I/SecureClock(11096): Delay=120000
08-20 14:00:28.550: I/SecureClock(11096): Period=43200000
A bug has been opened for this at:
http://bugs.ghostscript.com/show_bug.cgi?id=693288
and progress can be tracked there. However, no progress will be made without a specimen file to reproduce the problem.....

Categories

Resources