Interesting but unfortunately this thing crashes my app all the time. In simple projects with just one activity it seems to work but the minute i'm using actionbars etc. it never works to load images.
I'm getting a stackoverflow.
processMsg: L2ConnectedState
handleMessage: X
START u0 {flg=0x20000 cmp=com.thingstank.apps.myapp/.actslider} from pid 8969
Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1244 android.content.ContextWrapper.sendBroadcast:365 com.motorola.motocare.util.TriggerHelper$TriggerBuilder.send:76 com.motorola.motocare.internal.frameworkevents.PauseResumeTrigger.handleFrameworkEvent:53 com.motorola.motocare.internal.frameworkevents.FwEventMonitor$FrameworkListener.processFrameworkEvent:114
** Activity (main) Pause, UserClosed = false **
Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1244 android.content.ContextWrapper.sendBroadcast:365 com.motorola.motocare.util.TriggerHelper$TriggerBuilder.send:76 com.motorola.motocare.internal.frameworkevents.PauseResumeTrigger.handleFrameworkEvent:53 com.motorola.motocare.internal.frameworkevents.FwEventMonitor$FrameworkListener.processFrameworkEvent:114
** Activity (actslider) Create, isFirst = true **
handleMessage: E msg.what=151572
processMsg: ConnectedState
processMsg: L2ConnectedState
handleMessage: X
MemoryCache will use up to 24.0MB
** Activity (actslider) Resume **
Unable to decode stream: java.io.FileNotFoundException: /storage/emulated/0/Android/data/com.thingstank.apps.myapp/cache/.thumbs/-290755091: open failed: ENOENT (No such file or directory)
threadid=1: stack overflow on call to Ljava/util/Collections;.emptyList:L
method requires 4+20+0=24 bytes, fp is 0x41a25314 (20 left)
expanding stack end (0x41a25300 to 0x41a25000)
Shrank stack (to 0x41a25300, curFrame is 0x41a25380)
Exception thrown (Ljava/lang/StackOverflowError
while throwing internal exception (Ljava/io/FileNotFoundException
Shutting down VM
threadid=1: thread exiting with uncaught exception (group=0x41b8ed40)
handleMessage: E msg.what=131155
processMsg: ConnectedState
processMsg: L2ConnectedState
handleMessage: X
java.lang.StackOverflowError
at java.lang.Throwable.<init>(Throwable.java:67)
at java.lang.Exception.<init>(Exception.java:47)
at java.io.IOException.<init>(IOException.java:44)
at java.io.FileNotFoundException.<init>(FileNotFoundException.java:42)
at android.content.res.AssetManager.openAsset(Native Method)
at android.content.res.AssetManager.open(AssetManager.java:316)
at android.content.res.AssetManager.open(AssetManager.java:290)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:241)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownlo
Message longer than Log limit (4000). Message was truncated.
FATAL EXCEPTION: main
Process: com.thingstank.apps.myapp, PID: 8969
java.lang.StackOverflowError
at java.lang.Throwable.<init>(Throwable.java:67)
at java.lang.Exception.<init>(Exception.java:47)
at java.io.IOException.<init>(IOException.java:44)
at java.io.FileNotFoundException.<init>(FileNotFoundException.java:42)
at android.content.res.AssetManager.openAsset(Native Method)
at android.content.res.AssetManager.open(AssetManager.java:316)
at android.content.res.AssetManager.open(AssetManager.java:290)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:241)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photogallery.downloader.PhotoGalleryDownloader.getBitmapFromAssets(PhotoGalleryDownloader.java:243)
at it.giuseppe.salvi.library.photog
GC_FOR_ALLOC freed 4862K, 30% free 12178K/17244K, paused 20ms, total 20ms
Force finishing activity com.thingstank.apps.myapp/.actslider
Force finishing activity com.thingstank.apps.myapp/.main
Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1244 android.content.ContextWrapper.sendBroadcast:365 com.motorola.motocare.util.TriggerHelper$TriggerBuilder.send:76 com.motorola.motocare.internal.frameworkevents.PauseResumeTrigger.handleFrameworkEvent:53 com.motorola.motocare.internal.frameworkevents.FwEventMonitor$FrameworkListener.processFrameworkEvent:114
triggers: (rate: 322:8981) (compose: 0:108) (post: 3:902) (render: 101:2148) (16:89707 frames) (17:335885)
layers: (3:14) (DimLayer: 0:210)* (DimLayer: 0:12)* (FocusedStackFrame: 1:4113)* (StatusBar: 1:30620) (NavigationBar: 0:23790) (com.android.systemui.ImageWallpaper: 0:3137)* (DimLayer: 0:82)* (DimLayer: 0:199)* (it.giuseppe.salvi.galleryview/it.giuseppe.salvi.galleryview.main: 0:43)* (Starting com.thingstank.apps.myapp: 0:41)* (com.thingstank.apps.myapp/com.thingstank.apps.myapp.main: 0:58)* (com.thingstank.apps.myapp/com.thingstank.apps.myapp.actsplash: 0:27)* (com.thingstank.apps.myapp/com.thingstank.apps.myapp.main: 0:33) (com.thingstank.apps.myapp/com.thingstank.apps.myapp.actslider: 17:18)*
Start proc com.google.android.gms.drive for service com.google.android.gms/.drive.api.ApiService: pid=9459 uid=10032 gids={50032, 3003, 1007, 1028, 1015, 3002, 3001, 3007, 2001, 3006}