Android :: Streaming Sensor Data From Device To A Server
Feb 16, 2010
I would like to continuously send/stream sensor data (GPS, acceleration, etc.) from a device to a server. What would be the best technology to do this? Is it possible to use RTSP? What else would you recommend me to use?
View 3 Replies
Feb 18, 2010
My app needs to send some data to a server when the device is connected. I have been reading about native Android Broadcast actions. I was willing to find a way to use one as gmail does when the device connects to the Internet. (The "loading" icon on the top while it syncs mails) Is it ACTION_SYNC what I am looking for? If not, how does gmail knows when the device connects to internet?
View 1 Replies
View Related
Jan 16, 2010
I am developing an Android app that needs to communicate bi-directionally with a server. By that, I mean either the server or the device can send a message at any time, with an arbitrary amount of time in between messages. Sending data from the device to the server is a common and I think well understood task, but I'm not as sure what the best approach is to go in the opposite direction from the server to the device.
I think having the device periodically poll the server may be a bad idea due to latency and the drain on the battery, but I'd be willing to consider this option. My plan at the moment is to send text messages from the server via an email-to-SMS bridge, and to have my app run a service to receive and handle these messages.
The question I have is if there are any best practices for this scenario, and if using text messages has some downsides that I have failed to consider. For the sake of this question, I want to assume that users have an unlimited text data plan, so paying per text won't be an issue.
View 2 Replies
View Related
Nov 25, 2009
Is it possible to stream live video from android to a server? If yes, can somebody give me some hints in how to do it?
View 3 Replies
View Related
Mar 31, 2010
I've seen plenty of info about how to stream video from the server to an android device, but not much about the other way, ala Qik. Could someone point me in the right direction here, or give me some advice on how to approach this?
View 3 Replies
View Related
Nov 22, 2010
streaming live video from android camera to server. What is the best approach in acheiving this ? Is it possible to use MediaRecorder for streaming video over internet?
View 1 Replies
View Related
Jul 6, 2009
AudioRecord can record audio data in pcm format in realtime, but there is no audio-encoder who can encode pcm data to amr format. may be third-party java code can do this, but the performance may be very low.MediaRecorder just record audio data to disk. not realtime.It seems that this is a real miss-impossible?
View 2 Replies
View Related
Sep 14, 2010
since map overlay is not activity, how do i get the sensor data so that i can draw on the map overlay? like the direction arrow.
View 7 Replies
View Related
Jul 22, 2009
Am researching a problem with compass and sensor values returned by the phone. I found this thread: http://groups.google.com/group/android-developers/browse_thread/threa. Which seems related, but it's old so I'm starting a new one. I'm getting stuck values from both the compass and orientation sensors. It was fine yesterday, but today, I'm only getting values in a limited range (e.g. compass headings from 240 - 290), no matter how I orient the device. What's even more odd is that the radians returned from the call to Sensor Manager.get Orientation(), which returns radians, is giving consistently out of range values. Anyone see this same behavior, and if so, any fixes? Here's some sample sensor data. Format is heading, pitch, roll. The first set contains raw values, the second set contains values after I've applied the orientation matrix generated by the Sensor Manager. The third set contains values after I've smoothed the data with my own algorithm.
View 4 Replies
View Related
May 14, 2011
I have installed Flash Media Server 3.5 and Flash Media Live Encoder 3.1 on my PC. I want to stream live video from my PC to my Android device (android 2.3.4)
right now I can stream live video from my pc to another pc. for that I used flash player to run the live video streaming.
how to use these tools to stream live video from my pc to Android device. for example what is the encoding technique, what is the frame rate and so on.
View 2 Replies
View Related
Aug 2, 2010
Just joined the Android group. I'm having problems with the acceleration and orientation sensors.I would like to obtain sensor data (acceleration and orientation values) at regular intervals (10 milliseconds). However, the SensorEventListener doesn't allow you to do that. Does anyone have an idea of how to work around this issue? This is important as I need it to collect data for an app I'm working on.
View 2 Replies
View Related
Jun 3, 2010
Per the current implementation in Sensor Manager, the SensorThread is polling data per below code, final int sensor = sensors_data_poll(values, status, timestamp); it then checks the sensor type if it is registered and processes the data further. For an application which has registered for only one sensor, still to get that particular sensor data, SensorThread has to execute for atleast N-1 loop most of the time. Can anybody provide the insight as to, why SensorThread is waiting to check the sensor type to be returned by the HAL instead of sending sensor information which is currently registered by that application. Wouldn't that increase the performance?
View 2 Replies
View Related
Mar 9, 2010
I am working on a project using HTC magic which requires the data from the electronic compass, including both the accelerometer and magnetic sensor. But I find that there is a significant latency between the move of the phone and the trigger of the sensorChanged event. In other word, the acceleration and magnetic data obtained from sensor are updated about half of a second after my motion. And I have several questions about the problem as follow. Are the orientation data computed by the acceleration and magnetic data? Or are there a physical sensor for orientation? Does the latency result from the android API (using the event) or the physical limitation of the electronic compass? It is said that the model of the electronic compass is AK8976A from Asahi Kasei. Does anybody have the datasheet or know the frequency of the sampling? Any idea to improve the real-time experience?
View 1 Replies
View Related
Nov 9, 2010
I am developing an application that read data from sensors and write those data to an XML file when you press a key. i have 2 activity one for button and another is an Activity who implements sensorEventListener. the problem is my main activity is button and couldn't get data from event listener activity. i think the listener activity is not active but when i create an intent and start activity with that intent the program stop working. the button is able to create XML file solely.so how could i read sensor data from sensors,and how to send them to XML file when the button got clicks.
View 1 Replies
View Related
Jun 7, 2010
I'm using Android 2.1 on a HTC Nexus One. I want to collect sensor data while the device is turned off.
By using android.app.Service this works well while the app is in the background but stops working when the display is turned off by the hardware button.
Is there a possibility to collect sensor data while the display is turned off?
View 3 Replies
View Related
May 30, 2013
I am checking this out on behalf of a friend. He has a Samsung Galaxy Tab 2 tablet. He also has a Linux based server at home which he has his photos and films stored on. Is there a way for him to access these files from his tablet. Can he stream the films from the server to the tablet? Does he need to download an app for this?
View 1 Replies
View Related
Nov 24, 2010
I have written a TestSuite to find out how to calculate the rotation angles from the data you get in SensorEventListener.onSensorChanged(). I really hope you can complete my solution to help people who will have the same problems like me. Here is the code, i think you will understand it after reading it. Feel free to change it, the main idea was to implement several methods to send the orientation angles to the opengl view or any other target which would need it. method 1 to 4 are working, they are directly sending the rotationMatrix to the OpenGl view. method 6 works now too, but i have no explanation why the rotation has to be done y x z.. all other methods are not working or buggy and i hope someone knows to get them working. i think the best method would be method 5 if it would work, because it would be the easiest to understand but i'm not sure how efficient it is. the complete code isn't optimized so i recommend to not use it as it is in your project. Code...
View 1 Replies
View Related
Nov 14, 2009
i have a dlna iomega network server is there a apps that can stream movies and music onto my android phone?
View 3 Replies
View Related
Feb 8, 2010
I have a HTC Hero here, and when I tried to get the list of available sensors on the device by calling ((SensorManager) getSystemService (Context.SENSOR_SERVICE)) .getSensorList(Sensor.TYPE_ALL); I get only the following sensors: D/SensorManager( 6302): found sensor: BMA150 3-axis Accelerometer, handle=0 D/SensorManager( 6302): found sensor: AK8973 3-axis Magnetic field sensor, handle=1 D/SensorManager( 6302): found sensor: AK8973 Orientation sensor, handle=2 D/SensorManager( 6302): found sensor: AK8973 Temperature sensor, handle=3 According to the specs, there should be a light and a proximity sensor on the Hero, and I've seen it in action (the automatic screen brightness adjustment) - so at least the ambient light sensor is definitely there. My question is then, why doesn't the getSensorList return for me the light and the proximity sensors?
View 8 Replies
View Related
Nov 2, 2010
Does anyone know the difference between the orientation sensor and magnetic field sensor on Android?Since I've read that magnetometer is synonymous with digital compass I'm a little bit confused. What are they really?
View 1 Replies
View Related
Sep 24, 2010
I switched to a Droid X yesterday (and am loving it) from the original Motorola Droid with QWERTY. My original Droid had the 2.2 Froyo update with the Flash 10.1 and I could watch all the movies on Iphonemovies.net on it. I got my Droid X and the Froyo update was available with the flash player which I installed but now when I go to Iphonemovies.net it is telling me "Sorry, this video is not valid for streaming to this device." Anyone else come across this? Is this a format thing that needs to be set/changed on the actual Droid X device or is it a problem on the website end where the Droid is so new it's not recognizing it. And yes, I have Flashplayer on it now.
View 4 Replies
View Related
Jul 11, 2010
I 've set Wowza streaming server to stream mp4 videos to Android phones. Android phone can play the RTSP stream successfully but here It only plays audio of the file not the video.
View 1 Replies
View Related
Jun 21, 2010
I want to live stream video from android device. I found out that ff server (ffmpeg) can be compiled and run on android. Now i need to get video from camera in android device and get it to the fserver in real-time.
Any ideas?
View 1 Replies
View Related
Nov 4, 2013
Is it possible (in any way) to stream desktop PC to android device?I am talking 1080p with solid movie stream capabilities...I am aware of Splashtop but movies are not playing fluently via my wifi.
View 1 Replies
View Related
Oct 30, 2009
Or it's just some virtual sensor the uses the data provided by the accelerometer and the magnetic field sensor to calculate the orientation?
View 7 Replies
View Related
May 21, 2010
I want to stream audio directly from my mac via bluetooth to my nexus one. This might sound crazy, but I actually want to be able to control the audio from my mac. I just want to be able to connect an audio jack to my nexus one and let it stream the audio via bluetooth. Is there an app for that?
View 4 Replies
View Related
Jul 15, 2012
I'd like to install an Android device (tablet, smartphone, computer or whatever) into my car.
The purpose is to listen to internet radios and to be able to switch between those radios using my toyota car player which handles bluetooth/A2DP/avrcp .The app I would use is xiialive. This device would have his own sim card and should stay in the car. I don't want to plug the device each time I enter in my car, push any button or whatever. I would just like that the fact to put the key in my car would connect automatically to a webradio.
In fact I don't really need to see the screen, the device could stay hidden somewhere inside the car.Here are the features I would like :
- auto boot when I turn on the car, which means when the device receives power from the usb port (my car has an usb port)
- plug an external antenna to get a better reception while driving. I'm thinking of a small android computer with a 3G stick plugged in. I have a 3G stick with an external antenna slot. Or any smartphone with an external antenna slot, but I haven't found one so far.
- eventually auto power down when I turn off the car, but If the device shutdowns when the battery is empty, it could be ok too
View 1 Replies
View Related
Nov 18, 2009
Can some one point towards any documentation/resources/ threads that can explain how a new sensor support can be added in android sensor framework?
View 2 Replies
View Related
Mar 20, 2010
I am planning to design and write an application which displays all possible restaurants/malls etc around the mobile device.For this, do I send the GPS info to the server and let server do the processing and return the list of all possible restaurants/malls or let the mobile device itself process, find and list that. Please advise. I don't want the mobile device to get any slower.
View 4 Replies
View Related
Oct 1, 2012
I'm looking to run a VPN server on my Android device so that I can set up a virtual network adapter on my PC to connect to the same network as my Android's wifi. I've seen plenty of Android VPN clients, but no server software.
Is there any software out there to run a VPN server on an android device?
I've heard OpenSSH runs an L2/L3 VPN, but I everything I can find on getting OpenSSH running on Android is all about ftp, and they usually wind up running an alternative. Is there a release of OpenSSH I can use on android for the purpose stated?
View 3 Replies
View Related