How to use Android to receive on certain radio frequency - java

Is it possible to write an Android Application to be used on an Android OS Mobile Phone that can RECEIVE (not worried about transmitting) on a frequency between 120-130 MHz range? I've seen an option with an Arduino Board, and also saw something about using the NDK. Would I have to be using a language like C for lower level hardware programming to integrate with the Java parts of the Android Mobile Application? I would prefer to just use the hardware on board with most Smart Phones, specifically a Motorola Droid Bionic.

Thanks! I just finished digging more. The receiver on most phones, including the Droid 3 and Droid Bionic don't receive on a higher frequency than 108 MHz. I also ended up wiki-ing the software-defined radio deal. Very cool stuff that will hopefully end up coming to our mobile phone technology. I got an FM tuner at phandroid.com/2011/09/12/… . That's as good as you can get apparently :P (You CANNOT choose to recieve on a specific radio frequency on an android phone)

Related

Using smartphone's TV antenna as an antenna for sending and receiving RF signals

I saw a video on youtube talking about a project to see people through the wall in this website with MIT references and videos and I thought it would be interesting if I could make an android app on my phone. My cell phone is the LG L Bello which has an Analog TV antenna and I think it increases my chances of it working or not? Do I need to open my phone to apply changes for this to work? I want to know how I do this, or how I find someone/forum/tutorials that can help me with this task or just start.
Similar question
Things I already know about this:
I know that I probably have to root the phone.
In other posts, I realized that I have to recompile the kernel and write a new Bluetooth driver and firmware for your Bluetooth module,
How do I do this (Posts / Tutorials)? and then how do I use this in my android app?

Android flash vs Java

I've been thinkin about games on android and was thinking - isn't it EASIER to make a game in flash than in android using Java with android SDK ? I've only experience with Flash/AS3 and it's quite easy to create user interface, animations, layout and to write scripts.
As of Flash CS3 there are motion detection objects, so we can create really interactive games.
However I've not seen any flash game related for a phone( I mean with orientation and so ). Is there something I am missing like flash too slow on a android enabled phone?
This applies to applications too. I would like to hear opinions about Flash vs Android :)
you can create game in flash and adobe air will convert it in apk. adobeAir is version where you can create any game and just 2 or 3 step that convert it in apk.so you can publish it or play it in your android phone
Flash is not supported on Android 2.1 and lower, and some manufacturers no longer provide software updates for their older devices. I think Flash will also probably be slower (which may not be an issue if your game isn't very computation/graphics heavy) and consume more battery. It also doesn't take advantage of multi-core processors right now, but that may change in the future.
On the other hand, if you write your game in Java for Android, you will be limited to one platform.
As a compromise, you could try something like Haxe, which allows you to compile your code into flash, Java and C++, among others.

Using a rotation vector in earlier Android systems

Hey, for an application I am writing I need to use the data which is given in Sensor.TYPE_ROTATION_VECTOR. The bad news are that I program, among others, to my G1 device, which runs Android 1.6, i.e. API Level 4, and not 9 as needed. Nevertheless, I am pretty positive that my phone does have a sort of gyroscope, which means it should be possible for me to get the exact orientation of the phone. So, the question is, how do I do it?
Thank you in advance.
I don't think that the G1 has a gyroscope - it just has the basic accelerometers. Here's an interesting post about how to program to use accelerometers when they are available and not crash when they aren't.
[Update]
If your phone has a gyroscope, you will require Android 2.3 (and above) on the phone to get access to it.

Good way to start making own Android based Media Center

i heard the rumors about google tv and stuff, but after falling in love
with android and the sdk i tought "why not to have android on my tv".
Some days ago I was looking for hardware for my mini-pc media center computer.
I think it is possible and i think is a good idea too - using android on
custom media center computer, but the question is - how? What type
of hardware i need to make it real. Connecting Htc desire HD to TV
is not the solution :-)
Your first bet it to see if there is enough driver support on http://www.android-x86.org/ to do what you need with the hardware you have. If you get the basics, video, sound, network and some form of remote control through an IR driver you'll have to figure out what features you'll want in your Media Center application.
Off the top of my head, this is what I would do:
Get Android running on my box, ensuring it can connect to my network, display to my TV and play sounds.
Determine all the codecs I want to play, and play each of the movies on the machine to verify.
Work on UPnP support to stream movies/photos/music from home computer.
Wait patiently until Flash support works on Android-x86 to play hulu
I think you get the idea. This isn't a trivial task but would be really interesting to see if you can come up with something to rivals Boxee.

Audio Stream Transcoding with Android

Let me first state that I do not know Java. I'm a .NET developer with solid C# skills, but I'm actually attempting to learn Java and the Android SDK at the same time (I know it's probably not ideal, but oh well, I'm adventurous :))
That said, my end goal is to write a streaming media player for Android that can accept Windows Media streams. I'm okay with restricting myself to Android 2.0 and greater if I need to. My current device is a Motorola Droid running Android 2.0.1. There is one online radio service I listen to religiously on my PC that only offers Windows Media streaming, and I'd like to transcode the stream so my Android device can play it.
Is such a thing possible? If so, would it be feasible (i.e., would it be too CPU intensive and kill the battery)? Should I be looking into doing this with the NDK in native code instead of Java? I'm not opposed to writing some sort of service in between that runs on a desktop computer (even in C#), but ideally I'd like to explore purely device-based options first. Where should I start?
Thanks in advance for any insight you can provide!
Having a proxy on your PC that captures windows audio output, encodes it, and sends it to your phone is perfectly possible. I had something like that 8 years ago on a linux-based PDA (sharp zaurus). The trick is that you're not trying to decode or access the XM radio stream directly, you're simply capturing what is being sent to the speakers on your desktop and re-sending it. There will be a minor hit in audio quality due to the re-encode, but shouldn't be too bad.
I've done cloud-to-phone transcoding using an alpha version of Android Cloud Services. The transcoding is transparently done on a server and the resulting stream is streamed on the phone. Might worth having a look. http://positivelydisruptive.blogspot.com/2010/08/streaming-m4a-files-using-android-cloud.html

Categories

Resources