Originally Posted by TheLamma
Well it sounds like you're making some awesome progress. I eagerly await. [=
Sent from my Legend using XDA App
Now I'M stoked ! 5.5 days from old AI app to new Java app, with credit due to CodeAurora and a few lines of code credited to MIUI and/or CM
Most of that time was spent learning more about the Android SDK and learning the Aurora code.
Here's a "sneak peek" at version 2:
It's "hot off the presses", so who knows what strange bugs it might have on your phone. But it seems to be working nicely on mine.
It shouldn't need any of the previous files, but they shouldn't interfere. Due to the shared lineage with the CM app, it's possible there might be some conflict in naming or somesuch.
As before, it requires a working hcitool. No "daemon mode", but I'll be investigating the dbus APIs for direct bluetooth access. But hcitool works fine for now. It will create a file named "cmdout" in the /sdcard directory; this is used to read FM registers.
It needs SU (root) only to run the speaker/headset switching code, due to the bug in my older CM ROM.
You MUST switch bluetooth on manually before starting. When it starts, it should power up, go to speaker and tune to 98.1.
Note: The app has some code to handle muting during phone calls. I haven't tested to see if it works yet. If someone would like to test incoming/outgoing to see what happens, please let me know. I don't use this phone as a phone anymore, LOL.
For some reason, this app doesn't show up in the "recent applications" list. It can be returned to by (re)launching via home screen or whatever.
Click on "98.1" and get a dialog to enter a new frequency. Click to left/right and go down/up one channel. Long press on either to seek to next channel with an RSSI of 24 or greater.
Hardware volume control buttons should work. Turn up if you hear no sound. Hit speaker at lower left to mute, again to unmute. Power button should go off and on.
Find a favourite station and long press one of the 5 preset buttons to set etc.
Menu button gives some non-working options like scan. "Start recording" creates file(s) on the SD card, but I haven't seen if an actual recording can be made (it can't as of now I think). "Disable Speaker" switches audio to headset. "Enable Speaker" goes back to speaker.
Under "Settings", the mono/stereo switch should work. The "Regional Band" may partly work for other areas, but I have some code fixed to North America at the moment. Revert to factory defaults should work.
There should be multiple preset lists configurable but I haven't checked that much.
The display should reconfigure between landscape and portrait.
Please report back here...