How to access FM, GPS, and Camera on an android device using C, without going through NDK and java.
Related
I'm currently working on a project to extend the capabilities of Android HDMI sticks and Smart TV's, so they can use external sensors (accelerometer as a first trial case). The reasoning behind the project is that the bluetooth keyboards normally delivered with such HDMI Sticks or Smart TV's are really bad, probably because of the interference with your TV itself. Since most of us already have a smartphone or tablet at home, I thought why not lets use their sensors to control your TV.
I've got a first POC working nicely, using the accelerometerplay SDK sample, but all done in the Java part. So now I can use my tablet or smartphone to control the balls in the sample running on a Android HDMI Stick. Basicly what I did was split up the SDK sample in a controller and viewer part, where the controller is using the Android sensor framework to fetch accelero values off my smartphone and tranfer them over Wifi towards the viewer, which will calculate the ball's positions as original.
A disadvantage of this approach is that I had to change the code of the 'original' application that is normally using the accelero sensor, to pick up the sensor data send over wifi. I want to go one step further however and implement a truly remote accelero sensor, which is registered properly in Android's sensor framework. Hence I would be able to increase the (android market) capabilities of my Smart TV or HDMI stick drasticly.
Anyone has good reference documentation on how to implement your own sensor and register it truly in the Dalvik VM. I searched in NDK related documentation, but did not found the golden bullet so far. The following link is really the only thing I could find sofar: hxxp://processors.wiki.ti.com/index.php/Android_Sensor_PortingGuide
Any advice truly appreciated ,
Bart
Hi.
I'm starting with android development. I've developed a pair of apps for android devices.
Now I've got a new project where I have to develop a car media infotainment like enviroment based on android. To do this, I need to buy a development board which lets me program using the latest android versions and that mantains up to date. This hardware should contain LCD screen, bluetooth, USB ports, HDMI, etc...
What I really need is to find something that I could use to develop, and also as a final implementation for the real use.
Have suggested the BeagleBone Black. I find good for testing and programing, should do the work as a development board, but not as a final aplication to set it on a car.
Any suggestions?
I am just curious to know what benefit X86 support would have?
it says "cross-platform support on ARM, x86, and MIPS technology"
so does it mean that now it will be easy to install new android on my X86 laptop running core i3?
also i think that if android now natively supports X86 so it would be easy to make it an OS for desktop with some tweaking in UI element to make it keyboard and mouse friendly...(PS: i dont have much knowledge of software development)
i use windows mainly for playing AAA PC games(only thing android cant do for me),i wish android to one day support high end graphic cards like nvidia gtx 780 along with developers support for AAA games that would be a dream come true situation for me because then i could ditch costly windows altogether :laugh:
waqarakram0306 said:
I am just curious to know what benefit X86 support would have?
it says "cross-platform support on ARM, x86, and MIPS technology"
so does it mean that now it will be easy to install new android on my X86 laptop running core i3?
also i think that if android now natively supports X86 so it would be easy to make it an OS for desktop with some tweaking in UI element to make it keyboard and mouse friendly...(PS: i dont have much knowledge of software development)
i use windows mainly for playing AAA PC games(only thing android cant do for me),i wish android to one day support high end graphic cards like nvidia gtx 780 along with developers support for AAA games that would be a dream come true situation for me because then i could ditch costly windows altogether :laugh:
Click to expand...
Click to collapse
Well yeah it will improve the support. But it's already done. I mean, android as a pc os (without tweaking them ). Check this site
www.android-x86.org
The android l is just gonna improve this project and make him better. About tweaking theme, the best solution i can offer is to install xposed and xhalowindow (if its called that i cant remember) and install a launcher (right now there isn't a launcher that is look just like windows, so it's need to be developed, I think it is time to do so with the new 2014 google android tv, I mean to make and old pc a google android tv and make the best of the old device)
The android x86 work with usb input, any gpu, LAN, wifi, bluetooth, mouse, pad, keyboard, microphone, camera and multitouch and more
The only weaknesses is that a lot of apps that doesn't support x86 prossesor (only ARM prossesor) will bring force close. It doesn't mean that all the ARM apps, but a lot of them. Another weakness is that apps that doesn't support rotation, will rotate all the screen untill shutdown (unless you'll install an app that force landscape rotation everywhere)
For example the MY16ADA in most Honda products running Android 4.2.2? As a lot of users hack the box (Honda Hack) it would be a neat project but beyond my abilities. As Mirrorlink (host) is open source I was just curious. It allows phone mirroring and some cool functions that are locked out of Android Auto. Just wondering if any of the Devs had thought about this project. If this is the wrong venue/forum/group for this please accept my apologies.
J.
I'm trying to build a device that's going to be a large, unattended screen that will have an app that will be the main app running on this screen. I want the hardware to be small and inexpensive. What I think I need is a essentially a headless android tablet that I could use my own monitor with. I was thinking of developing this as an Android TV app and using an Android TV box or stick as the hardware. This won't have a touch screen, keyboard, or mouse. It will be all self running, or possible controlled by a mobile app or voice control. These are my requirements:
- Boots up right into the main app, but able to launch other TV apps from the main app.
- Able to interface with an add-on camera like the front facing camera on an Android device, which would be controlled by my app to record or just show video to the screen.
- Able to interface with different sensors such as ambient light sensor, motion sensor, IR, ect. (How would I do this? Over USB with an external microcontroller that connects to the sensors?)
I'm trying to find the best platform to develop this on. I know how to do it with a Windows machine, but don't have a ton of experience with Android. Would Android TV be a good platform or are there better options?