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

Working with test/beta/production websites

I'm working on a project that communicates with a web API. I have a localhost I've been working with so far, and I have the base url defined in a configs.xml resource file:
Code:
<string name="base_url">http://10.0.2.2/</string>
The website has a test. and beta. subdomain, so a live test would need
Code:
<string name="base_url">http://test.example.com/</string>
What I'm wondering is: how do I make this something I can easily configure for different builds, other than manually changing this value for each build?

Discover app doesn't open when notifications are pressed

When I get an alert from Discover and press the notification, nothing happens. It should fire up the Discover app, and then [after logging in] take me to whatever the alert was about.

I've deleted its cache--nothing, then cache and data--nothing, then uninstalled and reinstalled--still nothing.

I didn't have this issue on the identical phone this one replaced.

Moto Z² Force Edition, Oreo 8.0.0

Landscape headache

Okay unless I am watching music videos or a movie, I keep my phone on portrait mode.
Over the last week or so I will turn off the auto rotation after I am done watching what ever but then a few minutes I will go to use my phone and it's back in landscape mode.
I will check and make sure the auto rotation off.
So far restarting the device has solve the issue.
Unfortunately while it seemed to be occurring sporadically
The last few days it's been occurring more frequently and to complicate matters my device has begun to freeze up each time this has happened over the last day or so.
Not sure what is causing the problem

Enable all notifications and whitelisting

Hello, I'm trying to troubleshoot an issue with a app provider providing second phone line services. When I use their "carrier" option (uses Verizon to make and receive calls instead of over Wifi/data), my own number shows on called ID instead of the caller's information. When I switch to Wifi/data options, things work fine. But I would prefer to use carrier option.

The provider says I need to "whitelist" the app:

"Click Device Settings >> Battery >> Top right choose “Battery Optimization”. Toggle from “Not Optimized” to “All Apps”. Scroll to app and then choose “Don’t Optimize” and click “Done”."

... and also to "enable all notifications":

"Notifications: Settings >> Apps (OR Apps & Notifications OR Application Manager) >> Scroll to app >> Enable all notifications."

However, neither of these options are available to me on my version of Android (5.0.2). Does anyone know how to perform these actions on my version?

Get Home Screen Not By Pressing a Button

Hi, new Galaxy S7 user, got used one and am happy with it. Question: Say phone sitting on table for minutes and screen went black, so I know can get Home screen by pressing home button or pressing power button once. But is there any other way?

What I wanted to do is get Home screen from "sleeping" phone via the touch screen, perhaps by drawing a pattern on the touch screen and not by depressing any button. Is there a way? Using Android ver 8 it says. Thanks.

Can't delete certain photos from gallery app

Hello there I'm ian and I have a huawei p smart 2019. I've noticed that I can't delete certain pictures from the gallery app while others taken in between them can. Its not like there is no option to delete them just when I press the trashcan button nothing happens. Other apps like discord, Skype or messanger don't even notice the existence of the pictures. Its really annoying
Thanks for the help
Ian

Emulators

Hello,
Does anybody can help please: Is there any emulator for Android to be installed on a PC that will allow me to do the following:
To be able to install different devices firmware (from the factory, so exactly the one that the device has) so I can test my app like having that device in hand. Like for Samsung S9, Tab 3, Google Pixel, and so on.
To install apps to test them
To use USB drive to emulate the SD card of the device, an USB attached camera instead of the phone's camera)
To have access to the device buttons (on an image of the device will be great)
Basically to use the device for almost anything (except making calls - this will not be a problem (yet!)).

i just got a new phone and noticed an issue with metadata which i have never experienced on my previ

Hi everyone,
i just got a new phone and noticed an issue with metadata which i have never experienced on my previous phones. ringtones free download

whenever i download a video online (for example a YouTube or Twitter uploaded in 2013), Google Photos somehow finds the original metadata and sorts the video way down the gallery with that date making it hard to find immediately. it even affects my WhatsApp
Samsung Galaxy S22 Ultra ringtone
how do i stop this?

Full-screen pop-up ads

I just bought a Pixel 3 XL to replace my old Galaxy S5. On the Pixel, I get full-screen pop-up ads right in the middle of using an app. It happens on many apps. It doesn't appear to be related to the app itself because it happens on apps that I have written myself and downloaded to the phone directly from Android Studio. Has anyone else seen this behavior? If so do you know how to stop it? (I have disabled notifications on all the apps, but that didn't help.)

Help Bus ticket unable to be scanned from screen

