Discussion Forums  >  iOS / Android Beta Testers

Replies: 16    Views: 235

RonBo
buzztouch Evangelist
Profile
Posts: 167
Reg: Feb 26, 2012
Raleigh, NC
5,220
02/18/15 11:13 AM (4 years ago)

Need feedback for my 1st Android App

Appreciate any feedback on my 1st Android App - not in Google Play store yet, but here is an APK to load from your Android device. I have only run it on a Nexus 7 so far. The IOS version has been in the Apple App store for about 7 months, and want to get this out in the Play store as soon as I can get some feedback.

Features:
- SouthCarolina Sportsman will be a free app for hunters/fisherman
- AdMob HouseAds as a revenue source
- Use Google maps API (see under Land and elsewhere)


Thanks

https://dl.dropboxusercontent.com/u/6320108/AndroidAPKsToshare/SCSportsman_debug.apk
 
Dusko
Veteran developer
Profile
Posts: 998
Reg: Oct 13, 2012
Beograd
22,680
like
02/18/15 11:52 AM (4 years ago)
I have installed it and it ran for about five seconds, enough to see the main menu and ads. After I tapped the first option in the menu, the app collapsed and sent the famous message "Unfortunately, ... has stopped".

After I reinstalled it, the situation was no better.
 
rburns50
buzztouch Evangelist
Profile
Posts: 168
Reg: May 12, 2014
Bilston - Engla...
9,130
like
02/18/15 12:28 PM (4 years ago)
Hi there - pretty much same result as Dusko. Samsung S3 running Android 4.3. Title loads, displays add on bottom. Selection of any of the menu items results in an app crash. Restarting App has no effect after this - although clear App cache/data (rather than uninstall/reinstall) will restart it - but with same error.

Hooked up my device to Eclipse to view logcat information and it is crashing out with a Memory error. Post small log showing error onto dropbox for you (link below):

https://www.dropbox.com/s/6hd5pacg2vij2f5/log_1.txt?dl=0
 
RonBo
buzztouch Evangelist
Profile
Posts: 167
Reg: Feb 26, 2012
Raleigh, NC
5,220
like
02/18/15 12:38 PM (4 years ago)
I just found http://www.appthwack.com, which does automated testing. I just ran my first test on the top-25 Android devices, and it failed on 11 of them. The others were all successful, but the 11 all failed with OOM error. This is great service, it gives a full logcat from each failed device, so hopefully I can figure it out.

Thanks so much for the quick response!

Here is a ZIP file with all the output from the 11 failed devices from APPTHWACK, if anyone is interested in seeing what this testing service provides.

https://dl.dropboxusercontent.com/u/6320108/AndroidAPKsToshare/results_for_117841.zip
 
rburns50
buzztouch Evangelist
Profile
Posts: 168
Reg: May 12, 2014
Bilston - Engla...
9,130
like
02/18/15 12:44 PM (4 years ago)
Also worth a note that the App permissions seem a little overkill - I would not be happy with "Modify contacts, Read Call log, Read contacts, write call log"; would deter me from installing in the first instance.
 
RonBo
buzztouch Evangelist
Profile
Posts: 167
Reg: Feb 26, 2012
Raleigh, NC
5,220
like
02/18/15 12:53 PM (4 years ago)
I agree, but I didn't set that intentionally. Is that something I modify in Android Studio?
 
Dusko
Veteran developer
Profile
Posts: 998
Reg: Oct 13, 2012
Beograd
22,680
like
02/18/15 01:17 PM (4 years ago)
>Is that something I modify in Android Studio?

It is in the AndroidManifest.xml file. It is a text file, so you can edit it with Android Studio, Eclipse, or any other "notepad" type of program.

The required lines come below this line:

<!-- required device permissions -->

For instance, I am now looking at a manifest file that has, amongst others, the following three lines:

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />

If you erase the first line, your app would have no Internet access, and so on.

The goal is to have the lowest number of permissions, while the app is still running to its fullest.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
02/18/15 02:11 PM (4 years ago)
Dang! AppThwack is very cool! Nice find!

Post your LogCat here and we can help you out.

Mark
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
02/18/15 02:16 PM (4 years ago)
App thwack is cool.thanks for sharing!

I ran the app and it didn't crash on any screens.it just crashed when I left the app with back button
 
