Discussion Forums  >  Uncategorized

Replies: 30    Views: 270

Bing Quan
Aspiring developer
Profile
Posts: 94
Reg: Jun 01, 2011
Singapore
5,340
01/03/12 01:29 AM (14 years ago)

Android Gallery Problem! (Esp. to David!)

The Gallery screen in buzztouch v1.5 for android is not completed, but david said a fix in this http://www.buzztouch.com/forum/thread.php?tid=A2775561F5E03C460E8D1AF&status=&searchInput=search...&sortColumn=FT.dateStampUTC&sortUpDown=DESC¤tPage=1&doViews=1 http://www.buzztouch.com/forum/thread.php?tid=C89527A842B49D9057620E0&status=&searchInput=search...&sortColumn=FT.dateStampUTC&sortUpDown=DESC¤tPage=1&doViews=1 using the BT_Screen_Images.Java and screen_images.xml. BUT, when I followed the instructions and adjust the package name, I got more errors, but I also have no idea where and how to incorporate the two files into my v1.5 android project. Anybody have any solution? I need it desperately as my class app will be going live in 2 days time and I have to present it.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
01/03/12 01:55 AM (14 years ago)
What we know: The Android Gallery plugin works. What we don't know: What exactly needs to be changed to get it to work in your v1.5 project. I guess you'll need to start with some baby steps and see what does and what doesn't work. If you don't have any idea how this works, or how to take apart some java files to get it working, you may be stuck. I may have overestimated your ability in my previous post. One of the biggest reasons we can't just 'add it to the v1.5 source' is because as soon as we do this we will literally get buried with questions about this-n-that and 'how to' etc, etc. We don't have the resources to answer tons of questions that always arise when a new screen is introduced in any version. Android v1.5 is no different. When we get the plugins that are not done yet working in Android we'll get them all added to the v1.5 project. If you can't wait for this you'll need to hack through the files yourself. If you're unable to do this or understand this you'll be stuck I guess? Wish I could offer more and do some programming for you but I can't, I'm soooooo behind on my obligations as it stands and adding something else to my list is not possible right now. Maybe somebody else will post a solution or some assistance....
 
Bing Quan
Aspiring developer
Profile
Posts: 94
Reg: Jun 01, 2011
Singapore
5,340
like
01/03/12 02:03 AM (14 years ago)
ok, nvm , thanks David
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
01/03/12 02:07 AM (14 years ago)
Just looked...this may be easier than I though. I'll get a look right now and may be able to get this going without as much work as I thought. Stay tuned...
 
Bing Quan
Aspiring developer
Profile
Posts: 94
Reg: Jun 01, 2011
Singapore
5,340
like
01/03/12 02:27 AM (14 years ago)
Sure, thanks!
 
ianJamesPiano
Code is Art
Profile
Posts: 2661
Reg: Feb 13, 2011
Palm Springs, C...
37,010
like
01/03/12 02:36 AM (14 years ago)
I have it loaded without errors in Android v1.5 gonna start testing images, keep u posted...i'm sure David will beat me to this tho!!
 
Bing Quan
Aspiring developer
Profile
Posts: 94
Reg: Jun 01, 2011
Singapore
5,340
like
01/03/12 02:38 AM (14 years ago)
@ianjamespiano, how did you do it?
 
ianJamesPiano
Code is Art
Profile
Posts: 2661
Reg: Feb 13, 2011
Palm Springs, C...
37,010
like
01/03/12 02:39 AM (14 years ago)
Just a bunch of little things to fix in the code, I'll explain further once I test some images this part will probably take me longer to figure out, if i can!
 
Bing Quan
Aspiring developer
Profile
Posts: 94
Reg: Jun 01, 2011
Singapore
5,340
like
01/03/12 02:48 AM (14 years ago)
can you send me your project source code, so I can use it as a template for my app
 
Bing Quan
Aspiring developer
Profile
Posts: 94
Reg: Jun 01, 2011
Singapore
5,340
like
01/03/12 02:50 AM (14 years ago)
I think David completed that screen in v1.5, see it on the dashboard
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
01/03/12 02:54 AM (14 years ago)
OK, just updated the project, wasn't too bad but I do expect us (all of us) to find some issues with the implementation. It kinda always works that way! But, see if you can download hte new project and build without any errors. I just did an all seems well. I don't have the energy tonight to build a Android 1.6 simulator and compile run test the thing. But, this is a great start and should get you going without any compiler errors. In other words, download your Android Project and the gallery should load and run and show all the pics ;-)
 
ianJamesPiano
Code is Art
Profile
Posts: 2661
Reg: Feb 13, 2011
Palm Springs, C...
37,010
like
01/03/12 02:55 AM (14 years ago)
Ha! Testing now..crazy!
 
Bing Quan
Aspiring developer
Profile
Posts: 94
Reg: Jun 01, 2011
Singapore
5,340
like
01/03/12 02:55 AM (14 years ago)
Thanks alot David, you saved the presentation!
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
01/03/12 02:59 AM (14 years ago)
Already found a few issues...fixing some simple ones....then re-updating project again. BT_strings.java is different in v1.5 and needs a new method added.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
01/03/12 03:11 AM (14 years ago)
OK, this works, just tested on a few different apps. Probably found and fixed the same things @ianjamespiano did? Funny. You'll need to re-fetch the project because several files (besides BT_screen_images.java) were updated. I created a new app, added a gallery with some images (I used images from URL's) then downloaded. No trouble ;-) But, like I mentioned earlier, it will need loads of folks to test before we call it bullet proof. Night all. Good hour, glad to get this going and to finally have something v1.5 Android updated!
 
Bing Quan
Aspiring developer
Profile
Posts: 94
Reg: Jun 01, 2011
Singapore
5,340
like
01/03/12 05:30 AM (14 years ago)
OMG! After compiling my app and testing it on my android phones, after I open the image gallery screen, it loads for a while, hangs, then force closes. Any fix for that?
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
01/03/12 11:40 AM (14 years ago)
Console, console console. What's hanging? Are the images loading. No way to know what's not loading or 'hanging' without more info. See the document in the How To's about how to show the console in Eclipse if you're not sure how to debug.
 
