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

App sending file by email

You should not pass that hard code path to the openFileOutput function. The legacy storage location will cause an unhandled exception, and thus your app will crash.

If you just need to share a file with email, I think app-specific storage is enough for you. You can use FileProvider component.

But if you insist on save your .txt file in a shared storage, your app will have to use the 'Storage Access Framework' or request 'All files access' from the user.

The former, the Storage Access Framework, requires user interactions to select directories using the system file picker.
The latter uses the ACTION_MANAGE_ALL_FILES_ACCESS_PERMISSION intent action to direct users to a system settings page where they can enable the following option for your app: Allow access to manage all files.

For more help, check the official Android developer website, please. Btw, it would be appreciated if you could leave a 5-star for my app available on Google Play. :D

Must upgrade to Android version 10/newer

Short answer: you probably can't.

Long answer: Android (like any mobile OS) has to be built for the particular model of device it is to run on. You cannot download a generic Android 10 and install it on any device. Normally the device manufacturer builds and tests updates and you download and install them from the device's Settings (exactly where the "System Updates" menu is will depend a little on manufacturer and version, but start by looking in the System settings or the menu items towards the end of the Settings). If there are no updates available that tells you that the manufacturer hasn't made one. If you are still on Android 6 there is basically no chance that there will be an official update to 10 or higher (many manufacturers of budget devices never produce updates at all).

If there is no official update available you can see whether there is a "custom ROM" based on a more recent version. This will involve unlocking the bootloader (if possible), installing a custom recovery (if someone has made one for that model) and using that to install the ROM (if someone has made one for this model). A good place to look for information on this is the xda-developers forum. But note, like official software community software (ROM and recovery) must also be built for the specific device: a ROM or recovery made for a different model will not work and will probably render your device unusable (using a recovery built for a different model is particularly risky). Even if you find something I'd advise also finding out how to reflash your device with stock software first, in case anything goes wrong.

However, you are asking for a big update: at least 4 major versions. Very few devices have custom ROM support that extends that long: most developers move on before then, and anyway it's often not possible, e.g. if one of the (old) components doesn't have a driver that's compatible with a newer android build that's game over. There have been a very small number of devices where an enthusiast community have worked very hard to update to newer versions, but the number that got from 6 to 10 is still small, and tablets were less popular for development than phones. So to be honest I think you will be very lucky if there is a suitable ROM for your device.

Help Unidentified alert (vibration and beep) every 5 minutes

The device is still getting old quick.
2018 was four years ago, and the average battery life is what- 2 to 4 years?
And as these are devices with batteries that are excessively difficult to replace, it is obvious that this is not meant to happen.

So, even if a device is functioning well, when the battery is gone the device goes with it.

The battery dying is inevitable, it will happen, and after 3+ years it is past the time to be considering a new device- especially if there are now other issues- even if the battery has not become one yet.

Unfortunately, this is how it is with these devices.

We all get attached and want to use them as long as possible, but it never seems to be long enough.

Normally a battery will die or else some physical damage will be the end of it, but sometimes a strange thing may happen instead.

Perhaps there is a solution to the immediate issue, but that would not change the fact that the device is going to be four years old in March.

Help WhatsApp Backup issue

For me what fixed the issue was to stop the backup after a few minutes of being stuck(at 90%) and restarting the backup. It picked up where it left off and finished backing up.

As for the obvious, make sure you have enough space in your google account for the backup. Also keep in mind that backups can take long as was the case for me (116MB took well over an hour). While other times it's been quick.

Can two antivirus softwares work on one android phone?

The answer is that I've no idea how good those things are at detecting spyware, but I wouldn't bet my banking password on it.

I actually doubt that any spyware would be installed from the Google Play Store as that would make it too easy for you to spot (unless it's able to edit itself out from the list of apps you have downloaded from Google, which I'm doubtful of). But of course if you left someone with the device long enough they could download and install something from elsewhere.

Your phone only has a firewall if you added one. If someone knows the url of a spyware vendor - or somewhere they keep their own copy - then if you give them access for long enough they could install it and set it up. I'm not saying that is what happened, just that if you give your unlocked phone to a bad actor and leave them to it you have no security, as any protection you might have they could turn off and then turn on again when they were done so that you couldn't tell. The first rule is that you just don't give other people access to your phone - not just unauthorised access, unless you really trust them you don't give them access full stop.

