[Q] API access to FM receiver and/or 900Mhz band? - Android Q&A, Help & Troubleshooting

Hi, my name is noob. I have never developed an app for a mobile platform, and it's been quite some time since I've used Java. I'm basically here to see if my app idea is viable
I have a Galaxy S2 (but this question applies to all Android handsets) and was wondering:
1. If the 2G receiver (which is around 900Mhz in Australia) can be hijacked to listen to analogue, non-GSM traffic. i.e. can I basically turn it into a radio?
2. If the bundled FM Radio app is restricted somehow to the normal radio band (88Mhz - 105Mhz or something in Australia). In other words, can it be used to listen to basically any frequency?
3. If I can listen to multiple frequencies at once?
I'm not developing a police radio scanner, but the requirements are roughly similar ..

Beep, beep.

roohif said:
Beep, beep.
Click to expand...
Click to collapse
Go and buy yourself a DVB-T USB dongle using the Realtek RTL2832U decoder chip, and you've got what you want for a few bucks. You may interface it to the Android using OTG. If the dongle got the E4000 tuner (recommended), you'll be able to receive 52 to 2180 MHz with a gap 1091 to 1257 MHz (take or give). You'll get around 2-3 MHz bandwidth, so you can receive all the channels within this range simultaneously.
But you'll need maths, and lots of it.
http://sdr.osmocom.org/trac/wiki/rtl-sdr

Related

[Q] Bluetooth audio interfered by WiFi activity

Just noticed that for me, bluetooth audio to a Sony Ericsson MH100 headset will skip and drop out for periods as WiFi is active in connecting/disconnection to a network, or actively transferring data.
- Tried PowerAMP with various buffer settings, but audio cuts out instantly when activating WiFi, so audio buffer doesn't even have time to run out, and music is still progressing within the played track as the audio cuts out.
- Tried Samsung Music player, still same issue.
This can happen in some phones/cases and is not uncommon, but it never happened with my SGS1. Are the WiFi and Bluetooth functions sharing the antenna now, and weren't in the SGS1? Poorly written drivers for the Stock ROM in the SGS2 (I was using CM7 for a long period with my SGS1)?
Anyone else care to test this, maybe there are some details that makes this preventable, depending on how the phone connects to certain networks or such? Currently I don't have any other headphones to test, though I mildly doubt that will make a difference.
BT & WiFi both use the 2.4GHz band, so interference between them is not unusual. If you can, try a different WiFi channel; it's usually a setting on the WiFi router/access point.
I've read that the SGS2 supports the 5 GHZ WiFi band, so that may be an option. However, I just tried it on my SGS2, with my Netgear WNDR3700 router, which has both 2.4 & 5 GHz access points. The SGS2 couldn't see the 5 GHz network, but works just fine with the 2.4 GHz network.
They use the same frequency, and many phones share the same antenna for Bluetooth and wifi too. My Nokia n95 would stutter Bluetooth music when I used wifi to load pages, due to throughput constraints I assumed at the time. Looks like this is still the case with phones.
3waygeek said:
BT & WiFi both use the 2.4GHz band, so interference between them is not unusual. If you can, try a different WiFi channel; it's usually a setting on the WiFi router/access point.
I've read that the SGS2 supports the 5 GHZ WiFi band, so that may be an option. However, I just tried it on my SGS2, with my Netgear WNDR3700 router, which has both 2.4 & 5 GHz access points. The SGS2 couldn't see the 5 GHz network, but works just fine with the 2.4 GHz network.
Click to expand...
Click to collapse
Thanks for the reply, when you say that it works fine on the 2.4GHz band, it doesn't interfere with bluetooth audio for you when using WiFi? That's hopeful, I just hoped it wasn't a 100% limitation with the phone, that it constantly has to switch between either bluetooth audio or WiFi activity.

nexus 10 fm radio

it seems the nexus 10 has a broadcom BCM43241 chip which supports FM radio, i read on other forums that there might be issues as the chip might not be grounded with the headphones ground so some antenna connectivity issue, i tried spirit fm but doesn't seem to work, is there any development going on to enable the FM some how? can any1 confirm if it will ever be possible to make use of the FM in that chip using some custom kernel or software?
khal_nayak said:
it seems the nexus 10 has a broadcom BCM43241 chip which supports FM radio, i read on other forums that there might be issues as the chip might not be grounded with the headphones ground so some antenna connectivity issue, i tried spirit fm but doesn't seem to work, is there any development going on to enable the FM some how? can any1 confirm if it will ever be possible to make use of the FM in that chip using some custom kernel or software?
Click to expand...
Click to collapse
This is * definitely * not the answer you're looking for - but have you checked out the TuneIn Radio app? I KNOW it will only work when on wifi, not giving you the actual FM experience. But I've found that pretty much any terrestrial radio station I listen that has a simultaneous web broadcast, TuneIn Radio also carries it.
I'm sure I'm not telling you anything new, but you know..."just in case". :laugh:
DTB
DonToolBag said:
This is * definitely * not the answer you're looking for - but have you checked out the TuneIn Radio app? I KNOW it will only work when on wifi, not giving you the actual FM experience. But I've found that pretty much any terrestrial radio station I listen that has a simultaneous web broadcast, TuneIn Radio also carries it.
I'm sure I'm not telling you anything new, but you know..."just in case". :laugh:
DTB
Click to expand...
Click to collapse
yes im aware of online radio stations but just trying to dig in whats the situation with nexus 10 as it has the supporting chip, no idea if its antenna is connected and also no idea if the drivers r available in the OS, i also emailed spirit fm developer today so lets hope he can help out coz it would be great to use FM directly rather than wifi which might not be available everywhere and also the device doesnt have 3g.
google if ur reading this, atleast make some external 3g dongle or put in support for same and also if there is a FM chip, then make use of it
i got the reply from mike reid
" No, no FM antenna pin connection. "
so i guess make this a sticky or so that officially nexus 10 will never support FM, in spite of it having the chip
khal_nayak said:
i got the reply from mike reid
" No, no FM antenna pin connection. "
so i guess make this a sticky or so that officially nexus 10 will never support FM, in spite of it having the chip
Click to expand...
Click to collapse
Who is Mike Reid?
Also, people said before that the Nexus 4, although having a 4G chip (or LTE?), was not able to use it due to lack of connection to the chip (or lack of connection to an antenna). And now the Nexus 4 has 4G (or LTE) by some software mod.
espionage724 said:
Who is Mike Reid?
Also, people said before that the Nexus 4, although having a 4G chip (or LTE?), was not able to use it due to lack of connection to the chip (or lack of connection to an antenna). And now the Nexus 4 has 4G (or LTE) by some software mod.
Click to expand...
Click to collapse
he is the developer for spirit FM app, LTE is different coz the antenna for 3g is connected to same chip that has 3g as well as LTE so a mod could simply do that but FM is different, they might have simply never bothered with it but if some1 thinks he can solve this, well and good.
i wonder what they use the barometer chip for also and if it even works
some1 needs to be up the hardware and verify the antenna connectivity, all it would take is a connection from the chip to the headphone jack.
"chip has a specific FM 88-108 MHz antenna pin"

Problem with mobile networks setting

