Discussion Forums  >  BT.com Website, Account Questions

Replies: 6    Views: 100

acschcs
Lost but trying
Profile
Posts: 118
Reg: Jan 16, 2013
United Kingdom
2,730
01/29/13 04:22 PM (11 years ago)

Displaying images

I am really sorry if I am making it hard for you guys, all my questions in the forum I'm sorry, As I go along I have many questions I can't just stop and think of lots of questions at once I hope you guys understand this. Do any of you guys know how to display an image in a screen, just an image where you will be able to pan and zoom? Thanks Alec
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
01/29/13 04:38 PM (11 years ago)
It's not the questions, it's the lack of detail in the questions ;) So many screens, so many choices. I'm not sure 'where' you want an image; different screens have different properties. Most of the 'pan and zoom' is inherent in the device. At least, that's the way it seems on my tablet and phone. Have you tried just an HTML page with an image, and link it from an HTML Screen? <html> <head> <title>Image Check</title> <meta content="width=device-width; initial-scale=1.0; maximum-scale=2.0; user-scalable=1;" name="viewport" /> </head> <body> <img src="http://someplace.com/myimg.png" /> </body> </html> Hope this helps a little! Cheers! -- Smug
 
MacApple
Apple Fan
Profile
Posts: 4674
Reg: Oct 25, 2010
USA
61,140
like
01/29/13 05:01 PM (11 years ago)
@SmugWimp makes a very valid point. You'll find there is an answer for every teething issue on here, someone is always ready to jump in. Post as MUCH info as you can if you ask questions, you'll get faster responses and of course more detailed replies buddy. Everyone on here wants you to succeed so try not to be vague. I'd come to the same conclusion as the post above from your question. You'll get there, many have stumbled but buzztouch has a community like no other. Just try and put as much detail into questions as you can. Shout out if you need anything else my good man.
 
acschcs
Lost but trying
Profile
Posts: 118
Reg: Jan 16, 2013
United Kingdom
2,730
like
01/29/13 09:16 PM (11 years ago)
Here is what I basically want to do 1st. Get the app to display an image on a format which is compatible and it doesn't matter what type of plugin as long it can display the image correctly. After, I then want to add background audio to it (which is tried to get this working allot of times before, no luck) and also be able to stop pause and play background audio with users decision. So, do I need to press the source code button for what you just typed here? Or just the normal text will understand it? This will work in off-line mode right?
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
01/29/13 09:49 PM (11 years ago)
If that's all you need, it isn't too difficult. 1) Create your app. 2) Create your screen. For this example, use the 'Custom HTML/Text' 3) Paste the contents of this file into the screen, making sure you press 'source' so that you're editing the html source: https://dl.dropbox.com/u/115208762/imageaudio.html Add the files into your projects in accordance with the instructions from GoNorthWest: https://www.buzztouch.com/files/howtos/Adding_Files_To_A_Project_v1.0.pdf And you 'should' be close to where you want to be. If not, stop by and let us know what is or isn't working the way you want. Feel free to experiment with things. Some of my best discoveries were accidental. :) Remember a couple of basic things: Although you may upload files to your BT Project, those files are not included as a part of your download package. You will still need to add icons, images, audio, and other items to your project. If you need 'offline' operation, resources such as images, audio, and other files need to be added to your project. As such, they are not 'dynamically updated' the way your BT configuration is. You'll still need to compile and run your app again, and reinstall your app again, if you add new files or change files, and wish to view the changes. Cheers! -- Smug
 
acschcs
Lost but trying
Profile
Posts: 118
Reg: Jan 16, 2013
United Kingdom
2,730
like
01/30/13 12:40 AM (11 years ago)
I know what you mean and I know how to add files to my project The only problem is that my app won't play the audio, I have put my audio.mid file in assets, audio folder and because buzztouch won't allow me to upload .mid files I just named it on buzztouch. Does this mean I need to have self hosting?
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
01/30/13 01:46 AM (11 years ago)
Well, you shouldn't have to self host... that's not really the problem. Android supports midi files: http://developer.android.com/guide/appendix/media-formats.html And Ian seems to have found it to work on Android as well... http://www.buzztouch.com/forum/thread.php?tid=EA20A113ACB46BE85C1012F&fid=1A0BC2DCA1F04DB67238B9A&sortColumn=FT.id&sortUpDown=&currentPage=4 I can't find anything relating to iOS... With respect to file 'location', I've heard a few folks with issues finding the right path. I found this post by Fred from MySkylla (a BT Jedi) that explains a few things. Maybe it can help. http://www.buzztouch.com/forum/thread.php?tid=4B82AF632738E53302070EF&currentPage=101 Cheers! -- Smug
 

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.