Discussion Forums  >  Uncategorized

Replies: 3    Views: 249

Gyre69
Aspiring developer
Profile
Posts: 3
Reg: Dec 01, 2011
location unknow...
30
12/01/11 03:19 PM (14 years ago)

BT_screen_video.java

Ok, so I am very new to buzztouch. BTW this is the most awesome product I have ever seen for development! So I am using V1.5 and I created my menus and submenu's that I want to use in my app. I setup one of my submenu's to streaming video and gave it a file name: sampleVideo.mov. I then downloaded the Android code, dumped it into eclipse, copied my sampleVideo.mov file to the assets/BT_Video folder in my workspace, refreshed eclipse. I uploaded the app to my device, then it auto launches the app, as expected, and it can see my application menus. Now when I click on the video submenu to launch the sampleVideo.mov, I get the following alert, and no video: Open Eclipse Look at the BT_screen_video.java file So I go back to eclipse and look for the BT_screen_video.java file and I see the following in the code below the alert: showAlert(Open Eclipse, Look at the BT_screen_video.java file); * ******************************************************************* Notes: This screen has fully loaded it's layout file at this point. BT_activity_base loaded act_base.xml --THEN-- this screen loaded it's own layout file. JSON properties for this screen from the app's configuration data are available for use. You can read these properties easily using the BT_strings class. Example: String thisScreensNavBarTitleText = BT_strings.getJsonPropertyValue(this.screenData.getJsonObject(), thisScreensNavBarTitleText, default value here); The screens background and title bar were setup using the BT_viewUtilities class: BT_viewUtilities.updateBackgroundColorsForScreen() You are free to modify the layout file and extend this screen however you want. ******************************************************************** So this is where I am stuck. Reading these notes it looks like i need to insert code to modify the layout file, however I am not sure the code required to do this or to what extent it needs to be configured, or even where the code is supposed to go. I would imagine i can uncomment the example line and work from there but kind of lost at this point. Thanks for any help.
 
Gyre69
Aspiring developer
Profile
Posts: 3
Reg: Dec 01, 2011
location unknow...
30
like
12/01/11 03:31 PM (14 years ago)
Oh, one other comment. If there is a way to get videos and documents to run locally using version 1.4 that would fix all my problems, but I searched the forum and didnt see anything related to local vids or docs. I saw alot of people talking about it, but didnt see any solutions.
 
ianJamesPiano
Code is Art
Profile
Posts: 2661
Reg: Feb 13, 2011
Palm Springs, C...
37,010
like
12/01/11 05:19 PM (14 years ago)
Video/audio support not available yet for Android v1.5.....maybe in Android version 1.4 u could do some html pointing to the file embedded in ur project? Also, here is a good little read http://developer.android.com/guide/topics/media/mediaplayer.html
 
Gyre69
Aspiring developer
Profile
Posts: 3
Reg: Dec 01, 2011
location unknow...
30
like
12/01/11 08:14 PM (14 years ago)
So where are the actual links held for the URL of the videos I have already created menu's for? I dont mind trying to build my own code, I just want to make sure that I start in the right place. I went through all the files in my project and I dont see where they are held. My only guess is that they are stored on the buzztouch server and variables in the application are populated on execution. Is that correct?
 

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.