Hello,
I have a problem with my android tablett, with sim card slot.
In the mobile network settin, we can find this :
GSM/WCDMA (auto connect) - automatically switches between 2G/3G modes. When signal strength is low, 3G is favored more
GSM only - 2G only mode. When 2G signal strength is low, you get no data.
WCDMA only - 3G only mode. When 3G signal strength is low, you get no data.
But in my case, i can't switch to " GSM/WCDMA " or " WCDMA only ", it still changing in gsm only, when i change to " GSM/WCDMA " or " WCDMA only ", the setting goes automaticly in " GSM only ".
Is there a way to solve this problem please ?
guigui39 said:
Hello,
I have a problem with my android tablett, with sim card slot.
In the mobile network settin, we can find this :
GSM/WCDMA (auto connect) - automatically switches between 2G/3G modes. When signal strength is low, 3G is favored more
GSM only - 2G only mode. When 2G signal strength is low, you get no data.
WCDMA only - 3G only mode. When 3G signal strength is low, you get no data.
But in my case, i can't switch to " GSM/WCDMA " or " WCDMA only ", it still changing in gsm only, when i change to " GSM/WCDMA " or " WCDMA only ", the setting goes automaticly in " GSM only ".
Is there a way to solve this problem please ?
Click to expand...
Click to collapse
If the tablet does not support the frequencies for 3g from the carrier / SIM card you are using, this behavior is normal. This is just the first thing I thought of, but without knowing the tablet model and carrier, there isn't a way to really know.
The tablet comes from China, it's a MTK model, but the website says that the tablet is 3G built-in and that they have tested all the tablet before shippement ....
guigui39 said:
The tablet comes from China, it's a MTK model, but the website says that the tablet is 3G built-in and that they have tested all the tablet before shippement ....
Click to expand...
Click to collapse
Just because a tablet has 3G capabilities, does not mean it is compatible with 3G from everywhere. There are different frequencies and bands that each carrier have. Imagine them like radio stations. Your favorite radio might be all new and shiny and able to get all your favorite music on your favorite channel like 101.3 FM, but maybe you also like 700 AM, but though there is nothing wrong with your radio, it might not have settings to connect to AM stations. So you can't listen to 700 AM. Just like if your tablet supports 3G on the 900/2100 frequencies, but you are using a carrier who's signal works on 850 and/or 1900, then you are out of luck.
Ok thanks for your information ! It's surely because of that, because the China seller says me that the 3G work in their office, but not in my country !
My tablet is a phablet, i can call ans send sms (these functions work without problems), but if i buy a 3G usb dongle for the tablet with all the WCDMA band and if i put my SIM card into this dongle, i will be able to have 3g internet connexion AND be able to call and send SMS also ?
Most likely that will work as long as the USB dongle supports the frequencies of the carrier. If you post the model and carrier I might be able to provide some less generic info.
es0tericcha0s said:
Most likely that will work as long as the USB dongle supports the frequencies of the carrier. If you post the model and carrier I might be able to provide some less generic info.
Click to expand...
Click to collapse
Thanks, your generic answers is already helpful :good:
So the dongle can simulate an other SIM port with all the mobile functions, but the difference is that i could have 3G network !
My tablet is a MTK6577 and my mobile operator is Orange (France)
Hmm According to the info I found on quite a few sites, Orange (France) uses the 900 and 2100 frequencies for 3G, which I think most of the Chinese tablets and dongles I have seen support that... So you should be fine. I thought at first that the tablet has built in 3g, but thinking about it now, the 3g is ONLY supported by the dongle probably, right?
es0tericcha0s said:
Hmm According to the info I found on quite a few sites, Orange (France) uses the 900 and 2100 frequencies for 3G, which I think most of the Chinese tablets and dongles I have seen support that... So you should be fine. I thought at first that the tablet has built in 3g, but thinking about it now, the 3g is ONLY supported by the dongle probably, right?
Click to expand...
Click to collapse
The seller says me before to buy and again now tht the tablet have 3g built-in, but i'm not sure if the seller says the true or not !
I have downloaded " Mobile uncle tools " and then i went to the " band option " and i can select ALL the GSM band but all the UMTS band ( WCDMA / 3G ) are not available
Yea, that's why I was wondering, because many of the lower priced tablets don't have it built-in (though plenty do, which makes it more difficult since many do not have much documentation on specs and brand names). So this means 1 of 3 things:
1) Seller does not understand the difference between built-in and the dongle - possible language barrier?
2) Seller is lying to you, hoping you will say screw it and buy the dongle.
3) There is something wrong with the tablet.
I hope it is #1 for your sake. My guess is #2. Number #3 doesn't seem likely since the Settings aren't working to change either and it's not showing up in the other tool, which is a well known tool that works for most MTK devices.
es0tericcha0s said:
Yea, that's why I was wondering, because many of the lower priced tablets don't have it built-in (though plenty do, which makes it more difficult since many do not have much documentation on specs and brand names). So this means 1 of 3 things:
1) Seller does not understand the difference between built-in and the dongle - possible language barrier?
2) Seller is lying to you, hoping you will say screw it and buy the dongle.
3) There is something wrong with the tablet.
I hope it is #1 for your sake. My guess is #2. Number #3 doesn't seem likely since the Settings aren't working to change either and it's not showing up in the other tool, which is a well known tool that works for most MTK devices.
Click to expand...
Click to collapse
I'm sure there is no language barrier
I'm thinking that the seller lie to me, i have opened a disput on the website, and i will have to proove what i'm saying ! ( that the tablet is not 3G built-in, i can upload picture and video on the disput webpage of the website )
But the tablet works in 2G mode without problem, so with a 3g dongle it can solve this problem ?
I would think so, but I've never had much reason to look into dongles other than a passing - oh, they can do that...? Because most tablets sold in the States are going to have it built in or just for wifi only. I don't get many people bringing me these kinds of tablets to work on anymore for some reason, so haven't had much chance to play with them lately.
Side question: Do you have an android phone? It might be possible to set it up to tether from it to the tablet as well, depending on the phone, update, and carrier.
Yes i have an other android phone with 3G working on it !
Which phone and what software update does it have? You're using it with Orange as well?
It's an HTC wildfire S and it's android 2.3.2 !
Why ?

Which Gear S for travel between EU and USA?