RonBo
buzztouch Evangelist
Profile
Posts: 167
Reg: Feb 26, 2012
Raleigh, NC
5,220
like
02/18/15 03:20 PM (4 years ago)
Here is a ZIP file with all the output from the 11 failed devices from APPTHWACK, if anyone is interested in seeing what this testing service provides.

https://dl.dropboxusercontent.com/u/6320108/AndroidAPKsToshare/results_for_117841.zip

And here is a snippet from the Samsung Galaxy Nexus logcat:

Error "2015-02-18 18:42:09.737933" 10107 AndroidRuntime "FATAL EXCEPTION: Thread-427" 10244 612
Error "2015-02-18 18:42:09.737933" 10107 AndroidRuntime java.lang.OutOfMemoryError 10244 613
Error "2015-02-18 18:42:09.737933" 10107 AndroidRuntime " at android.graphics.BitmapFactory.nativeDecodeStream(Native Method)" 10244 614
Error "2015-02-18 18:42:09.737933" 10107 AndroidRuntime " at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:530)" 10244 615
Error "2015-02-18 18:42:09.737933" 10107 AndroidRuntime " at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:356)" 10244 616
Error "2015-02-18 18:42:09.737933" 10107 AndroidRuntime " at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:800)" 10244 617
Error "2015-02-18 18:42:09.737933" 10107 AndroidRuntime " at android.graphics.drawable.Drawable.createFromStream(Drawable.java:751)" 10244 618
Error "2015-02-18 18:42:09.737933" 10107 AndroidRuntime " at com.scsportsmanandroid.BT_fileManager.getDrawableFromCache(BT_fileManager.java:293)" 10244 619
Error "2015-02-18 18:42:09.737933" 10107 AndroidRuntime " at com.scsportsmanandroid.BT_viewUtilities$BackgroundImageThread.run(BT_viewUtilities.java:185)" 10244 620
Warning "2015-02-18 18:42:09.745933" 10107 "ZZ " "WB_screen_menuImage:HeaderImageSize is Large" 10107 621
Warning "2015-02-18 18:42:09.745933" 10107 "ZZ " "BT_strings:getSaveAsFileNameFromURL from: ""https://dl.dropboxusercontent.com/u/6320108/NCHunting/dadandson_logo_and_title.png"" file name: ""dadandson_logo_and_title.png""" 10107 622
Warning "2015-02-18 18:42:09.745933" 10107 "ZZ " "WB_screen_menuImage: checking cache for header image: ""dadandson_logo_and_title.png""" 10107 623
Warning "2015-02-18 18:42:09.745933" 10107 "ZZ " "WB_screen_menuImage: header image exists in the cache: ""dadandson_logo_and_title.png""" 10107 624
Warning "2015-02-18 18:42:09.745933" 10107 dalvikvm "threadid=29: thread exiting with uncaught exception (group=0x419c2700)" 10245 625
Info "2015-02-18 18:42:09.745933" 10107 "Process " "Sending signal. PID: 10107 SIG: 9" 10245 626
Warning "2015-02-18 18:42:09.753933" 385 ActivityManager "Error in app com.scsportsmanandroid3 running instrumentation ComponentInfo{com.appthwack.gltest/com.appthwack.gltest.AppThwackInstrumentationTestRunner}:" 385 627
Warning "2015-02-18 18:42:09.753933" 385 ActivityManager " java.lang.OutOfMemoryError" 385 628
Debug "2015-02-18 18:42:09.753933" 10093 AndroidRuntime "Shutting down VM" 10093 629
Warning "2015-02-18 18:42:09.753933" 385 ActivityManager " java.lang.OutOfMemoryError" 385 630
Debug "2015-02-18 18:42:09.761933" 10093 dalvikvm "GC_CONCURRENT freed 98K, 18% free 482K/584K, paused 1ms+1ms, total 3ms" 10101 631
Info "2015-02-18 18:42:09.800933" 385 WindowState "WIN DEATH: Window{4279f610 u0 com.scsportsmanandroid3/com.scsportsmanandroid.BT_activity_start}" 696 632
Info "2015-02-18 18:42:09.800933" 385 WindowState "WIN DEATH: Window{430b5a98 u0 com.scsportsmanandroid3/com.scsportsmanandroid.BT_activity_host}" 694 633
Warning "2015-02-18 18:42:09.808933" 385 InputDispatcher "channel '42b11180 PopupWindow:4753fed0 (server)' ~ Consumer closed input channel or an error occurred. events=0x9" 438 634
Error "2015-02-18 18:42:09.808933" 385 InputDispatcher "channel '42b11180 PopupWindow:4753fed0 (server)' ~ Channel is unrecoverably broken and will be disposed!" 438 635
Warning "2015-02-18 18:42:09.808933" 385 InputDispatcher "Attempted to unregister already unregistered input channel '42b11180 PopupWindow:4753fed0 (server)'" 395 636
Info "2015-02-18 18:42:09.808933" 385 WindowState "WIN DEATH: Window{42b11180 u0 PopupWindow:4753fed0}" 395 637
Info "2015-02-18 18:42:09.995933" 385 ActivityManager "Force stopping package com.scsportsmanandroid3 appid=10064 user=0" 385 638
Info "2015-02-18 18:42:09.995933" 385 ActivityManager "Killing proc 10107:com.scsportsmanandroid3/u0a10064: force stop com.scsportsmanandroid3" 385 639
Warning "2015-02-18 18:42:10.003933" 385 ActivityManager "Force removing ActivityRecord{42a054a8 u0 com.scsportsmanandroid3/com.scsportsmanandroid.BT_activity_host}: app died, no saved state" 385 640
Info "2015-02-18 18:42:10.003933" 385 ActivityManager " Force finishing activity ActivityRecord{427bf6d8 u0 com.scsportsmanandroid3/com.scsportsmanandroid.BT_activity_host}" 385 641
Warning "2015-02-18 18:42:10.112933" 385 InputMethodManagerService "Got RemoteException sending setActive(false) notification to pid 10107 uid 10064" 700 642
Info "2015-02-18 18:42:10.448933" 385 ActivityManager "Config changes=1400 {1.0 999mcc?mnc en_US ldltr sw360dp w360dp h567dp 320dpi nrml port finger -keyb/v/h -nav/h s.18}" 399 643
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
02/18/15 03:31 PM (4 years ago)
I was going to suggest that the dadandson_logo_and_title.png file was to big, but upon inspection, it appears to be only 117Kb, which is pretty small.

