LINEVENT
Aspiring developer
Profile
Posts: 14
Reg: Jul 17, 2013
Jacksonville
4,990
07/25/13 03:59 PM (12 years ago)

No pictures in asset folder and blank screen on device

Hey, I apologize if I haven't done enough due diligence searching the forums for the answer, but I'm having trouble with my source code when uploading it to eclipse. When I open the assets folder, there are no images and there should be three. Also when I run the app on my device it loads a blank white screen and a black navigation bar... Any and all help is welcome. Thanks, Joe
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
07/25/13 04:17 PM (12 years ago)
Hi Joe, If you're using the BT File Manager for your images, it doesn't include them when you download your project package. You'll either need to link to the files in your BT File Manager via a URL, or put the images in the res > drawable folder. Hope this helps! Mark
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
07/25/13 04:36 PM (12 years ago)
Yep Mark is probably right on this. BTW: Did u ever get my pm?
 
LINEVENT
Aspiring developer
Profile
Posts: 14
Reg: Jul 17, 2013
Jacksonville
4,990
like
07/26/13 11:48 AM (12 years ago)
Hey guys, I changed the names of the image files so they were correctly formatted (no spaces or capitalization) and reconfigured the design of the app on Buzztouch. I then deleted the files and folders already associated with the project on my computer and with eclipse, and redownloaded the source code from Buzztouch and reopened in eclipse. I then copy pasted the image files in the res drawable folders in eclipse. I then re-ran the app on my device and it displayed the exact same screen. No luck. I attached the logcat below: 07-26 14:32:22.156: W/ZZ(8200): linevent_appDelegate: onCreate 07-26 14:32:22.156: W/ZZ(8200): linevent_appDelegate:loadAudioPlayer 07-26 14:32:22.222: W/ZZ(8200): BT_application: Creating root-app object. 07-26 14:32:22.222: W/ZZ(8200): BT_device: Creating root-device object. 07-26 14:32:22.222: W/ZZ(8200): BT_device: This device uses an Android display density of: 240dpi (dots per inch) 07-26 14:32:22.628: W/ZZ(8200): linevent_appDelegate:SoundEffectLoader:doInBackground initSoundEffects 07-26 14:32:22.628: W/ZZ(8200): linevent_appDelegate:SoundEffectLoader:doInBackground initSoundEffects DISABLED 07-26 14:32:22.640: W/ZZ(8200): BT_device: This device can send SMS / Text messages. 07-26 14:32:22.855: W/ZZ(8200): BT_device: This device cant make phone calls. 07-26 14:32:22.855: W/ZZ(8200): BT_device: This device can take pictures. 07-26 14:32:22.855: W/ZZ(8200): BT_device: This device can take videos. 07-26 14:32:22.855: W/ZZ(8200): BT_device: This device can send emails. 07-26 14:32:22.855: W/ZZ(8200): BT_device: This device is GPS capable. 07-26 14:32:22.859: W/ZZ(8200): BT_user: Creating root-user object. 07-26 14:32:22.882: W/ZZ(8200): BT_activity_root:onCreate 07-26 14:32:22.996: W/ZZ(8200): BT_activity_root:loadAppData 07-26 14:32:23.035: W/ZZ(8200): BT_device:updateDeviceConnectionType: ConnectionType: CELL 07-26 14:32:23.035: W/ZZ(8200): BT_device:updateDeviceSize This device has a screen size of: 480 (width) x 800 (height). 07-26 14:32:23.035: W/ZZ(8200): BT_device:updateDeviceSize This application considers this to be a "small device" 07-26 14:32:23.035: W/ZZ(8200): BT_device:updateDeviceSize This device is in "portrait" orientation. 07-26 14:32:23.035: W/ZZ(8200): BT_activity_root:loadAppData loading BT_config.txt from /assests folder in Eclipse project... 07-26 14:32:23.191: W/ZZ(8200): BT_fileManager: readTextFileFromAssets: "/BT_config.txt" 07-26 14:32:23.207: W/ZZ(8200): BT_activity_root:loadAppData loaded BT_config.txt from /assets folder successfully... 07-26 14:32:23.207: W/ZZ(8200): BT_application: getDataURLFromAppData 07-26 14:32:23.238: W/ZZ(8200): BT_activity_root:loadAppData BT_config.txt file does use a dataURL for remote updates... 07-26 14:32:23.242: W/ZZ(8200): BT_fileManager: readTextFileFromCache: "cachedAppConfig.txt" 07-26 14:32:23.246: W/ZZ(8200): BT_activity_root:loadAppData reading cachedAppConfig.txt from the applications download cache... 07-26 14:32:23.246: W/ZZ(8200): BT_activity_root:loadAppData ignoring BT_config.txt file in Eclipse project... 07-26 14:32:23.246: W/ZZ(8200): BT_application: validateApplicationData 07-26 14:32:23.253: W/ZZ(8200): BT_activity_root: application data appears to be valid JSON... 07-26 14:32:23.253: W/ZZ(8200): BT_application: parseJSONData 07-26 14:32:23.265: W/ZZ(8200): BT_application: parsing core settings... 07-26 14:32:23.265: W/ZZ(8200): BT_application: parsing themes... 07-26 14:32:23.265: W/ZZ(8200): BT_application: parsing tabs... 07-26 14:32:23.265: W/ZZ(8200): BT_application: parsing screens... 07-26 14:32:23.265: W/ZZ(8200): BT_application:parseJSONData done parsing application data 07-26 14:32:23.343: W/ZZ(8200): BT_activity_root:transitionToAppHomeScreen 07-26 14:32:23.343: W/ZZ(8200): BT_activity_root:transitionToAppHomeScreen non-tabbed home screen. 07-26 14:32:23.343: W/ZZ(8200): BT_application: getHomeScreen 07-26 14:32:23.445: I/dalvikvm(8200): Could not find method com.google.android.gcm.GCMRegistrar.checkDevice, referenced from method com.linevent.BT_activity_base.onCreate 07-26 14:32:23.445: W/dalvikvm(8200): VFY: unable to resolve static method 275: Lcom/google/android/gcm/GCMRegistrar;.checkDevice (Landroid/content/Context;)V 07-26 14:32:23.445: D/dalvikvm(8200): VFY: replacing opcode 0x71 at 0x0046 07-26 14:32:23.449: D/dalvikvm(8200): VFY: dead code 0x0049-005d in Lcom/linevent/BT_activity_base;.onCreate (Landroid/os/Bundle;)V 07-26 14:32:23.449: I/dalvikvm(8200): Could not find method com.google.android.gcm.GCMRegistrar.onDestroy, referenced from method com.linevent.BT_activity_base.onDestroy 07-26 14:32:23.449: W/dalvikvm(8200): VFY: unable to resolve static method 279: Lcom/google/android/gcm/GCMRegistrar;.onDestroy (Landroid/content/Context;)V 07-26 14:32:23.449: D/dalvikvm(8200): VFY: replacing opcode 0x71 at 0x0027 07-26 14:32:23.449: I/dalvikvm(8200): Could not find method com.google.android.gcm.GCMRegistrar.register, referenced from method com.linevent.BT_activity_base.registerForPush 07-26 14:32:23.449: W/dalvikvm(8200): VFY: unable to resolve static method 280: Lcom/google/android/gcm/GCMRegistrar;.register (Landroid/content/Context;[Ljava/lang/String;)V 07-26 14:32:23.449: D/dalvikvm(8200): VFY: replacing opcode 0x71 at 0x006e 07-26 14:32:23.449: I/dalvikvm(8200): Could not find method com.google.android.gcm.GCMRegistrar.isRegisteredOnServer, referenced from method com.linevent.BT_activity_base.registerForPush 07-26 14:32:23.449: W/dalvikvm(8200): VFY: unable to resolve static method 278: Lcom/google/android/gcm/GCMRegistrar;.isRegisteredOnServer (Landroid/content/Context;)Z 07-26 14:32:23.449: D/dalvikvm(8200): VFY: replacing opcode 0x71 at 0x007d 07-26 14:32:23.449: D/dalvikvm(8200): VFY: dead code 0x0080-00a1 in Lcom/linevent/BT_activity_base;.registerForPush ()V 07-26 14:32:23.449: D/dalvikvm(8200): VFY: dead code 0x00a3-00b9 in Lcom/linevent/BT_activity_base;.registerForPush ()V 07-26 14:32:23.644: W/ZZ(8200): BT_activity_base:onCreate (BASE CLASS) 07-26 14:32:23.746: W/ZZ(8200): BT_screen_menuListSimple:onCreate 07-26 14:32:23.757: W/ZZ(8200): BT_viewUtilities:updateBackgroundColorsForScreen with nickname: "LINEVENT" 07-26 14:32:23.757: W/ZZ(8200): BT_viewUtilities:updateBackgroundColorsForScreen: setting background color to: "#FFFFFF" 07-26 14:32:23.769: W/ZZ(8200): BT_viewUtilities:getNavBarForScreen building nav. bar for screen with nickname: "LINEVENT" 07-26 14:32:23.773: W/ZZ(8200): BT_screen_menuListSimple:backgroundWorkerThread this screen does not use a background image 07-26 14:32:23.828: W/ZZ(8200): BT_fileManager:deleteFile 0652B6285A03F295EAD1132_screenData.txt 07-26 14:32:24.082: W/ZZ(8200): BT_screen_menuListSimple:onStart (BASE CLASS) 07-26 14:32:24.082: W/ZZ(8200): BT_screen_menuListSimple: start GPS is set to NO in the applications configuration data, not starting GPS 07-26 14:32:24.082: W/ZZ(8200): BT_screen_menuListSimple:onStart using data from app's configuration file 07-26 14:32:24.082: W/ZZ(8200): BT_screen_menuListSimple:parseScreenData 07-26 14:32:24.101: W/ZZ(8200): BT_screen_menuListSimple:onResume (BASE CLASS) 07-26 14:32:24.101: W/ZZ(8200): BT_screen_menuListSimple:reportToCloud 07-26 14:32:24.117: W/ZZ(8200): BT_screen_menuListSimple:reportToCloudWorkerThread getting lastModified from reportToCloudURL https://www.buzztouch.com/api/app/?command=reportToCloud&appGuid=JA2922CA159247CDB08DADE5E&apiKey=0A96A1B55DC85103102C631&apiSecret=1B8642930E7CFFB3A5BD3AC&deviceId=357982045670989&deviceLatitude=&deviceLongitude=&deviceModel=samsung-SGH-T959V&userId=&currentMode=Design 07-26 14:32:24.117: W/ZZ(8200): BT_downloader:downloadTextData from URL: https://www.buzztouch.com/api/app/?command=reportToCloud&appGuid=JA2922CA159247CDB08DADE5E&apiKey=0A96A1B55DC85103102C631&apiSecret=1B8642930E7CFFB3A5BD3AC&deviceId=357982045670989&deviceLatitude=&deviceLongitude=&deviceModel=samsung-SGH-T959V&userId=&currentMode=Design 07-26 14:32:30.757: W/ZZ(8200): BT_screen_menuListSimple:handleReportToCloudResults appLastModifiedOnServer (value on server): Fri, 26 Jul 2013 18:27:46 -0700 07-26 14:32:30.761: W/ZZ(8200): BT_fileManager: readTextFileFromCache: "appModified.txt" 07-26 14:32:30.761: W/ZZ(8200): BT_screen_menuListSimple:handleReportToCloudResults previousModified (value on device): Fri, 26 Jul 2013 18:27:46 -0700 07-26 14:32:30.761: W/ZZ(8200): BT_fileManager: saveTextFileToCache: appModified.txt 07-26 14:32:30.773: W/ZZ(8200): BT_screen_menuListSimple:handleReportToCloudResults server data not changed, no refresh needed 07-26 14:33:03.750: W/ZZ(8200): BT_screen_menuListSimple:onPause (BASE CLASS) 07-26 14:33:17.730: W/ZZ(8200): BT_screen_menuListSimple:onResume (BASE CLASS) 07-26 14:33:17.730: W/ZZ(8200): BT_screen_menuListSimple:reportToCloud 07-26 14:33:17.746: W/ZZ(8200): BT_screen_menuListSimple:reportToCloudWorkerThread getting lastModified from reportToCloudURL https://www.buzztouch.com/api/app/?command=reportToCloud&appGuid=JA2922CA159247CDB08DADE5E&apiKey=0A96A1B55DC85103102C631&apiSecret=1B8642930E7CFFB3A5BD3AC&deviceId=357982045670989&deviceLatitude=&deviceLongitude=&deviceModel=samsung-SGH-T959V&userId=&currentMode=Design 07-26 14:33:17.746: W/ZZ(8200): BT_downloader:downloadTextData from URL: https://www.buzztouch.com/api/app/?command=reportToCloud&appGuid=JA2922CA159247CDB08DADE5E&apiKey=0A96A1B55DC85103102C631&apiSecret=1B8642930E7CFFB3A5BD3AC&deviceId=357982045670989&deviceLatitude=&deviceLongitude=&deviceModel=samsung-SGH-T959V&userId=&currentMode=Design 07-26 14:33:21.093: W/ZZ(8200): BT_screen_menuListSimple:handleReportToCloudResults appLastModifiedOnServer (value on server): Fri, 26 Jul 2013 18:27:46 -0700 07-26 14:33:21.097: W/ZZ(8200): BT_fileManager: readTextFileFromCache: "appModified.txt" 07-26 14:33:21.101: W/ZZ(8200): BT_screen_menuListSimple:handleReportToCloudResults previousModified (value on device): Fri, 26 Jul 2013 18:27:46 -0700 07-26 14:33:21.101: W/ZZ(8200): BT_fileManager: saveTextFileToCache: appModified.txt 07-26 14:33:21.125: W/ZZ(8200): BT_screen_menuListSimple:handleReportToCloudResults server data not changed, no refresh needed 07-26 14:33:23.023: W/ZZ(8200): BT_screen_menuListSimple:onPause (BASE CLASS)
 
LINEVENT
Aspiring developer
Profile
Posts: 14
Reg: Jul 17, 2013
Jacksonville
4,990
like
07/26/13 11:50 AM (12 years ago)
Any help is appreciated! -also Chris I did not get your message. Thanks, Joe
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
07/26/13 12:18 PM (12 years ago)
Click on your name at the top of Buzztouch.com to access your account. You should see a link to messages in the menu on the left. What does your BT_Config.txt show? The LogCat suggests there's no background image specified. It should be set for small device, as that's what you're testing on.
 
LINEVENT
Aspiring developer
Profile
Posts: 14
Reg: Jul 17, 2013
Jacksonville
4,990
like
07/27/13 08:07 AM (12 years ago)
Chris, I saw the messages tab in the Menu, but it has 0 messages in it. Also I'm not sure where to look in the BT_Config.txt file for the device settings, but in Buzztouch I had uploaded pictures for the splash screen, theme, and another page. Also I'm having trouble getting my AVD to launch an emulator. It starts running and then automatically closes.. I don't know why I'm struggling so much with this. Thanks, Joe
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
07/27/13 09:43 AM (12 years ago)
If u paste the BT_config data here we can tell you pretty quick. As for the messages, if you click on the messages link, there is a link for received and one for sent. Since you sent me the first message, it will show under the sent. You can change your settings to get email notifications when you get a new message also.
 
LINEVENT
Aspiring developer
Profile
Posts: 14
Reg: Jul 17, 2013
Jacksonville
4,990
like
07/27/13 11:09 AM (12 years ago)
Hey! Yes I figured it out! Thanks Chris for hinting to check the context file.. the theme was set to hidden! so I changed it to visible and it worked! BTW how do you experienced developers feel about appery.io? Just curious.. Thanks, Joe
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
07/27/13 11:58 AM (12 years ago)
No problem - glad you got it! Glad you feel confident to do this stuff on your own too. There's lots to learn, but its a fun ride! Haven't used that service before
 
LINEVENT
Aspiring developer
Profile
Posts: 14
Reg: Jul 17, 2013
Jacksonville
4,990
like
07/29/13 06:18 AM (12 years ago)
Yeah I enjoy learning it, although my degrees are in accounting and finance, I'd rather be a developer until I have a successful start-up. Glad to be a part of the buzz touch community! -Joe
 

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.