Plugin Discussions

Discussions are between the Plugin Developer and app owners. Only app owners that have installed the plugin can participate in this discussion. We enforce this to help Plugin Developers focus their time on helping app owners that support the development efforts.

pointerBack to discussions for "Menu with Image"
Replies: 1    Views: 60
 
theGreek
Aspiring developer
Profile
Posts: 648
Reg: May 25, 2011
Schaumburg, IL
7,830
10/18/12 08:13 AM (11 years ago)

Results of test. Dont see images

I can see the appropriate fields added into the control panel. I add a file to the Android project called pdficon.png and use that as the line item icon.

I get nothing on that line when I run the app.


Below is from my config file

"childItems":[{"itemId":"A3D0738C6582AF5058F1D0D", "itemType":"BT_menuItem", "loadScreenWithItemId":"C71032C5F2E2F088F82F326", "titleText":"EA Overview", "iconName":"pdficon.png"},
{"itemId":"3D896FE527E81260839DC90", "itemType":"BT_menuItem", "loadScreenWithItemId":"D1066F1F48B6BC545A74391", "titleText":"PDF 2", "iconName":"pdficon.png"}]},


Below is from the Log I dont see it loading the pdficon.png file at all

10-18 10:03:37.126: W/ZZ(7420): WB_screen_menuImage:onCreate
10-18 10:03:37.126: W/ZZ(7420): BT_viewUtilities:updateBackgroundColorsForScreen with nickname: "Documents"
10-18 10:03:37.126: W/ZZ(7420): BT_viewUtilities:updateBackgroundColorsForScreen: setting background color to: "#000000"
10-18 10:03:37.126: W/ZZ(7420): BT_viewUtilities:getNavBarForScreen building nav. bar for screen with nickname: "Documents"
10-18 10:03:37.186: W/ZZ(7420): WB_screen_menuImage:backgroundWorkerThread this screen does not use a background image
10-18 10:03:37.186: W/ZZ(7420): BT_fileManager:deleteFile 019AC5D0A0022FE36B3C83A_screenData.txt
10-18 10:03:37.186: W/ZZ(7420): BT_fileManager:deleteFile 019AC5D0A0022FE36B3C83A_screenData.txt does not exist
10-18 10:03:37.206: W/ZZ(7420): WB_screen_menuImage: header image exists in resources folder: "elf5.png"
10-18 10:03:37.246: D/dalvikvm(7420): GC_FOR_ALLOC freed 5201K, 46% free 11005K/20039K, paused 28ms, total 35ms
10-18 10:03:37.256: I/dalvikvm-heap(7420): Grow heap (frag case) to 23.073MB for 4423696-byte allocation
10-18 10:03:37.296: D/dalvikvm(7420): GC_CONCURRENT freed 761K, 28% free 14564K/20039K, paused 3ms+3ms, total 41ms
10-18 10:03:37.376: D/dalvikvm(7420): GC_FOR_ALLOC freed 0K, 28% free 14564K/20039K, paused 12ms, total 12ms
10-18 10:03:37.391: I/dalvikvm-heap(7420): Grow heap (frag case) to 31.822MB for 9953296-byte allocation
10-18 10:03:37.411: D/dalvikvm(7420): GC_CONCURRENT freed 0K, 19% free 24284K/29767K, paused 3ms+1ms, total 23ms
10-18 10:03:37.456: W/ZZ(7420): WB_screen_menuImage:setHeaderDrawble
10-18 10:03:37.461: W/ZZ(7420): WB_screen_menuImage: start GPS is set to NO in the applications configuration data, not starting GPS
10-18 10:03:37.461: W/ZZ(7420): WB_screen_menuImage:onStart using data from app's configuration file
10-18 10:03:37.461: W/ZZ(7420): WB_screen_menuImage:parseScreenData

Any thoughts.


 
Susan Metoxen
buzztouch Evangelist
Profile
Posts: 1706
Reg: May 01, 2011
Hopkins, Minnes...
26,260
10/18/12 11:33 AM (11 years ago)
It's interesting because you can see the pdficon.png right in the JSON. So we know is it there. You dragged the file into the drawables folder, right? (Instead of quotation marks in the JSON your email is showing "&quot", the html text for quotation marks. I haven't seen that before.)

Does your text appear on the line without the icon? I do not see the rows loading at all.

I thought these messages were interesting, but I believe they are a red herring because the item ID doesn't match the IDs in the JSON.

10-18 10:03:37.186: W/ZZ(7420): BT_fileManager:deleteFile 019AC5D0A0022FE36B3C83A_screenData.txt
10-18 10:03:37.186: W/ZZ(7420): BT_fileManager:deleteFile 019AC5D0A0022FE36B3C83A_screenData.txt does not exist
 

You cannot participate in this discussion yet.

  1. You must be logged in to participate
  2. You must have a screen name setup in your profile
  3. You must have installed the plugin in your control panel.