Discussion Forums  >  Uncategorized

Replies: 9    Views: 196

engineroomdm
Aspiring developer
Profile
Posts: 42
Reg: Jan 23, 2011
Holbrook
420
11/12/11 01:17 PM (14 years ago)

Errors in Eclipse after using BT Server 2.8

Trying to run first BT Server Android App in Eclipse.... Have 3 reported errors....See below.... menu_list_row cannot be resolved or is not a field BT_screen_menuListSimple.java /Empire4/src/com/empirenb line 822 screen_menulist cannot be resolved or is not a field BT_screen_menuListSimple.java /Empire4/src/com/empirenb line 237 The public type BT_screen_menuList must be defined in its own file BT_screen_menuListSimple.java /Empire4/src/com/empirenb line 73
 
Intrege
Veteran developer
Profile
Posts: 196
Reg: Sep 12, 2011
Philadelphia, P...
3,160
like
11/12/11 01:43 PM (14 years ago)
Just came across the same error, with first buzz 2.0.9 version
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
11/12/11 03:29 PM (14 years ago)
Got the same issue. I changed the menuList references to menuListSimple as it recommended, but that just threw a big red cross next to the project name, but no red crosses on any files, and it wouldn't compile. So I gave up.
 
engineroomdm
Aspiring developer
Profile
Posts: 42
Reg: Jan 23, 2011
Holbrook
420
like
11/12/11 03:29 PM (14 years ago)
Sooooo close!
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
11/13/11 12:28 AM (14 years ago)
Looking into this gang...I'm also seeing some iOS gotchas. I do know that the screen_menuListSimple plugin was updated this afternoon. The class files were not named properly in the plugins folder. When you downloaded the code you'll see that the BT_screen_menuListSimple class name was right in the .java file but NOT in the file name. Bogus. Like I said...looking ;-) The check-for-updates on the plugins admin screen helps but isn't good enough. There needs to be a way to check all plugins installed for the latest version. Not sure how to handle that yet. Today, it's a matter of re-uploading them (it only takes a momen) when you learn that one's been updated. Should have an answer on this post later about the Eclipse errors...
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
11/13/11 01:14 AM (14 years ago)
OK...got most of this... v2.1.0 ready for download with yet more little tweaks. Two biggies related to android. 1) The AndroidManifest.xml file was super-jacked (tough to see unless you've seen a million of them!) and is fixed after downloading 2) Simple Menu plugin included the WRONG android .java and .xml files. Sigh, my fault. Update project, update menu plugin. Should build OK without any errors. However...I built a simple app with a menu and some options and it compiles nice without any errors and works good on the device...but...the simulator's giving some strange behavior...looking into that. Base-project code comes from our end so I can make fixes to that without you having to update anything. You only need to update plugins when we improve / fix and control panel when we improve / fix. Should have more on this post later.
 
Intrege
Veteran developer
Profile
Posts: 196
Reg: Sep 12, 2011
Philadelphia, P...
3,160
like
11/13/11 03:35 AM (14 years ago)
Thanks David. Hats off to you.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
11/13/11 03:46 AM (14 years ago)
OK...I have all the plugins listed working well on a test device and simulator. A few gadgets actually. It's a single home screen app wtih a menu (not tabbed). Menu has one each of all the options, and another sub-menu. Call, Email, SMS, Map, Google, Etc. All work cool. I did notice something weird on the map. The pins are super-duper small. Like major tiny artwork. Can't seem to figure this out. I'm starting to wonder if all the other v1.5 header image troubles (loads of them about size / scale / etc) are also the same issue. We are not keeping images in /res/drawable folder like Android wants but instead use the /assets folder so we can easily move them around (drawable foldres are a nightmare...no subfolders, etc). But, I'll be Android does not know how to scale the images when the come from /assets and not /drawable. May have to write a little routine to figure out how to scale bitmaps when they come from the /assets/BT_Images folder. I'll dig into it at some point. Just know that you may also experience something similiar with image scaling.
 
engineroomdm
Aspiring developer
Profile
Posts: 42
Reg: Jan 23, 2011
Holbrook
420
like
11/13/11 08:22 AM (14 years ago)
That works now for Eclipse....Is it supposed to also work in Xcode? Because I downloaded the source and does not display the simple menu....
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
11/14/11 01:43 AM (14 years ago)
Simple menu works (and all the other plugins) in Xcode when I make projects. If it's not working in iOS, what does the output console say? Does it compile without errors?
 

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.