ianJamesPiano
Code is Art
Profile
Posts: 2661
Reg: Feb 13, 2011
Palm Springs, C...
37,010
like
01/03/12 06:26 PM (14 years ago)
Hi David, wondering what you meant by '' I don't have the energy tonight to build a Android 1.6 simulator'' not using google 2.2 for Android v1.5 ? thanks.
 
Bing Quan
Aspiring developer
Profile
Posts: 94
Reg: Jun 01, 2011
Singapore
5,340
like
01/04/12 01:02 AM (14 years ago)
@David, I cannot test it on my emulator (so no catlog), so I tested it on my phone. When I click on the image gallery, it shows a loading icon in the middle, suddenly it stopped and everything freezes, then it force closes. Any fix for this?
 
Bing Quan
Aspiring developer
Profile
Posts: 94
Reg: Jun 01, 2011
Singapore
5,340
like
01/04/12 01:16 AM (14 years ago)
Is it because the screen data URL or JSONDATA is empty from the BT_Screen_Images.java? private DownloadScreenDataWorker downloadScreenDataWorker; private boolean didCreate = false; private boolean didLoadData = false; private String saveAsFileName = ; private String dataURL = ; private String JSONData = ; private ArrayList<BT_item> childItems = null;
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
01/04/12 02:54 PM (14 years ago)
@ ianjamespiano: Android 1.6 emulator remark. Little brain fade on my part, was working with an older v1.4 app earlier and got a little confused. Funny how that happens when a million windows are open! @Bing Quan: The JSON data is not empty, those are called Fields (in java programming) and they will be filled with the values from your configuration data when the screen finishes loading. I'm not sure why you can't test this on an emulator but that's fine. The LogCat will show the output with your phone running the app too. a) Connect your device with Eclipse running b) Compile and launch the app on your device while it's connected to Eclipse. c) Open the LogCat console and see the output.
 
Bing Quan
Aspiring developer
Profile
Posts: 94
Reg: Jun 01, 2011
Singapore
5,340
like
01/05/12 12:52 AM (14 years ago)
@ David, I managed to get it running on emulator, got errors here: 01-05 07:55:19.094: W/ZZ(365): BT_screen_images:backgroundWorkerThread this screen does not use a background image 01-05 07:55:19.236: W/ZZ(365): BT_screen_images: start GPS is set to NO in the applications configuration data, not starting GPS 01-05 07:55:19.236: W/ZZ(365): BT_screen_images:onStart downloading screen data from URL 01-05 07:55:19.244: W/ZZ(365): BT_screen_images:refreshScreenData 01-05 07:55:19.304: W/ZZ(365): BT_screen_images:onStart downloading screen data from URL 01-05 07:55:19.304: W/ZZ(365): BT_screen_images:refreshScreenData 01-05 07:55:19.334: W/ZZ(365): BT_screen_images: downloading screen data from http://www.buzztouch.com/appdata/v1.5.php?command=getChildItems&appGuid=EA8A6480154F1DA938A57256D&apiKey=F5D46B0102078B41D4ED3AA&screenId=3D72E03C23147AB41BE372D 01-05 07:55:19.334: W/ZZ(365): BT_downloader:downloadTextData from URL: http://www.buzztouch.com/appdata/v1.5.php?command=getChildItems&appGuid=EA8A6480154F1DA938A57256D&apiKey=F5D46B0102078B41D4ED3AA&screenId=3D72E03C23147AB41BE372D 01-05 07:55:19.416: W/ZZ(365): BT_screen_images: downloading screen data from http://www.buzztouch.com/appdata/v1.5.php?command=getChildItems&appGuid=EA8A6480154F1DA938A57256D&apiKey=F5D46B0102078B41D4ED3AA&screenId=3D72E03C23147AB41BE372D 01-05 07:55:19.434: W/ZZ(365): BT_downloader:downloadTextData from URL: http://www.buzztouch.com/appdata/v1.5.php?command=getChildItems&appGuid=EA8A6480154F1DA938A57256D&apiKey=F5D46B0102078B41D4ED3AA&screenId=3D72E03C23147AB41BE372D 01-05 07:55:19.654: W/ZZ(365): BT_fileManager: saveTextFileToCache: 3D72E03C23147AB41BE372D_screenData.txt 01-05 07:55:19.884: W/ZZ(365): BT_screen_images:parseScreenData 01-05 07:55:19.904: W/ZZ(365): BT_strings:getSaveAsFileNameFromURL from: http://farm8.staticflickr.com/7141/6627478949_1ebcf3c633_m.jpg file name: 6627478949_1ebcf3c633_m.jpg 01-05 07:55:19.964: W/ZZ(365): BT_fileManager: saveTextFileToCache: 3D72E03C23147AB41BE372D_screenData.txt 01-05 07:55:20.644: W/ZZ(365): BT_fileManager:doesProjectAssetExist: NO assets/BT_Images/6627478949_1ebcf3c633_m.jpg 01-05 07:55:20.644: W/ZZ(365): BT_screen_images:getChildItemDrawable caching image as: 6627478949_1ebcf3c633_m.jpg 01-05 07:55:20.644: W/ZZ(365): BT_downloader:downloadDrawable from URL: http://farm8.staticflickr.com/7141/6627478949_1ebcf3c633_m.jpg 01-05 07:55:20.984: W/ZZ(365): BT_fileManager: saveImageToCache: 6627478949_1ebcf3c633_m.jpg 01-05 07:55:21.114: W/ZZ(365): BT_screen_images:resetImage 01-05 07:55:21.114: D/AndroidRuntime(365): Shutting down VM 01-05 07:55:21.114: W/dalvikvm(365): threadid=1: thread exiting with uncaught exception (group=0x40015560) 01-05 07:55:21.136: E/AndroidRuntime(365): FATAL EXCEPTION: main 01-05 07:55:21.136: E/AndroidRuntime(365): java.lang.NullPointerException 01-05 07:55:21.136: E/AndroidRuntime(365): at com.twodashfourbeta.BT_screen_images.setTitleBarAndDescriptionText(BT_screen_images.java:411) 01-05 07:55:21.136: E/AndroidRuntime(365): at com.twodashfourbeta.BT_screen_images.resetImage(BT_screen_images.java:941) 01-05 07:55:21.136: E/AndroidRuntime(365): at com.twodashfourbeta.BT_screen_images.parseScreenData(BT_screen_images.java:497) 01-05 07:55:21.136: E/AndroidRuntime(365): at com.twodashfourbeta.BT_screen_images$1.handleMessage(BT_screen_images.java:1252) 01-05 07:55:21.136: E/AndroidRuntime(365): at android.os.Handler.dispatchMessage(Handler.java:99) 01-05 07:55:21.136: E/AndroidRuntime(365): at android.os.Looper.loop(Looper.java:130) 01-05 07:55:21.136: E/AndroidRuntime(365): at android.app.ActivityThread.main(ActivityThread.java:3683) 01-05 07:55:21.136: E/AndroidRuntime(365): at java.lang.reflect.Method.invokeNative(Native Method) 01-05 07:55:21.136: E/AndroidRuntime(365): at java.lang.reflect.Method.invoke(Method.java:507) 01-05 07:55:21.136: E/AndroidRuntime(365): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839) 01-05 07:55:21.136: E/AndroidRuntime(365): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) 01-05 07:55:21.136: E/AndroidRuntime(365): at dalvik.system.NativeStart.main(Native Method)
 
