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

Contacts on Poco F3 has Odd Layout

So most likely the contacts app was updated and now shows those boxes you are seeing.
You can always install a different contacts app that doesn't show that, but I doubt you can change the contacts app you already have
I think you are correct. I used delete all updates for the Contacts app and the unwanted boxes have gone.

Help Need help on disabling the ability to receive SMS messages.

As the title states, i am in search of a method to disable receiving SMS messages. I want to be able to turn it back on when the need arises too.

Basically, i want calls and such to work, and all the functions of the phone to work, i just want to disable the ability to receive SMS messages temporarily.
Check if you are able to disable the Message app from Settings.

Samsung S8 update to Android 10

Since you're not willing to just buy your own phone, trying to force a work-supplied phone to be both a work and a personal phone requires a good amount of effort on your end as far as endearing yourself more to the administration and the IT staff.
Most universities have understaffed IT departments that need to maintain a lot of oversight over a large number of devices. This involves a lot of restrictions and limitations to keep private matters private, along with staff and user data isolated and secured.
Some users gripe and complain that they can't use those devices for personal usage with expectations that they're entitled to do what they want them, without taking any responsibility when they might inadvertently introduce some random exploit or compromise into the University's internal network. If people where to be made personally responsible financially for their own actions, that would reduce some of that entitlement attitude.-- there's a distinction between allowing some ransomware disaster into a network because of some clever social engineering hack or someone browsing through their personal Instagram account or whatever. The former is work-related matter, the latter is not.
I am willing to buy a phone. I guess you missed my post where I said I'd offered to pay for an Android work phone and was rejected. I just don't want to carry two phones, did that for a year and it's a hassle. And I don't like iphones but I guess I'll learn to live with it.

Manage Gradle project dependencies with configurations

In my Android project, I have a folder whose content is generated by a gradle task, and I need to package this folder as assets for the .apk I build. Initially, this is how I am setting up my gradle build file:

```
android {
...
sourceSets {
main {
assets {
srcDir generatedAssetsDir
}
}
}
...
}
...
afterEvaluate { evaluated ->
evaluated.tasks.getByPath("packageReleaseAssets").dependsOn evaluated.tasks.getByPath('taskThatGeneratesTheAssetsDir')
}
```

Now I am trying to avoid using `afterEvaluate`, so I followed this example and created two gradle projects, one acting as producer and one as consumer. The relevant portions of the producer project’s build.gradle looks like:

```
abstract class MyTaskClass extends DefaultTask {
@OutputDirectory
abstract DirectoryProperty getOutputDir()

@TaskAction
def run() {
def src = new File(getProject().getRootDir().toString()+'/in/src.txt')
def dst = new File(getOutputDir().get().getAsFile().toString()+'/dst.txt')
dst << src.text
}
}

tasks.register("myTask", MyTaskClass) {
outputDir = new File(getProject().getRootDir().toString()+'/out')
}

configurations {
prepAssets {
canBeConsumed = true
canBeResolved = false
extendsFrom implementation, runtimeOnly
}
}

artifacts {
prepAssets(myTask.outputDir) {
builtBy(myTask)
}
}
```
While the build.gradle file of the consumer looks like:
```
configurations {
assetsConsumer {
canBeConsumed = false
canBeResolved = true
}
}

android {
...
sourceSets {
main {
assets {
srcDir configurations.assetsConsumer
}
}
}
....
}

dependencies {
assetsConsumer project(path: ":mylibrary", configuration: 'prepAssets')
...
}
```
The idea is that when myTask inside the producer runs, it should create a text file inside <Project_Root>/out/ folder. This folder is then specified as the Android assets folder in the consumer project.
However, when I try to perform a gradle sync, I get this strange error:

```
Could not resolve all dependencies for configuration ':app:assetsConsumer'.
Could not create task ':app:generateDebugLintModel'.
Could not resolve all dependencies for configuration ':app:assetsConsumer'.
Cannot query the value of this property because it has no value available.
The value of this property is derived from:
- task ':app:generateDebugLintModel' property 'outputDirectory'
```

Any idea what I am doing wrong with Gradle configurations?

Automating voice tasks mostly for YouTube in my car

Looking through that Amazon link you posted, apparently your head unit includes its own, plug-in microphone. Is there reason as to why you also have an additional, external voice remote?
It's not a voice remote. It is a remote on my steering wheel that can be used to control the headunit and also it has a voice command button that transmits the voice command to the headunit but it goes to google search. I would like to press the voice button of this remote and speak a command like "Hey Google play Car playlist on Youtube" and it plays that playlist

Help Galaxy S7 loses cell service

I think this probably is either new SIM or new phone. A failing SIM can cause loss of network connection (you might get a symbol to indicate no SIM present, but I don't guarantee it), and a restart may temporarily fix that. If this is the cause it will become more frequent and at some point just stop working, but a replacement SIM will fix that. But it might be the phone instead, in which case it is probably not economical to fix (since "fix" will generally mean "replace the motherboard", assuming someone can still get hold of one). So personally I'd try asking for a replacement SIM, and if that doesn't fix it accept that you need a new phone.

App not Installed error when updating the app by installing updated apk file

I have installed latest Android Studio "Android Studio Dolphin | 2021.3.1 Patch 1" in my new laptop and copied existing App folder and its jks file.
I am able to generate Signed APK file in the new Android Studio after updating
versionName in app/build.gradle file. If I install the new apk in my mobile (where the app is already installed with previous versionName), it says "app is not installed" error.

In my old Android Studio, I was able to update versionName, generate apk file and able to update the app.

Could you please tell what could be the issue.

Note:
- my apk/app is installed in the mobile by enabling "allow from unknown sources".
- in old Android Studio, while generating Signed APK, there were options for Signature Version as V1 and V2. I used to enable both of them to generate the apk. but in the latest Android Studio, it is not shown. Could that be a reason ?
In addition to the 'versionName', have you increased the 'versionCode'?

USB cable preventing sound

.....
I have a OnePlus Nord N10 5G phone. It does have a headphone jack. The earbuds are wired, and I plug them into the headphone jack. Right now I have one end of the USB cable plugged into the phone, and the other end of the cable plugged into a charger that is attached to a wall socket. But when I have the other end of the cable plugged into a USB port on my Dell Windows 10 laptop, there is also no sound coming from the phone unless I have the earbuds plugged in. But, if I have one end of the USB cable plugged into the phone, and the other end is not plugged into anything, there still is no sound.

Before you down the rabbit hole buying different USB cables just to address this particular issue, What you're describing isn't a common scenario. Typically when you plug earbuds into the headphone jack, the audio gets rerouted to headphone jack and the internal speaker is silenced. Remove the plug and it reverts back to the internal speaker. USB Type-C is a different matter, it's all dependent on what is on the other end of the cable.
Have you tried just restarting your OnePlus since this problem started to occur? If it's just a one-off glitch that might fix the problem. Or has this been a long-standing issue since you've had this phone?

Also, try looking in the Settings >> Sound and vibration menu and see if there's any options there that might be relevant.

Filter

Back
Top Bottom