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

Android: How Can i Create Files in another Application's Package?

I am developing a custom Watchfaces App in Which i have to Copy/Create Watchface .bin files in Android/data/com.xiomi.hm.health/files/watch_skin_file/59/ into these directory without this my custom watchface app will not be able to apply custom watchfaces. I am new to android file storage development and does not know much about it. but i know that android have made some changes in storage in android 11. Can anyone tell me how can i do this in Android 10 as well as in Android 11. Please guide me exact ways and write sample code. Thanks

Android 12 lock screen digital clock numbers too big

One partial solution: if there's a notification icon on the lock screen, the clock shrinks to a smaller, more normal format. I happen to have an app with a persistent notification, so my clock is always smaller and (to my eyes) easier to read than my spouse's identical phone. Also makes it easier to tell our phones apart!

You might find a weather app or something similar you didn't hate with a persistent notification. I'm not a fan of persistent notifications ... but right now I kind of like it.

How to design a bulletproof phone backup system?

H...

The way I see my ideal multi-phone setup working, I see the following five measures to prevent the above five consequences:

1) All phones would have 2FA authentification app installed; hence 2FA will be ensured at all times
2) All phones will be esim based; this will ensure that in case of a lost phone, the SIM number can be immediately transferred to the backup phone
3) All phone will have "Google find your phone" installed; this will allow me to delete all data from any phone remotely, even after losing access
4) Currently most of my data is already cloud-based; my photos are backed-up in google photos; I think this would be covered
5) I think this is the only missing link right now. Ideally I would like to have an app, that allows me to sync the app setup on multiple devices, such that all apps I install on device 1 are automatically installed on device 2 (either auto sync in fixed intervall or on demand).
.....

1 -- 2FA isn't tied to any phone nor an Android matter, it's implemented by each online service that requires some kind of user login authentication. The issue being not very online service uses it. So it's not an app nor a service that can be installed, it's dependent on each online service to enable it.
3 -- There's a substantial number of people who oddly and perversely own Android devices but also detest and hate Google. They don't want to have services like Find My Device enabled because they simply do not want to Google to be able to track them on a real-time basis and the remote access features it provides is considered to be an invasive violation of their personal space.
5 -- Apple has a very comprehensive backup and restore that's integral to its platform, but Apple also maintains a tight control over its platform both from a hardware and a software aspect. Android is too diverse and multifaceted though so even things like the base file system can vary between one manufacturer to another. So creating a universal backup/restore utility is a tall order. Samsung's Smart Switch isn't as thorough as Apple's Time Machine but close, and it only applies to most but not all of Samsung's product line, and some cursory support for a limited number of non-Samsung devices. But outside of that, actually developing a universal Android backup/restore is going to require something along the lines of AI (Artificial Intelligence) that can scan and categorize incoming content (read a phone's internal storage), and then output that content into a potentially very different directory structure so that content gets copied into the appropriate folders and such, and all basically on-the-fly. Basically that's what happens in our heads when we have to manually transfer the content of an old phone to a new one. (i.e. music files on an old phone in a 'Music' folder get copied into the 'Audio' folder that's in the new phone.)
If you stick with the same manufacturer for all your phones whenever you upgrade to a newer one, you'll have more luck finding a manufacturer's auto-transfer utility. Otherwise, it's just a matter of waiting for the some software development to come along with a workable solution.

trash folder is a mess!

I was traveling and taking a lot of pictures.
I was sending those pictures to some Cloud Storage and then renaming Camera folder to something like "camera DDMM".
After sometime I deleted some of those old "camera" folders.
Android sent then to "trash folder".
I used "file manager" to clear the "trash folder".
But not so much free space was recovered...
Beacuse there was a lot of lost files and folders at "trash folder" that FileManager did not clear!

Then I used another file manager (with a lot of annoying advertising) and deleted all "trash$" folders.
And now my Samsung A107m has more than 40% of free space!

This Android 11 is just a mess
.
I think it is worst system of all.

FYI Samsung's trash folder is actually called Recycle Bin(same as in Windows), and I presume that's what you're referring to. This is a Samsung only feature, and isn't usually in Android 11. As for your file manager, are you using Samsung's own stock My Files app, or a third-party one?

Get smooth tab Transition with viewpager.

Hey, is there a way to get a better visually looking transition method when changing tabs, than mine. I'am using the onChangeTab with viewPager.

Java:
private void onChangeTab(int position) {

       //TextView tab_home = findViewById(R.id.tab_home);

       if(position==0)
       {
           reset();
           TextView tv = findViewById(R.id.tab_home);
           tv.setLayoutParams(new TableLayout.LayoutParams(ViewPager.LayoutParams.WRAP_CONTENT, 40, 0.9f));
           home_.setTextSize(20);
           home_.setTextColor(ContextCompat.getColor(getApplicationContext(), R.color.tab_on));
           home_.setBackground(ContextCompat.getDrawable(getApplicationContext(), R.drawable.rounded_selected));
       }
       if(position==1)
       {
   ...



Is There a way to get a smooth transition.

Data safety form and privacy policy

I uploaded an app to the Google Play store a couple of years ago. I got an email from Google recently about the need to complete the data safety form and upload a privacy policy if I wish to make any further updates to my app.

My problem is I'm not sure what I need to declare. I've read through the guide here https://support.google.com/googleplay/android-developer/answer/10787469 but I'm still not sure.

My app doesn't gather any user data, but it does use the Google Play billing service to allow users to make purchases. It also uses the Google Play In-App Review API to occasionally prompt the user to review the app.

Do I need to declare these?

It looks like I also need a privacy policy now. Any guidance on how to create a bog basic policy that would cover the above?

Thanks.

Help Is it okay to Perform a factory reset at 30% ?

A Factory Reset is not in any way a highly processor intensive function so a 30% charge on the battery isn't an issue. Factory Reset does just one thing, it wipes the user data partition clean and that's it. It doesn't affect any of the system partitions, it doesn't magically do anything to the installed Android operating system, it just clears the data off of one partition in the internal storage media.
But you would be better off waiting a bit to charge up your device more. The Reset itself isn't an issue, it's the reason as to why you're actually needing to do a Factory Reset that could be something to consider. If it's stuck in a boot loop, a Factory Reset 'might' solve the issue but keep in mind that you'll also be wiping any saved data and personal files. Hopefully it's a matter where you don't have anything vital stored on this tablet or that you have backups.

Filter

Back
Top Bottom