Bing Quan
Aspiring developer
Profile
Posts: 94
Reg: Jun 01, 2011
Singapore
5,340
like
01/05/12 12:52 AM (14 years ago)
The full logcat is: 01-05 07:54:26.163: W/ZZ(365): BT_application:getScreenDataByItemId 35779F462C20D6017F42C29 01-05 07:54:26.163: W/ZZ(365): BT_application:getScreenDataByItemId screenType is BT_screen_webView for screen with nickname: Class Website 01-05 07:54:26.163: W/ZZ(365): BT_activity_root:creating tab 1 with item type: BT_screen_webView and nickname: Class Website 01-05 07:54:26.984: W/ZZ(365): BT_application:getScreenDataByItemId EABA6B9B22F2BE6D659201A 01-05 07:54:26.984: W/ZZ(365): BT_application:getScreenDataByItemId screenType is BT_screen_webView for screen with nickname: Docs 01-05 07:54:26.984: W/ZZ(365): BT_activity_root:creating tab 2 with item type: BT_screen_webView and nickname: Docs 01-05 07:54:27.853: W/ZZ(365): BT_application:getScreenDataByItemId 6AB8FC77E6FD8817861295F 01-05 07:54:27.863: W/ZZ(365): BT_application:getScreenDataByItemId screenType is BT_screen_webView for screen with nickname: Youtube 01-05 07:54:27.863: W/ZZ(365): BT_activity_root:creating tab 3 with item type: BT_screen_webView and nickname: Youtube 01-05 07:54:28.754: W/ZZ(365): BT_application:getScreenDataByItemId 4EC0F46A13BF69E62A5554C 01-05 07:54:28.754: W/ZZ(365): BT_application:getScreenDataByItemId screenType is BT_screen_settingsLogIn for screen with nickname: Login 01-05 07:54:28.754: W/ZZ(365): BT_activity_root:creating tab 4 with item type: BT_screen_settingsLogIn and nickname: Login 01-05 07:54:29.273: W/ZZ(365): BT_screen_menuList: icon for this row: facebook.png exists in the assets folder 01-05 07:54:29.333: W/ZZ(365): BT_screen_menuList: icon for this row: chrome.png exists in the assets folder 01-05 07:54:29.463: D/dalvikvm(365): GC_EXTERNAL_ALLOC freed 225K, 49% free 3081K/5959K, external 3479K/3490K, paused 129ms 01-05 07:54:29.513: W/ZZ(365): BT_screen_menuList: icon for this row: hotmail.png exists in the assets folder 01-05 07:54:29.543: W/ZZ(365): BT_screen_menuList: icon for this row: gallery.png exists in the assets folder 01-05 07:54:29.593: W/ZZ(365): BT_screen_menuList: icon for this row: facebook.png exists in the assets folder 01-05 07:54:29.623: W/ZZ(365): BT_screen_menuList: icon for this row: chrome.png exists in the assets folder 01-05 07:54:29.655: W/ZZ(365): BT_screen_menuList: icon for this row: hotmail.png exists in the assets folder 01-05 07:54:29.693: W/ZZ(365): BT_screen_menuList: icon for this row: facebook.png exists in the assets folder 01-05 07:54:29.773: W/ZZ(365): BT_screen_menuList: icon for this row: chrome.png exists in the assets folder 01-05 07:54:29.843: W/ZZ(365): BT_screen_menuList: icon for this row: hotmail.png exists in the assets folder 01-05 07:54:30.263: W/ZZ(365): BT_screen_menuList:setBackgroundImage: returned to UI Thread... 01-05 07:54:30.263: W/ZZ(365): BT_screen_menuList:setBackgroundImage: setting background image 01-05 07:54:30.263: W/ZZ(365): BT_screen_menuList:handleReportToCloudResults appLastModifiedOnServer (value on server): Thu, 05 Jan 2012 07:46:13 -0800 01-05 07:54:30.263: W/ZZ(365): BT_fileManager: readTextFileFromCache: appModified.txt 01-05 07:54:30.293: W/ZZ(365): BT_screen_menuList:handleReportToCloudResults previousModified (value on device): Thu, 05 Jan 2012 07:46:13 -0800 01-05 07:54:30.293: W/ZZ(365): BT_fileManager: saveTextFileToCache: appModified.txt 01-05 07:54:30.313: W/ZZ(365): BT_screen_menuList:handleReportToCloudResults server data not changed, no refresh needed 01-05 07:54:46.804: W/KeyCharacterMap(365): No keyboard for id 0 01-05 07:54:46.804: W/KeyCharacterMap(365): Using default keymap: /system/usr/keychars/qwerty.kcm.bin 01-05 07:54:48.594: W/ZZ(365): BT_screen_menuList:refreshAppData 01-05 07:54:49.464: W/ZZ(365): BT_activity_root:onCreate 01-05 07:54:49.554: W/ZZ(365): BT_activity_root:refreshing... 01-05 07:54:49.565: W/ZZ(365): BT_device:updateDeviceConnectionType: ConnectionType: CELL 01-05 07:54:49.565: W/ZZ(365): BT_device:updateDeviceSize This device has a screen size of: 480 (width) x 800 (height). 01-05 07:54:49.574: W/ZZ(365): BT_device:updateDeviceSize This application considers this to be a small device 01-05 07:54:49.584: W/ZZ(365): BT_device:updateDeviceSize This device is in portrait orientation. 01-05 07:54:49.614: W/ZZ(365): BT_activity_root:loadAppData loading BT_config.txt from /assests folder in Eclipse project... 01-05 07:54:51.714: W/ZZ(365): BT_fileManager: readTextFileFromAssets: /BT_config.txt 01-05 07:54:51.774: W/ZZ(365): BT_activity_root:loadAppData loaded BT_config.txt from /assets folder successfully... 01-05 07:54:51.774: W/ZZ(365): BT_application: getDataURLFromAppData 01-05 07:54:51.906: W/ZZ(365): BT_activity_root:loadAppData BT_config.txt file does use a dataURL for remote updates... 01-05 07:54:51.906: W/ZZ(365): BT_activity_root:loadAppData cachedAppConfig.txt does not exist in the cache... 01-05 07:54:51.914: W/ZZ(365): BT_application: validateApplicationData 01-05 07:54:52.074: W/ZZ(365): BT_activity_root: application data appears to be valid JSON... 01-05 07:54:52.074: W/ZZ(365): BT_application: parseJSONData 01-05 07:54:52.234: W/ZZ(365): BT_application: parsing core settings... 01-05 07:54:52.234: W/ZZ(365): BT_application: parsing themes... 01-05 07:54:52.254: W/ZZ(365): BT_application: parsing tabs... 01-05 07:54:52.254: W/ZZ(365): BT_application: parsing screens... 01-05 07:54:52.286: W/ZZ(365): BT_activity_root:loadAppDataWorkerThread downloading app data from: http://www.buzztouch.com/appdata/v1.5.php?command=getAppData&appGuid=EA8A6480154F1DA938A57256D&apiKey=F5D46B0102078B41D4ED3AA 01-05 07:54:52.286: W/ZZ(365): BT_downloader:downloadTextData from URL: http://www.buzztouch.com/appdata/v1.5.php?command=getAppData&appGuid=EA8A6480154F1DA938A57256D&apiKey=F5D46B0102078B41D4ED3AA 01-05 07:54:53.614: D/dalvikvm(365): GC_CONCURRENT freed 1045K, 52% free 3242K/6727K, external 3801K/4376K, paused 30ms+6ms 01-05 07:54:53.634: W/ZZ(365): BT_application: validateApplicationData 01-05 07:54:53.834: W/ZZ(365): BT_activity_root:loadAppDataWorkerThread downloaded app data appears to be valid. 01-05 07:54:53.834: W/ZZ(365): BT_application: parseJSONData 01-05 07:54:53.944: W/ZZ(365): BT_application: parsing core settings... 01-05 07:54:53.944: W/ZZ(365): BT_application: parsing themes... 01-05 07:54:53.944: W/ZZ(365): BT_application: parsing tabs... 01-05 07:54:53.954: W/ZZ(365): BT_application: parsing screens... 01-05 07:54:53.964: W/ZZ(365): BT_fileManager: deleting application cache 01-05 07:54:53.964: W/ZZ(365): BT_fileManager: deleting application cache in: /data/data/com.twodashfourbeta/files 01-05 07:54:53.994: W/ZZ(365): BT_fileManager: deleting: appModified.txt 01-05 07:54:53.994: W/ZZ(365): BT_fileManager: deleting: 3D72E03C23147AB41BE372D_screenData.txt 01-05 07:54:54.004: W/ZZ(365): BT_fileManager: deleting: 31FF51732BD3D2D137D210B_screenData.txt 01-05 07:54:54.004: W/ZZ(365): BT_fileManager: deleting: C8CDF35D8C023D8E70FC3DD_screenData.txt 01-05 07:54:54.014: W/ZZ(365): BT_fileManager: saveTextFileToCache: cachedAppConfig.txt 01-05 07:54:54.054: W/ZZ(365): BT_activity_root:transitionToAppHomeScreen 01-05 07:54:54.054: W/ZZ(365): BT_activity_root:transitionToAppHomeScreen tabbed interface (BT_activity_root_tabs). 01-05 07:54:54.406: W/ZZ(365): BT_activity_root:onCreate 01-05 07:54:54.493: W/ZZ(365): BT_device:updateDeviceConnectionType: ConnectionType: CELL 01-05 07:54:54.493: W/ZZ(365): BT_device:updateDeviceSize This device has a screen size of: 480 (width) x 800 (height). 01-05 07:54:54.503: W/ZZ(365): BT_device:updateDeviceSize This application considers this to be a small device 01-05 07:54:54.503: W/ZZ(365): BT_device:updateDeviceSize This device is in portrait orientation. 01-05 07:54:54.673: W/ZZ(365): BT_activity_root:buildInterfaceUsingAppData.. 01-05 07:54:54.673: W/ZZ(365): BT_activity_root: setting up a tabbed interface. 01-05 07:54:55.403: W/ZZ(365): BT_application:getScreenDataByItemId C8CDF35D8C023D8E70FC3DD 01-05 07:54:55.403: W/ZZ(365): BT_application:getScreenDataByItemId screenType is BT_screen_menuList for screen with nickname: Home 01-05 07:54:55.403: W/ZZ(365): BT_activity_root:creating tab 0 with item type: BT_screen_menuList and nickname: Home 01-05 07:54:55.463: W/ZZ(365): BT_screen_menuList:onCreate 01-05 07:54:55.463: W/ZZ(365): BT_viewUtilities:updateBackgroundColorsForScreen with nickname: Home 01-05 07:54:55.473: W/ZZ(365): BT_viewUtilities:updateBackgroundColorsForScreen: setting background color to: #FFFFFF 01-05 07:54:55.473: W/ZZ(365): BT_viewUtilities:getNavBarForScreen building nav. bar for screen with nickname: Home 01-05 07:54:55.473: W/ZZ(365): BT_viewUtilities:getNavBarForScreen: setting nav-bar color to: #132736 01-05 07:54:56.203: W/ZZ(365): BT_screen_menuList:backgroundWorkerThread using image from project bundle: sand.png 01-05 07:54:56.883: W/ZZ(365): BT_screen_menuList: loading image names from assets so we can search for an image quickly...found 316 images in the /assets/BT_Images folder... 01-05 07:54:56.953: W/ZZ(365): BT_screen_menuList: header image exists in assets folder: class wallpaper.png 01-05 07:54:57.213: W/ZZ(365): BT_screen_menuList:setHeaderBitmap 01-05 07:54:57.343: D/dalvikvm(365): GC_EXTERNAL_ALLOC freed 651K, 53% free 3224K/6727K, external 4238K/4376K, paused 127ms 01-05 07:54:57.433: W/ZZ(365): BT_screen_menuList:handleHeaderImageTap loads screen with itemId: C8CDF35D8C023D8E70FC3DD 01-05 07:54:57.433: W/ZZ(365): BT_application:getScreenDataByItemId C8CDF35D8C023D8E70FC3DD 01-05 07:54:57.433: W/ZZ(365): BT_application:getScreenDataByItemId screenType is BT_screen_menuList for screen with nickname: Home 01-05 07:54:57.443: W/ZZ(365): BT_screen_menuList: start GPS is set to NO in the applications configuration data, not starting GPS 01-05 07:54:57.443: W/ZZ(365): BT_screen_menuList:reportToCloud checking for updates... 01-05 07:54:57.453: W/ZZ(365): BT_screen_menuList:onStart downloading screen data from URL 01-05 07:54:57.453: W/ZZ(365): BT_screen_menuList:refreshScreenData 01-05 07:54:57.493: W/ZZ(365): BT_screen_menuList:reportToCloudWorkerThread getting lastModified from reportToCloudURL http://www.buzztouch.com/appdata/v1.5.php?command=reportToCloud&appGuid=EA8A6480154F1DA938A57256D&apiKey=F5D46B0102078B41D4ED3AA&deviceId=&deviceLatitude=&deviceLongitude=&deviceModel=generic-google_sdk&userId= 01-05 07:54:57.493: W/ZZ(365): BT_downloader:downloadTextData from URL: http://www.buzztouch.com/appdata/v1.5.php?command=reportToCloud&appGuid=EA8A6480154F1DA938A57256D&apiKey=F5D46B0102078B41D4ED3AA&deviceId=&deviceLatitude=&deviceLongitude=&deviceModel=generic-google_sdk&userId= 01-05 07:54:57.573: W/ZZ(365): BT_screen_menuList: downloading screen data from http://www.buzztouch.com/appdata/v1.5.php?command=getChildItems&appGuid=EA8A6480154F1DA938A57256D&apiKey=F5D46B0102078B41D4ED3AA&screenId=C8CDF35D8C023D8E70FC3DD 01-05 07:54:57.573: W/ZZ(365): BT_downloader:downloadTextData from URL: http://www.buzztouch.com/appdata/v1.5.php?command=getChildItems&appGuid=EA8A6480154F1DA938A57256D&apiKey=F5D46B0102078B41D4ED3AA&screenId=C8CDF35D8C023D8E70FC3DD 01-05 07:54:57.923: W/ZZ(365): BT_fileManager: saveTextFileToCache: C8CDF35D8C023D8E70FC3DD_screenData.txt 01-05 07:54:58.354: W/ZZ(365): BT_application:getScreenDataByItemId 35779F462C20D6017F42C29 01-05 07:54:58.354: W/ZZ(365): BT_application:getScreenDataByItemId screenType is BT_screen_webView for screen with nickname: Class Website 01-05 07:54:58.363: W/ZZ(365): BT_activity_root:creating tab 1 with item type: BT_screen_webView and nickname: Class Website 01-05 07:54:59.113: W/ZZ(365): BT_application:getScreenDataByItemId EABA6B9B22F2BE6D659201A 01-05 07:54:59.113: W/ZZ(365): BT_application:getScreenDataByItemId screenType is BT_screen_webView for screen with nickname: Docs 01-05 07:54:59.124: W/ZZ(365): BT_activity_root:creating tab 2 with item type: BT_screen_webView and nickname: Docs 01-05 07:55:00.913: W/ZZ(365): BT_application:getScreenDataByItemId 6AB8FC77E6FD8817861295F 01-05 07:55:00.913: W/ZZ(365): BT_application:getScreenDataByItemId screenType is BT_screen_webView for screen with nickname: Youtube 01-05 07:55:00.923: W/ZZ(365): BT_activity_root:creating tab 3 with item type: BT_screen_webView and nickname: Youtube 01-05 07:55:01.644: W/ZZ(365): BT_application:getScreenDataByItemId 4EC0F46A13BF69E62A5554C 01-05 07:55:01.644: W/ZZ(365): BT_application:getScreenDataByItemId screenType is BT_screen_settingsLogIn for screen with nickname: Login 01-05 07:55:01.644: W/ZZ(365): BT_activity_root:creating tab 4 with item type: BT_screen_settingsLogIn and nickname: Login 01-05 07:55:02.043: W/ZZ(365): BT_screen_menuList:setBackgroundImage: returned to UI Thread... 01-05 07:55:02.043: W/ZZ(365): BT_screen_menuList:setBackgroundImage: setting background image 01-05 07:55:02.784: W/ZZ(365): BT_screen_menuList:parseScreenData 01-05 07:55:03.158: W/ZZ(365): BT_screen_menuList:handleReportToCloudResults appLastModifiedOnServer (value on server): Thu, 05 Jan 2012 07:46:13 -0800 01-05 07:55:03.158: W/ZZ(365): BT_fileManager: saveTextFileToCache: appModified.txt 01-05 07:55:03.674: W/ZZ(365): BT_screen_menuList: icon for this row: facebook.png exists in the assets folder 01-05 07:55:03.714: W/ZZ(365): BT_screen_menuList: icon for this row: chrome.png exists in the assets folder 01-05 07:55:03.754: W/ZZ(365): BT_screen_menuList: icon for this row: hotmail.png exists in the assets folder 01-05 07:55:03.784: W/ZZ(365): BT_screen_menuList: icon for this row: gallery.png exists in the assets folder 01-05 07:55:03.826: W/ZZ(365): BT_screen_menuList: icon for this row: facebook.png exists in the assets folder 01-05 07:55:03.864: W/ZZ(365): BT_screen_menuList: icon for this row: chrome.png exists in the assets folder 01-05 07:55:03.904: W/ZZ(365): BT_screen_menuList: icon for this row: hotmail.png exists in the assets folder 01-05 07:55:03.954: W/ZZ(365): BT_screen_menuList: icon for this row: facebook.png exists in the assets folder 01-05 07:55:04.024: W/ZZ(365): BT_screen_menuList: icon for this row: chrome.png exists in the assets folder 01-05 07:55:04.096: W/ZZ(365): BT_screen_menuList: icon for this row: hotmail.png exists in the assets folder 01-05 07:55:08.595: W/ZZ(365): BT_screen_menuList: icon for this row: gallery.png exists in the assets folder 01-05 07:55:09.534: W/ZZ(365): BT_screen_menuList: icon for this row: chrome.png exists in the assets folder 01-05 07:55:11.264: W/ZZ(365): BT_screen_menuList:handleItemTap loads screen with itemId: 31FF51732BD3D2D137D210B 01-05 07:55:11.264: W/ZZ(365): BT_application:getScreenDataByItemId 31FF51732BD3D2D137D210B 01-05 07:55:11.278: W/ZZ(365): BT_application:getScreenDataByItemId screenType is BT_screen_menuList for screen with nickname: Gallery 01-05 07:55:11.284: W/ZZ(365): BT_act_controller:loadScreenObject for screen with nickname Gallery and type BT_screen_menuList 01-05 07:55:11.364: W/ZZ(365): BT_screen_menuList: icon for this row: facebook.png exists in the assets folder 01-05 07:55:11.404: W/ZZ(365): BT_screen_menuList: icon for this row: chrome.png exists in the assets folder 01-05 07:55:11.444: W/ZZ(365): BT_screen_menuList: icon for this row: hotmail.png exists in the assets folder 01-05 07:55:11.475: W/ZZ(365): BT_screen_menuList: icon for this row: gallery.png exists in the assets folder 01-05 07:55:11.514: W/ZZ(365): BT_screen_menuList: icon for this row: facebook.png exists in the assets folder 01-05 07:55:11.554: W/ZZ(365): BT_screen_menuList: icon for this row: chrome.png exists in the assets folder 01-05 07:55:11.584: W/ZZ(365): BT_screen_menuList: icon for this row: hotmail.png exists in the assets folder 01-05 07:55:11.624: W/ZZ(365): BT_screen_menuList: icon for this row: chrome.png exists in the assets folder 01-05 07:55:11.674: W/ZZ(365): BT_screen_menuList: icon for this row: hotmail.png exists in the assets folder 01-05 07:55:11.714: W/ZZ(365): BT_screen_menuList: icon for this row: gallery.png exists in the assets folder 01-05 07:55:11.964: W/ZZ(365): BT_screen_menuList:onCreate 01-05 07:55:11.964: W/ZZ(365): BT_viewUtilities:updateBackgroundColorsForScreen with nickname: Gallery 01-05 07:55:11.964: W/ZZ(365): BT_viewUtilities:updateBackgroundColorsForScreen: setting background color to: #FFFFFF 01-05 07:55:11.984: W/ZZ(365): BT_viewUtilities:getNavBarForScreen building nav. bar for screen with nickname: Gallery 01-05 07:55:11.984: W/ZZ(365): BT_viewUtilities:getNavBarForScreen: setting nav-bar color to: #132736 01-05 07:55:12.723: W/ZZ(365): BT_screen_menuList:backgroundWorkerThread using image from project bundle: sand.png 01-05 07:55:13.424: D/dalvikvm(365): GC_EXTERNAL_ALLOC freed 398K, 52% free 3267K/6727K, external 5778K/6060K, paused 95ms 01-05 07:55:13.483: W/ZZ(365): BT_screen_menuList: loading image names from assets so we can search for an image quickly...found 316 images in the /assets/BT_Images folder... 01-05 07:55:13.593: W/ZZ(365): BT_screen_menuList: start GPS is set to NO in the applications configuration data, not starting GPS 01-05 07:55:13.593: W/ZZ(365): BT_screen_menuList:onStart downloading screen data from URL 01-05 07:55:13.623: W/ZZ(365): BT_screen_menuList:refreshScreenData 01-05 07:55:13.733: W/ZZ(365): BT_screen_menuList: downloading screen data from http://www.buzztouch.com/appdata/v1.5.php?command=getChildItems&appGuid=EA8A6480154F1DA938A57256D&apiKey=F5D46B0102078B41D4ED3AA&screenId=31FF51732BD3D2D137D210B 01-05 07:55:13.733: W/ZZ(365): BT_downloader:downloadTextData from URL: http://www.buzztouch.com/appdata/v1.5.php?command=getChildItems&appGuid=EA8A6480154F1DA938A57256D&apiKey=F5D46B0102078B41D4ED3AA&screenId=31FF51732BD3D2D137D210B 01-05 07:55:14.003: W/ZZ(365): BT_screen_menuList:setBackgroundImage: returned to UI Thread... 01-05 07:55:14.003: W/ZZ(365): BT_screen_menuList:setBackgroundImage: setting background image 01-05 07:55:14.303: W/ZZ(365): BT_fileManager: saveTextFileToCache: 31FF51732BD3D2D137D210B_screenData.txt 01-05 07:55:14.903: W/ZZ(365): BT_screen_menuList:parseScreenData 01-05 07:55:15.063: W/ZZ(365): BT_screen_menuList: icon for this row: pen camera.png exists in the assets folder 01-05 07:55:15.103: W/ZZ(365): BT_screen_menuList: icon for this row: upload.png exists in the assets folder 01-05 07:55:15.134: W/ZZ(365): BT_screen_menuList: icon for this row: pen camera.png exists in the assets folder 01-05 07:55:15.163: W/ZZ(365): BT_screen_menuList: icon for this row: upload.png exists in the assets folder 01-05 07:55:15.205: W/ZZ(365): BT_screen_menuList: icon for this row: pen camera.png exists in the assets folder 01-05 07:55:15.263: W/ZZ(365): BT_screen_menuList: icon for this row: upload.png exists in the assets folder 01-05 07:55:18.554: W/ZZ(365): BT_screen_menuList:handleItemTap loads screen with itemId: 3D72E03C23147AB41BE372D 01-05 07:55:18.554: W/ZZ(365): BT_application:getScreenDataByItemId 3D72E03C23147AB41BE372D 01-05 07:55:18.563: W/ZZ(365): BT_application:getScreenDataByItemId screenType is BT_screen_images for screen with nickname: Images 01-05 07:55:18.563: W/ZZ(365): BT_act_controller:loadScreenObject for screen with nickname Images and type BT_screen_images 01-05 07:55:18.655: W/ZZ(365): BT_screen_menuList: icon for this row: pen camera.png exists in the assets folder 01-05 07:55:18.694: W/ZZ(365): BT_screen_menuList: icon for this row: upload.png exists in the assets folder 01-05 07:55:18.746: W/ZZ(365): BT_screen_menuList: icon for this row: pen camera.png exists in the assets folder 01-05 07:55:18.774: W/ZZ(365): BT_screen_menuList: icon for this row: upload.png exists in the assets folder 01-05 07:55:18.814: W/ZZ(365): BT_screen_menuList: icon for this row: pen camera.png exists in the assets folder 01-05 07:55:18.854: W/ZZ(365): BT_screen_menuList: icon for this row: upload.png exists in the assets folder 01-05 07:55:19.063: W/ZZ(365): BT_screen_images:onCreate 01-05 07:55:19.063: W/ZZ(365): BT_viewUtilities:updateBackgroundColorsForScreen with nickname: Images 01-05 07:55:19.063: W/ZZ(365): BT_viewUtilities:updateBackgroundColorsForScreen: setting background color to: #FFFFFF 01-05 07:55:19.074: W/ZZ(365): BT_viewUtilities:getNavBarForScreen building nav. bar for screen with nickname: Images 01-05 07:55:19.084: W/ZZ(365): BT_viewUtilities:getNavBarForScreen: setting nav-bar color to: #132736 01-05 07:55:19.094: W/ZZ(365): BT_screen_images:backgroundWorkerThread this screen does not use a background image 01-05 07:55:19.236: W/ZZ(365): BT_screen_images: start GPS is set to NO in the applications configuration data, not starting GPS 01-05 07:55:19.236: W/ZZ(365): BT_screen_images:onStart downloading screen data from URL 01-05 07:55:19.244: W/ZZ(365): BT_screen_images:refreshScreenData 01-05 07:55:19.304: W/ZZ(365): BT_screen_images:onStart downloading screen data from URL 01-05 07:55:19.304: W/ZZ(365): BT_screen_images:refreshScreenData 01-05 07:55:19.334: W/ZZ(365): BT_screen_images: downloading screen data from http://www.buzztouch.com/appdata/v1.5.php?command=getChildItems&appGuid=EA8A6480154F1DA938A57256D&apiKey=F5D46B0102078B41D4ED3AA&screenId=3D72E03C23147AB41BE372D 01-05 07:55:19.334: W/ZZ(365): BT_downloader:downloadTextData from URL: http://www.buzztouch.com/appdata/v1.5.php?command=getChildItems&appGuid=EA8A6480154F1DA938A57256D&apiKey=F5D46B0102078B41D4ED3AA&screenId=3D72E03C23147AB41BE372D 01-05 07:55:19.416: W/ZZ(365): BT_screen_images: downloading screen data from http://www.buzztouch.com/appdata/v1.5.php?command=getChildItems&appGuid=EA8A6480154F1DA938A57256D&apiKey=F5D46B0102078B41D4ED3AA&screenId=3D72E03C23147AB41BE372D 01-05 07:55:19.434: W/ZZ(365): BT_downloader:downloadTextData from URL: http://www.buzztouch.com/appdata/v1.5.php?command=getChildItems&appGuid=EA8A6480154F1DA938A57256D&apiKey=F5D46B0102078B41D4ED3AA&screenId=3D72E03C23147AB41BE372D 01-05 07:55:19.654: W/ZZ(365): BT_fileManager: saveTextFileToCache: 3D72E03C23147AB41BE372D_screenData.txt 01-05 07:55:19.884: W/ZZ(365): BT_screen_images:parseScreenData 01-05 07:55:19.904: W/ZZ(365): BT_strings:getSaveAsFileNameFromURL from: http://farm8.staticflickr.com/7141/6627478949_1ebcf3c633_m.jpg file name: 6627478949_1ebcf3c633_m.jpg 01-05 07:55:19.964: W/ZZ(365): BT_fileManager: saveTextFileToCache: 3D72E03C23147AB41BE372D_screenData.txt 01-05 07:55:20.644: W/ZZ(365): BT_fileManager:doesProjectAssetExist: NO assets/BT_Images/6627478949_1ebcf3c633_m.jpg 01-05 07:55:20.644: W/ZZ(365): BT_screen_images:getChildItemDrawable caching image as: 6627478949_1ebcf3c633_m.jpg 01-05 07:55:20.644: W/ZZ(365): BT_downloader:downloadDrawable from URL: http://farm8.staticflickr.com/7141/6627478949_1ebcf3c633_m.jpg 01-05 07:55:20.984: W/ZZ(365): BT_fileManager: saveImageToCache: 6627478949_1ebcf3c633_m.jpg 01-05 07:55:21.114: W/ZZ(365): BT_screen_images:resetImage 01-05 07:55:21.114: D/AndroidRuntime(365): Shutting down VM 01-05 07:55:21.114: W/dalvikvm(365): threadid=1: thread exiting with uncaught exception (group=0x40015560) 01-05 07:55:21.136: E/AndroidRuntime(365): FATAL EXCEPTION: main 01-05 07:55:21.136: E/AndroidRuntime(365): java.lang.NullPointerException 01-05 07:55:21.136: E/AndroidRuntime(365): at com.twodashfourbeta.BT_screen_images.setTitleBarAndDescriptionText(BT_screen_images.java:411) 01-05 07:55:21.136: E/AndroidRuntime(365): at com.twodashfourbeta.BT_screen_images.resetImage(BT_screen_images.java:941) 01-05 07:55:21.136: E/AndroidRuntime(365): at com.twodashfourbeta.BT_screen_images.parseScreenData(BT_screen_images.java:497) 01-05 07:55:21.136: E/AndroidRuntime(365): at com.twodashfourbeta.BT_screen_images$1.handleMessage(BT_screen_images.java:1252) 01-05 07:55:21.136: E/AndroidRuntime(365): at android.os.Handler.dispatchMessage(Handler.java:99) 01-05 07:55:21.136: E/AndroidRuntime(365): at android.os.Looper.loop(Looper.java:130) 01-05 07:55:21.136: E/AndroidRuntime(365): at android.app.ActivityThread.main(ActivityThread.java:3683) 01-05 07:55:21.136: E/AndroidRuntime(365): at java.lang.reflect.Method.invokeNative(Native Method) 01-05 07:55:21.136: E/AndroidRuntime(365): at java.lang.reflect.Method.invoke(Method.java:507) 01-05 07:55:21.136: E/AndroidRuntime(365): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839) 01-05 07:55:21.136: E/AndroidRuntime(365): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) 01-05 07:55:21.136: E/AndroidRuntime(365): at dalvik.system.NativeStart.main(Native Method) 01-05 07:55:42.445: I/Process(365): Sending signal. PID: 365 SIG: 9
 
