• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Android OS 9.0 , BLE 5.0 specific issue fetching list of services from BluetoothGatt

Developed the following source code for sending message from one Android device to another Android device using BLE: '

public static String SERVICE_STRING = "6exxxxxx-xxxx-xxxx-xxxx-xxxxxdcca9e";

public static String CHARACTERISTIC_ECHO_STRING = "6eyyyyyy-yyyy-yyyy-yyyy-yyyyycca9e";

List serviceList = bluetoothGatt.getServices(); On checking the list of services , on Realme 5 Pro(Android OS 9.0 , BLE v5.0) after a successful connection is established with another device, the list of services is not returning the specific service with service string as mentioned above , hence the following code(BluetoothGattService) is returned as null , so unable to send data to another device via BLE.

BluetoothGattService service = findService(serviceList);
if (service == null) {
Log.i("Null service", "Null service.");
return matchingCharacteristics;
}
private static BluetoothGattService findService(List<BluetoothGattService> serviceList) {
for (BluetoothGattService service : serviceList) {
String serviceIdString = service.getUuid()
.toString();
if (matchesServiceUuidString(serviceIdString)) {
return service;
}
}
return null;
}
private static boolean matchesServiceUuidString(String serviceIdString) {
return uuidMatches(serviceIdString, SERVICE_STRING);
}

The same source code is returning the list of services with the mentioned service string for other devices like Mi 4a(Android OS 7.0 , BLE 4.0) , Realme 3i(Android OS 9.0, BLE 4.2) and for them , the BluetoothGattService instance is returning the details which is not null and hence able to send messages to other devices.

Did anyone face the same issue with device with Android OS v9.0 and BLE v5.0 ?

Help Battery Indicator widgets not working on Android 10

After you get it installed, go directly into the settings.

Scroll down to Theme, and pick what you like (I like Black).

Now go through the settings and make your choices. If there is something you are not sure of, just leave it be (or ask me later).

In the settings, there is a thing called Repositories.
Since you just started, just turn them all on.

The app will begin downloading the information about the apps (not the apps themselves) onto your device. (All appstores do this.)

In the upper right hand corner is a + sign, that lets you add repositories.

I am going to post here a couple to add to the list, that you could find useful, fun, or both.

https://apt.izzysoft.de/fdroid/repo...7B6D966BE743BF0EEE49C2561B9BA39073711F628937A

https://mobileapp.bitwarden.com/fdr...CC47C561C5726E1C3ED7E686B6DB4B18BAC843A3EFE6C

The first one, IzzySoft, will add many more cool apps to the ones that are already there.
I have found that many of the apps that I use come from IzzySoft.

The other one is for the open source version of Bitwarden, an excellent password manager.

Yes, you can find some- if not many- of these apps elsewhere, even on the Play Store itself.

But the apps on the Play Store are almost always infected with analytics (spyware) and other trash- even ads sometimes.

You can even find blatant copy-cat apps from unscruptulous developers that just take a open source app from F-Droid, insert ads into it, and post it onto the Play Store.

Sure, Google claims that this violates their Terms Of Service, but they rarely do anything about it.

Even if they do, all that happens is that the developer gets the app pulled from the store, and needs to pay another $25 fee to post more apps.

So it is much better to just get the apps from a source that you know isn't like Google.

Damn, I did wind up turning this into an anti-Google rant after all, hahaha.

sorry / not sorry

hahaha

I did it! [Bought a new phone]

At least yours is a year old! I've had my Note 10+ since December and IF I move up to the Note 20 Ultra, it will be the shortest time I've owned and used a phone at 9 months*!

*- The second shortest time was after the Note 7 double recall. I broke down and bought a cheap Note 5 to hold me over until the Note 8 was released. It lasted me 11 months and more than paid for itself with the $450 trade-in Samsung offered to former Note 7 owners. Cha-Ching!

I had my Note 7 for 3 weeks, and got full refund. That's the shortest time I've had a phone. Longest time I've had a smart-phone is my current Huawei Mate 10, bought Jan 2018, and no intention to change at the moment

major speed difference between devices with the same Android version

"Stock android" has background services running as well, so I'm very suspicious of a phone that claims to have none.
That said, Samsung do tend to stuff their phones with more junk than anyone else.

Core clock speed is still not enough to judge which processor is more powerful (clock cores with different architectures at the same speed and you can still get very different results), but if they are only clocked at 677MHz that is clearly a seriously old design!

LIA Informant