Hi folks, my wife has an s7 and buys an electronic bus ticket. Each trip she activates a ticket, a bar code appears on screen and this is scanned on bus. Recently the code is unable to be scanned. She has tried on several buses and has removed the screen saver she had on the phone but still not working. The screen is in perfect condition. No scratches or chips. She has uninstalled and reinstalled app etc. Anyone any idea why this should suddenly stop being scannable. Cheers.

NIGHT MODE FAILURE

Well, with the last update, my Night Mode no longer STAYS in Night Mode. Turn it on, 10, 15, 20 minutes, maybe an hour later, I come awake b/c the bloody watch is chirping at me. Check it and NM has mysteriously disappeared. Reset, fall asleep, only to awakened again. finally put it into DND Mode.

Can find nothing on the phone or watch to explain this. Any help would be appreciated.

Galaxy S8 Pin

Hi , Today i went to check my Galaxy S8 and it asked for a pin . the page had numbers with small letters and an emergency calls only text down the bottom, I can answer calls can't make the i can swipe down page and get all the normal icons flight mode e.t.c. but as soon a s i press them it goes back to that pin required page . I can touch the front page and look at all the notifications for facebook messages and such but as before cannot access them.
The whole problem is that I have never put a pin on this phone so I have no idea what it wants , I tried a few combinations and it says try again in 2 mins.
What is going on I would rather not lose my data and photo's but if that is the only option then so be it
Thanks in advance
Johnnie

Help Root LG Premier Pro LTE

I have a LG Premier Pro LTE. My S8 died via battery catching fire (long story), so until I can afford another S8 or better I have no choice but to deal with this phone. It's a good phone, but I want to root it.

Anyone have any idea on how this can be rooted? I have tried Kingo and King root. Any other possible ways to root this device?

Sorry for posting this on this forum, but I could not find a Premier Pro Forum

XDA has gone all Switch'ed uP

With the recent news of an android port running on the Nintendo Switch; which in turn allows you to run Steam games XDA have dropped some support forums for all things Switch.

https://twitter.com/switchroot_org/status/1140278584638103554?s=09

https://forum.xda-developers.com/nintendo-switch

So if your into android/switch tweaking why not take a look around.. :cool:

Accessories Aukey 20000mAh Universal Power Bank

Greetings, Here is another awesome Aukey product for review. As usual, I'm not being paid for any of the reviews, nor do I receive any promotions other than the product itself for review.

The 20000mAh 15W output Universal Power Bank is slightly larger than my SGN8 on all sides, and only slightly thicker. It is a heavy device (almost 14 oz), so you're probably not going to want to walk around with this thing in your pocket, but it's slim design allows it to be done if you choose to (not recommended). I have tried this with my SGN8 and it charges really fast! I can get about 4 charges out of it starting when my note gets to about 40-50 percent remaining. I have not tried it from a completely depleated charge yet. It does have 3.0 "quick charge" adaptive charging capability.

The instructions says that it takes about 10 hours to charge. It seems a lot faster to me (maybe 8 hours). You will need your own charging cable as it only comes with a charging cable from the device to your other device. There is no USB cable included. That was a bit of a foul, but not completely a show stopper since most people have plenty of those cables around (use the one that you have for your phone). There are 4 mini LED lights on the side to give you an indication of the charging power remaining.

Overall, this is a very simple, yet extremely powerful device that works well with the SGN8 and other devices. I would highly recommend it if you are away from a charger (beach, traveling to another country, on a business trip, etc).

If you have any questions, let me know. I work out of town but I'll try to get back to you as soon as possible. I think you'll enjoy this little device.

https://www.aukey.com/products/20000mah-power-bank-with-usb-c-lightning-input-pb-y14
https://www.aukey.com

Attachments

  • 20190618_164336.jpg
    20190618_164336.jpg
    314.7 KB · Views: 378
  • 20190618_164424.jpg
    20190618_164424.jpg
    327.5 KB · Views: 399
  • 20190618_164508.jpg
    20190618_164508.jpg
    247.2 KB · Views: 345

App to backup EVERYTHING on phone

I just found this forum so please forgive me if this has been answered. I searched and could not find much of interest.

I just lost some files when doing a Verizon software update. I had to reset the phone and while the contacts and such were salvaged, the files were apparently not backed up. Of interest to me were some voice recording made with the voice recording app. It is probably way past too late to fix this problem, but can anyone point me to an app that will do a complete image of the phone? All apps, data, messages, contacts, documents, downloaded stuff, attachments, etc. I mean EVERYTHING in one swell foop.

If such an app exists I can envision writing a Tasker script to run it automagically on a schedule and avoid any future catastrophes.

Thoughts anyone?

Thanks for your help,
Mike

Filter

Back
Top Bottom