Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 7    Views: 104

Kingston
Aspiring developer
Profile
Posts: 118
Reg: Feb 01, 2013
New York
1,180
10/19/15 10:44 AM (8 years ago)

App crash while using Menu Button Plus plugin

Hi, I'm trying to use Menu Button Plus plugin for my BTv3.0 apps. It works perfectly for iOS but, for Android the app is crashing. I have added the images under res/drawable/hdpi folder but it is still unclear what is causing the app to crash. Please find the log below: 10-17 01:14:03.401 352-437/? E/Genymotion: Could not open '/sys/class/power_supply/genymotion_fake_path/present' 10-17 01:14:03.813 352-771/? I/ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.dawnberardrealtor/.BT_activity_start} from pid 691 10-17 01:14:03.821 131-217/? W/genymotion_audio: out_write() limiting sleep time 58049 to 23219 10-17 01:14:03.845 131-217/? W/genymotion_audio: out_write() limiting sleep time 31269 to 23219 10-17 01:14:03.921 352-771/? D/dalvikvm: GC_FOR_ALLOC freed 1173K, 31% free 9253K/13296K, paused 16ms, total 20ms 10-17 01:14:04.081 352-732/? I/ActivityManager: Start proc com.dawnberardrealtor for activity com.dawnberardrealtor/.BT_activity_start: pid=5225 uid=10051 gids={50051, 3003, 1015, 1006, 1028} 10-17 01:14:04.245 352-464/? I/qtaguid: Failed write_ctrl(s 1 10051) res=-1 errno=1 10-17 01:14:04.245 352-464/? W/NetworkManagementSocketTagger: setKernelCountSet(10051, 1) failed with errno -1 10-17 01:14:04.529 5225-5225/? W/ZZ: dawnberardrealtor_appDelegate: onCreate 10-17 01:14:04.529 5225-5225/? W/ZZ: dawnberardrealtor_appDelegate:loadAudioPlayer 10-17 01:14:04.545 5225-5225/? W/ZZ: BT_application: Creating root-app object. 10-17 01:14:04.545 5225-5225/? W/ZZ: BT_device: Creating root-device object. 10-17 01:14:04.565 5225-5225/? W/ZZ: BT_device: This device uses an Android display density of: 160dpi (dots per inch) 10-17 01:14:04.581 5225-5239/? W/ZZ: dawnberardrealtor_appDelegate:SoundEffectLoader:doInBackground initSoundEffects 10-17 01:14:04.581 5225-5225/? W/ZZ: BT_device: This device can send SMS / Text messages. 10-17 01:14:04.597 5225-5225/? W/ZZ: BT_device: This device cant make phone calls. 10-17 01:14:04.597 5225-5239/? W/ZZ: dawnberardrealtor_appDelegate:SoundEffectLoader:doInBackground initSoundEffects DISABLED 10-17 01:14:04.601 5225-5225/? W/ZZ: BT_device: This device can take pictures. 10-17 01:14:04.613 5225-5225/? W/ZZ: BT_device: This device can take videos. 10-17 01:14:04.613 5225-5225/? W/ZZ: BT_device: This device can send emails. 10-17 01:14:04.613 5225-5225/? W/ZZ: BT_device: This device is GPS capable. 10-17 01:14:04.621 5225-5225/? W/ZZ: BT_device: This device does not support vibrating. 10-17 01:14:04.633 5225-5225/? W/ZZ: BT_device: This device has an accelerometer (it can detect shaking). 10-17 01:14:04.645 5225-5225/? W/ZZ: BT_device: This device can record audio. 10-17 01:14:04.649 5225-5225/? W/ZZ: BT_user: Creating root-user object. 10-17 01:14:04.669 5225-5225/? W/ZZ: BT_activity_start:onCreate 10-17 01:14:04.677 5225-5225/? W/ZZ: BT_activity_start:onCreate This device is running Android Build Vers:17 10-17 01:14:04.737 5225-5225/? W/ZZ: BT_activity_start:loadAppConfigData 10-17 01:14:04.745 5225-5225/? W/ZZ: BT_fragment_load_config_data:onCreate 10-17 01:14:04.745 5225-5225/? W/ZZ: BT_fragment_load_config_data:onCreateView 10-17 01:14:04.753 5225-5225/? W/ZZ: BT_fragment_load_config_data:loadAppConfigDataAfterDelay: Delaying 2000 milliseconds 10-17 01:14:04.885 5225-5225/? D/: HostConnection::get() New Host Connection established 0xb8b2f1a0, tid 5225 10-17 01:14:05.109 674-677/? D/dalvikvm: GC_CONCURRENT freed 388K, 18% free 4498K/5452K, paused 1ms+0ms, total 16ms 10-17 01:14:05.285 352-373/? I/ActivityManager: Displayed com.dawnberardrealtor/.BT_activity_start: +1s309ms 10-17 01:14:05.937 352-464/? I/qtaguid: Failed write_ctrl(s 0 10023) res=-1 errno=1 10-17 01:14:05.937 352-464/? W/NetworkManagementSocketTagger: setKernelCountSet(10023, 0) failed with errno -1 10-17 01:14:06.873 5225-5225/? W/ZZ: BT_fragment_load_config_data:loadAppConfigData 10-17 01:14:06.905 5225-5242/? W/ZZ: BT_device:updateDeviceConnectionType: ConnectionType: WIFI 10-17 01:14:06.905 5225-5242/? W/ZZ: BT_device:updateDeviceSize This device has a screen size of: 1024 (width) x 552 (height). 10-17 01:14:06.909 5225-5242/? W/ZZ: BT_device:updateDeviceSize This application considers this to be a "large device" 10-17 01:14:06.913 5225-5242/? W/ZZ: BT_device:updateDeviceSize This device is in "landscape" orientation. 10-17 01:14:06.917 5225-5242/? W/ZZ: BT_fragment_load_config_data:loadAppConfigData loading "BT_config.txt" from /assests folder in project... 10-17 01:14:06.953 5225-5242/? W/ZZ: BT_fileManager: readTextFileFromAssets: "/BT_config.txt" 10-17 01:14:06.985 5225-5242/? W/ZZ: BT_fragment_load_config_data:loadAppConfigData loaded "BT_config.txt" from /assets folder successfully... 10-17 01:14:06.989 5225-5242/? W/ZZ: BT_application: getDataURLFromAppData 10-17 01:14:07.017 5225-5242/? W/ZZ: BT_fragment_load_config_data:loadAppConfigData "BT_config.txt" file does use a dataURL for remote updates... 10-17 01:14:07.021 5225-5242/? W/ZZ: BT_fragment_load_config_data:loadAppConfigData cachedAppConfig.txt does not exist in the cache, using the BT_config.txt file included in project... 10-17 01:14:07.029 5225-5242/? W/ZZ: BT_application: validateApplicationData 10-17 01:14:07.033 5225-5242/? W/ZZ: BT_fragment_load_config_data:loadAppConfigData application data appears to be valid JSON... 10-17 01:14:07.045 5225-5229/? D/dalvikvm: GC_CONCURRENT freed 293K, 17% free 4233K/5092K, paused 5ms+1ms, total 37ms 10-17 01:14:07.045 5225-5242/? W/ZZ: BT_application: parseJSONData 10-17 01:14:07.049 5225-5242/? W/ZZ: BT_application: parsing core settings... 10-17 01:14:07.057 5225-5242/? W/ZZ: BT_application: parsing themes... 10-17 01:14:07.061 5225-5242/? W/ZZ: BT_application: parsing tabs... 10-17 01:14:07.065 5225-5242/? W/ZZ: BT_application: parsing menus... 10-17 01:14:07.065 5225-5242/? W/ZZ: BT_application: parsing screens... 10-17 01:14:07.065 5225-5242/? W/ZZ: BT_application:parseJSONData done parsing application data 10-17 01:14:07.065 5225-5242/? W/ZZ: BT_fragment_load_config_data:loadAppConfigData:sendMessageToMainThread 0 10-17 01:14:07.125 5225-5225/? W/ZZ: BT_activity_start:configureEnvironment 10-17 01:14:07.125 5225-5225/? W/ZZ: BT_activity_start:configureEnvironment This app uses a splash screen with JSON itemId: EBDC128130F613BDBEE4332 10-17 01:14:07.125 5225-5225/? W/ZZ: BT_activity_start:configureEnvironment Starting BT_activity_splash 10-17 01:14:07.125 5225-5225/? W/ZZ: BT_application:getScreenDataByItemId itemId: "EBDC128130F613BDBEE4332" itemType: "BT_screen_splash" itemNickname: "Splash Screen" 10-17 01:14:07.125 5225-5225/? W/ZZ: BT_application:initPluginWithScreenData. Creating plugin with JSON itemId: "EBDC128130F613BDBEE4332" itemType: "BT_screen_splash" itemNickname: "Splash Screen" 10-17 01:14:07.149 5225-5225/? W/ZZ: BT_screen_splash:setScreenData JSON itemId: "EBDC128130F613BDBEE4332" itemType: "BT_screen_splash" itemNickname: "Splash Screen" 10-17 01:14:07.153 5225-5225/? W/ZZ: BT_activity_start:showFragmentForSplashScreen 10-17 01:14:07.189 5225-5225/? W/ZZ: BT_screen_splash:onAttach JSON itemId: "EBDC128130F613BDBEE4332" itemType: "BT_screen_splash" itemNickname: "Splash Screen" 10-17 01:14:07.189 5225-5225/? W/ZZ: BT_screen_splash:onCreate JSON itemId: "EBDC128130F613BDBEE4332" itemType: "BT_screen_splash" itemNickname: "Splash Screen" 10-17 01:14:07.197 5225-5225/? W/ZZ: BT_screen_splash:onCreateView JSON itemId: "EBDC128130F613BDBEE4332" itemType: "BT_screen_splash" itemNickname: "Splash Screen" 10-17 01:14:07.197 5225-5225/? W/ZZ: BT_viewUtilities:updateBackgroundColorsForScreen. Screen with JSON itemId: "EBDC128130F613BDBEE4332" itemType: "BT_screen_splash" itemNickname: "Splash Screen" 10-17 01:14:07.205 5225-5225/? W/ZZ: BT_screen_splash:onActivityCreated JSON itemId: "EBDC128130F613BDBEE4332" itemType: "BT_screen_splash" itemNickname: "Splash Screen" 10-17 01:14:07.205 5225-5225/? W/ZZ: BT_screen_splash:onStart JSON itemId: "EBDC128130F613BDBEE4332" itemType: "BT_screen_splash" itemNickname: "Splash Screen" 10-17 01:14:07.205 5225-5225/? W/ZZ: BT_screen_splash:onResume JSON itemId: "EBDC128130F613BDBEE4332" itemType: "BT_screen_splash" itemNickname: "Splash Screen" 10-17 01:14:07.205 5225-5225/? W/ZZ: BT_viewUtilities:updateBackgroundImageForScreen. Screen with JSON itemId: "EBDC128130F613BDBEE4332" itemType: "BT_screen_splash" itemNickname: "Splash Screen" 10-17 01:14:07.261 5225-5243/? W/ZZ: BT_strings:getSaveAsFileNameFromURL from: "http://app.appbuilderonline.com/BT-server/files/applications/EA0EF36EDA70AB25C060CA05F/images/Splash1.jpg" file name: "Splash1.jpg" 10-17 01:14:07.313 5225-5243/? D/dalvikvm: GC_FOR_ALLOC freed 139K, 17% free 4251K/5092K, paused 15ms, total 30ms 10-17 01:14:07.433 5225-5243/? I/dalvikvm-heap: Grow heap (frag case) to 7.702MB for 3145740-byte allocation 10-17 01:14:07.445 5225-5234/? D/dalvikvm: GC_FOR_ALLOC freed 6K, 11% free 7316K/8168K, paused 13ms, total 13ms 10-17 01:14:07.493 5225-5229/? D/dalvikvm: GC_CONCURRENT freed 35K, 11% free 7281K/8168K, paused 42ms+1ms, total 44ms 10-17 01:14:07.805 5225-5225/? W/ZZ: BT_screen_splash:startEffect. "fallDown" 10-17 01:14:08.401 352-437/? E/Genymotion: Could not open '/sys/class/power_supply/genymotion_fake_path/present' 10-17 01:14:09.797 5225-5225/? W/ZZ: BT_screen_splash:animateSplashScreen 10-17 01:14:09.821 5225-5225/? D/dalvikvm: GC_FOR_ALLOC freed 35K, 12% free 7254K/8168K, paused 18ms, total 19ms 10-17 01:14:09.865 5225-5225/? I/dalvikvm-heap: Grow heap (frag case) to 9.791MB for 2261004-byte allocation 10-17 01:14:09.869 5225-5234/? D/dalvikvm: GC_FOR_ALLOC freed 1K, 9% free 9461K/10380K, paused 4ms, total 4ms 10-17 01:14:09.881 5225-5229/? D/dalvikvm: GC_CONCURRENT freed 1K, 9% free 9460K/10380K, paused 2ms+0ms, total 10ms 10-17 01:14:09.885 5225-5225/? D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 7ms 10-17 01:14:09.929 5225-5225/? I/dalvikvm-heap: Grow heap (frag case) to 11.945MB for 2261004-byte allocation 10-17 01:14:09.945 5225-5234/? D/dalvikvm: GC_FOR_ALLOC freed <1K, 8% free 11667K/12592K, paused 16ms, total 16ms 10-17 01:14:09.953 5225-5229/? D/dalvikvm: GC_CONCURRENT freed 0K, 8% free 11667K/12592K, paused 4ms+0ms, total 9ms 10-17 01:14:09.965 5225-5225/? D/dalvikvm: GC_FOR_ALLOC freed <1K, 8% free 11667K/12592K, paused 9ms, total 9ms 10-17 01:14:09.997 5225-5225/? I/dalvikvm-heap: Grow heap (frag case) to 14.101MB for 2261004-byte allocation 10-17 01:14:10.009 5225-5225/? D/dalvikvm: GC_FOR_ALLOC freed 0K, 7% free 13876K/14804K, paused 3ms, total 3ms 10-17 01:14:11.801 5225-5225/? W/ZZ: BT_screen_splash:animationFinished 10-17 01:14:11.805 352-363/? I/ActivityManager: START u0 {cmp=com.dawnberardrealtor/.BT_activity_host} from pid 5225 10-17 01:14:11.889 5225-5225/? W/ZZ: BT_screen_splash:onPause JSON itemId: "EBDC128130F613BDBEE4332" itemType: "BT_screen_splash" itemNickname: "Splash Screen" 10-17 01:14:11.893 5225-5225/? W/ZZ: BT_activity_host:onCreate 10-17 01:14:11.921 5225-5225/? W/ZZ: BT_activity_host:configureEnvironment 10-17 01:14:11.921 5225-5225/? W/ZZ: BT_activity_host:configureEnvironment Prompt For Push Notifications is ON (set to 1). 10-17 01:14:11.937 5225-5225/? W/ZZ: BT_activity_host:configureEnvironment Device owner has rejected Push Notifications 10-17 01:14:11.941 5225-5225/? W/ZZ: BT_activity_host: start GPS is set to YES (set to 1) in the applications configuration data, trying to start GPS 10-17 01:14:11.941 5225-5225/? W/ZZ: BT_activity_host:configureEnvironment user has not prevented the GPS from starting using a BT_screen_settingsLocation screen 10-17 01:14:11.949 5225-5225/? W/ZZ: BT_activity_host:startListeningForLocationUpdate (started listening for location changes) 10-17 01:14:11.961 5225-5225/? W/ZZ: BT_activity_host:startListeningForLocationUpdate asking for GPS locations updates... 10-17 01:14:11.961 5225-5225/? W/ZZ: BT_activity_host:setupTabs (1 tabs) 10-17 01:14:11.961 5225-5225/? W/ZZ: BT_application: getHomeScreenData 10-17 01:14:11.961 5225-5225/? W/ZZ: BT_application:getScreenDataByItemId itemId: "AB6C1A7A3D6E3A1F49C67EF" itemType: "AMG_ButtonPlus" itemNickname: "Menu" 10-17 01:14:11.973 5225-5225/? W/ZZ: BT_activity_host:onTabSelected Tab Index: 0 10-17 01:14:11.977 5225-5225/? W/ZZ: BT_application:getScreenDataByItemId itemId: "AB6C1A7A3D6E3A1F49C67EF" itemType: "AMG_ButtonPlus" itemNickname: "Menu" 10-17 01:14:11.981 5225-5225/? W/ZZ: BT_activity_host:initPluginWithScreenData. Calling helper method in BT_application 10-17 01:14:11.981 5225-5225/? W/ZZ: BT_application:initPluginWithScreenData. Creating plugin with JSON itemId: "AB6C1A7A3D6E3A1F49C67EF" itemType: "AMG_ButtonPlus" itemNickname: "Menu" 10-17 01:14:11.989 5225-5225/? W/ZZ: AMG_ButtonPlus:setScreenData JSON itemId: "AB6C1A7A3D6E3A1F49C67EF" itemType: "AMG_ButtonPlus" itemNickname: "Menu" 10-17 01:14:11.989 5225-5225/? W/ZZ: BT_activity_host:showFragmentForPlugin. Showing plugin with JSON itemId: "AB6C1A7A3D6E3A1F49C67EF" itemType: "AMG_ButtonPlus" itemNickname: "Menu" 10-17 01:14:11.989 5225-5225/? W/ZZ: BT_activity_host:configureNavBarAndBackgroundForScreen Calling helper methods in BT_viewUtilities... 10-17 01:14:12.009 5225-5225/? W/ZZ: BT_viewUtilities:updateBackgroundColorsForScreen. Screen with JSON itemId: "AB6C1A7A3D6E3A1F49C67EF" itemType: "AMG_ButtonPlus" itemNickname: "Menu" 10-17 01:14:12.013 5225-5225/? W/ZZ: BT_viewUtilities:updateBackgroundImageForScreen. Screen with JSON itemId: "AB6C1A7A3D6E3A1F49C67EF" itemType: "AMG_ButtonPlus" itemNickname: "Menu" 10-17 01:14:12.029 5225-5225/? W/ZZ: BT_activity_host:configureNavBarAndBackgroundForScreen Calling helper methods in BT_viewUtilities... 10-17 01:14:12.029 5225-5225/? W/ZZ: BT_viewUtilities:updateBackgroundColorsForScreen. Screen with JSON itemId: "AB6C1A7A3D6E3A1F49C67EF" itemType: "AMG_ButtonPlus" itemNickname: "Menu" 10-17 01:14:12.029 5225-5225/? W/ZZ: BT_viewUtilities:updateBackgroundImageForScreen. Screen with JSON itemId: "AB6C1A7A3D6E3A1F49C67EF" itemType: "AMG_ButtonPlus" itemNickname: "Menu" 10-17 01:14:12.033 5225-5296/? W/ZZ: BT_strings:getSaveAsFileNameFromURL from: "http://app.appbuilderonline.com/BT-server/files/applications/EA0EF36EDA70AB25C060CA05F/images/backgroud.jpg" file name: "backgroud.jpg" 10-17 01:14:12.065 5225-5225/? W/ZZ: AMG_ButtonPlus:onAttach JSON itemId: "AB6C1A7A3D6E3A1F49C67EF" itemType: "AMG_ButtonPlus" itemNickname: "Menu" 10-17 01:14:12.065 5225-5225/? W/ZZ: AMG_ButtonPlus:onCreate JSON itemId: "AB6C1A7A3D6E3A1F49C67EF" itemType: "AMG_ButtonPlus" itemNickname: "Menu" 10-17 01:14:12.065 5225-5225/? D/MEM: * * Max Memory Available : 96 Mb 10-17 01:14:12.065 5225-5225/? D/MEM: * * Total Memory in VM : 14 Mb 10-17 01:14:12.065 5225-5225/? D/MEM: * * Ram Used : 13 Mb 10-17 01:14:12.065 5225-5225/? D/MEM: * * Free Memory in VM : 0 Mb 10-17 01:14:12.065 5225-5225/? W/ZZ: AMG_ButtonPlus:onCreateView JSON itemId: "AB6C1A7A3D6E3A1F49C67EF" itemType: "AMG_ButtonPlus" itemNickname: "Menu" 10-17 01:14:12.065 5225-5225/? W/ZZ: BT_fileManager:deleteFile AB6C1A7A3D6E3A1F49C67EF_screenData.txt 10-17 01:14:12.073 5225-5225/? D/Buzz: * * Android says : Large Size screen 10-17 01:14:12.073 5225-5225/? D/BuzT: * * readFromCP ** 10-17 01:14:12.081 5225-5225/? D/Buzz: * * Start of read From CP Once 10-17 01:14:12.081 5225-5225/? D/Buzz: * * BuzzTouch says : Large Device 10-17 01:14:12.141 5225-5296/? D/dalvikvm: GC_FOR_ALLOC freed 6689K, 10% free 7393K/8164K, paused 59ms, total 59ms 10-17 01:14:12.653 352-354/? D/dalvikvm: GC_CONCURRENT freed 1122K, 30% free 9315K/13296K, paused 2ms+1ms, total 34ms 10-17 01:14:12.705 5225-5296/? I/dalvikvm-heap: Grow heap (frag case) to 46.213MB for 40310796-byte allocation 10-17 01:14:12.713 5225-5225/? D/dalvikvm: GC_FOR_ALLOC freed 3K, 2% free 46755K/47532K, paused 10ms, total 10ms 10-17 01:14:12.717 5225-5297/? W/ZZ: BT_strings:getSaveAsFileNameFromURL from: "http://app.appbuilderonline.com/BT-server/files/applications/EA0EF36EDA70AB25C060CA05F/images/backgroud.jpg" file name: "backgroud.jpg" 10-17 01:14:12.737 5225-5297/? D/dalvikvm: GC_FOR_ALLOC freed 2K, 2% free 46788K/47532K, paused 22ms, total 22ms 10-17 01:14:13.085 5225-5297/? I/dalvikvm-heap: Grow heap (frag case) to 84.685MB for 40310796-byte allocation 10-17 01:14:13.105 5225-5229/? D/dalvikvm: GC_CONCURRENT freed 0K, 1% free 86154K/86900K, paused 11ms+1ms, total 20ms 10-17 01:14:13.105 5225-5234/? D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 10ms 10-17 01:14:13.105 5225-5295/? D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 10ms 10-17 01:14:13.105 5225-5225/? D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 11ms 10-17 01:14:13.105 5225-5225/? D/Buzz: * * End of Read in Values 10-17 01:14:13.105 5225-5225/? D/Buzz: * * CP Typface : Normal 10-17 01:14:13.105 5225-5225/? D/Buzz: * * CP Btn Back Col : #000000 10-17 01:14:13.105 5225-5225/? D/Buzz: * * CP Auto Fit Portr : 3 10-17 01:14:13.105 5225-5225/? D/Buzz: * * CP Auto Fit Landsc : 3 10-17 01:14:13.105 5225-5225/? D/Buzz: * * CP Button Opacity : 100% 10-17 01:14:13.105 5225-5225/? D/Buzz: * * Str Horiz Padding :15 10-17 01:14:13.105 5225-5225/? D/Buzz: * * Str Vertical Tweak :3 10-17 01:14:13.105 5225-5225/? D/Buzz: * * End of read Static From CP Once 10-17 01:14:13.105 5225-5225/? D/BuzT: * * readFromCP for Rotation** 10-17 01:14:13.105 5225-5225/? D/Buzz: * * Start of read Rotating From CP 10-17 01:14:13.105 5225-5225/? D/Buzz: * * BuzzTouch says : Landscape (Large Device) 10-17 01:14:13.105 5225-5225/? D/Buzz: * * CP Header URL : 10-17 01:14:13.105 5225-5225/? D/Buzz: * * CP Header FileName : header.png 10-17 01:14:13.105 5225-5225/? D/Buzz: * * End of read Rotating From CP 10-17 01:14:13.105 5225-5225/? D/BuzT: * * layout Device ** 10-17 01:14:13.105 5225-5225/? D/Buzz: * * 10-17 01:14:13.105 5225-5225/? D/Buzz: * * Start of Layout Device 10-17 01:14:13.105 5225-5225/? D/Buzz: * * Landscape WxH : 1024 x 552 10-17 01:14:13.105 5225-5225/? D/Buzz: * * Auto Button Size : 184px 10-17 01:14:13.105 5225-5225/? D/Buzz: * * CP Str Horiz Padding :15 10-17 01:14:13.105 5225-5225/? D/Buzz: * * Deci Horiz Padding in Layout : 15.0 10-17 01:14:13.105 5225-5225/? D/Buzz: * * Adjusted Horiz Padding in Layout :82.8 10-17 01:14:13.105 5225-5225/? D/Buzz: * * Final Horiz Padding in Layout :82 10-17 01:14:13.105 5225-5225/? D/Buzz: * * CP Str Vert Tweak :15 10-17 01:14:13.105 5225-5225/? D/Buzz: * * Decimal Vertical Tweak Layout : 3.0 10-17 01:14:13.105 5225-5225/? D/Buzz: * * Adjusted Vertical Tweak Layout :30.72 10-17 01:14:13.105 5225-5225/? D/Buzz: * * Final Vertical Tweak in Layout :30 10-17 01:14:13.105 5225-5225/? D/Buzz: * * End of Layout Device 10-17 01:14:13.105 5225-5225/? D/BuzT: * * Header Opacity deci: 1.0% 10-17 01:14:13.105 5225-5225/? D/BuzT: * * Header Opacity : 100% 10-17 01:14:13.105 5225-5225/? D/Buzz: * * End of onCreate 10-17 01:14:13.105 5225-5225/? D/BuzT: * * onCreate 10-17 01:14:13.109 5225-5225/? W/ZZ: AMG_ButtonPlus:onActivityCreated JSON itemId: "AB6C1A7A3D6E3A1F49C67EF" itemType: "AMG_ButtonPlus" itemNickname: "Menu" 10-17 01:14:13.109 5225-5225/? W/ZZ: BT_activity_host:configureNavBarAndBackgroundForScreen Calling helper methods in BT_viewUtilities... 10-17 01:14:13.109 5225-5225/? W/ZZ: BT_viewUtilities:updateBackgroundColorsForScreen. Screen with JSON itemId: "AB6C1A7A3D6E3A1F49C67EF" itemType: "AMG_ButtonPlus" itemNickname: "Menu" 10-17 01:14:13.109 5225-5225/? W/ZZ: BT_viewUtilities:updateBackgroundImageForScreen. Screen with JSON itemId: "AB6C1A7A3D6E3A1F49C67EF" itemType: "AMG_ButtonPlus" itemNickname: "Menu" 10-17 01:14:13.109 5225-5296/? D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 13ms 10-17 01:14:13.113 5225-5297/? D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 11ms 10-17 01:14:13.141 5225-5225/? W/ZZ: BT_activity_host:onStart 10-17 01:14:13.141 5225-5225/? W/ZZ: BT_activity_host: start GPS is set to YES in the applications configuration data, trying to start GPS 10-17 01:14:13.141 5225-5225/? W/ZZ: BT_activity_host: user has not prevented the GPS from starting using a BT_screen_settingsLocation screen 10-17 01:14:13.145 5225-5225/? W/ZZ: BT_activity_host:startListeningForLocationUpdate (started listening for location changes) 10-17 01:14:13.145 5225-5225/? W/ZZ: BT_activity_host:startListeningForLocationUpdate asking for GPS locations updates... 10-17 01:14:13.145 5225-5225/? D/BuzT: * * onStart ** 10-17 01:14:13.145 5225-5225/? W/ZZ: AMG_ButtonPlus:onStart JSON itemId: "AB6C1A7A3D6E3A1F49C67EF" itemType: "AMG_ButtonPlus" itemNickname: "Menu" 10-17 01:14:13.145 5225-5225/? W/ZZ: BT_activity_host:onResume 10-17 01:14:13.145 5225-5225/? W/ZZ: BT_activity_host:reportToCloud 10-17 01:14:13.165 5225-5304/? W/ZZ: BT_strings:getSaveAsFileNameFromURL from: "http://app.appbuilderonline.com/BT-server/files/applications/EA0EF36EDA70AB25C060CA05F/images/backgroud.jpg" file name: "backgroud.jpg" 10-17 01:14:13.173 5225-5225/? D/BuzT: * * onResume ** 10-17 01:14:13.173 5225-5225/? W/ZZ: AMG_ButtonPlus:onResume JSON itemId: "AB6C1A7A3D6E3A1F49C67EF" itemType: "AMG_ButtonPlus" itemNickname: "Menu" 10-17 01:14:13.173 5225-5225/? W/ZZ: AMG_ButtonPlus:onStart using data from app's configuration file 10-17 01:14:13.173 5225-5225/? W/ZZ: AMG_ButtonPlus:parseScreenData 10-17 01:14:13.173 5225-5225/? D/BuzT: * * layoutButtons ** 10-17 01:14:13.173 5225-5225/? W/ZZ: AMG_ButtonPlus:layoutButtons 10-17 01:14:13.173 5225-5225/? D/BuzT: * * readFromCP for Rotation** 10-17 01:14:13.173 5225-5225/? D/Buzz: * * Start of read Rotating From CP 10-17 01:14:13.173 5225-5225/? D/Buzz: * * BuzzTouch says : Landscape (Large Device) 10-17 01:14:13.173 5225-5225/? D/Buzz: * * CP Header URL : 10-17 01:14:13.173 5225-5225/? D/Buzz: * * CP Header FileName : header.png 10-17 01:14:13.173 5225-5225/? D/Buzz: * * End of read Rotating From CP 10-17 01:14:13.173 5225-5225/? D/BuzT: * * layout Device ** 10-17 01:14:13.173 5225-5225/? D/Buzz: * * 10-17 01:14:13.173 5225-5225/? D/Buzz: * * Start of Layout Device 10-17 01:14:13.173 5225-5225/? D/Buzz: * * Landscape WxH : 1024 x 552 10-17 01:14:13.173 5225-5225/? D/Buzz: * * Auto Button Size : 102px 10-17 01:14:13.173 5225-5225/? D/Buzz: * * CP Str Horiz Padding :15 10-17 01:14:13.173 5225-5225/? D/Buzz: * * Deci Horiz Padding in Layout : 15.0 10-17 01:14:13.173 5225-5225/? D/Buzz: * * Adjusted Horiz Padding in Layout :82.8 10-17 01:14:13.173 5225-5225/? D/Buzz: * * Final Horiz Padding in Layout :82 10-17 01:14:13.173 5225-5225/? D/Buzz: * * CP Str Vert Tweak :15 10-17 01:14:13.173 5225-5225/? D/Buzz: * * Decimal Vertical Tweak Layout : 3.0 10-17 01:14:13.173 5225-5225/? D/Buzz: * * Adjusted Vertical Tweak Layout :30.72 10-17 01:14:13.173 5225-5225/? D/Buzz: * * Final Vertical Tweak in Layout :30 10-17 01:14:13.173 5225-5225/? D/Buzz: * * End of Layout Device 10-17 01:14:13.173 5225-5225/? D/BuzT: * * layoutHeader ** 10-17 01:14:13.173 5225-5225/? D/Buzz: * * 10-17 01:14:13.173 5225-5225/? D/Buzz: * * Start of Layout Header 10-17 01:14:13.173 5225-5225/? D/Buzz: * * Load File Header : header.png 10-17 01:14:13.173 5225-5225/? W/ZZ: AMG_ButtonPlus: header image exists in resources folder: "header.png" 10-17 01:14:13.209 5225-5305/? W/ZZ: BT_activity_host:reportToCloudWorkerThread getting lastModified from reportToCloudURL http://app.appbuilderonline.com/BT-server/api/app/?command=reportToCloud&appGuid=EA0EF36EDA70AB25C060CA05F&apiKey=12EDBDE68D3B4EAD36A3E16&apiSecret=4A89EFD06219EEBDB4981BB&deviceId=000000000000000&deviceLatitude=&deviceLongitude=&deviceModel=generic-Cutom Tablet - 4.2.2 - API 17 - 2560x1600&userId=&currentMode=Live 10-17 01:14:13.209 5225-5305/? W/ZZ: BT_downloader:downloadTextData from URL: http://app.appbuilderonline.com/BT-server/api/app/?command=reportToCloud&appGuid=EA0EF36EDA70AB25C060CA05F&apiKey=12EDBDE68D3B4EAD36A3E16&apiSecret=4A89EFD06219EEBDB4981BB&deviceId=000000000000000&deviceLatitude=&deviceLongitude=&deviceModel=generic-Cutom Tablet - 4.2.2 - API 17 - 2560x1600&userId=&currentMode=Live 10-17 01:14:13.253 5225-5304/? D/dalvikvm: GC_FOR_ALLOC freed 39K, 1% free 87707K/88404K, paused 12ms, total 12ms 10-17 01:14:13.253 5225-5304/? I/dalvikvm-heap: Forcing collection of SoftReferences for 40310796-byte allocation 10-17 01:14:13.293 5225-5304/? D/dalvikvm: GC_BEFORE_OOM freed 10K, 1% free 87697K/88404K, paused 33ms, total 34ms 10-17 01:14:13.293 5225-5304/? E/dalvikvm-heap: Out of memory on a 40310796-byte allocation. 10-17 01:14:13.297 5225-5304/? I/dalvikvm: "Thread-385" prio=5 tid=14 RUNNABLE 10-17 01:14:13.301 5225-5304/? I/dalvikvm: | group="main" sCount=0 dsCount=0 obj=0xa6619230 self=0xb8bed338 10-17 01:14:13.305 5225-5304/? I/dalvikvm: | sysTid=5304 nice=0 sched=0/0 cgrp=[fopen-error:2] handle=-1196536976 10-17 01:14:13.321 5225-5304/? I/dalvikvm: | state=R schedstat=( 24654703 135094388 34 ) utm=0 stm=2 core=0 10-17 01:14:13.321 5225-5304/? I/dalvikvm: at android.graphics.BitmapFactory.nativeDecodeStream(Native Method) 10-17 01:14:13.329 5225-5304/? I/dalvikvm: at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:529) 10-17 01:14:13.329 5225-5304/? I/dalvikvm: at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:355) 10-17 01:14:13.329 5225-5304/? I/dalvikvm: at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:785) 10-17 01:14:13.329 5225-5304/? I/dalvikvm: at android.graphics.drawable.Drawable.createFromStream(Drawable.java:744) 10-17 01:14:13.333 5225-5304/? I/dalvikvm: at com.dawnberardrealtor.BT_fileManager.getDrawableFromCache(BT_fileManager.java:298) 10-17 01:14:13.333 5225-5304/? I/dalvikvm: at com.dawnberardrealtor.BT_viewUtilities$BackgroundImageThread.run(BT_viewUtilities.java:185) 10-17 01:14:13.377 5225-5304/? D/skia: --- decoder->decode returned false 10-17 01:14:13.377 5225-5304/? W/dalvikvm: threadid=14: thread exiting with uncaught exception (group=0xa6192908) 10-17 01:14:13.377 5225-5304/? E/AndroidRuntime: FATAL EXCEPTION: Thread-385 10-17 01:14:13.377 5225-5304/? E/AndroidRuntime: java.lang.OutOfMemoryError 10-17 01:14:13.377 5225-5304/? E/AndroidRuntime: at android.graphics.BitmapFactory.nativeDecodeStream(Native Method) 10-17 01:14:13.377 5225-5304/? E/AndroidRuntime: at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:529) 10-17 01:14:13.377 5225-5304/? E/AndroidRuntime: at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:355) 10-17 01:14:13.377 5225-5304/? E/AndroidRuntime: at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:785) 10-17 01:14:13.377 5225-5304/? E/AndroidRuntime: at android.graphics.drawable.Drawable.createFromStream(Drawable.java:744) 10-17 01:14:13.377 5225-5304/? E/AndroidRuntime: at com.dawnberardrealtor.BT_fileManager.getDrawableFromCache(BT_fileManager.java:298) 10-17 01:14:13.377 5225-5304/? E/AndroidRuntime: at com.dawnberardrealtor.BT_viewUtilities$BackgroundImageThread.run(BT_viewUtilities.java:185) 10-17 01:14:13.393 352-804/? W/ActivityManager: Force finishing activity com.dawnberardrealtor/.BT_activity_host 10-17 01:14:13.401 352-437/? E/Genymotion: Could not open '/sys/class/power_supply/genymotion_fake_path/present' 10-17 01:14:13.445 5225-5225/? W/ZZ: AMG_ButtonPlus:setHeaderDrawble 10-17 01:14:13.445 5225-5225/? D/Buzz: * * setHeaderDrawable: 1.0 10-17 01:14:13.473 5225-5225/? W/ZZ: This is the screenDataandroid.graphics.drawable.BitmapDrawable@53317f8c 10-17 01:14:13.493 5225-5225/? D/Buzz: * * End of Layout Header 10-17 01:14:13.493 5225-5225/? D/Buzz: * * 10-17 01:14:13.493 5225-5225/? D/Buzz: * * Label Btn Height Adjust below : -31 10-17 01:14:13.497 5225-5225/? D/Buzz: * * Btn addHeight Lay : -31 Font: 15 10-17 01:14:13.497 5225-5225/? W/ZZ: AMG_ButtonPlus: using button image from project bundle: "profile.png" 10-17 01:14:13.649 5225-5225/? W/ZZ: BT_viewUtilities:getRoundedImage rounding image with radius: "5" 10-17 01:14:13.681 5225-5225/? W/ZZ: AMG_ButtonPlus: using button image from project bundle: "idx.png" 10-17 01:14:13.845 5225-5225/? W/ZZ: BT_viewUtilities:getRoundedImage rounding image with radius: "5" 10-17 01:14:13.877 5225-5225/? W/ZZ: AMG_ButtonPlus: using button image from project bundle: "callus.png" 10-17 01:14:13.893 5225-5225/? W/ZZ: BT_viewUtilities:getRoundedImage rounding image with radius: "5" 10-17 01:14:13.893 352-371/? W/ActivityManager: Activity pause timeout for ActivityRecord{535983f4 u0 com.dawnberardrealtor/.BT_activity_host} 10-17 01:14:13.901 352-464/? I/qtaguid: Failed write_ctrl(s 1 10023) res=-1 errno=1 10-17 01:14:13.901 352-464/? W/NetworkManagementSocketTagger: setKernelCountSet(10023, 1) failed with errno -1 10-17 01:14:13.933 5225-5225/? W/ZZ: AMG_ButtonPlus: using button image from project bundle: "website.png" 10-17 01:14:14.045 691-691/? W/EGL_genymotion: eglSurfaceAttrib not implemented 10-17 01:14:14.233 5225-5225/? W/ZZ: BT_viewUtilities:getRoundedImage rounding image with radius: "5" 10-17 01:14:14.305 352-352/? W/ResourceType: Skipping entry 0x7f040002 in package table 0 because it is not complex! 10-17 01:14:14.309 352-352/? W/ResourceType: Skipping entry 0x7f040003 in package table 0 because it is not complex! 10-17 01:14:14.325 352-464/? I/qtaguid: Failed write_ctrl(s 0 10051) res=-1 errno=1 10-17 01:14:14.325 352-464/? W/NetworkManagementSocketTagger: setKernelCountSet(10051, 0) failed with errno -1 10-17 01:14:14.345 5225-5225/? W/ZZ: AMG_ButtonPlus: using button image from project bundle: "emailus.png" 10-17 01:14:14.373 5225-5225/? W/ZZ: BT_viewUtilities:getRoundedImage rounding image with radius: "5" 10-17 01:14:14.377 5225-5225/? D/Buzz: * * Spacer Row : 20 Padding 82 Added Height -31 10-17 01:14:14.381 5225-5225/? W/ZZ: AMG_ButtonPlus: using button image from project bundle: "youtube.png" 10-17 01:14:14.413 5225-5225/? D/dalvikvm: GC_FOR_ALLOC freed 6044K, 7% free 88251K/94864K, paused 16ms, total 16ms 10-17 01:14:14.417 5225-5225/? I/dalvikvm-heap: Forcing collection of SoftReferences for 5336112-byte allocation 10-17 01:14:14.449 5225-5225/? D/dalvikvm: GC_BEFORE_OOM freed <1K, 7% free 88251K/94864K, paused 16ms, total 16ms 10-17 01:14:14.449 5225-5225/? E/dalvikvm-heap: Out of memory on a 5336112-byte allocation. 10-17 01:14:14.481 5225-5225/? I/dalvikvm: "main" prio=5 tid=1 RUNNABLE 10-17 01:14:14.493 5225-5225/? I/dalvikvm: | group="main" sCount=0 dsCount=0 obj=0xa6193938 self=0xb89b98e8 10-17 01:14:14.497 5225-5225/? I/dalvikvm: | sysTid=5225 nice=0 sched=3/0 cgrp=[fopen-error:2] handle=-1216966496 10-17 01:14:14.497 5225-5225/? I/dalvikvm: | state=R schedstat=( 1779005016 3958332607 2618 ) utm=11 stm=166 core=0 10-17 01:14:14.501 5225-5225/? I/dalvikvm: at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method) 10-17 01:14:14.509 5225-5225/? I/dalvikvm: at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:502) 10-17 01:14:14.513 5225-5225/? I/dalvikvm: at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:355) 10-17 01:14:14.513 5225-5225/? I/dalvikvm: at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:785) 10-17 01:14:14.513 5225-5225/? I/dalvikvm: at android.content.res.Resources.loadDrawable(Resources.java:1965) 10-17 01:14:14.517 5225-5225/? I/dalvikvm: at android.content.res.Resources.getDrawable(Resources.java:660) 10-17 01:14:14.517 5225-5225/? I/dalvikvm: at com.dawnberardrealtor.BT_fileManager.getDrawableByName(BT_fileManager.java:268) 10-17 01:14:14.537 5225-5225/? I/dalvikvm: at com.dawnberardrealtor.AMG_ButtonPlus.getButton(AMG_ButtonPlus.java:1123) 10-17 01:14:14.537 5225-5225/? I/dalvikvm: at com.dawnberardrealtor.AMG_ButtonPlus.layoutButtons(AMG_ButtonPlus.java:770) 10-17 01:14:14.537 5225-5225/? I/dalvikvm: at com.dawnberardrealtor.AMG_ButtonPlus.parseScreenData(AMG_ButtonPlus.java:1270) 10-17 01:14:14.537 5225-5225/? I/dalvikvm: at com.dawnberardrealtor.AMG_ButtonPlus.onResume(AMG_ButtonPlus.java:282) 10-17 01:14:14.541 5225-5225/? I/dalvikvm: at android.app.Fragment.performResume(Fragment.java:1738) 10-17 01:14:14.541 5225-5225/? I/dalvikvm: at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:919) 10-17 01:14:14.541 5225-5225/? I/dalvikvm: at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1057) 10-17 01:14:14.541 5225-5225/? I/dalvikvm: at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1039) 10-17 01:14:14.541 5225-5225/? I/dalvikvm: at android.app.FragmentManagerImpl.dispatchResume(FragmentManager.java:1850) 10-17 01:14:14.545 5225-5225/? I/dalvikvm: at android.app.Activity.performResume(Activity.java:5192) 10-17 01:14:14.545 5225-5225/? I/dalvikvm: at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2732) 10-17 01:14:14.545 5225-5225/? I/dalvikvm: at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2771) 10-17 01:14:14.553 5225-5225/? I/dalvikvm: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2235) 10-17 01:14:14.553 5225-5225/? I/dalvikvm: at android.app.ActivityThread.access$600(ActivityThread.java:141) 10-17 01:14:14.553 5225-5225/? I/dalvikvm: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234) 10-17 01:14:14.557 5225-5225/? I/dalvikvm: at android.os.Handler.dispatchMessage(Handler.java:99) 10-17 01:14:14.561 5225-5225/? I/dalvikvm: at android.os.Looper.loop(Looper.java:137) 10-17 01:14:14.561 5225-5225/? I/dalvikvm: at android.app.ActivityThread.main(ActivityThread.java:5041) 10-17 01:14:14.561 5225-5225/? I/dalvikvm: at java.lang.reflect.Method.invokeNative(Native Method) 10-17 01:14:14.561 5225-5225/? I/dalvikvm: at java.lang.reflect.Method.invoke(Method.java:511) 10-17 01:14:14.561 5225-5225/? I/dalvikvm: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793) 10-17 01:14:14.561 5225-5225/? I/dalvikvm: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560) 10-17 01:14:14.565 5225-5225/? I/dalvikvm: at dalvik.system.NativeStart.main(Native Method) 10-17 01:14:14.565 5225-5225/? D/skia: --- decoder->decode returned false 10-17 01:14:14.589 5225-5225/? D/AndroidRuntime: Shutting down VM 10-17 01:14:14.589 5225-5225/? W/dalvikvm: threadid=1: thread exiting with uncaught exception (group=0xa6192908) 10-17 01:14:14.589 5225-5225/? I/Process: Sending signal. PID: 5225 SIG: 9 10-17 01:14:15.137 352-776/? I/WindowState: WIN DEATH: Window{5357a208 u0 com.dawnberardrealtor/com.dawnberardrealtor.BT_activity_start} 10-17 01:14:15.137 352-749/? I/ActivityManager: Process com.dawnberardrealtor (pid 5225) has died. 10-17 01:14:15.161 352-803/? W/InputMethodManagerService: Got RemoteException sending setActive(false) notification to pid 5225 uid 10051 10-17 01:14:18.401 352-437/? E/Genymotion: Could not open '/sys/class/power_supply/genymotion_fake_path/present' 10-17 01:14:23.401 352-437/? E/Genymotion: Could not open '/sys/class/power_supply/genymotion_fake_path/present' 10-17 01:14:28.405 352-437/? E/Genymotion: Could not open '/sys/class/power_supply/genymotion_fake_path/present' 10-17 01:14:33.405 352-437/? E/Genymotion: Could not open '/sys/class/power_supply/genymotion_fake_path/present' 10-17 01:14:38.405 352-437/? E/Genymotion: Could not open '/sys/class/power_supply/genymotion_fake_path/present' 10-17 01:14:43.405 352-437/? E/Genymotion: Could not open '/sys/class/power_supply/genymotion_fake_path/present' Kindly help me to resolve this. Thanks
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
10/19/15 02:17 PM (8 years ago)
Your app is on a genymotion simulator, which appears to be 2560x1600 pixels and from this line somewhere in the middle of your log, appears to run out of memory: 10-17 01:14:13.293 5225-5304/? E/dalvikvm-heap: Out of memory on a 40310796-byte allocation. This happens on android with other menus as well, and is not easy to fix. I would suggest you try reducing the size of your images if you can and try setting largeheap in the app manifest to start with. Maybe try not to use a splash screen and try other devices - I find many are OK, but several Samsung devices seem to have less memory space for apps.
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
10/19/15 02:22 PM (8 years ago)
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
10/19/15 03:13 PM (8 years ago)
In my experience, using BT splash screens on Android is very problematic. My first recommendation would be to remove that screen and see if that helps. Mark
 
FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
like
10/20/15 03:38 AM (8 years ago)
I have always had problems with android and crashing, and i have followed all of the advice on here to no avail, what helped my android devices and there memory issues and crashing was i checked the box in the manifest file saying use large heaps to yes and it stopped my devices from crashing, why this worked I dont know, Im not a coder, Hope this helps, I know how frustrating this can be. Cheers Sean
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
10/20/15 03:56 AM (8 years ago)
I think (but I am not sure) that largeheap works because some devices don't allow a lot of memory for apps by default and tweaking largeheap allows the device to allocate a bit more memory to the app. I've also noticed in android that if you reference your images as URL's that the amount of memory your app uses goes up and up and up until the app runs out of memory and crashes. If you keep all your images in the project, it seems the memory usage goes up but also goes down again from time to time - it seems that the android memory management works better. And if your images are small, then the amount of memory the device needs is less, memory usage doesn't go up and down as much and hopefully the app won't run out of memory and crash. I put some diagnostic messages in Menu Buttons Plus that show the amount of memory that android says is available from time to time, which you can see in the log posted above. Cheers, Alan
 
Kingston
Aspiring developer
Profile
Posts: 118
Reg: Feb 01, 2013
New York
1,180
like
10/26/15 01:44 PM (8 years ago)
Thank you Guys for all your valuable suggestions. I resolved the issue by using background color instead of background image. It worked.
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
10/27/15 02:00 AM (8 years ago)
Good to know. Cheers, Alan
 

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.