REQ: Storage Info Widget 1.3


Last Updated:

  1. Altruis

    Altruis Member This Topic's Starter

    Joined:
    Nov 6, 2012
    Messages:
    10
    Likes Received:
    0

    Advertisement
  2. cr5315

    cr5315 Well-Known Member Developer

    Joined:
    Jul 23, 2010
    Messages:
    435
    Likes Received:
    158
    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.
     
    Altruis likes this.
  3. Altruis

    Altruis Member This Topic's Starter

    Joined:
    Nov 6, 2012
    Messages:
    10
    Likes Received:
    0
    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
     
  4. dlhavema

    dlhavema Well-Known Member

    Joined:
    Sep 27, 2011
    Messages:
    71
    Likes Received:
    6
    Looks like the app shows it now.. i see internal and SD storage details in the first screenshot.
     
    Altruis likes this.
  5. Altruis

    Altruis Member This Topic's Starter

    Joined:
    Nov 6, 2012
    Messages:
    10
    Likes Received:
    0

    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.
     
  6. sohguanh

    sohguanh Well-Known Member

    Joined:
    Apr 18, 2010
    Messages:
    428
    Likes Received:
    34
    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.
     
    Altruis likes this.
  7. Altruis

    Altruis Member This Topic's Starter

    Joined:
    Nov 6, 2012
    Messages:
    10
    Likes Received:
    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^^
     
  8. sohguanh

    sohguanh Well-Known Member

    Joined:
    Apr 18, 2010
    Messages:
    428
    Likes Received:
    34
    You are correct. That would be good. Just ask developer for this feature where user is allowed to put which folder. That is, user tell the app instead of the app go and find out where.
     
    Altruis likes this.
  9. Altruis

    Altruis Member This Topic's Starter

    Joined:
    Nov 6, 2012
    Messages:
    10
    Likes Received:
    0
    Can anyone please make this app? Thank you!
     
  10. sohguanh

    sohguanh Well-Known Member

    Joined:
    Apr 18, 2010
    Messages:
    428
    Likes Received:
    34
    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.
     
  11. Altruis

    Altruis Member This Topic's Starter

    Joined:
    Nov 6, 2012
    Messages:
    10
    Likes Received:
    0
    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
     

    Attached Files:

  12. sohguanh

    sohguanh Well-Known Member

    Joined:
    Apr 18, 2010
    Messages:
    428
    Likes Received:
    34
    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.
     
    Altruis likes this.
  13. Altruis

    Altruis Member This Topic's Starter

    Joined:
    Nov 6, 2012
    Messages:
    10
    Likes Received:
    0
    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. :)
     

Share This Page

Loading...