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

Photo Stick Type Backup

Can you take a backup of your OnePlus 6 via OnePlus Switch? Or you can also use its Built-in Feature to help you take backup of your OnePlus 6. If you only want to back up photos on your OnePlus 6, try Coolmuster Android Backup Manager. Its free backup function can help you transfer all photos on your OnePlus 6 to the computer for backup directly via USB cable.

Copy Options Not Displaying

I have a Pixel 4A. I like to be able to copy text from a webpage and put it in a note or voice reader. Hasn't been a problem in the past. But suddenly in both the Chrome browser and the Samsung Internet browser I installed, when I select the text, either by frame handles or "Select All", all the Copy functions disappear and I just have the selected text but no way to do anything with it. I have tried uninstalling and reinstalling the Samsun Browser, rebooting, clearing GBoard and Browser specific storage and cache, etc, but can't seem to get this functionality back. Is there a setting I am missing or any other ideas on how to get this working again in the browsers?
Thanks in advance for any help you can offer.

[help] Unkown notification sound

check your alarms as well as maybe your calendar for any upcoming notifications or alarms. and don't use anti-virus apps, there really are not any viruses on android.....malware, yes, viruses, no. i would start again with your most recent apps and work your way backwards. the one thing i would do is before you uninstall the app, make sure that you wipe cache and data. often times, some apps will leave cache and data intact and thus you could potentially still have the issue as sometimes it remains within cache and data. once those are deleted then you can uninstall the app.

sd card internal memory issues

When you're microSD card was just a typical 'Portable' card, it was formatted as FAT32 or exFAT. The FAT file system is dated, unsupported but still proprietary (Microsoft), and has all kinds of limitations as storage media with today's technology. But support for it is essentially added to every modern platform (Linux, MacOS, Windows, Android, iOS, etc.) so there's that compatibility factor that keeps it around -- we can take a new card out of its packaging and just use it to transfer files from a computer to a mobile device as is. Convenience over practicality.
But when you manually format a microSD card to be 'Internal', that's a significant change. The card's file system gets changed to ext4, replacing the FAT file system, and it gets encrypted, with the encryption key then tying the card directly to the phone. So that that point, the card is essentially an internal component to the phone -- the phone's internal storage memory and the card's storage memory are now merged as one, now larger file system. The ext4 file system change now matches the same ext4 file system that's the default for Android internal storage media, the encryption key now means you should not physically remove the card now. Aside from creating an Android instability problem, the card's not going to be readable by any computer nor mobile device anyway.

Basically, once you set the card up as Internal, you should stop trying to interact with it in any way. Stop trying to use a file manager app, stop trying to manipulate the card contents in any way. At this point, the installed Android operating system on your phone is managing and maintaining the card as part of the overall storage media.
If you decide later you want to use this card as Portable again, be sure to use the Settings >> Storage menu in this same phone to format the card back to Portable, and be sure to read the warning messages that pop up, This is something of a drastic measure so don't be surprised if later you need to reinstall a few apps.
When the card is Portable again, it's a FAT file system and the encryption removed.

Apps Does Android Studio support Java 14? if so how....

I've done some more investigation and now have a slightly different understanding. The version of Gradle that you use determines the max version of java that you can use for your gradle builds. See docs.gradle.org/current/userguide/compatibility.html. For example, I'm using gradle 7.4 and I use Java 14 to build my custom gradle plugins. The version of java that you use for your gradle builds has nothing to do with the version of java that android supports. It's the combination of the version of your android gradle plugin and your android sdk that determines what java language features you can use. Your andoid/SDK/build-tools directory contains a D8.bat file. D8 is the build tool used for converting java into dex. That batch file finds an appropriate java jdk to run the d8.jar file also contain in your build-tools directory. I'm not sure if this program takes java files as input or java class files, but I think it's the later. In my case, the java jdk it uses to run the d8.jar is a java 8 compiler. That compiler (jdk version) gets set up by Android Studio. Be aware that newer versions of Android Studio could embed a different compiler. I'm using Android Studio 2021.2.1, which is the most current version at the time of this posting. That warning message D8: "One or more classes has class file version >= 56 which is not officially supported", comes from that process. So essentially, that process seems to be saying that it ownly reliably supports java class file formats up to verion 55 which is of course Java 11. That said, android itself currently only supports Java 7 in its entirety and a subset of java 8. Here's a link to the subset of java 8 features that android supports: Use Java 8 language features and APIs | Android Developers. That link says that in order to those java 8 features you must set sourceCompatibility and targetCompatibility to Java 1.8. My guess is that if you set those options to a higher value it treats it like you set it to 1.8; it doesn't give you any errors; and it just confuses everyone as to what that means since most of us provide configuration data by example of what others have done. Again, that's just a guess. So what that D8 program does, is to take your input and builds dex code that is compatible to run on android. So if you use, some features that are not java 7 or part of the subset of java 8 that android supports, it apparently figures out a way to do that, perhaps with the addition of some added support code which may vary depending on the verion of the SDK version you're targeting. This process is known as desugaring. I'm going to guess that you'll get some kind of error if you provide a language feature that the d8 program doesn't support. That's probably why android documentation is pretty vague on the issue of java compatibility; it depends on your configuration.

room database problem

I've been using sqlite forever. Finally decided to update my app to room database. Converting it was a treat but afterwards I realized I may have lost a functionality that the DBHelper allowed me to do.

I am currently getting LiveData<List<type>> return from the Dao of my main table. Getting that through a Repository and a ViewModel which holds the LiveData along with an observer. In the database helper I had a routine after iterating the cursor that created a List<object>. The regular rows + header objects mixed in with them. i could then check for type in the Recyclerview adapter and either create a header or a row.

In the Dao I have several @Query lines but not sure how to use the Query to return the same result. I could get the List<type> from the viewmodel observer and work a little mojo on it finally passing it into an object list and use that for the Recyclerview adapter. The livedata would keep the feed up to date. Is there a better way?

Help Cannot Restore WhatsApp from Local Backup

Hello.

I am migrating Whatsapp to a new phone with Android 11 from an old phone with Android 8.

Followed steps outlined here:
https://www.techbout.com/restore-whatsapp-from-local-backup-android-phone-55696/

Long story short:

- Online backup is messed up
- Didn't backup app's data folder in root/Android/media

Tried restoring from local chat backup in Databases by renaming desired backup to msgstore.db.ctypt14 and it didn't work.

Also what is "chatsettingsbackup.db.crypt14" file in Backup folder?

Filter

Back
Top Bottom