[Q] music playlist/ dropbox for andriod - EVO 4G Q&A, Help & Troubleshooting

I am using Dropbox as my music storage for Evo, but it only plays one song at a time; how do you create a music playlist/is it possible? I embeded this code but it's not working:
<?xml version="1.0" encoding="UTF-8"?>
<playlist version="0" xmlns = "http://xspf.org/ns/0/">
<trackList>
<track>
<location>http://paste url of your mp3</location>
<annotation>type in song title</annotation>
</track>
</trackList>
</playlist>
and
<html>
<object width="804" height="17" data="http://paste url of player?playlist_url=http://paste url of playlist&autoresume=1&autoplay=1&repeat_playlist=1" type="application/x-shockwave-flash">
<param name="movie" value="paste url of player?http://paste url of playlist&autoresume=1&autoplay=1&repeat_playlist=1" />
</object>
</html>
Thanks!

Related

MMS wapprovisioning HTC Touch

Hi all,
I'm getting crazy in order to receive the MMS settings via OTA through nowsms.
At the beginning the phone didn't receive any OTA message but changing the security policy now I can install something like wifi...
what I have changed in the Registry is the following values:
<wap-provisioningdoc>
<!--337.01_SecurityPolicy-->
<characteristic type="SecurityPolicy">
<parm name="4109" value="64" />
<parm name="4141" value="4096" />
<parm name="4142" value="4096" />
<parm name="4119" value="180" />
<parm name="4108" value="0" />
<parm name="4110" value="64" />
<parm name="4111" value="3732" />
<parm name="4113" value="1" />
<parm name="4129" value="64" />
<parm name="4132" value="0" />
</characteristic>
</wap-provisioningdoc>
Do you know if I have to change other values?
I'm sorry but I'm quite new in the Win Mobile world.
Thanx in advance//Stefano

Playlists and mp3 with special chars, how to?

Hi all,
I'm creating playlists with a prompt command (dir /b /on > playlist.m3u) in my computer, and then I transfer the playlist file to my Desire.
The thing is: some of my mp3 have special chars on the filename (e.g. (Beyoncé) Hallo.mp3). If I edit the playlist, I can see those files in it. I can also find and play those files normally in HTC player. But they aren't loaded in the playlist I have created in my computer, as it was supposed to be.
To put them into my playlist, I have to add them manually to the playlist in HTC player.
I have already tried changing the .m3u char encoding from ANSI to UTF-8 with no success.
How to create a playlist that actually includes and makes Desire plays mp3 that have special chars on their filenames?

Help Developers Please

i am trying to build a music player app that can play in any orientation (zune doesnt rotate !) my build is so basic and got few functions
i am completely new to building apps but i got this code from microsoft sdk and added the any orientation code from a website but cant find a code that makes the player reads the library also i wish any one help me or if anybody know how to make zune run in horizontal mode it will be great
AhmedtSadek said:
i am trying to build a music player app that can play in any orientation (zune doesnt rotate !) my build is so basic and got few functions
i am completely new to building apps but i got this code from microsoft sdk and added the any orientation code from a website but cant find a code that makes the player reads the library also i wish any one help me or if anybody know how to make zune run in horizontal mode it will be great
Click to expand...
Click to collapse
Not sure if you know how to make the app play music or not, but ask if you need help. For the orientation, in your XAML code, you are going to need the following to support landscape:
Code:
SupportedOrientations="PortraitOrLandscape"
That goes in your XAML page, above the '>' character near the top.
Additionally, this can be used to default it to portrait or landscape:
Code:
Orientation="Portrait"
or
Code:
Orientation="Landscape"
With that said, that doesn't mean it will look good. No offense Layout can be very tricky and in many cases additional code is needed to handle the orientation change. Although, if you use proper layout (in this case meaning horizontal/vertical alignment correctly and not relying too much on margins), then your app may end up working fine in both orientations. If you use Expression Blend, it makes it a lot easier to do this stuff if you go into the devices window.
i am asking for codes that make the app read my music library i already did what you said!
AhmedtSadek said:
i am asking for codes that make the app read my music library i already did what you said!
Click to expand...
Click to collapse
Okay, you are going to need a reference to the assembly 'Microsoft.Xna.Framework'.
Then add the using statement:
Code:
using Microsoft.Xna.Framework.Media;
Initialize your library:
Code:
MediaLibrary library = new MediaLibrary();
Then to play, for example, the first song in the library:
Code:
MediaPlayer.Play(library.Songs[0]);
Also, try getting albums (or genres, artists, etc.)
This shows how to play the first song from the 11 album:
Code:
Album album = library.Albums[10];
MediaPlayer.Play(album.Songs[0]);
Of course, I would recommend showing them in a listbox or something.

Local video files won't play in Cordova Android App

