Discussion Forums  >  Uncategorized

Replies: 9    Views: 212

theGreek
Aspiring developer
Profile
Posts: 648
Reg: May 25, 2011
Schaumburg, IL
7,830
12/15/11 09:26 PM (14 years ago)

Errors in 2.1.5

After installing 2.1.5 I'm getting errors in BT_screen_menuButtons.java Multiple markers at this line - The method getBitmapFromAssets(String) is undefined for the type BT_fileManager - Line breakpoint:BT_screen_menuButtons [line: 814] - getButton(BT_item, int, int, int, int, int) Any Ideas?
 
theGreek
Aspiring developer
Profile
Posts: 648
Reg: May 25, 2011
Schaumburg, IL
7,830
like
12/15/11 09:28 PM (14 years ago)
Lines Description Resource Path Location Type The method getBitmapFromAssets(String) is undefined for the type BT_fileManager BT_screen_menuButtons.java /testapp/src/com/testapp line 782 Java Problem The method getBitmapFromAssets(String) is undefined for the type BT_fileManager BT_screen_menuButtons.java /testapp/src/com/testapp line 784 Java Problem The method getBitmapFromAssets(String) is undefined for the type BT_fileManager BT_screen_menuButtons.java /testapp/src/com/testapp line 814 Java Problem
 
theGreek
Aspiring developer
Profile
Posts: 648
Reg: May 25, 2011
Schaumburg, IL
7,830
like
12/15/11 09:34 PM (14 years ago)
Also, When in the Button Menu config settings. I attempted to change the color of the font and received a http:// page not found screen in the browser. So I'm guessing some things may not be pointed properly....
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
12/15/11 10:07 PM (14 years ago)
Looking into this....
 
Mario
Code is Art
Profile
Posts: 58
Reg: Mar 21, 2011
location unknow...
580
like
12/16/11 12:35 AM (14 years ago)
Also I see the menuButtons is using this code for images: //if we have an image name and it's in the assets... if(imageName.length() > 1){ if(imageAssets.contains(imageName)){ //do we need to round the image? Bitmap bg; if(buttonCornerRadius > 0){ bg = BT_viewUtilities.getRoundedImage(BT_fileManager.getBitmapFromAssets(imageName), buttonCornerRadius); }else{ bg = BT_fileManager.getBitmapFromAssets(imageName); } bgColor.setBackgroundDrawable(new BitmapDrawable(bg)); } And shows errors because of that. Beacuse in BT_fileManager there is no method ***getBitmapFromAssets*** beacuse you are switching to drawables if I am not mistaken. To what should I change this code to work with images from drawable folder? Thanks for any help :)
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
12/16/11 12:37 AM (14 years ago)
Yup, major bone-head move on our part. v2.1.5 has been updated again (control panel stuff) Menu Buttons plugin has been updated again (original had wrong Android files!). Android should work now. Just tested again with actual files this time (incorrect tests yesterday / last night, duh). If you already went through the v2.1.5 update process, installed the Button Plugin and didn't have any luck - sorry, you'll need to go through the hassle again. Hate it when that happens.
 
theGreek
Aspiring developer
Profile
Posts: 648
Reg: May 25, 2011
Schaumburg, IL
7,830
like
12/16/11 05:28 AM (14 years ago)
This plugin package is invalid... versionNumber not numeric in new bt_screen_menuButtons I just re-installed 2.1.5 and attempted to add in the new menuButtons plugin.....
 
webwizz
Apple Fan
Profile
Posts: 81
Reg: Sep 29, 2011
Spain
4,960
like
12/16/11 08:12 AM (14 years ago)
I have just installed v2.1.5 and when I go to any of the Screens to edit I get a 404 error. Everything else is working OK. BT server is installed in the root and accessed from http://mydomain/BT-server/ - and here is the link that is giving the error: http://thewebwizz.com/BT-server/files/plugins/bt_screen_menuSimple/?appGuid=EA43CCAD63B75E4AAF898C91E&BT_itemId=5AC93800397ADE1D7E4BC0D&searchInput=search...&appGuid=EA43CCAD63B75E4AAF898C91E&sortColumn=I.modifiedUTC&sortUpDown=DESC¤tPage=1&viewStyle=listView&searchPluginTypeUniqueId= Any help greatly appreciated Geraldine
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
12/16/11 11:59 AM (14 years ago)
Menu Buttons: New package uploaded. Tested. Installs fine. Maybe I included another bogus file in the previous one? Not. Look at the config.txt package, the versionNumber in this file should be 1.0. Version String is different, it's v1.0.1 @ webwizz: Not sure what you have going on here. 404 means page not found - are the files where you think they are? The link you posted shows a path to a plugin folder, make sure that folder actually exists or you'll get a 404. When you upload plugins they are put in the /files/plugins folder. Maybe you accidentally removed something? Dunno about this one. Seems strange.
 
theGreek
Aspiring developer
Profile
Posts: 648
Reg: May 25, 2011
Schaumburg, IL
7,830
like
12/16/11 02:14 PM (14 years ago)
Working Now. 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.