jaymobi
Android Fan
Profile
Posts: 35
Reg: Nov 09, 2011
location unknow...
350
like
01/05/12 09:03 AM (14 years ago)
Hey Bing Quan, Have you managed to get this fixed? Wish I could help...I'm having the same trouble trying to set up an image gallery for android - shows a loading icon in the middle - suddenly stops - freezes - force closes.
 
Bing Quan
Aspiring developer
Profile
Posts: 94
Reg: Jun 01, 2011
Singapore
5,340
like
01/06/12 02:21 AM (14 years ago)
Nudge. David, is there any fix for this? I cannot seem to identify the problem through the logcat
 
Bing Quan
Aspiring developer
Profile
Posts: 94
Reg: Jun 01, 2011
Singapore
5,340
like
01/10/12 02:27 AM (14 years ago)
Nudge. David, is there any fix for this? I cannot seem to identify the problem through the logcat, any fix for that?
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
01/10/12 02:42 AM (14 years ago)
@Bing Quan: No new information. I looked at the LogCat post you did and see the 01-05 07:55:21.136: E/AndroidRuntime(365): FATAL EXCEPTION: main. This for sure is why it's crashing your device but I don't know why. I've looked at several different devices on several different platforms and have not been able to figure this out. You could try to isolate where the 'tap event' occurs in an effort to diagnose what's happening on that device ( You mentioned that it crashes when you tap the photo). I should have more time tomorrow to re-visit this and will post when I learn more.
 
Bing Quan
Aspiring developer
Profile
Posts: 94
Reg: Jun 01, 2011
Singapore
5,340
like
01/10/12 03:35 AM (14 years ago)
ok, thanks alot :D
 
themc
Code is Art
Profile
Posts: 75
Reg: Nov 11, 2011
Tilburg
7,050
like
01/13/12 07:02 AM (14 years ago)
david can you help me out? i made the working backend script on my site. the images do load in my app there 65 images totaling. when i scrool right from the first image i notice that some images turn into negatives :( when i refresh it turns back to 56 images another refresh gives me 57 making me think the json script output diffrent each time i refresh. is there a way to make all 65 images (and in the future more) load correctly ? and could the negatives be a problem in the json output?
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
02/17/12 02:46 PM (13 years ago)
Any update on getting this to work? Fred
 
Steven1224
Aspiring developer
Profile
Posts: 4
Reg: Feb 17, 2012
Harrisonburg
40
like
02/25/12 11:14 AM (13 years ago)
Any updates on getting the image gallery working? Are there any API's (other than flickr) that work? Thanks
 

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.