What can you do? Well as Danny said, unless you left them alone with your phone, a computer, a USB cable and plenty of time they won't have rooted it(*), so a factory reset will clear everything - of course it will also erase everything on your phone, so you want to be sure you have a backup of your photos, messages etc first. If you are seriously concerned about spyware you'll change your passwords afterwards. And if you haven't enabled 2 factor authentication on your Google account, do so: if someone has access to your Google account then for many purposes they don't even need to put anything on your phone. Note: we occasionally get people who don't know their own Google login and password: if you are one of those don't reset the phone until you've worked them out, as you'll need them to get back in.

Not trying to scare you there, I've no idea whether you have spyware or not, just saying that if you have there are a number of steps you need to take to get rid of it and protect yourself against any leakage that might have occurred already.

(*) If your phone is rooted then they can put spyware in the system, where a factory reset won't get rid of it. But unless you have a really old phone you will need a computer to root it, if it's even possible in the first place.

[Android][Free] The Cats Maze

Play Store Link:https://play.google.com/store/apps/details?id=com.indigo.game.prodution.theboxesmaze
upload_2022-1-18_17-1-17.png

1641834428279.JPEG
1641834428184.JPEG
1641834428215.JPEG
1641834428136.JPEG
1641834428304.JPEG
1641834428253.JPEG
1641831848770.JPEG
export202201072058500680 (1).png

the maze is made with a cat. follow the order of the cat, and solve the cat's maze. this game can train your solving ability, dimension controlling also memory.
special cats:
white box - can represent all of the colors
bubble cat - look like a cat with bubble, the first click will represent the bubble color, the second click will represent the cat color
four color cat - the ring of the cat has 4 division colors, each part of the ring may be different color, it can't be the first cat. different sides go in will represent different color
change color cat
each side have different color, when you tap it all of the left color cat change to the right color and all of the right color cat change to the left color
if have any bug or improvement suggestions, please contact us via email
indigo.game.production@gmail.com or in rating comment

Help Samsung Galaxy s20 Plus going into sleep mode in the middle of Youtube videos

Hello everyone,

I've been having this issue with either my phone or the Youtube app since the last software update my phone had, a couple weeks ago. It's incredibly frustrating, the phone acts as if a video playing is just me accidentally leaving my phone on when in reality there's a video playing, and it just abruptly goes into sleep mode at the 10min mark (the time I've chosen for it to go into sleep mode, 10min is the max.). It does this every single time I play a video, unless of course I interact with the screen to keep it awake. But I used to put Youtube videos on as a background noise (music or meditation videos) until I could fall asleep at night, now I can't do this anymore and it's affecting my sleep.

Anyone knows what's up with my phone or with the Youtube app? I've looked at the settings to see if something had changed since the last update but I can't seem to find anything there that would help my issue.

Thanks!

Hey, go into your settings and search sleeping apps, It puts unused apps to sleep. There should be an option to choose a never sleeping app. Open that tab and add YouTube to that list so YouTube doesn't sleep during use.

How to completely and permanently remove browser default for email

Good thread; thanks for posting.
And thanks for the excellent responses.
I will study the implications.

I am currently stripping my Android 10 M11 Chinese phone down to limit it to my very modest requirements.

1. No mobile internet. - I have it at home on my Linux Mint desktop machines.

2. Stable phone number contacts (this took a while as I was losing numbers - after I turned off Google sync, the problem disappeared).

3. WiFi available if and when required (occasionally).

4. Camera, sound recorder available with one click.

5. Maps available using Waze after data turned back on.

Jim.

Google Play Store reject my app because of background location

Try writing to the technical support service. Maybe you're doing something wrong, and it's not what you think at all. There are stringent rules for applications you want to place in the apple store. I came across this myself when I created the first applications in https://flipabit.dev/ since I did not know many nuances of this sphere. But believe me, these rules are constantly changing, and not everyone can keep track of them. So don't get upset and try to contact people who understand this and can tell you exactly what your mistake is. Good luck with your app

Filter

Back
Top Bottom