Something appears to be consuming a lot of memory. Are all your images optimized for small file sizes?

Mark
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
02/18/15 04:10 PM (4 years ago)
Your problem sounds like a problem I had. I did an app a year ago that crashed all the time on certain Samsung devices, but fine on everything else. When I downgraded it to BT 2.x, it was fine.

I recently started working on it again with BT3.0 - same problem, until I added this statement to my manifest file

android:largeHeap="true"

Give it a try and lets test again?

Alan
 
RonBo
buzztouch Evangelist
Profile
Posts: 167
Reg: Feb 26, 2012
Raleigh, NC
5,220
like
02/18/15 04:15 PM (4 years ago)
I will double check and minimize the size of my images. I've noticed something alarming.

In Android, you can see the cached background processes of apps (settings, apps, Running- show cached procces), and upon initial load, this app is consuming 68MB. Then, all I do is navigate into a menu, and then back to the home screen, and the cached process size grows a bit. Back into a menu, back home, and it keeps growing.
 
RonBo
buzztouch Evangelist
Profile
Posts: 167
Reg: Feb 26, 2012
Raleigh, NC
5,220
like
02/18/15 04:27 PM (4 years ago)
Thanks AlanMac, will give that a try to.

The testing service (appthwack) showed that it failed on 11 devices (Amazon Kindle, (2) Asus Nexus, 4 HTC, 6 Samsung and 2 Sony. All of their logcats showed the same memory error so I suspect if I fix it once, it should improve on all...wishful thinking!
 
nadthevlad
Code is Art
Profile
Posts: 1025
Reg: Jun 07, 2012
Denver
21,850
like
02/18/15 07:09 PM (4 years ago)
 
Arubaman
Aspiring developer
Profile
Posts: 636
Reg: Oct 20, 2011
Akron
16,910
like
02/19/15 12:56 PM (4 years ago)
I had a graphic cause a error similar to this on certain devices, I ended up opening up the original and resaving, would give me memory error everytime.
 
SIMpalm
Aspiring developer
Profile
Posts: 5
Reg: Aug 28, 2014
Silver Spring
50
like
03/11/15 08:30 AM (4 years ago)
This seems really good app...Likewise there is also a app by SIMpalm : http://www.simpalm.com/applications/taptin
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.