I live in Germany, but travel and work in the USA quite often. I have a US spec T-Mobile Note 4 and I'm thinking of grabbing the Gear S.
My Note 4 handles the networks in the USA and here well (vodafone), so I wouldn't be using the Gear S as much for data, but I don't want to be stuck if I need to use it and I don't have my phone. I will use it for day to day use and while traveling, as well as for music and fitness tracking while running. With all of that said, would I get enough functionality out of the watch if I purchased a US spec? Does the aGPS need a data connection, or will it be fine functioning as a distance tracker/mp3 player/heart-rate monitor without a 3G connection?
I guess that's the gist of the question. Calling and texting should work regardless, but will the aGPS work without data in Europe? Should I just get an EU model? I should eventually (2 years?) move back to the USA or to Asia, but by then I fully expect to move on to the next smartwatch.
I live in the UK and travel to the US. My watch was imported from Russia and I re flashed it with UK firmware.!
I suggest you purchase your Gear S in the EU. The mobile set up here is better for SIM use only purposes, and then use a US sim in it when you're back home. The Gear S is not locked to any network so should take any SIM.
Or simply use Bluetooth and run the GearS via the Note for notifications and calls, plus the health app etc. That's how I run it here.
Thanks for the suggestion. I think you're right. I'm going to see how my Note 4 performs for the next couple of weeks and then pull the trigger unless something new is announced imminent. I've got an OLD Motoactiv currently filling the role of smartwatch and it's great for fitness, but huge and the battery life and functionality are limited.
Gear S is dual band device. Regardless where you purchased, it won't work on both EU and US because the bands don't match. You will need a quad-band device to work. So forget about it being working any way other than tether to your phone via BT.
foxbat121 said:
Gear S is dual band device. Regardless where you purchased, it won't work on both EU and US because the bands don't match. You will need a quad-band device to work. So forget about it being working any way other than tether to your phone via BT.
Click to expand...
Click to collapse
I already know it's dual band. I already know it won't work in both.
I was asking if at least the aGPS would work in both since I would have my Galaxy Note 4 which works in both for most use cases besides my fitness use which would need the aGPS.
Depends on which app you use. Without the network connection, S Health and Here maps are hopeless (takes very long time and Here map typically will give up before that). Nike+ will work as it does not try to resolve location on the watch.
Of course, if you have the phone with you, it doesn't matter. The watch will use phone's GPS all the time if it is available.
foxbat121 said:
Depends on which app you use. Without the network connection, S Health and Here maps are hopeless (takes very long time and Here map typically will give up before that). Nike+ will work as it does not try to resolve location on the watch.
Of course, if you have the phone with you, it doesn't matter. The watch will use phone's GPS all the time if it is available.
Click to expand...
Click to collapse
Ok. What WILL use the aGPS without a data connection to track running? If there is something, I think I'll get a US spec for use in the EU since I'll have my phone in every other instance besides running with the watch.
If there isn't a way to use the aGPS without the data connection, I'll have to get the EU spec and just use my Motoactv on the rare occasions I want to track my running in the US while I'm on a trip.
Common mis-conception about aGPS. It is no difference than other GPS. The 'a' part means it can speed up the initial acquisition if there is a network connection to off load the calculation elsewhere. It still fully capable of receiving its own GPS signal. It doesn't mean the GPS won't work without the network connection. All modern cell phone GPS is like this.
Without a network connection, the initial acquisition takes a real long time (5 to 10 minutes depending on many variables) on the Gear S. With the network connection, it is about 20 seconds. Nike+ opt to record raw satellite data and let the server to do the calculation of exact location. It is extremely fast for Nike+ app to get lock and start recording (about 5 seconds or less).

The TDA7851 MOSFET is Good?

