Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[APP][3.0+] Ultimate Randomizer

OP ekimual

25th March 2014, 12:55 PM   |  #1  
OP Junior Member
Thanks Meter: 17
 
6 posts
Join Date:Joined: Mar 2014
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.
The Following 16 Users Say Thank You to ekimual For This Useful Post: [ View ]
6th April 2014, 03:33 PM   |  #2  
Member
Thanks Meter: 5
 
33 posts
Join Date:Joined: Jan 2009
Nice app! It crashes on random image only. Using N4
The Following 2 Users Say Thank You to raul6 For This Useful Post: [ View ]
6th April 2014, 04:08 PM   |  #4  
dnkncht's Avatar
Member
Flag Nuremberg
Thanks Meter: 51
 
86 posts
Join Date:Joined: Nov 2012
More
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: android.os.BinderProxy@657
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 Following User Says Thank You to dnkncht For This Useful Post: [ View ]
6th April 2014, 05:08 PM   |  #5  
DarkFalcon's Avatar
Senior Member
Flag Pune
Thanks Meter: 745
 
809 posts
Join Date:Joined: Nov 2012
More
The app is awesome! The colour works for me. (Xperia Sola)

Sent from my Xperia Sola using XDA Premium..
Last edited by DarkFalcon; 7th April 2014 at 01:25 PM.
The Following 2 Users Say Thank You to DarkFalcon For This Useful Post: [ View ]
6th April 2014, 06:26 PM   |  #6  
Navneet Suresh's Avatar
Senior Member
Flag /Universe/Earth/India/
Thanks Meter: 482
 
604 posts
Join Date:Joined: Jun 2013
More
Nice app +1
The Following User Says Thank You to Navneet Suresh For This Useful Post: [ View ]
6th April 2014, 06:57 PM   |  #7  
joshumax's Avatar
Member
Thanks Meter: 22
 
78 posts
Join Date:Joined: Aug 2011
More
Info 2 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!
The Following User Says Thank You to joshumax For This Useful Post: [ View ]
7th April 2014, 10:32 AM   |  #8  
Member
Flag Budapest
Thanks Meter: 15
 
85 posts
Join Date:Joined: Feb 2010
More
crashes on random image
full stock Nexus 5 on ART

nice app anyway!
The Following User Says Thank You to yes.comment For This Useful Post: [ View ]
7th April 2014, 10:20 PM   |  #9  
joshumax's Avatar
Member
Thanks Meter: 22
 
78 posts
Join Date:Joined: Aug 2011
More
Quote:
Originally Posted by dnkncht

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: android.os.BinderProxy@657
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}

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...
The Following User Says Thank You to joshumax For This Useful Post: [ View ]
9th April 2014, 03:27 PM   |  #10  
OP Junior Member
Thanks Meter: 17
 
6 posts
Join Date:Joined: Mar 2014
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!

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes