Currently I working on radio application for Android platform. Everything is working correctly but on Android 2.3+ I cannot play rtsp stream.
I've found that theres is a bug in Android 2.3+ with that: http://code.google.com/p/android/issues/detail?id=13715
But I need to play this file. Is there any chance to make it work? Maybe it's possible to save some part of stream in temp file and pass this file to mediaplayer?
Please help!
You can implement / port gStreamer in JNI layer. And then control it via JNI.
You can find information about Android+gStreamer in Google.
I have edited this project https://github.com/spex66/RTSP-Camera-for-Android/
And fully implemented the rtsp client to work with remote servers.
You can find my code here http://www.4shared.com/rar/cm2e1ZML/RtspCamera.html
Looks like Android 2.3 requires RTSP server to listen on default port - 554.
Related
enter image description here
Is it possible to turn on off (hide) the samsung secure folder through code in android java? Is there any Api or other way to do this function from another app?
I want to create an android app that connects to internet and it has a simple socket.io that gets the turn on / off (hide/unhide) command from server and hides or unhides the devices secure folder.
is it possible?
thanks.
Samsung secure folder is a proprietary feature from Samsung OEM. They do not provide any api to any third party application to do any changes to this or any of there features. Any hack that you may devise would be temporary and futile as they are quite active in terminating such attempts.
I've been thinking about implementing of Google Play licence check on my Java server. Is that even possible? I haven't been able to find anything on this matter. I know Android LVL is written in Java, but I'm not sure if it can run outside of dalvik machine. Is there a posibillty of checking Google account name or some kind of device ID against Google Play to check whether an app has been bought in a Java server application?
The answer above is simply verifying response data (returned by google LVL on android device) on app server.
I think the question is asking if it's possible to call some google web API to do Google Play license check on its app server. But it seems like google doesn't open the web API interface to its licensing server, all LVL calls need to be done using its google play service framework on android device.
Yes it's possible, the java sources are out there and could be downloaded (and afaik, the jar is not dexed until you compile your application) - see some kind of manual over there at developers.android.com to read about how to get the sources
I've heard about a PHP project trying to attempt it, but using java should be no problem at all - you do the same things on the server, the manuals state for the client - and let the client sends the encrypted response from the market directly to the server via SSL (e.g. byte[] post)
You should get a UID from ResponseData.userId
Read some more in this blog post and more info and links in another SO answer
I want to develop an 2-way audio apps on Android using Axis 243-SA IPCam. I tried to open an output stream (using Java) to feed the audio data in (via "transmit.cgi") but just all rejected (both on Windows desktop or android). I am not sure if the device works with the feature or not. Is there anybody that once make the feature work? What is the setting required (I enabled the full-duplex mode). Or is there any prerequisites (e.g. login/connection established) for the feature? Thanks......
Best regards,
Steve
i have an axis cam and i use the vapix library to send audio in c#. if you want send me your code. I will test on my cam. Regards
I want to write an Android remote to PowerPoint. It means we can control the slides by using phone.
Where can I start from? Give me some hints please. I've just read the Android basics.
I think RemoteDroid will work pretty well for this purpose and it's a fairly complicated job to replicate.
http://remotedroid.net/
what I did was:
I use a .NET #C Client on the Windows Side and
A Java Servlet and XMLRPC Web App running on a Tomcat ("in the middle").
And of course a Android Client as the controler
My C# Client creates a persistent HTTP Connection to a Servlet. And the Android App is sending short HTTP GET Requests to the TomCat, stuff like goto3 or next (the request has also a kind of a Presentation ID as parameter). The Comands from the Android Device are dispatched to the previously opened Persistent HTTP Connection from the .NET Client.
In The .NET Client I use a local installed PowerPoint as an ActiveX/OLE Control. You can do pretty much everything programatically in over c# that is possible to do "by hand". Open a .ppt(x), start the SlideShow, control the Slideshow and of course it is also possible to edit the slides content. You can find a lot of examples by googling for Microsoft.Office.Interop.PowerPoint
I pair the .NET Client with the Android Phone by using a Generated QR Code. That QR Code I show in a generated PowerPoint Slide. All Work around the QR Code (C# and Android) is done by using code from the ZXing (Zebra Crossing) Project.
You can try it out, Instructions and Downloads are here. The App is called FonPrompt and can be found in Google Play.
RED 5 video server on Android mobile phone... Is there any Open Source port project? So like simple opensource live Camera Video \ Audio encoding to FLV... I need such Opensource project to create Android live video streaming client for my server (I want to encode video on clients into FLV)
I really can see why you would want to run Red5 on Android. I am a core developer for Red5 and I can tell you this would probably be very difficult to accomplish, I suggest that if you want an flash media server on your device that you go the native route and start with something like crtmpserver ( http://www.rtmpd.com/ ) or mammoth ( http://mammothserver.org/ ).
crtmpserver is 100% functional on android with all its features:
RTMP and friends (RTMPE, RTMPT, RTMPTE, RTMPS)
LiveFLV
able to ingest RTSP and spit out RTMP (alpha stage, wait for a few days, because I'm in my vacation)
able to stream RTMP streams over RTSP (acts like a RTSP server)
HIGHLY customizable. You can add new protocols in no-time
RTMFP is under development :)
Cheers,
Andrei