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

Emulator won't display my Hello World app

I can't find a solution to the emulator giving the following error message.
Code:
Executing tasks: [:app:assembleDebug]

7:25 AM    Emulator: dsound:

7:25 AM    Emulator: Could not initialize DirectSoundCapture

7:25 AM    Emulator: dsound: Reason: No sound

7:25 AM    Emulator: driver is available for use, or the given GUID is not a valid DirectSound device ID

7:25 AM    Emulator: dsound: Attempt to initialize voice without DirectSoundCapture object

7:25 AM    Emulator: dsound: Attempt to initialize voice without DirectSoundCapture object

7:25 AM    Emulator: audio: Failed to create voice `goldfish_audio_in'

7:25 AM    Emulator: C:\Users\Shelby\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-i386.exe: warning: opening audio input failed

7:25 AM    Emulator: dsound: Attempt to initialize voice without DirectSoundCapture object

7:25 AM    Emulator: dsound: Attempt to initialize voice without DirectSoundCapture object

7:25 AM    Emulator: audio: Failed to create voice `adc'

Can someone point me in the right direction for my solution?

I have tried a setting change on my Windows 10 and within the AVD manager box. I'm still searching google and can't find a remedy.

Thanks
Newbie Shelby with 1 year of B4A experience

Doogee X10 Chinese phone

Hi, I was wondering if someone could kindly shed some light regards a Chinese phone someone has given me at work ,, it Powers up , freezes on Home logo , Doogee, I've tried hard reset, cleared cache , done a power up volume down as well as up , all one does is show me Cantonese , I just pressed Root integrity check , it ran through the files , when it ends it says something like "Error / app,,,/Drive/Drive one APK has been modified , system check fail 1 modified file , system check failed
Am I guessing correctly someone's Rooted it badly and it's more or less a Paperweight now ? It's no drama , but it's a shame because it's fairly new with all warranty cards and manual ,,, I'm no pc wizz , but if anyone knows if it's a simple fix by someone at a local cell phone repair shop I'll take it and have it done for a emgc spare Thank you ...

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.

Help Whatsapp backup and restore problems

Q1. How to temporary prevent new sms, new whatsapp, new incoming calls while I am downloading/restoring sms, whatsapp backup?

