Discussion Forums  >  Uncategorized

Replies: 9    Views: 229

Jordash Talon
Aspiring developer
Profile
Posts: 37
Reg: Oct 01, 2011
location unknow...
370
11/16/11 05:39 PM (14 years ago)

Can't get images to display in Android 1.5

I'm displaying some images in Custom HTML / Text Screen I put the images in the BT_images directory like I do on iOS but for some reason they don't display on Android (They work fine in iOS devices.)
 
Parker @ buzztouch
buzztouch Evangelist
Profile
Posts: 1395
Reg: May 09, 2011
Pacific Grove, ...
24,500
like
11/16/11 07:30 PM (14 years ago)
Hi Jordash, If you look through the README.txt file included in your project download folder you'll notice that Custom HTML / Text screens aren't listed in the completed screens list. They were originally going to be released as part of the v1.5 phase 2 release package, but we realized the need to take our production in another direction. So Android screens will be completed with the new buzztouch Server and corresponding site update where we move towards the plugin format. After we have a stable working server platform, plugins will quickly follow. If you can't wait for our development efforts, there should be some comments and information within each screens .java file to help you finish the coding yourself.
 
Jordash Talon
Aspiring developer
Profile
Posts: 37
Reg: Oct 01, 2011
location unknow...
370
like
11/16/11 08:07 PM (14 years ago)
I was looking through BT_screen_customHTML.java file and saw some things that might have it like MyPictureListener and localFileName but I couldn't really see what needed changed to get it to work. Has anyone else been able to make the correct modifications to get it to work properly? Thanks, Jordash
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
11/16/11 09:58 PM (14 years ago)
Have you tried posting the images on dropbox, then using html doc (not the custom one) via url?
 
Jordash Talon
Aspiring developer
Profile
Posts: 37
Reg: Oct 01, 2011
location unknow...
370
like
11/16/11 10:04 PM (14 years ago)
I guess if I did that I might as well just host the images. I was thinking it was better to store the images locally so people wouldn't have to download them after they've already downloaded the app.
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
11/16/11 10:18 PM (14 years ago)
Yes, that would be best if it was possible.
 
Scriptkid
I hate code!
Profile
Posts: 6
Reg: Nov 09, 2011
Amsterdam
60
like
11/25/11 01:36 PM (14 years ago)
Place the images and HTML-files in the ../assets/BT_Docs-directory. That is the right one. Then you can link your images from there. I have made a game with v1.5, and is working fine: Sinterklaas Memory. It is in the Android-market. I have not made an Ipad-version, because I have no Mac's around.
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
11/25/11 02:29 PM (14 years ago)
The last post reminds me that I placed an html file (Map of an area) in an app. There were two files the index.html & the .jpg file. Forgot about that since it was over a week ago. (You might say I need more Ram memory in my head.) Both files were placed in the same folder.
 
Scriptkid
I hate code!
Profile
Posts: 6
Reg: Nov 09, 2011
Amsterdam
60
like
11/25/11 03:12 PM (14 years ago)
@FredT4: You placed them in BT_images directory, but for Android is that a problem. For Android they need to be in BT_Docs. It is not handy, but it works for me!
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
11/25/11 06:26 PM (14 years ago)
Actually I tried placing the .png in the image folder and the index.html in the docs folder but it didn't work, then placed both in BT_Docs & it worked. This was a BT v1.5 andriod api 8 app.
 

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.