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

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.

How do I log out of the Google account and log in to another one?

I was referring to it might be too late if you've been using your new phone a lot so that point it's been set up with your new Google account and would be a lot more work to switch. But if you haven't established that new user account on your new phone, and you still have your old phone available, you'll find it easier to switch your original Google account data from your old phone to your new phone easier.
Don't forget a new Google account involves things like a new Gmail address that you have to then notify all your contacts about the changeover you made. Or use your new phone with it's new Gmail address and services but add in your original Gmail and services as secondary accounts to your email/contacts/calendar apps.
Running two concurrent Google accounts on one phone does involve some forethought. It's more seamless to just maintain the same Google account but having multiple Google accounts is something a lot of people do use. I have a personal and a separate work-related Google account for example.

It depends on what you want to do. If you want to essentially start over from scratch than keep using your new Google account on your new phone. If you'd prefer to transfer over your originally established Google account data, reset your new phone and set up that Google account on it.
.

Apps Running Qt C++ files in Android Studio

the issue you're facing is related to the build process of your Android app. The error message "fatal: CreateProcess: Access is denied" suggests that your build system (ninja in this case) doesn't have the necessary permissions to execute the build process.

To resolve this issue, you may need to run the build process as an administrator on your machine. You can also check to ensure that the necessary dependencies are properly installed and configured, and that your build system has the correct path to the dependencies.

Another thing to keep in mind is that Qt is not a framework that is natively supported by Android. To use Qt in an Android app, you will need to use a tool like Qt for Android, which allows you to build Qt applications for Android devices. This tool provides a set of libraries and tools that will allow you to use the Qt framework in your Android app.

Alldocube iPlay 50 Tablet (Android 12): Display output is greenish + artificial sharpening artifacts

https://www.techradar.com/reviews/alldocube-iwork-gt-windows-11-business-tablet#:~:text=TechRadar Verdict,to a great value tablet.
"" laminated 2.000*1.200px 10.4" IPS panel is an excellent bargain".. .
The laminate itself could be causing the greenish cast.
Yes... but no, definitely not. The kPad and iPlay 20s have laminated IPS panels as well and Alldocube is experienced enough IMO. It’s not the impression one gets when inspecting the panel closely under the microscope.

How To Find Pictures On Phone

Finding photos on your phone 'should' be a relatively simple task, but unfortunately it's become an increasingly and unnecessary problem, for all of us. At one time, years ago, a standard folder was designated by default as the central storage place for image files. A DCIM folder (Digital Camera IMages) was used for phones, tablets, web cams, hand-held cameras, other mobile devices, etc. If an image file was involved, it would be retained in the DCIM folder of that device.
But now it's a much more a mixed bag of possibilities -- the default folder to store your photo files might still be the DCIM folder, or it might instead be named Photos, or Pics, or Images, or whatever, depending on the whims of whichever manufacturer of your phone model and how they chose to set up your phone's internal file system arrangement. So your phone's Camera app might still be using the DCIM folder as its default save location but your text messaging app and your web browser app will likely be using the Downloads folder for its default save location. So the bottom line is there are likely going to be multiple folders where your photo files are being stored, which adds another layer of complications.
In your posting note that there isn't a 'Gallery' folder that stores its own photo files. The Gallery app is just an image viewer/editor. It only displays the existing photo files that are stored in whatever folders the app can detect. And that's the weak point, the Gallery app doesn't have the ability to detect and index every photo file stored within your phone's internal storage media,nor microSD card. It will only scan for photos in predetermined folders. So if you also have some photo editing app installed that uses its own app folder to store images done by the app, those photos won't be automatically displayed when you start up the Gallery app. The same issue applies to the Google Photos app, it's also a image viewer/editor that scans for photos stored in some but not all folders.

In essence, when it comes to where your photos are stored on your particular phone don't look at the apps, you need to determine which folders are used to store photo files by the apps you use. Use a file manager app to actually manage your photo files/folders, use a photo manager app (ii.e. the Gallery app) to view your photos.
What phone model you have? Samsung phones come with a basic file manager app named My Files, It has a limited feature set but if all you need is the ability to do basic tasks like copy, move, or delete files and folders it may be all you need. Otherwise, your phone may already have a file manager app pre-installed or there are a number of really good ones in the Play Store. For more involved tasks like remote networking you might find the Solid Explorer app a better option (especially with pay-for addons). It's a feature-rich file manager that's also very user configurable.
https://play.google.com/store/apps/details?id=pl.solidexplorer2&hl=en_US&gl=US&pli=1
Simple Mobile Tools has a file manager that's Open Source (no ties to any business oversight) and comes with a nice user interface.
https://play.google.com/store/apps/details?id=com.simplemobiletools.filemanager.pro&hl=en_US&gl=US
There are a lot of other completely free file manager apps to choose too though. Go to the Play Store, search for file manager, and look through the posted screen shots for each to find the one you'd feel most comfortable using.

Samsung Tab S7+ won't connect to hotel wifi

ocnbrze is correct, I'm no genius, just a retired Union Electrician out of Chicago
The answer was just something I picked up from other wireless forums. I think it has to do with authentication.so you need to use your stock browser.

Well:
Front desk told me that other people in the past have complained about this - they didn't know how to help
Marriott tech support - had no clue.
My techie friend back home who builds his own water cooled turbo computers and is a software expert - had no clue.
Retired electrician in Chicago figured it out in one try - genius!!
Don't argue!!

Filter

Back
Top Bottom