What is it? Who imstalled it. Was it done remotely. Or what put it there. What does it mean
Kellyyost11680.. Im new to forums this my first reply.
GIRL THEY DID IT TO ME TOO. GIRL BUMP KEY IS HOW THEIR GETTING IN. THEY WONT STOP. UNLESS U MOVE YOU TUBE SHOW U BUMP KEY. EVEN W U MOVE YOU HAVE TO DELETE AND F.B. ACC. MESSGR. ANY WAY THEY CAN FIND YOU OR TRACK U. THEY HAVE BEEN DOING THIS TO ME GOING ON 3 YRS. IVE MOVED 5 TIMES. THEY FIND ME THROUGH FB. MSGE. IM DELETING TODAY. I DELETED FOR 1 YR THEN BAD MISTAKE I REENTERED FB. FOUND ME AGAIN... THE WORST ABOUT MINE THEY GOT ME FOR 200K IN CONSYRUCTION EQUIPTMENT PAVING. JEWLRY TOOLS L9NDON FOGS ETC. THEN WENT ONLINE OPENED MY ONLINE ACCOUNT GOT 26K IN CASH. BANK SMALL TOWN. BANDERA BANK NO FRAUD DEPT.
NOW THEY HAVE ONE. I COMPLAINED. COPS IN SMALL TOWN CORRUPT. I GOT SHERIFF FIRED NOW DEPUTIES DROPPING LIKE FLIES. I GOT INVESTIGATOR HENANDEZ TO BLOW WHISTLE HE GOT FIRED. WERE SUING BANDERA SHERIFF DEPT. THIEVES EVEN. HATERS MISTY LEE WISON IS
SHE PUT RAT NEST AND DUST OF NEST IN MY TOWELS.. BEDDING.. CLOTHS ...ETC..
I GOT PARASITES. DONT PISS THEM OFF PLAY COOL. BUT GET AWAY FROM THEM THEIR METH HEADS THEIR GOOD AT IT. I MENTION ABOUT MOVING TO LAS VEGAS FROM TEXAS. A METH HEAD SAID THATS

Android / Chrome popups

I am wondering if Chrome is not your issue.

Google Play Store is Google, Chrome is Google, Youtube is Google, and Google watches and listens to everthing you do on and off of Google.

So, have you tried dumping the cache of Chrome?

And really, Chrome wss active on my device only long enough to find it and eliminate it, or at least disable it.

For the love of all that is sane, back up your Chrome settings and bookmarks, and then delete all the data like you did in the other apps.

I don't want to turn this into a 'I hate Chrome and Google' rant, but only because I don't want to spend the time.

Please, just to see if this helps, back up and delete data, then disable or uninstall Chrome.

But before you do, download this browser.
You didn't think I would leave you without one, did you?

https://f-droid.org/en/packages/acr.browser.lightning/

It will work right out of the box, and as you play with it you will find why I recommend it over all the others.

I even have made a video (a bit dated, but whatever) to quickly show someone around the simple but useful settings.

https://drive.google.com/file/d/1Afgkhy-1ToUPXYZ2nvcATtIZFeWQayXL/view?usp=drivesdk

I bet that it is faster than Chrome.
If you put up with a little bit of learning, you won't go back to Chrome.

After Chrome has been silenced, see if the ads stop.

Also, you may want to check your Phone Storage, set it to sort by size, and check the caches of your apps.

Delete any large ones.

On mine I pitch anything 1MB or over, but I have rather limited devices.

Ported to sprint, unsure how to pay off remaining balance of monthly installments to get it settled.

While a lot of cellular service companies will cover some or all of the costs of a switching to a new carriers, it's still up the customer make sure all their open accounts are paid off. Since you apparently signed up for a two-year contract with Verizon, you're still responsible for any unpaid bills and the early-withdraw penalty fee.
Also note that Sprint is in a major transition period and being dissolved as it was bought out by T-Mobile.
https://en.wikipedia.org/wiki/Sprint_Corporation

Accessories Beelink GS-King X review: this might be a game changer

Performance

specs.jpg


The Beelink GS-King X is powered by the Amlogic S922X-H SoC., the same processor found on last year’s GT-King Pro. It contains 4 cores of Cortex A73 clocked at 2.21GHz, 2 cores of Cortex-A53 clocked at 1.8GHz, and a beefy Mali-G52MP6 GPU clocked at 846MHz. There’s also 4GB LPDDR4 RAM under the hood to take care of multi-tasking.

antutu.jpg


geekbench5.jpg


pcmark.jpg


Having tested the GT-King Pro, I was returned with predictable results in the benchmarks I threw at the GS-King X. While these numbers might not seem impressive to you, especially when compared to modern flagship smartphones and tablets. In the world of TV boxes, probably the only device beating the GS-King X in terms of horsepower is the Nvidia Shield TV.

BRO.jpg


