FORUMS

Galaxy S6 & Edge get €100 Price Cut—New Models Incoming

Samsung has dropped the price of both the Galaxy S6 and S6 Edge by … more

How To Port Fully Featured Sony Xperia Z4 Camera

Xperia Z4’s hardware may not impress, but its software is definitely … more

Experimental TWRP Available For Moto G 2015

XDA Senior Member squid2 has posted experimental builds of TWRP for the Moto G … more

Sunday Debate: How Can We Get a No-Compromise Phone?

Join us in a fun Sunday Debate on Compromises. Come with your opinions and … more

[APP][3.0+] Ultimate Randomizer

6 posts
Thanks Meter: 17
 
By ekimual, Junior Member on 25th March 2014, 11:55 AM
Post Reply Subscribe to Thread Email Thread
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, 02:33 PM |#2  
Member
Thanks Meter: 9
 
More
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, 03:08 PM |#4  
dnkncht's Avatar
Member
Flag Nuremberg
Thanks Meter: 53
 
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, 04:08 PM |#5  
DarkFalcon's Avatar
Senior Member
Flag Pune
Thanks Meter: 1,059
 
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 12:25 PM.
The Following 2 Users Say Thank You to DarkFalcon For This Useful Post: [ View ]
6th April 2014, 05:57 PM |#7  
joshumax's Avatar
Member
Thanks Meter: 36
 
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, 09:32 AM |#8  
Member
Flag Budapest
Thanks Meter: 15
 
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, 09:20 PM |#9  
joshumax's Avatar
Member
Thanks Meter: 36
 
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, 02:27 PM |#10  
OP Junior Member
Thanks Meter: 17
 
More
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!
9th April 2014, 02:43 PM |#11  
Senior Member
Indy
Thanks Meter: 49
 
More
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.

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

Advanced Search
Display Modes