Android :: Droid GStreamer Fails To Stream Http Url / What To Do?

Nov 16, 2010

I am trying to build a music app on a android device with GStreamer ported on it. But when I try mp3 url streaming on http, it failed to handle stream (however, it works perfectly fine on Android devices with base Media Framework, OPENCore). So I wanted to know whether GStreamer supports http url streaming, or is there any other way of doing it.

Android :: Droid GStreamer fails to stream http url / What to do?


Android :: Youtube Fails To Stream Video

Jun 29, 2010

playing youtube videos in android. I have tried the RTSP but it fails to stream the video.

View 2 Replies View Related

Android :: CTS Fails For Java Output Stream Writer Test

Aug 24, 2009

Please give me a clue, to pass CTS. I'm try to do CTS test. The Android 1.5 r3 which I get from Android Open Source fails CTS. Mean while, if I download Android 1.5 r3 and run CTS test for emulator it's PASS. the module fail CTS is: java.io.OutputStreamWriterTest I run test with follow string: start --plan Java -t tests.api.java.io.OutputStreamWriterTest#test_write$C I found that java.io.OutputStreamWriterTest class belongs to core.jar I compared sizes of core.jar build by me and build by Google, and it's different for 362 bytes. I'm completely frustrated. What's I'm doing wrong! For building we use: Java jdk: 1.5.0_16 Ubuntu version: 8.04 All others libs installed as mentioned on the http://source.android.com/download. Building by command: make or make sdk Error log:
<FailedScene message="junit.framework.AssertionFailedError: Error when reading bytes in UTF-8 expected:"8916"; but was:"8907"; at tests.api.java.io.OutputStreamWriterTest.test_write$C (OutputStreamWriterTest.java:470)"> <Stack Trace>at tests.api.java.io.OutputStreamWriterTest.test_write$C (OutputStreamWriterTest.java:470) at java.lang.reflect.Method.invokeNative(Native Method) at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:164) at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:151) at android.test.InstrumentationTestRunner.onStart (InstrumentationTestRunner.java:418) at android.app.Instrumentation$InstrumentationThread.run (Instrumentation.java:1520) at tests.api.java.io.OutputStreamWriterTest.test_write$C (OutputStreamWriterTest.java:470) at java.lang.reflect.Method.invokeNative(Native Method) at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:164) at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:151) at android.test.InstrumentationTestRunner.onStart (InstrumentationTestRunner.java:418) at android.app.Instrumentation$InstrumentationThread.run (Instrumentation.java:1520) </Stack Trace>

View 3 Replies View Related

Android :: Skia Decoder Fails To Decode Remote Stream / What To Do?

May 7, 2010

I am trying to open a remote Stream of a JPEG image and convert it into a Bitmap object code...
The decoder returns null and in the logs I get the following message:

DEBUG/skia(xxxx): --- decoder->decode returned false

Note:
1. the content length is non-zero and content type is image/jpeg
2. When I open the URL in browser I can see the image.

What is that I am missing here?

View 1 Replies View Related

Android :: Resetting A HTTP Input Stream?

Jan 9, 2010

I am getting the input of a web page using Input Stream in = httpConnection.getInputStream(); I then use the XmlPullParser to check if an error has occurred. If no error has occurred, I then want to reset the Input Stream back to the beginning so that I can parse it through another function I have created. I tried in.reset(); but this does not work. Is this possible?

View 4 Replies View Related

Android :: Retrieving XML / Stream From HTTP (Parsing XML)

May 4, 2010

What are the best practices parsing XML from an HTTP resource in Android? I've been using HttpURLConnection to retrieve an InputStream, wrapping it with a BufferedInputStream, and then using SAX to parse the buffered stream. For the most part it works, though I do receive error reports of SocketTimeoutException: The operation timed out or general parsing error. I believe it's due to the InputStream. Would using HttpClient instead of HttpURLConnection help? If yes, why? Should the stream be output to a file, having the file parsed instead of the stream?

View 1 Replies View Related

Android : MediaPlayer Seeking Back To Stream From An Http Url

Jan 29, 2009

I've been using androids MediaPlayer to stream from an http url and have a question about seeking. Currently, our urls expire after they have been used once or a certain time out has expired to dissuade scraping content. Now, this obviously makes progressive streaming past the buffer impossible with the exact same url as you need to open a new http connection with the same mangled key, which we intentionally don't allow.

However, MediaPlayer seems to do this when seeking before the current position (i.e. seeking from 1:00 in the audio to 0:30). As the file has already been downloaded up to the current position I'm confused as to why MediaPlayer is still trying to initate a new http connection in this case? The only thing I can think of is that MediaPlayer is getting rid of audio its already played up to the current position, and hence needs to restart the connection if you try to seek back on the stream. Is this correct, or is there something else going on?

View 2 Replies View Related

Android :: Broken Pipe Exception When Tried To Stream Mp3 Stream From Local Server To Android Mediaplayer

Oct 27, 2010

I am trying to stream mp3 stream from my local http server indeed hosted on my phone to android media player.When local server gets the new socket , it starts writing some http headers followed by mp3 stream. but mediaplayer socket is throwing "Broken pipe" exception.Wat may be the issue causing this.

View 1 Replies View Related

Android :: Droid Application Fails And Stops After Clicking A Button / What To Do?

Nov 24, 2010

I started a small android application to learn. I placed an input text and button on the screen. That shows on the emulator. After i press the button(which has an onClickListener) the application cracks and tells me on the screen of the emulator : "The application... has stopped unexpectably.Try again" and i have a "Force close", which of course closes the application.
I cleaned and rebuild the project a lot of times. i have no errors shown.(using eclipse)
this is the layout/main.xml code...

View 2 Replies View Related

Motorola Droid X :: 2.2 Fails To Install

Sep 22, 2010

Did a factory reset. Unrated did not remove Ny bloatware juat rooted to use wifi tether. Now the ota update keeps failing. What is going on?

View 45 Replies View Related

Android :: Locate A File In Http://droid.git.kernel.org?

Dec 26, 2009

I know I can access android source code from http://android.git.kernel.org/, but it's hard to select the right git repo if I only know the package and the name of an android class.

Isn't there a way to locate a file in http://android.git.kernel.org/?

View 2 Replies View Related

Android :: Use Basic HTTP Authentication With Droid MediaPlayer?

Aug 13, 2009

I cant find a way to use an url that requires basic auth when im using code...

Anyone that got any ideas?

View 3 Replies View Related

Android :: Make An Http Request Using Cookies On Droid?

Mar 24, 2009

I'd like to make an http request to a remote server while properly handling cookies (eg. storing cookies sent by the server, and sending those cookies when I make subsequent requests). It'd be nice to preserve any and all cookies, but really the only one I care about is the session cookie.

With java.net, it appears that the preferred way to do this is using java.net.CookieHandler (abstract base class) and java.net.CookieManager (concrete implementation). Android has java.net.CookieHandler, but it does not seem to have java.net.CookieManager.

I could code it all by hand by inspecting http headers, but it seems like there must be an easier way.

What is the proper way to make http requests on Android while preserving cookies?

View 3 Replies View Related

Android : Debug HTTP Response With Droid Emulator?

Aug 20, 2010

I would like to know if there is anyway to debug the HTTP response with the android emulator. my logs show that the response is not arriving complete to the application and i would like to know if it is the server that does not send the complete response or if my application is not processing the response completely.

I tried hooking up Fiddler and Blurp proxy, it actually works with Blurp proxy but only for HTTP and as you may guess i need it also for HTTPS

View 2 Replies View Related

Android : Change One's App Listing On Http://market.droid.com?

Nov 20, 2009

Does anyone know how to change one's app listing on http://market.android.com?

We've updated our Android Market listing via http://market.android.com/publish several times over the last 13 months, putting new screenshots up on multiple occasions and switching categories a long time ago.

Yet the listing at http://market.android.com/free.html#[AppName] is still the same as it was over a year ago when it launched; very old screenshots and the outdated category...

View 2 Replies View Related

Motorola Droid :: MMS Picture Messaging Fails

Nov 16, 2009

I'm having issues sending picture messages using the messaging app. I get an error saying that I typed in an invalid address. I think that this is because its not resizing the images that I try to send.... When i use Handcent all works like it is supposed to but not when I use the default messaging application.

View 5 Replies View Related

Motorola Droid X :: Gmail Fails To Sync After 2.2 / Fix It?

Sep 22, 2010

Ok. I followed all the correct guides and updated my phone to the 2.2hack. After initial startup and re install of boot strap my gmail will not sync. It has been stuck at "your email will appear shortly" for an hour I have a back up recovery of 2.1 but i really want to run 2.2 without getting the OTA.

View 4 Replies View Related

Android :: Send HTTP Basic Authentication Headers In Droid?

Nov 22, 2010

I am not sure how to send HTTP Auth headers.

I have the following HttpClient to get requests, but not sure how I can send requests? code...

View 2 Replies View Related

Android :: Stream TV From PC To Droid

Jun 19, 2010

I am trying to find a way to use a TV tuner card to get TV to my PC and then stream the TV to my Droid. I am basically trying to set up a poor man's Slingbox but I also want to avoid of taking control of a TV when I want to change channels.

View 1 Replies View Related

Motorola Droid :: Connecting Wifi - Scans And Then Fails

Jan 20, 2010

Anyone else's droid just not do anything after selecting "connect" in the wireless settings screen? mine just scans and scans and then fails.

View 5 Replies View Related

Motorola Droid :: Updated 2.01 Now Verizon Sync Fails

Dec 9, 2009

Anyone else having this problem? I force updated to 2.01 and all is well except for my Verizon.net email account wont sync. In settings/accounts.sync I get a sync error message under my Verizon account and a red sync circle. I get an error message at the bottom.of the screen saying- Sync is currently experiencing problems. It will be back shortly. My Gmail account shows no error. I have had this error since updating to 2.01. Previously my Verizon account had no sync errors.Anybody else getting this error?

