Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
Is there any straight-forward way to make an Android app that streams an online radio station? This radio station will be built by my company, so there exists no API or anything at the moment. Ideally I am looking to make an Android service so that users can listen to the radio while the application is running in the background. Thanks!
The question you asked leads to a broad answer. However here goes some tips for you.
For a streaming radio station you can create a steaming server or buy streaming hosting. There are some free software's available that can be installed in your server and use to produce audio streaming from tracks/audio input.
For free streaming software you can try,
http://www.shoutcast.com/BroadcastNow
http://icecast.org/
If you want to buy a streaming hosting service with pre-installed software like SHOUTcast try this,
http://www.shoutcheap.com/
Once you buy or host a radio station, you can connect to that station using a http://ip_address:port_number using Android MediaPlayer.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I am developing an android real time multiplayer quiz game. For multiplayer support i have used Google play games service. I am following the Button Clickers 2000 tutorial.I have retrieved the Questions and answers via Asynctask from the online server. Now when multiplayer game starts both players get different questions. But in real time i need to show the same questions to both players when they select multiplayer option.How can i achieve this? any kind of help would be appreciated
Try different options such as sorting participants ID then alphabetically selects the first one and select it as a host who will create quiz questions. You can also look at [1]: How to decide who is the first player when user plays quick game?
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
How can I live stream the audio (RTP) of a phone's mic?
I want to serve my stream on my own IP. Like: rtp://my_sream_ip:8080 (by acting as a server).
Actually, I think the possible way is to:
First: Create a server and On click of a button, stream mic's audio to the created server.
Secondly:Then the audio that is being streamed on a url(e.g.: rtp://127.0.0.1:8080) should be streamed in such a way that another APP can live stream audio from that.(receive/play that stream)
I am very sorry for asking such a long question, but I am very much tired for 2 weeks searching everywhere.
Anyone who can provide any code samples/links will be thanked very much!
Its possible but you should have your own AudioStream; to understand it please refer https://audioprograming.wordpress.com/2012/03/03/android-audio-streaming-with-opensl-es-and-the-ndk/
Then you can stream live audio via HTTP, web service etc.
Please inform me about phases.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I want to create Android app, that will enable users to stream in real time audio and video from their phone to specified server. In addition, that server should save such recording to some file, to view it latter, but now it's not so important.
My question is: are there any simple or well documented ways of streaming video to remote server (not via wi-fi, I guess it can be important info)
I'm not sure how well Android handles WebRTC currently but I recommend you check it out! It uses Web-Protocols alongside Javascript/HTML5 components to stream-video/audio in real-time via the web-browser. I use it in 2 of my projects for similar applications. The only thing that differentiates is that you are wanting to store the video on your server.I'm guessing would also be possible but I haven't tried it! You can find all the documentation here.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
This is most likely going to get downvoted into oblivion but I seriously cannot find an answer and I don't know where to begin...
I have just finished developing a chess app but its purely offline, ie, you can only play with some one sitting right next to you.
I want to make this app online, as in, I can connect to my wifi, click match me with an opponent. And start a game with some else on my app?
i know Some will downvote this question But
Follow these links
1.Android multiplayer
2.Tick tak two multiplayer
3. Multiple player Andengine
4.How to make multi player
or check this
hope this will help you..
Start with Sockets and Client/Server models.
What you basically need is a way to build a data connection between your players. Lets say I am Player A and I open a chess-server-socket on my phone and want you to join it. Problem here would be, that I as a default user lack a way to tell you my nonstatic IP address to connect to. So I need you as a developer to provide a blackbox that does all this for us.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
The simple question is: can we use audio streaming radio URLs (from the radio sites or shoutcast links or similar) to develop a little radio stream commercial application (iPhone or Android) ? Thank you!
First contact the radio station office, by phone or email an obtain a written "OK" from they.
Implementation:
For android is no problem.
For iOS : at the Apple review you have to explain why is this more than a simple URL open, via browser. So you should add some platform feaures to be accepted.
Contacting they is not only for law, but they (should) know about you and maybe they will update they site with 2 link: download from Google Play or AppStore ( those 2 links)
If they know it is 15000 device is listening they, maybe they will upgrade the hardware too, bandwidth too.
I hope it helps.