Remote source Player?
Hello
I use a drive on my application to play music. I use Eclipse to develop. So far I have imported the mp3 file in the application's resources and can play music using this code: -.
try { Class cl = Class.forName("FurtherRemixedApp"); InputStream is = cl.getResourceAsStream("/mainaudio.mp3"); player = javax.microedition.media.Manager.createPlayer( is, "audio/mpeg" ); player.realize(); volumeControl = getVolumeControl(player); if (volumeControl != null) volumeControl.setLevel(100); player.prefetch(); player.start();} catch (Exception e) {}
But now I need to play mp3 from a website. I tried something like: -.
player = javax.microedition.media.Manager.createPlayer("http://www.furtherremixed.org/audio/android/sn.mp3;deviceside=true");
But I have no sound and I guess that the player does not start because I get errors.
I was the research and reading for centuries but have found no solution. Any help would be appreciated.
OK, I found the problem. The site had .htaccess script to force mp3 to be downloaded and not played. I tried audio on another site and it works fine now.
Tags: BlackBerry Developers
Similar Questions
-
Hello
Is it possible to use the remote source to use ImageView component?
Currently, if I do the following:ImageView { imageSource: "http://www.some-url.com/pic.jpg }
I get the following error:
"Unsupported scheme (http) used in url (http://www.some-url.com/pic.jpg). Image loading aborted."
Thank you!
No, it is currently in the well road map.
A workaround is to use a WebView...
http://supportforums.BlackBerry.com/T5/native-development/image-view-from-the-Web/m-p/2570051#M46287
[Edit] Seeing this that I realize why @PhilipK has a ListView of WebView elements, it's my fault for suggesting this work around in the first place.
-
VMware Workstation 8.0.2 and 4.0.2 Open Source player
I was looking around the area of download for vmware player and I see that there are downloads for Mware Workstation 8.0.2 and 4.0.2 Open Source player. This means that we can build preinstalled vmware and use it for free?
Thank you.
Danielx64 wrote: I've been looking around the area of download for vmware player and I see that there are downloads for Mware Workstation 8.0.2 and 4.0.2 Open Source player. This means that we can build preinstalled vmware and use it for free?
No, but you can use different components in the available packages which are Open Source however the necessary basic elements for virtualization are not Open Source or a part of the Open Source packages available. Suggest you read VMware Workstation 8.0.2 and player 4.0.2 Open Source License for more details.
-
P2V conversion for a remote source of Debian Linux
I tried to convert (P2V) my server physical linux (debian), but I can't.
I use a stand-alone server of vConverter4.
The conversion always stop on "connection to the server for assistance on the VM converter target."
I can access the virtual machine to help but I don't know what to do.
Help me please!
Then, you should try to make your help-VM to pings. Starting conversion, change the setting of VM for assistance, check the virtual network card adapter/device is "connected". If it is already connected, disconnect and then reconnect the back and now try to ping your IP VM Wizard.
vcbMC - 1.0.6 Beta
Lite vcbMC - 1.0.7
-
Dynamically loading the interface from a remote source implementation class
Hello guys,.
I'm kind new to AS3, please bear with me.
I'm working on a project were I want to implement some sort of MVC. The idea is this: have an application Viewer that connects to a database and reads the object to display (based on some ID); have an app Setter that connects to the database and sets the object to display for a particular ID.
What I'm trying to do is to have an interface that declares the common methods for the object class (like the draw, etc.) and have implementations of this interface be dynamically loaded from the database in the Viewer.
Is this possible? I still think about it in the right way?
I'd appreciate any suggestions really.
Thank youIf you check the book by peldi et al., u would have found what you're talking about. The principle u want to talk is easy to do. This might get u started (it is FMS but the idea is the same): http://help.adobe.com/en_US/FlashMediaServer/3.5_SS_ASD/flashmediaserver_3.5_sslr.pdf - p.28 - application.registerClass () method.
-
stream player is choppy - what can we do to imporove?
Hello
Is it possible to have the player (javax.microedition.media. Player buffer) all the files before playing?
The flow of the voice seems choppy, with breaks sometimes a few seconds between the two. I tried all different trickes in the book as appellant prefetch() before calling start(), but nothing seems to help.
I use the device Simulator, simulating the Blackberry Storm. The voice file, that I use for testing is just a small wav file with some simple sound speak. The file is fetchecd as a URL on neighbor PC connected to the local network. When I play the file from a browser MS Internet Explorer on the computer on which I have the Simulator running, he plays very well.
Thank you!
RD.
Well, the problem is the network connection. While you * can * is to create your own input stream that will go ahead and read all the data, it may the network source and place it within the stream - and who then move on to the player.
Or download all data from the remote source to a byte array, and then create a bytearrayinputstream to pass to the player.
-
Video open in the extension Source monitor / ExtendScript?
I want to write an extension of Panel that navigates on a remote resource management system, video downloads of proxy and displays them in the Panel Monitor Source; similar to the media browser panel.
However, I can't find any way to get a local file to open it in the source monitor. Script functions, as I tried to expect a project to create or open the file in QuickTime Player.
Is this functionality exist first?
Yes, it's (Agency 7.2 and later). Please email me directly with any questions: b b b at adobe dot com.
app.enableQE ();
var file_to_open = File.openDialog ('Choose file to open.', 0, false);
If (file_to_open! = null)
{
qe.source.openFilePath (file_to_open.fsName);
qe.source.Player.Play ();
}
-
Data changed from different sources
I have a problem with obtaining data in an AB ML1200 PLC. I'm simplifying this to explain: I have given in reg N7:0 which is the result of a calculation. Lets say
"N7:0 = TextEntry1.value * 10. All right, but there is an another local HMI, who wrote also in N7:0. Although the value of this local HMI N7:0 illustrates the variation reflected the Calc above the Belvedere, any attempt to change the value N7:0 of the local GUI is substituted by the Calc. I need to be able to change the value of the local HMI and update the "TextEntry1.value" to reflect the change has Lookout. It sounds simple enough, but it is Kickin ' my ass! As a sidenote I would not have this problem if the AB driver on the lookout for the sustained MicroLogix float regs (F) - I was little shocked, that he did not. Any ideas?
Looks like you need the connection on the remote source. For example, to create a pot. On the properties page, change its source away to the N7:0. It will also be well read and write the connection.
But you also have to mutiply the value by 10, so you can first create an Alias on N7:0 by right-clicking the driver object and select Edit Configuration data members. Entry of scale, for example, the gross value of 0 to 100 and eng value between 0 and 10, so that this Alias will represent the value of N7:0 / 10. Give a name to this Alias. And then bind source away from the pot to this Alias. Have a try.
-
What I'd like to see... is a hybrid of Clip and rocket. The battery life of the "rocket", the music video form factor. No worries video, Clip-type display, slot microsdhc, clip on the back... If you have kept the small screen as the Clip, you might get a bigger block of type battery Fuze and perhaps create a player to halfway between the 2 size... anyone with me?
Marvin_Martian wrote:
Tapeworm wrote:
What, no batteries AA or AAA, navigation file or AM radio?Laughing out loud
I have never had a player with file navigation, so I don't know if I like it or not. But I'm no. And I have Rechargeable AA and AAA for my remotes (DVD player, VCR, stereo receiver, TV), my camera low range, my gamepad PS2 wireless and my small FiiO E3... that's enough. I'd rather have my wall charger for my Sansas
What I'd like to see... is a hybrid of Clip and rocket. The battery life of the "rocket", the music video form factor. No worries video, Clip-type display, slot microsdhc, clip on the back... If you have kept the small screen as the Clip, you might get a bigger block of type battery Fuze and perhaps create a player to halfway between the 2 size... anyone with me?
-
photos of surface app have not all sources of photography
This question is about a Surface RT fully updated and the built in photos app.
Dad just got a Surface Pro and I made an account on it to try features synchronization account. When I went in the photos app he showed my current machine to run Windows Vista Windows live photos as source for photos, as well as SkyDrive, image library, photos from Facebook, etc.
On my RT Surface, this option does not appear and is not in the settings or the other.
Why not?
How can I fix it?
Thanks in advance for any help.
The remote sources that you see in Photos (Flickr, Facebook, Skydrive, other PC) applications are associated with the Microsoft Account you're connected to (or have attached to your Windows logon). The only reason why I can think that a machine of Windows 8 would show some options but the other isn't if the Microsoft Accounts connected on different machines are different.
You can also hide sources in the Photos app. To display, in the Photos app, go to settings (Win - i), choose options, select the options that you want to appear.
Flickr and Facebook requires your Microsoft Account to be configured with these services. You can choose to revoke access to your Microsoft Account of these services through their web sites. To check your permissions, go to settings, choose options, click Options next to Flickr or Facebook.
Hope that helps.
-
ODI, with a source file on another server
Hello
My reequirments are as follows:
I try to use a source file that is placed on a linux server and load it into an oracle table.
I don't know wha all adjustments must be supported to configure the source file on the linux server to be used as a source
I've created an interface with a file on my local machine to load into an Oracle table and it works very well with my new req. using the source file that is placed on a linux server, I do not know what shd configurations do where specify the name of the server, path of the source file
Thank you
Pradip957084 wrote:
Our source file machine is on a linux machine where ODI is installed
But there, we make the nto see any folder created agent, whatever that means
SHD, we have a record of the agent is created?Yes... you must be a process of the agent running on the remote server to read the remote source file
>Also, if I understand correctly if agnet is not installed how can I install it now
You can run the installer of ODI once more and choose to install only the ODI Agent.
Otherwise if you have and ODI agent also installed then copy the bin folder in the linux machine. in this case, you must manually change the scripts.Safe option is 1.
-
TV remote control keys do not work
On my brand new BDPBX320 player, TV and the input of the TV keys do not work, someone knows how to solve this problem?
Just by thinking back I'll let you know that I finally got a response directly from Sony support letting me know there is NO codes for the Vizio TVs for my remote. It is not a big problem for me to go to any other problem on it enough, I'll just use my TV remote to control the TV. It just would have been nice to have this feature on the remote DVD player too. Thanks again for trying to help me find a solution.
-
Caching of video content on the spot.
I'm not a Flash programmer. I am trying to determine the feasibility of using Flash for a specific application on a third device which include a Flash drive.
ActionScript 3 is supported, but the target must be Flash player 10.3. The target is a standalone Flash player.
Before you write specifications of software and find a Flash developer real point I want to make sure that the Flash has the capabilities I'm looking for. I took a bit of a crash course in Flash and have been able to demonstrate that it can do a lot of things I need to do. The last thing is:
Part of the requirements of the software will be to read video content hosted on a remote web server. However, it should be able to download this content when a connection is available and to cache locally (on the order of gigabytes of content) so that can play the content cached offline when no connection is available. Basically, the application is a kind of VCR I want basically to be able to load the content from a remote source and then run on its own with no connection after that.
What I want to know is: is it possible? I don't need to know how or how much (if any) of ways there are to do, I just need to know if this is possible. I don't know anything about the capabilities of Flash to access local storage of any, so apologies if this is a stupid question - especially, I wonder about the permissions of the Flash and 'sandbox', as well as its ability to access the local file system or storage areas for sandbox type cache.
My second question is: If it's possible, it's something easily feasible that a mid-level developer could implement, or it would usually be something complicated, requiring a more experienced and skilled developer?
I don't know if it's important, but in my limited experiences, I checked that Flash do programs have access to the network (via the) regardless of the security setting "for local files only" vs "in network". However, I have not tested the access to local files (and also I do not know if the Flash has a special place for cached data or if one would use the local file system or what--that would be up to the programmer I guess).
Thank you!
It is feasible (although the user will be aware of and participate in the cross-domain download) and you encounter a problem with this file size because flash player takes officially supported up to 100 MB file sizes.
-
Data member $System.logoff
I need to use this data member to order the closure of current user session after a set time.
In aid of lookout 6.5 this member is set to write, but in the object browser, there is no way to access it to logoff set condition.
Is an error in the help file or there is a way to get there?
Greetings
Mario Fanelli
EL. P.R.IND Srl.
The problem is the $System Group. We decided to add to the $system, but all members of data in $System is only writable and may not have the connection "Edit." What you can do is to make a right click on it and drag the Panel to create a button or switch. Or you can create a button and add the $System.logoff to its remote source.
The original purpose of the datamember is for the user touchscreen who feel perhaps difficult to click on the small menu. If you want to programmatically control the logoff data member, you can create a push button and connect the remote source of logoff and then plug a timer to the button by the link "Edit".
-
I bought the connection cable to connect my laptop to the TV.
The laptop does not seem to recognize the connection.
I passed the appearance and settings and checked the settings for a remote source.
Someone suggested using the keys Fn and F7, without success.
Solution?
Ok... So it's the previous generation of series dv7, so you will need to use the combination of the F4 key to transfer the image onto the TV fn +... In the case that is not the case, I would say install driver from here and check graphics card...
Maybe you are looking for
-
Hello There is a 256 GB SSD in laptop Tecra R840-116. I would like to know the manufacturer of this SSD. Anyone know which Type of SSD Toshiba uses in its Tecra laptops? Thank youFlo
-
am new mac, can someone please explain to me why my computer says software update is currently using IOS X EL Captain 10.11.2 .and watch update for IOS X EL Captain 10.11.3. and whenever I try to put up-to-date will take care when asking me to resta
-
Slots on the sides of the Tablet
There are two slots on the sides of the shelf about 2 "high. Any ideas what they are for?
-
Stop the system with 06000008e - ati3duag.dll
I reformatted my C drive, install drivers and most of my programs. After a few days to rebuild the computer system started stopping itself. This continues to happen after 5 minutes. You will understand that I had thought that the reconstruction wo
-
The graphics driver update failed: 'WindowsUpdate_800705B4""WindowsUpdate_dt000"
A long download and install driver for Nvidia ended with the message of this failure. What should I do?