I'm building an app in Cordova where the first page of the app contains a video tag set to autoplay. I don't get any 404 errors loading the file... The file just won't play. The video is just black with a 0:00 time length that doesn't change.
The strange thing is I get two network requests in Chrome remote dev tools for the video file: the first shows a (success) status, and the second has a status of (cancelled). I've tried using two different URLs for the file:
file:///android_asset/www/video/nameofmyvideo.mp4 with the video file actually in /www/video/nameofmyvideo.mp4.
and
android.resource://mypackagename/raw/nameofmyvideo with the video file actually in /www/res/raw/nameofmyvideo and /platforms/android/res/raw/nameofmyvideo
I'm running the latest cordova (3.4.1-0.1.0) and testing on a kindle fire running CM-11 (4.4.2).
Here's the the markup I'm using:
HTML:
<video width="400px" height="300px" autoplay controls>
<source src="file:///android_asset/www/video/video-test.mp4" type="video/mp4">
</video>
OR
HTML:
<video width="400px" height="300px" autoplay controls>
<source src="android.resource://my.package.name/raw/videotest" type="video/mp4">
</video>
Is this an android pathing issue? The app runs fine as-is in iOS. I've also tried using webm, with no success.
Also it seems that the double network load issue (one success, one cancelled) happens regardless of whether the file can actually load. I loaded the same mp4 file over http hosted on my website and the video played fine (but still showed both requests).
Try using a relative path instead...
HTML:
<source src="video/video-test.mp4" type="video/mp4">
This is obviously assuming you're in the root folder - I'm guessing you're still in index.html in the www folder.
I dont think phonegap / browser can play mp4 files. Its a limitation of cross platform. Try flv format
Sent from my Nexus 4 using XDA Premium 4 mobile app
jaison thomas said:
I dont think phonegap / browser can play mp4 files. Its a limitation of cross platform. Try flv format
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
That's not correct - it's a regular html5 browser control, which is capable of playing mp4 videos.
.MP4 is supported, not .FLV.
http://developer.android.com/guide/appendix/media-formats.html
It looks like the Android Web view is blocking access to the video files, which this Cordova plugin fixes:
Http://github.com/jaeger25/Html5Video
This plugin is for Android only. You could probably make changes to the JavaScript to make it work on other platforms.
Sent from my SM-N900V using XDA Free mobile app
I experimented with that plugin and couldn't get it to work. Maybe reverting back to an older version of Cordova would work.
Sent from my SM-N900V using XDA Free mobile app
DieHappy said:
I experimented with that plugin and couldn't get it to work. Maybe reverting back to an older version of Cordova would work.
Sent from my SM-N900V using XDA Free mobile app
Click to expand...
Click to collapse
Did you get any further with this? I'm currently experiencing the same problem. All the possible solutions found online tell me to include the video files in the app's folder, but in my case the video's need to be downloaded afterwards so they can't be in the app's folder...
I have the same problem, even developing an Android cross walk application, the video Html5 tag only works fine with videos located in a http server, with local files includes in the application only works in full screen mode, otherwise only the audio is played, the video is showed as a black screen.
I think the issue is related to the Web browser of Android, I tested the application in the latest version of the chrome Mobile browser and the behaviour is exactly the same.
Did you find a solution for this issue?
Thanks a lot in advance.
Regards
David
Hi,
I've recently released an open source app that uses html5 video player and a mp4 video.
Check the app in store using the links at zland.io
After starting the app, close the dialog and click on the (?) question sign in the upper right corner, then click on "crosshair explained".
To see how its done clone github.com/zland/zland-help-overlay and check the file components/HelpOverlay.jsx
HTML:
<video controls style={videoStyle}>
<source src="assets/zland-help-overlay/videos/crosshair.mp4"
type='video/mp4;codecs="avc1.42E01E, mp4a.40.2"' />
</video>
The video is done with android built in video capturing and then edited with iMovie.
@ddiegomercado cordova recently introduced a Content-Security-Policy module. For development be sure to set it to:
HTML:
<meta http-equiv="Content-Security-Policy" content="">
in your index.html
This means the webview can load content from anywhere.
Also be sure to install cordova-plugin-whitelist and set this to your config.xml
HTML:
<!-- access origin -->
<plugin name="cordova-plugin-whitelist" version="1" />
<access origin="*" />
Thanks a lot, I will try

[Q] Add play music feature

I have a app i want to add play music option that users can play music in app.
Rock-star said:
I have a app i want to add play music option that users can play music in app.
Click to expand...
Click to collapse
Does your browser support HTML5 ?
If so, it's as simple as :
Code:
<audio controls>
<source src="vincent.mp3" type="audio/mpeg"/>
<source src="vincent.ogg" type="audio/ogg"/>
<object type="application/x-shockwave-flash" data="media/OriginalMusicPlayer.swf" width="225" height="86">
<param name="movie" value="media/OriginalMusicPlayer.swf"/>
<param name="FlashVars" value="mediaPath=vincent.mp3" />
</object>
</audio>

Categories

Resources