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: 3    Views: 61
 
chadh0130
Apple Fan
Profile
Posts: 352
Reg: Nov 05, 2011
Rhode Island
4,020
11/12/12 05:19 PM (11 years ago)

Fresh Source Code download with Errors (android)

Hey Guys-

I'm working on my first android app, I have downloaded the source code and there is one error inside the "problems" section of eclipse.

The error is "wb_menu_row2 cannot be resolved or is not a field"

when I open the file, I clicked on the red error and this is the line of code that is making the error occur ....

rowView = inflater.inflate(R.layout.wb_menu_row2, parent, false);

any suggestions on what might be causing this or a fix for this?

here is a screenshot of the error
http://screencast.com/t/pfmYVMHpd
 
Susan Metoxen
buzztouch Evangelist
Profile
Posts: 1706
Reg: May 01, 2011
Hopkins, Minnes...
26,260
11/13/12 06:02 PM (11 years ago)
The latest version of the software corrects for this. It may be easier to fix the code, rather than download. Just delete the 2 from wb_menu_row2.
 
themc
Code is Art
Profile
Posts: 75
Reg: Nov 11, 2011
Tilburg
7,050
01/10/13 02:15 AM (11 years ago)
susan,

i have aplied the fixes works great on android now i got 1 problem though.

im using the web image for image header.
linked to http://www.vanboekel.nl/download/achtergrondapp1.png

for iphone its no prob loads correct.

on android (my galaxy s3) however it shows the first screen correctly but when i switch screens the image turns dark. can you pls take a alook at it.

 
themc
Code is Art
Profile
Posts: 75
Reg: Nov 11, 2011
Tilburg
7,050
01/10/13 02:41 AM (11 years ago)
nevermind i got it fixed solution i used:

ok i made a workaround for online simply copy the header image a few times for the menu mine looks like this:

menu 1 got header image link http://www.vanboekel.nl/download/achtergrondapp1.png

menu 2 got header image link
http://www.vanboekel.nl/download/achtergrondapp2.png

and so on that works.
it seems that when loading a web image in android its not so fund with loading that same image for the other menu's this workaround should fix that.
 

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.