The GS-King X is extremely smooth. Even with the HDMI output set at 4K@60Hz, I rarely experienced any hiccups, lags or delays when navigating through homescreens and settings, launching and switching between apps, loading image-heavy webpages.

videotester.jpg


As a pure media streamer, the GS-King X does as well as, if not better than, most competitions, thanks to the Advanced Video Engine Gen10 VPU integrated into the Amlogic S922X-H processor. In the Antutu video tester benchmark, the GS-King X scored 1072, out of the 30 tested items, only two video codecs were not supported.

videoolayback.jpg


Video.jpg


I also played many videos of different formats in Kodi and MX Player, the GS-King X rarely struggled with anything I threw at it. Like last year’s GT-King Pro, the GS-King X supports Advanced HDR10, HDR10+, HLG, and PRIME HDR, with the right videos and a nice HDTV, it is capable of delivering satisfying video playback experiences.

4K.jpg


I haven’t encountered even the slightest of problems streaming 4K videos in the YouTube TV app or in Chrome. Only when I switched the resolution to 8K (in Chrome) did I notice serious lags and delays. Since the GS-King X can only output resolution up to 4K, there’s no point streaming 8K anyway.

DSC05678.jpg


STREAMING.jpg


Unfortunately, although the GS-King X supports the highest Widevine L1 DRM, you won’t be able to stream high-definition videos in Netflix and Amazon Prime Video, probably due to license issues. This might potentially be a deal-breaker for many devoted Netflix fans, and really a shame given how capable the hardware is.

3dmark.jpg


The GS-King X is not designed to be just a streaming box. The mali-G51MP6 has enough power for most games you can find in Play Store. In the 3DMark app, the device notched 1608 and 1187 respectively in Slingshot and Slingshot Extreme tests.

pubg.jpg


asphalt.jpg


GAMING.jpg


I tried many games, including some of the most demanding titles on the GS-King X, most of them ran smoothly at moderate settings. But if you want the highest level of visual effects, you should expect some frameskip and even serious delays. A joystick is necessary if you intend to use the device as a gaming console.


Audio

DSC05691.jpg


The GS-King X also features dual ESS ES9018 HiFi DAC, which offers DNR up to 135dB, –120dB THD+N, and enables the box to drive headphones with high impedance (up to 600?). I plugged in my HiFiMan HE300 headphones and listened to a lot of music during the three weeks of testing, the sound coming from the GS-King X was significantly better than the that from my computer or smartphone. The GS-King X offers a 3.5mm headphone jack, RCA ports, and BAL ports for users to enjoy audio enhanced by the HiFi DAC.

The S922X-H processor has DTS Listen and Dolby Audio licenses, and the box itself is compatible with 7.1 audio systems. If you happen to have speakers certified by Dolby or DTS, you will be able to enjoy discrete surround sound from movies encoded with Dolby and DTS audio. The box features an optical SPDIF port for transmitting 7.1-channel audio,


Connectivity

bt4.jpg


The GS-King X offers lots of connectivity options. It supports 2.4GHz/5.8GHz dual-band Wi-Fi, but not the latest WiFi 6 or Wi-Fi 6+. Fortunately, the box has solid reception and is able to pick up more Wi-Fi hotspots than most of my older TV boxes and mini PCs. The 1000M Ethernet jack also comes in handy whenever I want enhanced stability and even higher bandwidth. There’s also Bluetooth 4.1 on board to take care of local file transfer and pairing with audio and input devices, saving u from all kinds of annoying wires. When connected with speakers and headphones, the supported codecs are SBC and AAC, you won’t get superior codecs like aptX or LDAC.

output.jpg


The HDMI 2.1 port on the GS-King X can output videos up to 4K@75Hz, and should support most TV sets, monitors and projectors. In comparison, the Nvidia Shield TV and many other TV boxes are still using HDMI 2.0 or HDMI 1.4 ports.


Verdict

The GS-King X is an interesting device with many fancy features and a ton of potential. But Beelink needs to work hard to improve the NAS service and make it more affordable to its users.

At $289, the Beelink GS-King X is a lot pricier than last year’s GT-King Pro ($145), which runs on the same processor and serves identical TV box functionalities. But the GS-King X does have its advantages. Besides dual HDD NAS, it also offers more ports, and has an active cooling system to prevent overheating. But are these features worth digging deeper into your pocket? Different people will surely have different answers.

For average consumers who just want a top-of-the-line TV box for video streaming and occasional gaming, I would still recommend the GT-King and GT-King Pro, both of which can handle TV box tasks as well as the GS-King X. Even if storage is important to you, please do not forget that these boxes are also able to mount mobile drives of up to 4TB, only that you won’t be able to use them as NAS devices.

Filter

Back
Top Bottom