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

REQ: Storage Info Widget 1.3

If you mean the ability to store the widget on a devices external storage (scard), that's impossible. Widgets cannot be stored on external storage. It prevents possible shenanigans if the external storage is unmounted or the widgets files are moved/removed for one reason or another.

No, nothing like that. I am sorry for the confusion. Well, basically it is a simple app widget that stays on the homescreen and shows information about storage capacity of your phone and refreshes/updates the info (only)whenever it is pressed. Unfortunately, the above app in the link could only show my device(galaxy note)'s system storage and internal storage missing out external_sd support. I've already contacted the author but no reply until now. So I am hoping someone else could take his idea and bring it up one level.
Kind regards
 
Upvote 0
Looks like the app shows it now.. i see internal and SD storage details in the first screenshot.


No, not really. At least on Samsung Galaxy Devices it does not do what it said it would do. Not completely. It only shows System storage which is where apps are normally installed but the above app labels it "internal". And the one labeled as "SD" is the actual Internal storage where data is usually kept. Therefore, it is missing the external_sd support. So is it possible for someone to create such app that supports all three? I figured it is pretty easy as it is since on my device external SD is mounted as /mnt/sdcard/external_sd. All it needs more is to read storage info on it and return label it as ExtSD. Done.
 
Upvote 0
The reason is simple. The Android SDK API getExternalStorageDirectory() used to work well in the early Android phones. Then manufacturers start to come up with phones with "integrated sd card" and also provide an extra microSD card slot for external sd card. It is never enough for users I guess.

With new layout, there is no standard convention. In my LG it is called _ExternalSD, in Samsung it can be called external_sd and other brands own naming convention. So the API no longer work anymore.

I know cuz one of my users ask for it and I build a version just for him but I did not release that version cuz it is not using official Android SDK API.

For apps that do it, they just go direct to those folders to get info but then it may miss out other brand isn't it? Then users post reviews some say ok some say cannot. Apps that do not use official Android SDK API always have such issues.
 
  • Like
Reactions: Altruis
Upvote 0
Wow! That's really good to know!^^ How about in order to get the proper sdcard directory, we let the user add their own custom folder path to be checked. That way it's never a hit or miss. User customization. Say, paste string/choose/locate the directory of your external SD card with a directory picker? Would that work? Cool^^
 
Upvote 0
Please check your PM.

I created it when recently I start to put in extra sdcard into my smart-phone. Previously I was using the phone built-in storage until it run out and I need to put extra sdcard into it. And the option for user to select which to monitor is great idea cuz I discover I need it too.

Hi, there! Thank you! I just tried it but it does not sit pretty with all my other widgets. Perhaps you can make it something like this?
Note: this is photo edited
 

Attachments

  • uploadfromtaptalk1357447838318.jpg
    uploadfromtaptalk1357447838318.jpg
    32.1 KB · Views: 46
  • uploadfromtaptalk1357447851888.jpg
    uploadfromtaptalk1357447851888.jpg
    82.9 KB · Views: 76
Upvote 0
Hi the functionality is already there. As for sitting pretty on your screen, I am no UI expert. Other developers in this forum may want to create a beautiful widget for your needs.

My apologies. What I meant to say is that I don't think a transparent text-only widget (like the one on the image) would be that hard to make. But I guess I am wrong. Thanks anyways. :)
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones