I need help to solve this game bug - General Questions and Answers

Hi everyone,
I need help to solve a bug with the old gameloft games on android ICS and higher
the problem appear when i making a multitouch action while I run the game, then the game gives me force close. I noticed in the logcat and this is the error:
HTML:
01-03 16:48:15.726 E/AndroidRuntime( 4860): FATAL EXCEPTION: main
01-03 16:48:15.726 E/AndroidRuntime( 4860): java.lang.IllegalArgumentException: pointerIndex out of range
01-03 16:48:15.726 E/AndroidRuntime( 4860): at android.view.MotionEvent.nativeGetAxisValue(Native Method)
01-03 16:48:15.726 E/AndroidRuntime( 4860): at android.view.MotionEvent.getX(MotionEvent.java:197 4)
01-03 16:48:15.726 E/AndroidRuntime( 4860): at com.gameloft.android.TBFV.GloftGMHP.ML.GameGLSurfa ceView.onTouchEvent(GameGLSurfaceView.java:285)
01-03 16:48:15.726 E/AndroidRuntime( 4860): at android.view.View.dispatchTouchEvent(View.java:554 1).
it is clear that this bug does not happen to me when I run the game in android 2.3 or lower
I would like to know if someone knows the way to fix this either modifying the app or modifying the android system.
thanks for your attention and I hope answers

Related

[Request] QuadraPop Game from Xperia X10

Hi,
Can someone extract the Quadra Pop game from Xperia X10 and make it work on the Nexus One? Would really appreciate it.
Thanks
- Vidit
I tried simply using the .apk as-is, it installed fine but I got this stacktrace when I tried to run it.
Code:
D/Quadrapop( 4179): Stop loading animation
I/CustomTrace( 4179): setSoftKeys
I/trace ( 4179): initLanguageMenu
D/AlarmManagerService( 143): Kernel timezone updated to 300 minutes west of GMT
D/SystemClock( 218): Setting time of day to sec=1271318340
D/Quadrapop( 4179): cleanup animation frame
D/AndroidRuntime( 4179): Shutting down VM
W/dalvikvm( 4179): threadid=3: thread exiting with uncaught exception (group=0x4001b188)
E/AndroidRuntime( 4179): Uncaught handler: thread main exiting due to uncaught exception
E/AndroidRuntime( 4179): java.lang.IllegalThreadStateException: Thread already started.
E/AndroidRuntime( 4179): at java.lang.Thread.start(Thread.java:1322)
E/AndroidRuntime( 4179): at com.reaxion.android.quadrapop_new.QuadrapopView.surfaceCreated(QuadrapopView.java:290)
E/AndroidRuntime( 4179): at android.view.SurfaceView.updateWindow(SurfaceView.java:454)
E/AndroidRuntime( 4179): at android.view.SurfaceView.setVisibility(SurfaceView.java:197)
E/AndroidRuntime( 4179): at com.reaxion.android.quadrapop_new.Quadrapop$LoaderThread.cleanupAnimation(Quadrapop.java:460)
E/AndroidRuntime( 4179): at com.reaxion.android.quadrapop_new.Quadrapop$LoaderThread.access$500(Quadrapop.java:376)
E/AndroidRuntime( 4179): at com.reaxion.android.quadrapop_new.Quadrapop$LoaderThread$3.run(Quadrapop.java:406)
E/AndroidRuntime( 4179): at android.os.Handler.handleCallback(Handler.java:587)
E/AndroidRuntime( 4179): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 4179): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 4179): at android.app.ActivityThread.main(ActivityThread.java:4363)
E/AndroidRuntime( 4179): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 4179): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 4179): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
E/AndroidRuntime( 4179): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
E/AndroidRuntime( 4179): at dalvik.system.NativeStart.main(Native Method)
I/Process ( 143): Sending signal. PID: 4179 SIG: 3
I/dalvikvm( 4179): threadid=7: reacting to signal 3
What's the solution for this?
Sony says the 2.1 version will be out in Sept....thats one possible solution.
hi!
any news on this? I want to install it on my HTC DHD
I want it bad too!

[Live Wallpaper] R2D2

Hey guys, just found some awesome Leak R2D2 Live wallpaper!
You can download from the link below! Enjoy!
www.droid-life.com/2010/09/08/download-leaked-r2-d2-live-wallpapers/
A controllable R2D2, that's pretty cool. It's like a 3d shake them all.
Force closes on my N1 with KOR.
I'm getting fc's also...
Here is the trace I am getting. The thing is trying to allocate memory and dalvik wont allow it. I am running CM6 stable.
Code:
E/dalvikvm-heap( 9594): Try and trim Heap Source
E/dalvikvm-heap( 9594): Heap Massage was unsuccessful for 388800-bytes!
E/dalvikvm-heap( 9594): Heap Massage has failed...
E/GraphicsJNI( 9594): VM won't let us allocate 388800 bytes
D/AndroidRuntime( 9594): Shutting down VM
W/dalvikvm( 9594): threadid=1: thread exiting with uncaught exception (group=0x4001d7e8)
E/AndroidRuntime( 9594): FATAL EXCEPTION: main
E/AndroidRuntime( 9594): java.lang.OutOfMemoryError: bitmap size exceeds VM budget
E/AndroidRuntime( 9594): at android.graphics.Bitmap.nativeCreate(Native Method)
E/AndroidRuntime( 9594): at android.graphics.Bitmap.createBitmap(Bitmap.java:468)
E/AndroidRuntime( 9594): at android.graphics.Bitmap.createBitmap(Bitmap.java:435)
E/AndroidRuntime( 9594): at android.graphics.Bitmap.createScaledBitmap(Bitmap.java:340)
E/AndroidRuntime( 9594): at android.graphics.BitmapFactory.finishDecode(BitmapFactory.java:488)
E/AndroidRuntime( 9594): at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:462)
E/AndroidRuntime( 9594): at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:323)
E/AndroidRuntime( 9594): at android.graphics.BitmapFactory.decodeResource(BitmapFactory.java:346)
E/AndroidRuntime( 9594): at android.graphics.BitmapFactory.decodeResource(BitmapFactory.java:372)
E/AndroidRuntime( 9594): at com.verizon.android.wallpaper.graphics.Asset.importAssets(Asset.java:32)
E/AndroidRuntime( 9594): at com.verizon.android.wallpaper.graphics.Asset.<init>(Asset.java:28)
E/AndroidRuntime( 9594): at com.verizon.android.wallpaper.r2d2.R2D2.onCreate(R2D2.java:101)
E/AndroidRuntime( 9594): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2959)
E/AndroidRuntime( 9594): at android.app.ActivityThread.access$3300(ActivityThread.java:125)
E/AndroidRuntime( 9594): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2087)
E/AndroidRuntime( 9594): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 9594): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 9594): at android.app.ActivityThread.main(ActivityThread.java:4627)
E/AndroidRuntime( 9594): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 9594): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 9594): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
E/AndroidRuntime( 9594): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
E/AndroidRuntime( 9594): at dalvik.system.NativeStart.main(Native Method)
I/Process ( 9594): Sending signal. PID: 9594 SIG: 9
W/InputManagerService( 124): Window already focused, ignoring focus gain of: [email protected]
I/ActivityManager( 124): Process com.verizon.android.wallpaper.r2d2 (pid 9594) has died.
W/ActivityManager( 124): Scheduling restart of crashed service com.verizon.android.wallpaper.r2d2/.R2D2 in 5000ms
Anything we can do to correct it?
staulkor said:
Here is the trace I am getting. The thing is trying to allocate memory and dalvik wont allow it. I am running CM6 stable.
Code:
E/dalvikvm-heap( 9594): Try and trim Heap Source
E/dalvikvm-heap( 9594): Heap Massage was unsuccessful for 388800-bytes!
E/dalvikvm-heap( 9594): Heap Massage has failed...
E/GraphicsJNI( 9594): VM won't let us allocate 388800 bytes
D/AndroidRuntime( 9594): Shutting down VM
W/dalvikvm( 9594): threadid=1: thread exiting with uncaught exception (group=0x4001d7e8)
E/AndroidRuntime( 9594): FATAL EXCEPTION: main
E/AndroidRuntime( 9594): java.lang.OutOfMemoryError: bitmap size exceeds VM budget
E/AndroidRuntime( 9594): at android.graphics.Bitmap.nativeCreate(Native Method)
E/AndroidRuntime( 9594): at android.graphics.Bitmap.createBitmap(Bitmap.java:468)
E/AndroidRuntime( 9594): at android.graphics.Bitmap.createBitmap(Bitmap.java:435)
E/AndroidRuntime( 9594): at android.graphics.Bitmap.createScaledBitmap(Bitmap.java:340)
E/AndroidRuntime( 9594): at android.graphics.BitmapFactory.finishDecode(BitmapFactory.java:488)
E/AndroidRuntime( 9594): at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:462)
E/AndroidRuntime( 9594): at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:323)
E/AndroidRuntime( 9594): at android.graphics.BitmapFactory.decodeResource(BitmapFactory.java:346)
E/AndroidRuntime( 9594): at android.graphics.BitmapFactory.decodeResource(BitmapFactory.java:372)
E/AndroidRuntime( 9594): at com.verizon.android.wallpaper.graphics.Asset.importAssets(Asset.java:32)
E/AndroidRuntime( 9594): at com.verizon.android.wallpaper.graphics.Asset.<init>(Asset.java:28)
E/AndroidRuntime( 9594): at com.verizon.android.wallpaper.r2d2.R2D2.onCreate(R2D2.java:101)
E/AndroidRuntime( 9594): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2959)
E/AndroidRuntime( 9594): at android.app.ActivityThread.access$3300(ActivityThread.java:125)
E/AndroidRuntime( 9594): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2087)
E/AndroidRuntime( 9594): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 9594): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 9594): at android.app.ActivityThread.main(ActivityThread.java:4627)
E/AndroidRuntime( 9594): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 9594): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 9594): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
E/AndroidRuntime( 9594): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
E/AndroidRuntime( 9594): at dalvik.system.NativeStart.main(Native Method)
I/Process ( 9594): Sending signal. PID: 9594 SIG: 9
W/InputManagerService( 124): Window already focused, ignoring focus gain of: [email protected]
I/ActivityManager( 124): Process com.verizon.android.wallpaper.r2d2 (pid 9594) has died.
W/ActivityManager( 124): Scheduling restart of crashed service com.verizon.android.wallpaper.r2d2/.R2D2 in 5000ms
Click to expand...
Click to collapse
try increasing your VM max heap size to 32MB (CM settings->preformance)
works for sense roms! thanks
I'm using evil's sense rom... It's running fine for me.
anyone get sound to work? if so which sound file and where (running eViL's rom FYI).
They crash on my n1 and my heap is at 32
Sent from my Nexus One using XDA App
FC as well. CM6 Stable with max heap.
Also crashes after disabling jit ....
Everything works here. CM6 Stable with Heap Size 32
Increased my heap size to max, rebooted, and now works fine.
If your getting FC you have to reboot for it to work runs fine on cm6 stable
How do i get sound to work on boot in eViL's ROM, anyone know?
How do i increase the Heapsize on Enomther's ROM? (2.12)
EDIT: Thank's figured it out for myself, but i have another Problem.. when i'm tilting my Nexus One, the Door at the R2-D2 LWP isn't opening ):
salamandar said:
How do i get sound to work on boot in eViL's ROM, anyone know?
Click to expand...
Click to collapse
i'm on evil's 1.11SE rom.... the sound is working for me...
ironslaya said:
How do i increase the Heapsize on Enomther's ROM? (2.12)
EDIT: Thank's figured it out for myself, but i have another Problem.. when i'm tilting my Nexus One, the Door at the R2-D2 LWP isn't opening ):
Click to expand...
Click to collapse
you gotta shake it. tilting doesn't open the door
It was still not working for me even after several reboots. I had to go into cm settings -> performance, set heap to 24m, then back to 32m, and then reboot.
Now it works perfectly.
CM6 Stable

Google now

Just wondering if anyone has gotten google now to work on cm 9 yet?
Yes, but I heard voice search fails with Now.
xpmode said:
Yes, but I heard voice search fails with Now.
Click to expand...
Click to collapse
is this with the online only or offline google now.
Im using this slimmed down version of g apps in order thyo make space on / system http://search.4shared.com/q/1/gapps-ics-small+02_06-20120429
ok so i installed now and when it trys to run im getting the message "unfortunately google search has stopped"
did a logcat to see what was causing this, so far as i can make out its this bit
E/dalvikvm( 2009): Dex cache directory isn't writable: /cache/dalvik-cache
I/dalvikvm( 2009): Unable to open or create cache for /system/app/Velvet.apk (/cache/dalvik-cache/[email protected]@[email protected])
D/AndroidRuntime( 2009): Shutting down VM
full logcat below.
Anyone have any idea what is happening and how i might begin to fix this.
nager( 267): Lock screen displayed!
D/AccelerometerListener( 460): enable(false)
D/SurfaceFlinger( 205): Screen about to return, flinger = 0x99918
I/AudioPolicyManager( 208): startOutput() output 1, stream 1, session 35
I/AudioHardwareMSM76XXA( 208): do output routing device 2
I/AudioHardwareMSM76XXA( 208): Routing audio to Speakerphone
D/PhoneStatusBar( 396): disable: < expand icons alerts ticker system_info BACK HOME recent* CLOCK >
D/PhoneStatusBar( 396): disable: < expand icons alerts ticker system_info back* home* recent clock* >
W/InputManagerService( 267): Window already focused, ignoring focus gain of: [email protected]
I/ActivityManager( 267): START {act=android.intent.action.SEARCH_LONG_PRESS flg=0x10000000 cmp=android/com.android.internal.app.ResolverActivity} from pid 471
I/ActivityManager( 267): Displayed android/com.android.internal.app.ResolverActivity: +158ms (total +58s450ms)
I/AudioPolicyManager( 208): startOutput() output 1, stream 1, session 36
I/AudioHardwareMSM76XXA( 208): do output routing device 2
I/AudioHardwareMSM76XXA( 208): Routing audio to Speakerphone
I/ActivityManager( 267): START {act=android.intent.action.SEARCH_LONG_PRESS flg=0x13000000 cmp=com.google.android.googlequicksearchbox/.SearchActivity} from pid 267
I/ActivityManager( 267): Start proc com.google.android.googlequicksearchbox for activity com.google.android.googlequicksearchbox/.SearchActivity: pid=2009 uid=10017 gids={3003, 1007, 3002, 1015}
D/OpenGLRenderer( 471): Flushing caches (mode 1)
D/OpenGLRenderer( 471): Flushing caches (mode 0)
D/dalvikvm( 267): GC_CONCURRENT freed 1308K, 28% free 7866K/10887K, paused 7ms+30ms
E/dalvikvm( 2009): Dex cache directory isn't writable: /cache/dalvik-cache
I/dalvikvm( 2009): Unable to open or create cache for /system/app/Velvet.apk (/cache/dalvik-cache/[email protected]@[email protected])
D/AndroidRuntime( 2009): Shutting down VM
W/dalvikvm( 2009): threadid=1: thread exiting with uncaught exception (group=0x40a651f8)
E/AndroidRuntime( 2009): FATAL EXCEPTION: main
E/AndroidRuntime( 2009): java.lang.RuntimeException: Unable to instantiate application com.google.android.velvet.VelvetApplication: java.lang.ClassNotFoundException: com.google.android.velvet.VelvetApplication
E/AndroidRuntime( 2009): at android.app.LoadedApk.makeApplication(LoadedApk.java:482)
E/AndroidRuntime( 2009): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4089)
E/AndroidRuntime( 2009): at android.app.ActivityThread.access$1300(ActivityThread.java:132)
E/AndroidRuntime( 2009): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
E/AndroidRuntime( 2009): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 2009): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 2009): at android.app.ActivityThread.main(ActivityThread.java:4575)
E/AndroidRuntime( 2009): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2009): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 2009): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
E/AndroidRuntime( 2009): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
E/AndroidRuntime( 2009): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 2009): Caused by: java.lang.ClassNotFoundException: com.google.android.velvet.VelvetApplication
E/AndroidRuntime( 2009): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
E/AndroidRuntime( 2009): at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
E/AndroidRuntime( 2009): at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
E/AndroidRuntime( 2009): at android.app.Instrumentation.newApplication(Instrumentation.java:942)
E/AndroidRuntime( 2009): at android.app.LoadedApk.makeApplication(LoadedApk.java:477)
E/AndroidRuntime( 2009): ... 11 more
W/ActivityManager( 267): Force finishing activity com.google.android.googlequicksearchbox/.SearchActivity
I/Process ( 267): Sending signal. PID: 2009 SIG: 3
I/dalvikvm( 2009): threadid=3: reacting to signal 3
I/dalvikvm( 2009): Wrote stack traces to '/data/anr/traces.txt'
Click to expand...
Click to collapse
Try Google now in new build
http://forum.xda-developers.com/showthread.php?p=31218293
Hit thanks if helped

[APP][3.0+] Ultimate Randomizer

Ultimate Ranomizer
market://play.google.com/store/apps/details?id=com.w2e.activities
A simple randomizer that gets your needed randoms done. This randomizer will help you through your hard times thinking where to eat, what to do, what color of shirt to wear and many more.
Currently having:
-Random list that you make
-Random Letter
-Random Number (with range)
-Random Dice Roll
-Random Color
-Random Coin Flip
-Random Image
-Random Password
I will add more features soon!
Should you have concerns and suggestion or found a bug in the app? Just send me an email or do the feedbacks in the app itself. I am willing to develop this further to what it is now.
Nice app! It crashes on random image only. Using N4
Here's the link: https://play.google.com/store/apps/details?id=com.w2e.activities
Bug! Force close by clicking on 'Image' (Nexus 5, AOSPAL 4.4.2 with ART).
Got some logcat for you:
Code:
I/ActivityManager(20562): Timeline: Activity_windows_visible id: ActivityRecord{
6616ea48 u0 com.w2e.activities/.UltimateRandomizer t97} time:33137435
I/ActivityManager( 927): Timeline: Activity_launch_request id:com.w2e.activitie
s time:33142468
I/ActivityManager(20562): START u0 {cmp=com.w2e.activities/.Image} from pid 927
D/audio_hw_primary(20266): select_devices: out_snd_device(2: speaker) in_snd_dev
ice(0: )
E/DatabaseUtils(32196): Writing exception to parcel
E/DatabaseUtils(32196): java.lang.SecurityException: Permission Denial: reading
com.android.providers.media.MediaProvider uri content://media/external/images/me
dia from pid=927, uid=10181 requires android.permission.READ_EXTERNAL_STORAGE, o
r grantUriPermission()
E/DatabaseUtils(32196): at android.content.ContentProvider.enforceReadPe
rmissionInner(ContentProvider.java:467)
E/DatabaseUtils(32196): at android.content.ContentProvider$Transport.enf
orceReadPermission(ContentProvider.java:394)
E/DatabaseUtils(32196): at android.content.ContentProvider$Transport.que
ry(ContentProvider.java:194)
E/DatabaseUtils(32196): at android.content.ContentProviderNative.onTrans
act(ContentProviderNative.java:112)
E/DatabaseUtils(32196): at android.os.Binder.execTransact(Binder.java:40
4)
D/AndroidRuntime( 927): Shutting down VM
E/AndroidRuntime( 927): FATAL EXCEPTION: main
E/AndroidRuntime( 927): Process: com.w2e.activities, PID: 927
E/AndroidRuntime( 927): java.lang.RuntimeException: Unable to start activity Co
mponentInfo{com.w2e.activities/com.w2e.activities.Image}: java.lang.SecurityExce
ption: Permission Denial: reading com.android.providers.media.MediaProvider uri
content://media/external/images/media from pid=927, uid=10181 requires android.p
ermission.READ_EXTERNAL_STORAGE, or grantUriPermission()
E/AndroidRuntime( 927): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:2195)
E/AndroidRuntime( 927): at android.app.ActivityThread.handleLaunchActivi
ty(ActivityThread.java:2245)
E/AndroidRuntime( 927): at android.app.ActivityThread.access$800(Activit
yThread.java:135)
E/AndroidRuntime( 927): at android.app.ActivityThread$H.handleMessage(Ac
tivityThread.java:1196)
E/AndroidRuntime( 927): at android.os.Handler.dispatchMessage(Handler.ja
va:102)
E/AndroidRuntime( 927): at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime( 927): at android.app.ActivityThread.main(ActivityThrea
d.java:5017)
E/AndroidRuntime( 927): at java.lang.reflect.Method.invoke(Native Method
)
E/AndroidRuntime( 927): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:779)
E/AndroidRuntime( 927): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:595)
E/AndroidRuntime( 927): Caused by: java.lang.SecurityException: Permission Deni
al: reading com.android.providers.media.MediaProvider uri content://media/extern
al/images/media from pid=927, uid=10181 requires android.permission.READ_EXTERNA
L_STORAGE, or grantUriPermission()
E/AndroidRuntime( 927): at android.os.Parcel.readException(Parcel.java:1
465)
E/AndroidRuntime( 927): at android.database.DatabaseUtils.readExceptionF
romParcel(DatabaseUtils.java:185)
E/AndroidRuntime( 927): at android.database.DatabaseUtils.readExceptionF
romParcel(DatabaseUtils.java:137)
E/AndroidRuntime( 927): at android.content.ContentProviderProxy.query(Co
ntentProviderNative.java:420)
E/AndroidRuntime( 927): at android.content.ContentResolver.query(Content
Resolver.java:461)
E/AndroidRuntime( 927): at android.content.ContentResolver.query(Content
Resolver.java:404)
E/AndroidRuntime( 927): at android.app.Activity.managedQuery(Activity.ja
va:1799)
E/AndroidRuntime( 927): at com.w2e.activities.Image.onCreate(Image.java:
51)
E/AndroidRuntime( 927): at android.app.Activity.performCreate(Activity.j
ava:5241)
E/AndroidRuntime( 927): at android.app.Instrumentation.callActivityOnCre
ate(Instrumentation.java:1087)
E/AndroidRuntime( 927): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:2159)
E/AndroidRuntime( 927): ... 9 more
W/ActivityManager(20562): Force finishing activity com.w2e.activities/.Image
W/ActivityManager(20562): Force finishing activity com.w2e.activities/.Ultimat
eRandomizer
W/ActivityManager(20562): Activity pause timeout for ActivityRecord{658110e0 u0
com.w2e.activities/.Image t97 f}
I/ActivityManager(22353): Timeline: Activity_idle id: [email protected]
8c960 time:33143091
I/ActivityManager(20562): Timeline: Activity_windows_visible id: ActivityRecord{
65f8c490 u0 com.anddoes.launcher/.Launcher t1} time:33143350
W/ActivityManager(20562): Activity destroy timeout for ActivityRecord{6616ea48 u
0 com.w2e.activities/.UltimateRandomizer t97 f}
W/ActivityManager(20562): Activity destroy timeout for ActivityRecord{658110e0 u
0 com.w2e.activities/.Image t97 f}
The app is awesome! The colour works for me. (Xperia Sola)
Sent from my Xperia Sola using XDA Premium..
Nice app +1
Potential Security Problems?
I was looking through the smalicode/javacode of the app, and it seems to be using Java.util.Random for Pseudo-random number generation of passwords and whatnot... While there's nothing wrong with that if you use this app for daily use (EG: settling arguments with a coin flip), perhaps it might be better to use something like java.security.SecureRandom for the Password and Dice roll activities.
Great app BTW!
crashes on random image
full stock Nexus 5 on ART
nice app anyway! :good:
dnkncht said:
Bug! Force close by clicking on 'Image' (Nexus 5, AOSPAL 4.4.2 with ART).
Got some logcat for you:
Code:
I/ActivityManager(20562): Timeline: Activity_windows_visible id: ActivityRecord{
6616ea48 u0 com.w2e.activities/.UltimateRandomizer t97} time:33137435
I/ActivityManager( 927): Timeline: Activity_launch_request id:com.w2e.activitie
s time:33142468
I/ActivityManager(20562): START u0 {cmp=com.w2e.activities/.Image} from pid 927
D/audio_hw_primary(20266): select_devices: out_snd_device(2: speaker) in_snd_dev
ice(0: )
E/DatabaseUtils(32196): Writing exception to parcel
E/DatabaseUtils(32196): java.lang.SecurityException: Permission Denial: reading
com.android.providers.media.MediaProvider uri content://media/external/images/me
dia from pid=927, uid=10181 requires android.permission.READ_EXTERNAL_STORAGE, o
r grantUriPermission()
E/DatabaseUtils(32196): at android.content.ContentProvider.enforceReadPe
rmissionInner(ContentProvider.java:467)
E/DatabaseUtils(32196): at android.content.ContentProvider$Transport.enf
orceReadPermission(ContentProvider.java:394)
E/DatabaseUtils(32196): at android.content.ContentProvider$Transport.que
ry(ContentProvider.java:194)
E/DatabaseUtils(32196): at android.content.ContentProviderNative.onTrans
act(ContentProviderNative.java:112)
E/DatabaseUtils(32196): at android.os.Binder.execTransact(Binder.java:40
4)
D/AndroidRuntime( 927): Shutting down VM
E/AndroidRuntime( 927): FATAL EXCEPTION: main
E/AndroidRuntime( 927): Process: com.w2e.activities, PID: 927
E/AndroidRuntime( 927): java.lang.RuntimeException: Unable to start activity Co
mponentInfo{com.w2e.activities/com.w2e.activities.Image}: java.lang.SecurityExce
ption: Permission Denial: reading com.android.providers.media.MediaProvider uri
content://media/external/images/media from pid=927, uid=10181 requires android.p
ermission.READ_EXTERNAL_STORAGE, or grantUriPermission()
E/AndroidRuntime( 927): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:2195)
E/AndroidRuntime( 927): at android.app.ActivityThread.handleLaunchActivi
ty(ActivityThread.java:2245)
E/AndroidRuntime( 927): at android.app.ActivityThread.access$800(Activit
yThread.java:135)
E/AndroidRuntime( 927): at android.app.ActivityThread$H.handleMessage(Ac
tivityThread.java:1196)
E/AndroidRuntime( 927): at android.os.Handler.dispatchMessage(Handler.ja
va:102)
E/AndroidRuntime( 927): at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime( 927): at android.app.ActivityThread.main(ActivityThrea
d.java:5017)
E/AndroidRuntime( 927): at java.lang.reflect.Method.invoke(Native Method
)
E/AndroidRuntime( 927): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:779)
E/AndroidRuntime( 927): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:595)
E/AndroidRuntime( 927): Caused by: java.lang.SecurityException: Permission Deni
al: reading com.android.providers.media.MediaProvider uri content://media/extern
al/images/media from pid=927, uid=10181 requires android.permission.READ_EXTERNA
L_STORAGE, or grantUriPermission()
E/AndroidRuntime( 927): at android.os.Parcel.readException(Parcel.java:1
465)
E/AndroidRuntime( 927): at android.database.DatabaseUtils.readExceptionF
romParcel(DatabaseUtils.java:185)
E/AndroidRuntime( 927): at android.database.DatabaseUtils.readExceptionF
romParcel(DatabaseUtils.java:137)
E/AndroidRuntime( 927): at android.content.ContentProviderProxy.query(Co
ntentProviderNative.java:420)
E/AndroidRuntime( 927): at android.content.ContentResolver.query(Content
Resolver.java:461)
E/AndroidRuntime( 927): at android.content.ContentResolver.query(Content
Resolver.java:404)
E/AndroidRuntime( 927): at android.app.Activity.managedQuery(Activity.ja
va:1799)
E/AndroidRuntime( 927): at com.w2e.activities.Image.onCreate(Image.java:
51)
E/AndroidRuntime( 927): at android.app.Activity.performCreate(Activity.j
ava:5241)
E/AndroidRuntime( 927): at android.app.Instrumentation.callActivityOnCre
ate(Instrumentation.java:1087)
E/AndroidRuntime( 927): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:2159)
E/AndroidRuntime( 927): ... 9 more
W/ActivityManager(20562): Force finishing activity com.w2e.activities/.Image
W/ActivityManager(20562): Force finishing activity com.w2e.activities/.Ultimat
eRandomizer
W/ActivityManager(20562): Activity pause timeout for ActivityRecord{658110e0 u0
com.w2e.activities/.Image t97 f}
I/ActivityManager(22353): Timeline: Activity_idle id: [email protected]
8c960 time:33143091
I/ActivityManager(20562): Timeline: Activity_windows_visible id: ActivityRecord{
65f8c490 u0 com.anddoes.launcher/.Launcher t1} time:33143350
W/ActivityManager(20562): Activity destroy timeout for ActivityRecord{6616ea48 u
0 com.w2e.activities/.UltimateRandomizer t97 f}
W/ActivityManager(20562): Activity destroy timeout for ActivityRecord{658110e0 u
0 com.w2e.activities/.Image t97 f}
Click to expand...
Click to collapse
Hmm...
Code:
E/AndroidRuntime( 927): Caused by: java.lang.SecurityException: Permission Deni
al: reading com.android.providers.media.MediaProvider uri content://media/extern
al/images/media from pid=927, uid=10181 requires android.permission.READ_EXTERNA
L_STORAGE, or grantUriPermission()
Looks like android.permission.READ_EXTERNAL_STORAGE is missing from the Android Manifest file...
Hi, Guys thanks for the feedbacks. I have updated the app yesterday with Random Time / Position Feature. I also managed to pull out the Crashes for the random image part for most of the phones, but for now I'm having trouble with those few still having the error. You can try reinstalling the app, and if does not work, I truly apologize. I am still researching a way for that crash problems occuring in 4.4 versions with the random image. PS I already have the permission to read external storage. Thanks again guys!
It would be nice to have a human generation option. So basically, you would have a "scribble" area where I could run my finger around and generate some entropy to compute the random number/shape/letter/etc. Then it wouldn't necessarily have to rely on a computer algorithm for randomness.
I know TrueCrypt does this when you encrypt your hard drive. It has you run your mouse around for a few seconds to get entropy.
+1

[Completed] I need help to solve this bug

I need help to solve a bug with the old games on android 4.0+.
the problem appear when i making a multitouch action while I run the game, then the game gives me force close. I noticed in the logcat and this is the error:
01-03 16:48:15.726 E/AndroidRuntime( 4860): FATAL EXCEPTION: main
01-03 16:48:15.726 E/AndroidRuntime( 4860): java.lang.IllegalArgumentException: pointerIndex out of range
01-03 16:48:15.726 E/AndroidRuntime( 4860): at android.view.MotionEvent.nativeGetAxisValue(Native Method)
01-03 16:48:15.726 E/AndroidRuntime( 4860): at android.view.MotionEvent.getX(MotionEvent.java:197 4)
01-03 16:48:15.726 E/AndroidRuntime( 4860): at com.gameloft.android.TBFV.GloftGMHP.ML.GameGLSurfa ceView.onTouchEvent(GameGLSurfaceView.java:285)
01-03 16:48:15.726 E/AndroidRuntime( 4860): at android.view.View.dispatchTouchEvent(View.java:554 1).
I would like to know if someone knows the way to fix this either modifying the app or modifying the system.
thanks for your attention and I hope answers
Hi,
Try posting your question here:
Questions and Answers
or
Android Q&A, Help & Troubleshooting
The experts there may be able to help.
Good luck!
=============

Categories

Resources