Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,808,174 Members 36,173 Now Online
XDA Developers Android and Mobile Development Forum

[APP][3.0+] Ultimate Randomizer

Tip us?
 
ekimual
Old
#1  
Junior Member - OP
Thanks Meter 17
Posts: 5
Join Date: Mar 2014
Phone [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.
The Following 16 Users Say Thank You to ekimual For This Useful Post: [ Click to Expand ]
 
raul6
Old
#2  
Member
Thanks Meter 5
Posts: 30
Join Date: 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: [ Click to Expand ]
 
rharshit
Old
#3  
rharshit's Avatar
Senior Member
Thanks Meter 819
Posts: 531
Join Date: Jul 2012
Location: Mumbai
Here's the link: https://play.google.com/store/apps/d...w2e.activities
Press the THANKS button if I helped
This is not Facebook, Google+ or anything like that. There's no Like or +1 button here.
Only
THANKS button
The Following 2 Users Say Thank You to rharshit For This Useful Post: [ Click to Expand ]
 
dnkncht
Old
#4  
dnkncht's Avatar
Member
Thanks Meter 24
Posts: 77
Join Date: Nov 2012
Location: Nuremberg
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}
[PHONE] Nexus 5 (hammerhead)
[ROM] SimpleAOSP
[KERNEL] Linaro Kernel

[TABLET] Nexus 7 (2012's grouper)
[ROM] AOSPAL 4+
[KERNEL] M-Kernel

[SEC. PHONE] Samsung S+ (ariesve)

Contract me!
last.fm
github
twitter
google+
The Following User Says Thank You to dnkncht For This Useful Post: [ Click to Expand ]
 
DarkFalcon
Old
(Last edited by DarkFalcon; 7th April 2014 at 12:25 PM.)
#5  
DarkFalcon's Avatar
Senior Member
Thanks Meter 660
Posts: 713
Join Date: Nov 2012
Location: Pune
The app is awesome! The colour works for me. (Xperia Sola)

Sent from my Xperia Sola using XDA Premium..
The Following 2 Users Say Thank You to DarkFalcon For This Useful Post: [ Click to Expand ]
 
Navneet Suresh
Old
#6  
Navneet Suresh's Avatar
Senior Member
Thanks Meter 460
Posts: 574
Join Date: Jun 2013
Location: /Universe/Earth/India/
Nice app +1

Device : ASUS Nexus 7 32GB / Sony Xperia L
Mods : ViPER4Android



Link to my threads.


The Following User Says Thank You to Navneet Suresh For This Useful Post: [ Click to Expand ]
 
joshumax
Old
#7  
joshumax's Avatar
Member
Thanks Meter 22
Posts: 78
Join Date: Aug 2011
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: [ Click to Expand ]
 
yes.comment
Old
#8  
Member
Thanks Meter 12
Posts: 79
Join Date: Feb 2010
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: [ Click to Expand ]
 
joshumax
Old
#9  
joshumax's Avatar
Member
Thanks Meter 22
Posts: 78
Join Date: Aug 2011
Quote:
Originally Posted by dnkncht View Post
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: [ Click to Expand ]
 
ekimual
Old
#10  
Junior Member - OP
Thanks Meter 17
Posts: 5
Join Date: 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!

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes