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

Video Game Only Works On Pixel 3 Device

I built a video game and it works perfectly on my pixel 3 phone but if I put it on any other phone such as my SamSung Galaxy S7 it crashes. I compile it at min sdk 14 and target sdk 29. I suspect its a hardware issue but I've never seen anything like it here is my gradle configuration. Can anybody spot the issue or help me make it compatible more than just my pixel 3 phone?


Code:
apply plugin: 'com.android.application'

apply plugin: 'kotlin-android'

apply plugin: 'kotlin-android-extensions'

android {
    compileSdkVersion 29
    buildToolsVersion "29.0.0"
    defaultConfig {
        applicationId "com.calmchesscomputers.game1"
        minSdkVersion 14
        targetSdkVersion 29
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
    implementation 'androidx.appcompat:appcompat:1.0.2'
    implementation 'androidx.core:core-ktx:1.0.2'
    implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
    testImplementation 'junit:junit:4.12'
    }

Help Battery life

My s5 battery dies v quickly needing 2 charges in 24 hours. I've done all the suggested cures without success even buying a new battery in case the original was time expired.
There is a battery available with twice the 2880 mah of the original. Does any one have experience of this? Is it worth buying. It is double thickness and needs a new back panel (supplied)

How to automatically click on a notification to open a app and after that execute 1 click in the app

Hi, i am using an app called "Ticket swap" to buy second hand tickets for events.
I am looking for an automated rule that automatically clicks on a notification which would open the app and once inside the app click on 1 specific place on the screen to ad the ticket to my purchase basket.

How can i do that ? i already have Tasker installer and Notification listener

Thx, Arnaud

How do you cancel Waze via Android Auto and voice?

When using Waze alone, you can say "cancel app" to stop navigation by using the Waze voice commands. However, using Android Auto and Waze, klingelton kostenlos
Google Assistant becomes the voice input, and I cannot figure out how to stop navigation with my voice. I've tried "stop navigation," "cancel app," exit waze, etc. The Assistant just says it can't help with that. Ideas? free ringtones download

Problems resulting from inserting a microSD card

I've recently encountered a nasty problem and I'm wondering if anyone has any thoughts to share on this . . .

BACKGROUND / EXPLANATION · · · · · sorry 'bout the length of this section . . .

While the phone was off, I inserted a 256GB microSD card into my phone which was already running at over 90% of Internal Storage capacity.
Having done a little research, I had already decided to not integrate the SD card into Internal Storage space and so, I performed no formatting operation at all.
I simply turned the phone back on (now, with the SD card inserted) and then used a file management app (ES File Manager Pro) to move a few {directories} of my own creation, from Internal Storage onto the microSD card:
— {$·Data}
— {$·Media} ... note: `{,}´ are not part of the actual directory names
— {zz·Bkup}

I also moved a system-created directory, {Download} onto the SD card. Note: this might have been a mistake — and one that has contributed to my ensuing problems (see "…KICKER" below). Also, I renamed it to {z·Download}.
Next, I examined the contents of the newly inserted SD card and found that in addition to the four directories I had moved, there were two additional ones that were copied — not by any intentional action on my part — onto the SD card: {Android} and {misc}. You can see a listing of these folders and their contents HERE.

Two things may be worth noting: (1) None of the SD card directories contained any actual files — just empty subdirectories; (2) the SD card subdirectories listed under {Android/data} are a small subset of those from the analogous location within Internal Storage.

HERE'S THE KICKER !! – Yup... this is the exciting part . . . but not in a good way . . .

Just about immediately, Google Play Store stopped working — followed thereafter by various other applications failing to run; they'd start but then immediately crash. Fork!!! (ref: "The Good Place" )

I've given some thought to what might be involved in getting my phone back to normal and have considered that it might require a factory reset, etc. And this may still happen (as a way to have a workable backup phone at the ready). But for now, I've decided to go ahead and get a new phone, since I've maxed out the Internal Storage on my htc·10. Later today, I'll take delivery of an htc·U11, into which I plan to put that same 256GB microSD card.

So, you see, it seems like a good idea to get some kind of handle on what happened, so as to prevent it from happening to my new U11.

Anyway, thanks for reading this and if you have any hypotheses regarding what went wrong, I'll be all ears ... er, rather, "all eyes" and of course, I'll be most appreciative.

Thanks again,
—Thri

Help with Flashing Firmware

I recently bought a S8 Plus from China.
However this version does not include google play store, apps and It's in android 8.0
I wish to update this to android 9.0 and to the hong kong version however it's not letting me
it keeps saying security check failed: pit when I try to flash it. I even tried to flash the original firmware that was on the S8 Plus but it still doesn't work.

Tmobile Revvl 2/Revvl Plus 2 Owners?

So for those of you that know me from XDA, you'll probably know that I failed miserably at delivering content for the original 1st gen Revvl and Revvl Plus. I think I let a lot of people down in that small community. But after my recent successes with the Vortex Synq and Orbic Wonder, I want to give this another try with the new knowledge I've obtained since then

I've got a few tricks up my sleeve I didn't have before, and I want to have a Round 2 against this Revvl lineup. I don't own this phone because I don't have Tmobile, but if anyone's willing to take the risk that owns one of these phones and wants to potentially make some cool stuff for it, let me know and we can work together to try and get something happening. Obviously I can't guarantee anything, but it's worth a try... hey, even if all we can get is root or TWRP, that's still a whole lot better than nothing

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.

Filter

Back
Top Bottom