Q2. I have remove my sim card from old phone, put in my sim card into new phone, and setup whatsapp and restore whatsapp in my new phone. In my old phone I tap the whatsapp button and I see the "welcome to whatsapp" screen (screenshot https://i.imgur.com/lwPvJQk.png ) that is not logged in and not setup, how do I completely remove whatsapp history/files/info left in my old phone?

Q3. I received a sms that says [Your WhatsApp code: 123-456, you can also tap on this link to verify your phone: v.whatsapp.com/123456] after I install whatapp, I was not asked to enter the whatsapp code anywhere, where should I enter the code? Should I click the link? (I am not sure is it safe to click the link) (note: 123456 is an example, not the real code)

Thanks

Just shifted from iOS to Android

Hello All,

I am new here as you can tell from the post. I was a deadly ios fan. I had been using it for almost 5 years. I have owned the following ios phones in the following order:

iPhone 5s - 32GB
iPhone 6s - 128GB
iPhone 6s - 16GB
iPhone 6 plus - 64GB
iPhone SE - 32GB

I know that is a crazy order as I wasn't using the latest phones.

Anyways, currently I switched to android Motorola G5s Plus as I wasn't able to afford iphone and I found something pretty interesting. Android is years ahead when it come to features and customization. iOS is pretty limited when it come to features and it is not customize able at all.

So far I am loving Android specially the features like:

Data Saver.
Notification Center.
Ability to access setting from notification center.
Ability to turn off wifi completely from notification center. Same goes for bluetooth.

and list goes on.

I have joined this forum so learn some android hacks and make my android experience more worth while.

Help!!!!!

Please help! I believe my phone has been rooted. It started 3 phones ago with my Samsung S8. Factory reset and everything....finally took it to Verizon and they told me it had been rooted....
I did everything I could before I smashed it and switched to TMobile with a new phone, new sim card, new sd cards, new number. Had the new phone for a week before it started acting funny too. That phone is a LG G8ThinQ & I have also been using a Samsung J3 because the LG screen is all messed up. Both of them are doing the same things. Files delete, system settings change, apps appear and disappear,  bluetooth and wifi come on automatically... I am not very good with the phones but I have gotten some knowledge from just reading everything for the past 3 months. This is driving me insane.  Please help.

Help Note 9 Won't update?

I have a note 9 that will not update. I have tried to get Samsung support, but the folks that are supposed to help (latin support) keeps passing me on to the US. The device I have is supposed to be supported in the latin area. I was chatting with them once now suddenly no one is available for support... Right now the device shows I have android 8.0.1 and a security update from july 1 2018. What are my options? besides samsung that is.

Need more info? Let me know!

Bit.ly page

When I wake my phone up, usually it shows the screen I was on when it went to sleep, but lately it wakes up and the screen is the bit.ly page. How do I stop this from happening. It is getting very annoying. I have no idea why it is showing up after so many years of not being there. Please help.
Can I delete the app or turn off the page? I can't find it anywhere on my phone.

Ads not showing

I just changed my ad unit key from the test key to my real one. On the emulator I get a log message "request sent from test device" and then "App not loaded". That's not surprising on an emulator.

But when I generate an APK and install that on my phone, I get a blank space, no ads loading.

How do I test that REAL ads are working correctly?

Is Cerberus still relevant?

All this talk today [in the other thread] led to installing the newest version directly from the Cerberus site. I've now actually gone in to set it up, and I'm left wondering if I should even bother.

Now that Google has provided so much protection, I don't know that Cerberus is still relevant.

For example, thieves will likely find themselves with a shiny, pretty paperweight, what with FRP and all. Hackers would find themselves with none of our personal data since we can remotely wipe them. Thieves and/or hackers may find the law at their door, courtesy of 'find my device.' And so on.

Looking at the permissions and actions Cerberus wants me to approve, like remote wiping, they're basically redundant because of Google.

What do you think? Are there compelling reasons to keep it? In an actual emergency scenario, is one better than the other? Which would you use?

Help Facebook yet again..

My hugest problem right now, on my personal comp, is when switching out accounts and the small red dot with numbers,
shows up and I clear all notifications before I log out, but they are now stuck on three and five, meaning there is none at all.

Even after going through and switching off from chrome to torch, or even ghostery from time to time that connects with the same ammount of notifications no matter what.

So my hugest problem is that, I should just deactivated both accounts for a while now.
I am just wondering why even I keep seeing them over and over?

NFC - 2 Pay Apps - 1 on Galaxy & 1 on Gear

Samsung S8 with Gear 3 Frontier Watch
Part question and maybe part tip for others...

I would have preferred to use 2 different credit cards for one app but in my case it is not possible because of the banks supporting certain apps only.
In my case Canadian Tires "Triangle Master Card" using Google pay and "CIBC" using Samsung pay

So what I did was installed Google Play on the mobile and set it as the default NFC
Then I setup Samsung Pay for the watch using Galaxy Wearable app.

I have not tested it yet but I am guessing all I need to do is tap my phone for one credit card and for the other press and hold button on watch, click on the credit card image and tap...with the odd time having to enter my pin #.
I then went back to the mobile and checked Settings/Connections/NFC/Tap&pay and Google Pay shows that it is still default App.

The simple question is has anyone figured this out or tried it out?

Note that I am aware you can open the according apps before paying but would think and hope this is little more convenient.

LG STYLO 3 issues

I am using a LG STYLO 3 from T-Mobile. The issue I am having is that it will disconnect from my bluetooth devices, (such as a speaker or earpiece), after I answer a call or after make a call. When making a call, I will here the ringing through the earpiece and then it will switch back to either speakerphone or just the internal speaker. My hearing is very poor so I need to get this fixed so I can understand calls better.
Any ideas? :/

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?

Help Google account problen after system update

Hi, 2 days ago I've installed latest update for 1+6 system. After that I cannot login to my google account and google apps (gmail, maps, calendar, keep) work offline in both wifi and LTE mode. I cannot add another google account to this phone (network connection problem). I can login via browser to this gmail with no problem on this phone (so both internet connection and google account works fine). Can you help me with this?
Regards
Arek

Can't import project, says it already exists!? How to delete?

I am running Android Studio 3.3.2.

I start a project called myproject. I then exported the project "myproject".

I tried to remove myproject from studio (close/delete). Also I deleted the myproject folder on the filesystem. BUT when I try to import the previous export of "Myproject", it keeps saying "The project file specified already exists." Studio also seems to re-create the folder "myproject" (albeit blank folder contents)

QUESTION: How do I remove a project from studio 3.3.2 such that I can import the project back into studio???

Thank yoU!

reply-to in email client

I thought this would be an easy one, but I have not yet found an Android client that supports reply-to, and there doesn't seem to be any threads on this forum. Here's what I have:

Company contracts Google to administer email, and turns off Gmail IMAP. I despise web interfaces, so created a new email account and have Gmail forward my company email to that account. This is fine when I'm at my desk, Thunderbird allows me to use reply-to, so I can write mail from my non-company account and replies still go to my company account, forwards to me, system works.

The phone is a different story, of course I can receive and read company mail, but have not found a client yet that has reply-to as an option. Simply using Gmail phone app as a client for company mail directly is not an option, since they have this thing set up through Google where if you create your company account through Gmail app it installs some Google admin crap on your phone which allows the company IT guys access, fine for company phones, but my phone is mine, and that ain't gonna happen. Does anyone know of any client that supports reply-to or plans to include it? I don't want to do some weird workaround, reply-to used to be a common feature, not sure why no one seems to be including it.

Can't connect Rii 8 to android tv

My Rii 8 keyboard won't connect to my jetstream tv box. It finds it, connects then drops connection. I have tried factory resets, clearing cache and data from bt apps. Nothing seems to work. I actually got an old netgear android keyboard remote to connect but not the Rii 8. It is the true bluetooth model without the dongle. Has anyone had any success connecting one to android tv? Thanks.

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