Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 2    Views: 52

miku
Aspiring developer
Profile
Posts: 405
Reg: Feb 20, 2014
zagorje ob savi
10,600
10/06/14 11:28 PM (9 years ago)

Menu Buttons images offline

Information about David's Menu Buttons (Version 1.9) says: "Buttons images can be added to the Xcode or Android project or they can be downloaded from a URL." I can only find images on buttons to be downloaded from URL (Screen Data URL). Is it possible to have images in project to work offline?
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
10/07/14 12:51 AM (9 years ago)
If you look at the menubuttons control panel, after you create a menu item, you can then enter in a filename that is included with the project, or a dataURL for an image on the internet. https://dl.dropboxusercontent.com/u/115208762/menubuttonsdetailitem.png Cheers! -- Smug
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
10/07/14 10:21 AM (9 years ago)
What smug says is spot on. What you also need to do is make sure the image files are copied into your xcode or eclipse project build before you load the app onto your device. For Xcode add them to BT_Images, for Android they go in res/drawable.
 

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.