Hello everybody, I was thinking update the radio of my car, is a Toyota Avensis T25, year 2004. The radio I was thinking buy because is suitable for the car (image bellow). It brings TDA7851 MOSFET and for Antena controller is NXP6686 (I think the Manufacturer is (Chinese) Philps).
The Sound of radio is good or bad? The output sound is horrible with TDA?
I'm strict with Audio, so, I don't know what I will buy.
Help
Thanks a lot.
Link for more informations: https://pt.aliexpress.com/item/7-T25-HD-Android-R-dio-Do-Carro-DVD-Player-Para-Toyota-Avensis-2003-2008-Navega/32869275804.html?spm=a2g03.search0104.3.172.11f8e238NikIxb&transAbTest=ae803_3&ws_ab_test=searchweb0_0%2Csearchweb201602_8_10065_10068_319_10059_10884_317_10887_10696_321_322_10084_453_10083_454_10103_10618_10304_10307_10820_10301_10821_537_536%2Csearchweb201603_80%2CppcSwitch_0&algo_pvid=974ebe2d-434a-4113-a571-d16f25ad5d34&algo_expid=974ebe2d-434a-4113-a571-d16f25ad5d34-23
yes, it's good...by chinese standards.
7850/7851 better than 7388 they used in the past.
and 6686 is a good FM chip.
zerozoneice said:
yes, it's good...by chinese standards.
7850/7851 better than 7388 they used in the past.
and 6686 is a good FM chip.
Click to expand...
Click to collapse
I ordered it one month ago, has arrived to my home and is now mounted in my car. I notice the qualaty of audio is a litle smaller, but is good.
Now I have another problem. The radio says support the 3G/4G Modem USB, I have the USB Dongle, but, the car can´t acess the Mobile Data. I tried with PPP Widget 2, the widget says that I am connect but no internet when I open Google Chrome, for example.
With the same USB Dougle I connected with my Galaxy S7 and I have internet with PPP Widget 3.
You can help me more one time?
Thanks
Hacker_XXI said:
I ordered it one month ago, has arrived to my home and is now mounted in my car. I notice the qualaty of audio is a litle smaller, but is good.
Now I have another problem. The radio says support the 3G/4G Modem USB, I have the USB Dongle, but, the car can´t acess the Mobile Data. I tried with PPP Widget 2, the widget says that I am connect but no internet when I open Google Chrome, for example.
With the same USB Dougle I connected with my Galaxy S7 and I have internet with PPP Widget 3.
You can help me more one time?
Thanks
Click to expand...
Click to collapse
no android 8.0 unit supports 4G natively as data connection. Even their own dongles are hotspot connection only.
there are some dongles that work but 3G only.
8.1 apparently they do support 3G/4G, some even have built-in sim card slots for direct data connection.
but those are px30 units as far as i know, not px5
Stop wasting your time with 4G Dongles.
Tether. Simple.
Hacker_XXI said:
Hello everybody, I was thinking update the radio of my car, is a Toyota Avensis T25, year 2004. The radio I was thinking buy because is suitable for the car (image bellow). It brings TDA7851 MOSFET and for Antena controller is NXP6686 (I think the Manufacturer is (Chinese) Philps).
Click to expand...
Click to collapse
NXP Semiconductor (formerly Philips Semiconductor) is a DUTCH company. Not Chinese.
These are OK radio receivers. They used to be impossible to deal with, but they're not half bad now that the programming manual has leaked out. Sound is decent, however, reception could be better. I suspect that the reception issues are more due to the chinese module that they are installed in than the receiver itself.
The TDA7851 is from STMicroelectronics, Dutch registered, Swiss headquartered.
Note that both of these components are things you would find in OEM and **mainstream** aftermarket car radios.
But be aware that there is a lot more to a good quality sound than just having a couple of components that are good by themselves. Like a chain, its only as strong as its weakest link. So like i said, put a crummy RF circuit on a TEF6686, and the reception will be less than stellar. Put a crummy analog audio mixer in front of the TDA7851 or too small of a capacitor, and your sound quality will suffer.
skezza said:
Stop wasting your time with 4G Dongles.
Tether. Simple.
Click to expand...
Click to collapse
My carrier gives me one SIM Card ONLY with 10GB of Mobile Data and I used very little and I want spend that I have right.
Hacker_XXI said:
My carrier gives me one SIM Card ONLY with 10GB of Mobile Data and I used very little and I want spend that I have right.
Click to expand...
Click to collapse
Hi, you tried this?
1. goes to wifi settings and connect the dongle
2. hotspot & tethering
3. wi-fi hotspot
4. Active Hotspot
5. press return button to the home
Maybe it's a signal, 3g at least...
Vídeo:
https://youtu.be/ET0YYBXg2jc
Hacker_XXI said:
I ordered it one month ago, has arrived to my home and is now mounted in my car. I notice the qualaty of audio is a litle smaller, but is good.
Click to expand...
Click to collapse
Provided the head unit is compatible by manufacturer, you can get more quality out of the audio with a modified mcu update.
zerozoneice said:
yes, it's good...by chinese standards.
7850/7851 better than 7388 they used in the past.
and 6686 is a good FM chip.
Click to expand...
Click to collapse
Hello again
What chip is better in chinese headunjts: 6686 or ST7708?
Thanx

Categories

Resources