Join Today
+ Reply to Thread
Page 1 of 3 123 LastLast
Results 1 to 10 of 21
Like Tree6Likes

Thread: [APP] Space Monitor

  1. #1
    Join Date
    Jan 2008
    Location
    Romania
    Posts
    785

    Default [APP] Space Monitor

    Space Monitor v1.1



    I was quite pissed of by the fact that i don't have much space in my phone just in the moments i need it more, and so i made an application that alerts me when the free space goes under a certain level.

    As i don't know how to code and compile an app for my rokr e6 it's script based. [bash]

    Here's a "short" walkthrough for the app ("short" as all my tutorials )

    First time you run the app you'll have to set some settings, but you don't have to worry about forgetting anything as the app automatically walks you through all the needed information as it follows:

    You'll have to set the Timezone GMT
    (it's not used too much and so you could let it be 0 if you don't care)
    If you'll just use it from the main phone menu let it be 0 as it gets the time correctly. You'll have to adjust the value if you decide to run it from startup script, ekonsole or from startmenu or other kind of launcher.


    Next is the refresh rate in minutes. This is the time between two space checks. You can set it as you wish. I prefer keeping it either at 1 or 5 minutes.


    If you want to activate sound you do it from this next question.
    The sound consists in a short "ding" sound which is also used in the overclock app.


    If you activate the sound you'll have to set the volume which has a range from 1 to 7. (1=lowest volume; 7=highest volume)


    [v1.1] After that you can choose the desired sound. To add more sounds just copy your *.mid or *.mp3 file to /mmc/mmca1/.system/QTDownLoad/space/sounds/
    By default there are the ding sound and the siren provided by intermario


    Now comes a sequence of 3 repetitive dialogs but for different locations. First you'll be asked if you want to monitor the given location (3 available: ezx_user, ezxlocal, mmc) as you can see in the screenshot:


    [v1.1] And if you agree to monitor the location you'll have to set the measuring format KB/MB and the alarm level, meaning the size of the desired free memory measured in MB (the maximum value is given and the minimum is 1):


    All this happens only at the first-time run. After that you'll get straight to this next step which consists in the menu:

    1. Check Now
    Just check the space level (if there's any alarm you'll be announced, or else you'll be returned to the menu)
    2. Start Monitoring
    It starts the monitoring process. / When the monitoring process is running this option will show Stop Monitoring which obviously will stop the monitoring.
    3. Delayed Start
    This option allows you to set a certain time (in minutes) after which the monitoring starts.

    When the monitoring process runs this option will show Pause Monitoring and you'll be able to pause the monitoring process for a certain time (also in minutes).
    4.Change Settings [v1.1]
    Shows the settings menu:

    From this menu you can change the previously encountered settings.
    -change timezone GMT
    -change refresh rate
    -monitor or not the locations
    -set other alert levels
    -change size types [v1.1]
    -tune the sound setting/choose another sound [v1.1]
    5. Add to startup [v1.1]
    This one allows you to add to startup the app easier. It has a couple of startup methods already implemented but there might be missing some and so you can manually insert the path to the startup file/folder.
    6. Statistics [v1.1]
    Shows some statistics relating the app. You also have the option to reset the statistics. This is the main use of the Timezone GMT setting.
    Format:
    Date: dd/mm/yy
    Time: hh:mm:ss

    NOTE: If you don't get the time right and it's the value of the gmt instead it means you don't have the date binary in your firmware. In this case you should use this pkg version which includes the binary: http://www.motorolafans.com/forums/e...tml#post186415

    You can also use some command lines if you want as it has a couple implemented [v1.1] added log option to log in /mmc/mmca1/spacem.log:



    Feel free to propose any improvement or to report bugs as it still is a beta. I didn't have much time to test it.


    The program isn't zipped just renamed.
    Attached Thumbnails Attached Thumbnails [APP] Space Monitor-20090308082925.png   [APP] Space Monitor-20090308083113.png   [APP] Space Monitor-20090308083118.png   [APP] Space Monitor-20090308083125.png   [APP] Space Monitor-20090308083130.png  

    [APP] Space Monitor-20090308083136.png   [APP] Space Monitor-20090308083143.png   [APP] Space Monitor-20090308083209.png   [APP] Space Monitor-20090308083241.png   [APP] Space Monitor-20090311141955.png  

    [APP] Space Monitor-20090311142006.png   [APP] Space Monitor-20090311142046.png   [APP] Space Monitor-20090311142101.png   [APP] Space Monitor-20090311142110.png   [APP] Space Monitor-20090311142122.png  

    [APP] Space Monitor-20090311142134.png  
    Attached Files Attached Files
    Last edited by BruceLee; 03-13-2009 at 11:48 AM. Reason: Update v1.1

  2. #2
    Join Date
    Jun 2007
    Location
    Republic of Moldova - Kishinev
    Posts
    200

    Default

    nice! bravo, frate!

  3. #3
    Join Date
    Jan 2008
    Location
    Romania
    Posts
    785

    Default

    ms ia uite domne) te stiu de cand am intrat prima data pe forumu asta si habar naveam ca esti roman

  4. #4
    Join Date
    Jul 2008
    Location
    Greece
    Posts
    298

    Default

    Very handy application! Great one, thanks for sharing!

    Oh, and about the add to startup function..
    Other possible locations would be "autorun.txt" and "autorun1.txt", some firmwares use these files as startup scripts.
    (Mine uses the "autorun.txt" script so I had to manually insert the script code into my startup script).

    EDIT: Alright, I made some improvements to BruceLee's original version.
    1. I added the two extra locations (mentioned above) myself!
    2. I changed the alert sound to something more "specific" and alert-like, a factory siren
    Just rename these files to remove the ZIP extension and copy them to the app's installation folder (should be "/mmc/mmca1/.system/QTDownLoad/space").

    Again, credits go to BruceLee for making this amazing app!
    Attached Files Attached Files
    Last edited by intermario_gr; 03-09-2009 at 12:51 AM.
    BruceLee likes this.

  5. #5
    Join Date
    Sep 2008
    Location
    Panipat, Haryana(INDIA)
    Posts
    1,719

    Default

    Very Nice App.
    Thanks For Sharing.

    Regards

  6. #6
    Join Date
    Jul 2008
    Location
    Greece
    Posts
    298

    Default

    @BruceLee

    BUG FOUND
    The user-defined alarm limits for ezx_user and ezxlocal are calculated in MegaBytes by dividing by 1024 but that's a problem. You see, we may have 3.9MB of ezxlocal freespace and if the alarm limit is set to 3MB, the alarm will go off! That's because 3900KB get truncated (cut off) to 3MB. This results in the program being highly inaccurate, especially in ezxuser and ezxlocal limits where values are within the [1-7] range.

    Can you please modify the app so that it uses KiloBytes?

    P.S. For the MMC, we could still use MegaBytes without having this problem, since sizes there vary from (128-2000)MB.

    Thanks...
    Last edited by intermario_gr; 03-10-2009 at 12:30 AM.

  7. #7
    Join Date
    Jul 2007
    Location
    World Wide Web
    Posts
    1,014

    Default

    A very useful application found , just some improvements needed
    --==__NIRMAL__==--
    Click on "THANKS" if you like my post...

  8. #8
    Join Date
    Jan 2008
    Location
    Romania
    Posts
    785

    Default

    @intermario
    thanks for the updated script and mentioned bug.. some update will show off today

    @nimsrules
    you could mention the needed improvements

    edit:
    -made the KB thing solved
    -backup bug with the startup add
    -made sounds adding really easy
    -other improvements in the script code
    but still didn't complete it so i'll post it tomorow.. sorry
    Last edited by BruceLee; 03-10-2009 at 08:11 PM.

  9. #9
    Join Date
    Sep 2007
    Location
    Cape Town, South Africa
    Posts
    622

    Default

    Getting an unknown format error with SmartAsst. I'm at work and can't get the file to my pc to repack it. I'll see about it when I get home later if I'm in the mood.
    Is there any way to have the user select (browse for) their startup file - I use Intermario_gr's RunScript and my startup file is located in ".system/QTDownLoad/RunScript/autorun.lin".
    Or I guess you could add the location... I haven't looked at the script yet to see for myself how it's laid out.
    Opera/9.60 (J2ME/MIDP; Opera Mini/4.2.13337/670; U; en) Presto/2.2.0

  10. #10
    Join Date
    Jul 2008
    Location
    Greece
    Posts
    298

    Default

    @Casper

    Since we're expecting an update from BruceLee anytime today or tomorrow, I'll probably get and update the latest version.

    It's not a big deal to add this specific location, I'll do it once BruceLee is done with his updates.
    Last edited by intermario_gr; 03-11-2009 at 11:44 AM.


 
+ Reply to Thread
Page 1 of 3 123 LastLast

Similar Threads

  1. [APP] Space Monitor
    By BruceLee in forum A1200 General Chat
    Replies: 1
    Last Post: 03-08-2009, 05:11 PM
  2. Replies: 17
    Last Post: 12-11-2007, 08:35 AM
  3. [APP] DSPACE- tells you free storage space in your Ming
    By cooljames in forum A1200 Applications
    Replies: 3
    Last Post: 09-20-2007, 10:40 AM
  4. Net Monitor, tapisrv
    By dionua in forum Development
    Replies: 2
    Last Post: 10-26-2006, 11:27 PM
  5. GSM monitor
    By tott3n in forum A780 General Chat
    Replies: 2
    Last Post: 12-09-2005, 06:37 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Optimization by vBSEO 3.6.0 RC 1