[Q] FM Radio API or SDK? - EVO 4G Q&A, Help & Troubleshooting

I'm just starting to dive into App development for Android and one of the things high on my list to develop is an app to record FM radio. So far, I have not been successful in finding an API reference or SDK that allows me to interface with the FM radio. There is no mention of it in the Sprint Dev Guide for the EVO and a Google search hasn't gleaned much either. If anyone has or knows where I can find a good API reference or SDK for the BCM4329 chip that includes info about the FM radio, I'd greatly appreciate it.

I did a ton of searching on this. The only thing I ever found was in looking at the source code from the OS that was released by HTC. That st least showed the API and the example code for the FM radio app from HTC.
All that bring said, it really did not help me any since the sdk does not provide the api, I still could not code anything against what I found.
-frank
Sent from my PC36100 using XDA App

Thanks, that's kind of what I was afraid of... guess that explains why no one has released any alternative FM radio apps... i'll keep looking though...
Sent from my PC36100 using XDA App

Related

Android, Hero and audio caps

Could anyone who has expierence give any tips on writing for the audio / streaming system for Android. I am not tagetting any hw platform in particular but I would like to fasttrack my app to the market, it will be a free app initially as it will be ported from code already written.
If possible I want to do as much as possible on hw though from what I have read this may not be possible. Anything help would be very helpful, if not ill endeavour to update this thread with any info i pick up on the way.

Custom Camera Application

Hi, I'm new to mobile development but I'm trying to develop a custom camera application to pick up the tech. The mobile device I'm current using is the HTC HD2.
What I'm trying to do is to develop a custom camera application without launching the HTC camera interface. The samples that I've tried always launched the default HTC camera interface. I've been looking into several articles including the ones in codeprojects and msdn but most of them suggested using the managed code CameraCaptureDialog or the unmanaged SHCAMERACAPTURE. I've tried looking into the samples using both and they are not doing what I'm want.
The reason I'm trying to use the default manufacturer app is so I can add additional features such as laying different grid patterns on the screen as composition guide.
I appreciate any help or pointers on this. Thanks.
I too am very interested in a camera API for HTC.
The best example I found so far is:
http://alexmogurenko.com/blog/directshownetcf/
This works, and the examples are good, but it only gives you a very low resolution.
From what I gather, this is a problem with HTC not supplying the required drivers. I can't imagine why HTC would not give developers a good API for the full capabilities of the camera, as more devs using this API can only benefit HTC.
This seems like a very common need, I'd love to see a good solution.
a selfish move for HTC...i guess they think this way they can increase sales in their new product lineups....

[DEV] Binding CorePlayerService

I am developing simple widget with some music controls on it. I was able to control both Android and HTC music services using bindService(), .Stub.asInterface() and 2 separate IMediaPlaybackService.aidl files (for both packages accordingly). However, I have not succeeded in searching for the .aidl file for Samsung player. It is my understanding that it should be somethig like ICorePlayerService.aidl using ICorePlayerService interface. Since I have not found any, I tried to create my own using the same function names that Android and HTC use; however, it did not work.
Have you any idea how to control Samsung music player from own app? Thank you for your time.
Yes, the name of the site says: xda-developers and yes its an Android Development section, but I guess there arent many people here knowing Android API.. I know a little, but not to that much extent, especially when it comes to proprietary software.
Consider this a shameless bump!
Pure music widget author already did it, so I guess its possible (though he said before that its not).
He did, but I guess I cannot actually ask developer, how to code features of his paid application ).
Then again, why not? It's not like you have anything to lose here...the worst that can happen is that he won't help you.
Well, it has been a long time, and still no reply from the dev :-(. Is there anybody who figured it out?

[Q] Analog Radio app

Hi, do you know any application for analog radio, there are a lot of internet ones but not analog?
Sebalos said:
Hi, do you know any application for analog radio, there are a lot of internet ones but not analog?
Click to expand...
Click to collapse
To us the true FM radio you need an alternative rom based on sense or CM. Stock Tmobile roms don't have it. As for an app "TuneIn Radio" has the online stream version of analog radio stations. So if your favorite station has an online streaming ability then it will probably be in this app.
ok but actually I don't want internet radio I am looking for any alternative appljcation of FM Radio to the one delivered originaly with ROM.
Have a look at Spirit FM from the market.
I'm not sure where your located at, but I use "TuneIn Radio" app in the Tampa area and I get almost all the FM stations around here. The only ones I don't get are stations exclusive to the "IHeartRadio" app. Which is only a few. Good Luck!
Sent by an HTC Blue Octane Vision using XDA App
flip3547 said:
I'm not sure where your located at, but I use "TuneIn Radio" app in the Tampa area and I get almost all the FM stations around here. The only ones I don't get are stations exclusive to the "IHeartRadio" app. Which is only a few. Good Luck!
Sent by an HTC Blue Octane Vision using XDA App
Click to expand...
Click to collapse
Ok, but I don't want internet stream I would like FM analog radio.
Sebalos said:
Hi, do you know any application for analog radio, there are a lot of internet ones but not analog?
Click to expand...
Click to collapse
Spirit Radio
https://market.android.com/details?id=com.mikersmicros.fm&feature=search_result
+1 for spirit fm radio ^_^
same Issue
Did anyone get a solution for this? I am on HTC Desire Hd running Android 4.1.2...somehow lost my FM radio application during the upgrade
Spirit FM will allow you to access your phone's FM Receiver hardware.
The "Light" and "Unlocked" versions are both available paid from the market. The Light version gives you basic stereo reception and the Unlocked version gives you some UI enhancements and the ability to read a station's datastream giving callsign and program info.
The app's developer has posted a thread here. There's links on that thread to "Spirit FM Free," which will give you mono FM reception at no cost.
Spirit works great. Highly recommended!

[Q] FM Radio API

I am searching for any documentation on the FM Radio API for the HTC One (M8). I have done some searching myself with nothing turning up, so I just wanted to check if anyone else knows something.
I can probably reverse the API if I need, but if someone already has I don't want to duplicate the work.
Thank you
There's not an HTC One (M8)-specific FM Radio API, if that's what you're asking. There's no FM radio support provided by the Android API itself, either. It looks like most, if not all, vendors end up rolling their own. That said, the FM chip used in the M8 is a Qualcomm "Iris" chip (which makes appearances on a few other devices) and while the chip documentation is closed, Qualcomm does apparently provide source code.
I might be of more help if I knew what exactly it is you'd like to accomplish. I would share some links, but I have yet to actually post enough to do that. I'll still try to help you get to some pages that might be helpful.
Github Wiki Page giving a rundown of the mess that is Android FM app development: github [dot] com [slash] mikereidis [slash] androidfm [slash] wiki [slash] Creating-an-Android-FM-app
Radio driver source in the AOSP Git: visit android [dot] googlesource [dot] com and add the path "/kernel/msm/+/android-5.1.0_r0.7/drivers/media/radio" to the URL.
The files beginning with "radio-iris" are the most relevant to our devices.
Let me know if you'd like any more help!
I am trying to make an app that uses the FM radio. And from reading the Creating an Android FM app article it appears that there isn't a publicized api spec for doing this on the HTC One (m8). So I have two choices. I can look at the open source kernle for the chip being used and try to reverse the api from that. Or I can find an application that already uses the FM radio and reverse how they are doing it.
I think reversing an app will be simpler although it might not provide all the possible calls, but unless anyone has a better idea I think that is what I will do.
Thank you KazPinkerton.

Categories

Resources