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

How can I instert data to my ContentProvider from Rest API once?

I want to make a caller id app which detects incoming call, searches database, if user exist and shows user in screen with dialog or by changing phone lookup. So I found 2 ways to do that. First, I created a BroadcastReceiver with incoming call intent and I showed a dialog when there is an incoming call. It worked good but sometimes my onreceive method didnt run (I tried everything to solve that but didnt solve it). So I tried to find new ways to do that and I find Content Provider. . In ContentProvider, I want to insert data from my Rest API to my Content Provider. Is it possible? When I search it I found sync adapters but I don't know what is it and I don't know can I do what I want with that. I am beginner in Android and I don't know where should I do that process. I would be glad if you could guide me.

I started from this example and I want to add on it.(https://medium.com/@jmichaelis/android-your-users-as-caller-id-d446a58d9305)

say BYE BYE to 3G in the US

Yeh, so it can accept contactless and smart-phone payments, and I guess to remotely report stock levels and sales, price changes, any faults, incidents of vandalism, etc. There's a machine in the village, that vends condoms and other things of that ilk, I don't know how often it's used or attended to by the company, but it's got a cellular antenna on top of it.

There's also things like ATMs, ticket machines, bike and car charging kiosks, package pickup and drop-off points, that all use cellular data. Back in the day ATMs used to rely on hard-wired leased lines or POTS phone lines.
ahhhhh yes credit card payments, forgot about those.....lol

Running Android emulator on WSL-2

Running without hw acceleration:

C:\Users\mlwp\AppData\Local\Android\Sdk\emulator> .\emulator.exe -avd Pixel_C_API_30 -no-accel -show-kernel

got further.

Running on the command line with hw accel I see "failed to initialize WHPX: Invalid argument"

PS C:\Users\mlwp\AppData\Local\Android\Sdk\emulator> .\emulator.exe -avd Pixel_C_API_30 -show-kernel
INFO | Android emulator version 30.9.5.0 (build_id 7820599) (CL:N/A)
WARNING | unexpected system image feature string, emulator might not function correctly, please try updating the emulator.
INFO | added library vulkan-1.dll
INFO | configAndStartRenderer: setting vsync to 60 hz
ERROR | Failed to open /qemu.conf, err: 2
C:\Users\mlwp\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe: WHPX: Failed to setup partition, hr=c0350005
C:\Users\mlwp\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe: failed to initialize WHPX: Invalid argument

Wont let me upload image

Converted my website to an app. Put in tbe permissions to read and write.
Verified the permissions allowed files & media but when i click upload or browse in my app nothing happens. I load the website on chrome and try and it works no problem. Any assistance is appreciated.

I'm not a dev of course, but I think we need to know how exactly and what methods and tools you used to convert a website into an app?? in order to provide any meaningful assistance to you.

Skin Mediaplayer

I need a popup video mediaplayer that I can place in an image.

Picture a t.v or movie screen with the mediaplayer as the screen.

I'm thinking of using an image with a transparent region where the video will show.

I want to make a nice skin as opposed to a simple black rectangle.

If anyone can give me an example or point me to one, I would be grateful.

Thank you?

Help How to know if remote erase worked? (Android Device Manager)

Correct, IMEI blacklist won't affect data on the phone - it might actually prevent the phone receiving the wipe command if it can't connect.

Of course if the phone hasn't come back online in a day or so there's a good chance it isn't going to, so at some point I would get it blacklisted anyway. But I don't know how persistent Google's remote wipe or lock is: you'd hope that it would be triggered when that device connects to the Google account whenever that happens, rather than timing out after a few weeks or months, but I've never tested it and am not aware of Google making the technical details public (I wouldn't do so if I were them).

If someone has reset it to try to get past your screen lock they will have done the data wipe for you (and locked themself out via FRP).

Does anyone know what this notification icon is?

The thing is that it's vaguely familiar, but I couldn't place it nor could a reverse image search. It gives me a bit of a "shield" vibe, so my thought was firewall/security/ad-blocker, but searching those categories didn't come up with it.

As Brian says, 99% of these queries are someone concerned about a dating app on a partner's phone, and there's nothing about the design to suggest that.

Filter

Back
Top Bottom