View 12 Replies View Related

Android : Does Droid Have APIs For HTTP Progressive Download For Media Files?

Aug 27, 2009

Does Android have APIs for HTTP progressive download for media files?

View 2 Replies View Related

Motorola Droid :: Instant Root - Fails To Gain Access (2.0.1)

Feb 7, 2010

I am a new Motorola Droid user. My phone came with 2.0.1 installed. I installed Instant Root 1.04 and attempted to run it but got a message "unble to gain access". I started down this road because I wanted to backup my phone so I could do a hard reset. So installed "Titanium Backup". It wouldn't run because my rom wasnt rooted. So i have spend 4 hours researching and each item i find leads me to another issue or program to install. Most everything seems to involve rooting. One question I have is if there is a difference between 2.0.1 preinstalled an 2.0.1 ota?

For background I wanted to reset the phone because none of the 3rd party contact or phone dialing packages will read the native phone list or contacts. I owned a Omnia i910 and did a considerable amount of customization on it to I am reasonably familiar with digging around in the guts for a general user.

View 2 Replies View Related

Android :: Some Files Won't Stream From Lighttpd To Droid

Dec 22, 2009

We are running into some odd issues with streaming certain files in our app. After lots and lots of testing we've narrowed it down to what seems like some sort of issue between lighttpd and Droid, and it's not just our app but the built in player as well.

If you point the Droid browser to http://stream29l.grooveshark.com/collinSong.mp3 it does not work. The same file hosted on Apache at http://staging.api.grooveshark.com/collinSong.mp3 streams perfectly. The files are identical. Both URLs work on other phones running 1.5 and 1.6, and on the emulator running 2.0.1.

The lighttpd URL fails whether playing over wifi or over 3G.

My guess is that there's something funky going on at the network level that Droid is not tolerant of, but I'm at the end of what I can debug. Any ideas?

UPDATE: I installed lighttpd on my laptop running CentOS and set it up to serve those same files (sorry, not accessible to the outside world) and the Droid can serve them fine. It's got to be a specific configuration issue with our server, or a difference in lighttpd versions. Right now my laptop is running 1.4.22 and our production server is running 1.5.0. Our production server also has the following configs set that gave me problems setting on my laptop (note: I may be missing modules, etc):

CODE:..............

the server also has these additional modules installed:

CODE:...............

I'm going to try getting modules and configs to match 100% and see if that reproduces the problem tomorrow. If not, I'll try upgrading my laptop to 1.5.0 and see if that does it.

In the meantime, does anyone know of issues related to the above configs?

UPDATE 2:
I upgraded to 1.5.0 on my laptop, streaming collinSong.mp3 still worked.

Adding: server.network-backend = "gthread-aio" did not break streaming.

However this line did: server.stat-cache-engine = "fam"

Commenting out the above line makes streaming work from my laptop, and having it enabled makes it not work. I actually got our admin to remove that line from the config and restart lighty (he said we didn't need that setting anyway), but the problem persists.

So next I tried leaving stat-cache-engine commented out on my laptop and adding these lines:

CODE:...........

Once again streaming on my laptop broke after enabling these, and works when I turn them off. Unfortunately, these are apparently needed for the threading model we are using on the server, so I can't experiment with turning them off in production. I don't know if this gives any sort of clues to anyone else, but it's all I have.

View 4 Replies View Related

Android :: Example To Stream Camera To A Server On Droid?

Jun 15, 2010

I find plenty of examples of downstreaming a video from a server to an android, but I actually want to stream live images from my droid to a server.

View 1 Replies View Related

Motorola Droid :: Street View For Google Maps Install Fails

Sep 24, 2010

I am running UD8.0 and chevys 1.0ulow kernel first of all...for some reason this will download but the install fails...anyone else having this trouble?

View 18 Replies View Related

Android :: Stream Video From IPhone - Droid To RTMP?

Jul 31, 2010

Is there any way to Stream video From iPhone Or Android to RTMP Server using Red5??
i searched over internet and there is only 2 application that mange to do this successfully
(UStream , Qik)
the problem they closed source So if anyone could help me find some code snippets that make this possible ??

View 1 Replies View Related

Android :: Helix Server Work With Droid App / Stream It?

Sep 15, 2010

How does Helix Server work with android application? In android developers site i found that we can assign the url to MediaPlayer to stream the audio/video. But there is no specification about buffer size.. do i need to do any more coding on server side or in android application to get the streaming work for a specific buffer rate?

View 1 Replies View Related

Android :: Get Volume Of Audio Stream Coming In Through Droid Microphone?

Oct 13, 2010

How can I get the volume of the audio stream coming in through the android microphone?

View 2 Replies View Related

Android :: Possible To Display Video Information From An Rtsp Stream In Droid App UI?

Mar 23, 2010

I have managed to get a working video player that can stream rtsp links, however m not sure how to display the videos current time position in the UI, i have used the getDuration and getCurrentPosition calls, stored this information in a string and tried to display it in the UI but it doesn't seem to work code...

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved