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

So dissapointed in Huawei Y9 Pro

Actually, I am so disappointed with my new Android device. The specification described it as excellent. But it has issues with the fingerprint. Couldn't apply themes because it does not compatible (I guess) now I discovered that the front camera quality is out of questions. Samsung Z1 has a better camera. The quality is really low and I can see the pixels in the picture. I don't know what to do with it.

What themes are incompatible, ones from the Huawei EMUI Theme Store, or some other third-party ones?

Help Whatsapp backup and restore problems

Q1: airplane mode. If you need to use WiFi to download then you can turn it on in airplane mode, but if WhatsApp is active there would then be the possibility of new messages coming in.

Q2: go into settings, apps, find WhatsApp, clear storage for the app. Then use your favourite file browser and erase the WhatsApp folder from your internal storage (or SD if it's there instead - it's been so long since I used a phone with an SD card that I don't know whether WhatsApp allows you to move that folder there).

Q3: it's been a long time, so I don't remember, but this sounds like what's described here: https://faq.whatsapp.com/en/android/20970873/

Battery saver settings

Hello!! I just noticed today that vibration is deactivated when the battery saver extended is on.. is there away to still have vibration on for notifications while this is on??
Yes you can. In Settings - General, go to Battery, then Battery Saver. You will see the three boxes labeled Off - Extended - Maximum. Tap on the level you want to change. (In my screenshot, I tapped on Extended. Follow the instructions in Red and tap "Turn on". After tapping, you will be back on the screen with the three boxes. In my case the "Extended" box that I selected is now blue. (If you originally chose the "Maximum" box, it would be blue. Just under the "Off" box there will be a line that says "Edit mode" (in white). Tap that. You will be brought to the settings of the box in blue. There you can make the adjustment you want. I hope this was clear. If not, you can ask me to clarify, I won't be offended. Good luck :thumbsupdroid:
Screenshot_20190816-022512.png

Debugging release

After debugging on my phone directly, i found it was completely unrelated to any changes I had made.

I had, for unrelated reasons, disabled location services. Permission was granted, but there was no location to get, and I wasn't handling the null object correctly!

So, even though an unrelated issue, it led me to a bug I didn't know I had. A fortunate accident.

Custom Notification - Paddings

That would seem to indicate that you need to provide multiple layouts for different screen resolutions and pixel densities, with the padding different for each, if it's really that important to match exactly.

I think at this point I would be questioning if it's that important to get that close of a match, or look at alternative approaches to accomplish the desired result.

Feature Graphic

If you want to see featured graphics in action, open the play store app on your phone and scroll down till you see "[Ads] Suggested for you". Those are all featured graphics.

edit:
There's a few rows of "[Ads] Suggested for you". Scroll down till you get to the row displaying rectangular images. Those are all featured graphics.

Thanks - now I can see some! I appreciate all the help!

Apps Android 6 - how to open Firefox from my app?

In Android 4 & 5 the following code worked perfectly:
Java:
private void shareImageWithUri(Uri uri) {
        Intent intent3 = new Intent(Intent.ACTION_MAIN, null);
        intent3.addCategory(Intent.CATEGORY_LAUNCHER);
        intent3.setComponent(new ComponentName("org.mozilla.firefox", "org.mozilla.firefox.App"));
        intent3.setAction("org.mozilla.gecko.BOOKMARK");
        intent3.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
        intent3.putExtra("args", "--url=" + uri.toString());
        intent3.setData(uri);
        startActivity(intent3);
    }

It opened a FF instance and navigated the Firefox at the passed url. In Android 6 I am still getting the FF opened, but it does not recognize the passed url and therefore leave the tab clean. How can I pass an url in app start arguments in Android 6?

Questions about Gallery Apt

It's probably not the gallery app saving things, but some other app saving things and them showing up in the gallery (because that will show any images it find anywhere on the phone). Have you checked which folder these images are actually stored in? It may be something unhelpful like "Downloads", but there's a chance that the location will help identify what is doing it.
Thanks for the tip. I checked and they are all in "UnityAdsCache". So they are from the ads in a game. And I know which game. If I put the .nomedia file in that folder and I it worked as far as the Gallery app. Of coarse the pictures are still on my phone. So I found an app that cleans out the caches on my phone and it does clean out these ads also. So again, thanks for the tip that got me started.

Help Sonim XP8800 Bluetooth pairs to radio but no audio?

Thanks for the information-I was not aware of what version of Bluetooth the Sonim had until now. I went back and decided to play with the settings some more and found this screen (screenshot attached)-both the media box and the HD audio box were checked. I unchecked and rechecked media which did nothing, but when I unchecked HD audio I got audio over my truck stereo. I am guessing that the HD audio is a feature of 5.0 that is not backward compatible to/supported by 3.0:

n6Fxebw.png

Yes, that's correct. Although I thought Bluetooth was supposed handshake and deal with different version compatibility itself, like NOT trying to send HD audio to a device that can't decode and play it. The Media Audio is most likely SBC(Sub Band Codec) that all BT audio devices support, the A2DP profile, but doesn't necessarily give the best SQ because it's a lossy codec. Some BT devices support AAC, that is apparently better SQ, but is still a lossy codec.

Gradle testOptions not working

My build.grandle:
Code:
apply plugin: 'com.android.application'

android {
    compileSdkVersion 29
    buildToolsVersion "29.0.1"
    defaultConfig {
        applicationId "com.example.app5"
        testApplicationId "com.example.app5.test"
        minSdkVersion 16
        targetSdkVersion 29
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.test.InstrumentationTestRunner"
        testHandleProfiling true
        testFunctionalTest true
    }
    testBuildType "debug"
    testOptions {
        reportDir "$rootDir/test-reports"
        resultsDir "$rootDir/test-results"
        unitTests {
            returnDefaultValues true
            all {
                jvmArgs '-XX:MaxPermSize=256m'
                if(it.name == 'testDebugUnitTest')
                    systemProperty 'debug', 'true'
            }
        }
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation 'androidx.appcompat:appcompat:1.0.2'
    implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'androidx.test:runner:1.2.0'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
}
I specified reportDir. but when I run the unit test, I don’t see anything in the project folder in the test-results folder, that is, this option does not work, it seems to have to save the results to that folder automatically, and it seems the whole testOptions block does not work. What could be the problem ?

Filter

Back
Top Bottom