maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Personal GPRS Monitor for Fremantle (https://talk.maemo.org/showthread.php?t=32256)

fiferboy 2009-09-30 17:57

Personal GPRS Monitor for Fremantle
 
1 Attachment(s)
Introducing a new desktop applet to help keep track of cell bandwidth on an N900 - Personal GPRS Monitor

Right now the applet simple displays the amount of data the user has uploaded and downloaded while using the GPRS connection. It updates once a minute when it is being shown. When it is not shown it does not do any processing (to save you battery life).

Thanks to zerojay for the idea, design, and testing of this applet.

In future versions I will add configuration options, and perhaps a bandwidth graph. For the time being, it should be useful for monitoring those expensive data charges.

Version 0.2-2 is being built in extras-devel as I type this. I will promote it to extras-testing when I can.

Edit: Version 0.2-3 fixes my unfortunately prevalent typo :(

Edit Version 0.3-1: New icon (thanks joshua.maverick), updated layout, and options for refresh interval, binary or SI prefix, and display reset data.

Edit Version 0.3-2: Now the refresh interval the user chooses is actually used!

Edit Version 0.5-1: New layout with upload/download icons, easier to read numbers, and smaller foot print.

Edit Version 0.5-3: This version allows the user to switch between "compact" layout and "non-compact" layout.

Edit Version 0,5-5 is now in extras! Thanks to all the testers. The download page is http://maemo.org/downloads/product/M...onal-gprs-mon/

Edit Version 0.6-3 is now in extras-devel. This version fixes the data counter problem introduced in PR1.2. Also potentially fixes data overflow error.

zerojay 2009-09-30 18:01

Re: Personal GRPS Monitor for Fremantle
 
I've got a pixel artist that will be working on a unique icon for the package sometime over the next day or two and a sound designer that can help with making alarm sounds so that we'll be ready for it if that feature gets added at some point.

For now, enjoy. :)

joshua.maverick 2009-09-30 18:09

Re: Personal GRPS Monitor for Fremantle
 
I'd like to help with design if that's cool?

fiferboy 2009-09-30 18:11

Re: Personal GRPS Monitor for Fremantle
 
Quote:

Originally Posted by joshua.maverick (Post 336908)
I'd like to help with design if that's cool?

I would, of course, accept any assistance offered. Especially design, which is one of my weaknesses.

I am hoping this initial version is good enough (i.e. with no show stoppers) to promote to extras-testing and get into extras. New versions would be available in extras-devel.

frals 2009-09-30 18:14

Re: Personal GRPS Monitor for Fremantle
 
Great stuff! :)

Any garage site up for it so others can contribute? Woud love to see a monthly/weekly/whatever summary and reset features. :)

fiferboy 2009-09-30 18:16

Re: Personal GRPS Monitor for Fremantle
 
Quote:

Originally Posted by frals (Post 336913)
Great stuff! :)

Any garage site up for it so others can contribute? Woud love to see a monthly/weekly/whatever summary and reset features. :)

Reset is planned, but right now can be done through the control panel. Summary is a good idea, I can implement that in a future version.

Maybe clicking on the widget brings up a summary dialog, and (when in desktop edit mode) the widget settings dialog can contain the reset.

code177 2009-09-30 18:16

Re: Personal GRPS Monitor for Fremantle
 
I just wanted to pop my head into this thread and say I think you guys are awesome, and this is why I'm buying an N900.

kthx.

zerojay 2009-09-30 18:16

Re: Personal GRPS Monitor for Fremantle
 
Quote:

Originally Posted by fiferboy (Post 336915)
Reset is planned, but right now can be done through the control panel. Summary is a good idea, I can implement that in a future version.

Maybe clicking on the widget brings up a summary dialog, and (when in desktop edit mode) the widget settings dialog can contain the reset.

Sounds good to me.

joppu 2009-09-30 18:16

Re: Personal GRPS Monitor for Fremantle
 
How about 3g connection for those who have it?

zerojay 2009-09-30 18:18

Re: Personal GRPS Monitor for Fremantle
 
Quote:

Originally Posted by code177 (Post 336916)
I just wanted to pop my head into this thread and say I think you guys are awesome, and this is why I'm buying an N900.

kthx.

Glad to hear it. Make sure you try to take part and get involved so that you can be sure that you get the features in that you want. You don't need to be a programmer. Come to the #maemo IRC room and talk about your ideas.. post them to brainstorm. You just might end up with what you want. :)

zerojay 2009-09-30 18:19

Re: Personal GRPS Monitor for Fremantle
 
Quote:

Originally Posted by joppu (Post 336919)
How about 3g connection for those who have it?

It should handle 3G just fine unless it's a separate interface within Linux... I don't have access to 3G here so I can't say for sure though.

sampppa 2009-09-30 18:34

Re: Personal GRPS Monitor for Fremantle
 
Hmm should it be GPRS not GRPS :)

http://en.wikipedia.org/wiki/General..._Radio_Service

qwerty12 2009-09-30 18:35

Re: Personal GRPS Monitor for Fremantle
 
Quote:

Originally Posted by joppu (Post 336919)
How about 3g connection for those who have it?

In terms of the GConf keys read (which is the means this applet gets the values from), the N900 does not differentiate between GPRS/3G connections.

@fiferboy, sorry I was not able to test this when you asked me. Without a contract, T-Mobile assume I have money coming out of my *** with GPRS, even. With 3G; they assume that I am drug dealing, being a whore, and doing armed robberies. All at the same time.

fiferboy 2009-09-30 18:37

Re: Personal GRPS Monitor for Fremantle
 
Quote:

Originally Posted by sampppa (Post 336933)

Oops, looks like I will be renaming this applet :)

I have never actually used any cell phone data plan, not that that excuses the total failure of proof-reading.

Thanks

joshua.maverick 2009-09-30 19:01

Re: Personal GRPS Monitor for Fremantle
 
So there is no way to determine how much 3g data is being used?

zerojay 2009-09-30 19:02

Re: Personal GRPS Monitor for Fremantle
 
Quote:

Originally Posted by joshua.maverick (Post 336961)
So there is no way to determine how much 3g data is being used?

Separately, not that we can see.

fiferboy 2009-09-30 19:02

Re: Personal GRPS Monitor for Fremantle
 
Okay, typos are fixed :)

joshua.maverick: As I understand it, 3G data usage accumulates with the GPRS data, so it will be in there too.

code177 2009-09-30 19:40

Re: Personal GRPS Monitor for Fremantle
 
you could go completely overboard with this and make it so you can see a breakdown of data usage by application. No idea how you'd do that, but it'd be insanely useful.

joshua.maverick 2009-09-30 20:08

Re: Personal GPRS Monitor for Fremantle
 
I'm going to mess with the design a bit tonight, and I'll post a mockup, in the meantime if anybody has any screenshots of other widgets, that would be helpful as reference material!

Thanks

nymajoak 2009-09-30 20:43

Re: Personal GPRS Monitor for Fremantle
 
Quote:

Originally Posted by joshua.maverick (Post 337003)
I'm going to mess with the design a bit tonight, and I'll post a mockup, in the meantime if anybody has any screenshots of other widgets, that would be helpful as reference material!

Thanks

You may be looking at these already, but if it helps here are the desktop screenshots I found in the my-symbian and mobile-review previews:

http://my-symbian.com/other/show2.php?pic=scr5.jpg
http://my-symbian.com/other/show2.php?pic=scr6.jpg
http://my-symbian.com/other/show2.php?pic=scr7.jpg
http://my-symbian.com/other/show2.php?pic=scr8.jpg

http://www.mobile-review.com/review/...p/desktop1.jpg
http://www.mobile-review.com/review/...p/desktop2.jpg
http://www.mobile-review.com/review/...p/desktop3.jpg
http://www.mobile-review.com/review/...p/desktop4.jpg
http://www.mobile-review.com/review/...p/desktop5.jpg
http://www.mobile-review.com/review/...es/themes6.jpg
http://www.mobile-review.com/review/...es/themes7.jpg
http://www.mobile-review.com/review/...es/themes8.jpg
http://www.mobile-review.com/review/...es/themes5.jpg
http://www.mobile-review.com/review/.../scr/scr06.jpg
http://www.mobile-review.com/review/.../scr/scr07.jpg
http://www.mobile-review.com/review/.../scr/scr08.jpg
http://www.mobile-review.com/review/.../scr/scr48.jpg

joshua.maverick 2009-09-30 20:46

Re: Personal GPRS Monitor for Fremantle
 
Thanks! This really helps, this widget is going to look booom.

nymajoak 2009-09-30 20:50

Re: Personal GRPS Monitor for Fremantle
 
Quote:

Originally Posted by code177 (Post 336916)
I just wanted to pop my head into this thread and say I think you guys are awesome, and this is why I'm buying an N900.

kthx.

And I would just like to second that. Couldn't say it better myself (I've tried..)

allnameswereout 2009-09-30 21:18

Re: Personal GPRS Monitor for Fremantle
 
Hmm together with knowing cost you can calculate how much is burned. There is also roaming with different tariffs though. How are you calculating the data, and how often? Is the log saved after reboot? I suggest to use external program like vnStat to count the data traffic.

zerojay 2009-09-30 22:02

Re: Personal GPRS Monitor for Fremantle
 
Quote:

Originally Posted by allnameswereout (Post 337047)
Hmm together with knowing cost you can calculate how much is burned. There is also roaming with different tariffs though. How are you calculating the data, and how often? Is the log saved after reboot? I suggest to use external program like vnStat to count the data traffic.

We are barely doing any work whatsoever on this. All the data for it is provided through gconf. The phone handles everything having to do with the numbers. We just need to dumbly display them, honestly. Reboot doesn't erase the numbers. The user has to specifically tell the phone to reset the numbers in the Phone portion of Control Panel.

allnameswereout 2009-09-30 22:07

Re: Personal GPRS Monitor for Fremantle
 
Quote:

Originally Posted by zerojay (Post 337073)
We are barely doing any work whatsoever on this. All the data for it is provided through gconf. The phone handles everything having to do with the numbers. We just need to dumbly display them, honestly. Reboot doesn't erase the numbers. The user has to specifically tell the phone to reset the numbers in the Phone portion of Control Panel.

Interesting. Then I wonder how the phone calculates the traffic, and how/if it is possible to detect roaming, country, and tariff.

zerojay 2009-09-30 22:10

Re: Personal GPRS Monitor for Fremantle
 
Quote:

Originally Posted by allnameswereout (Post 337079)
Interesting. Then I wonder how the phone calculates the traffic, and how/if it is possible to detect roaming, country, and tariff.

I'll look into it.

qole 2009-09-30 22:14

Re: Personal GPRS Monitor for Fremantle
 
Doesn't install. Finds only the misspelled package, but can't download it because it is missing?

fiferboy 2009-09-30 23:11

Re: Personal GPRS Monitor for Fremantle
 
Qole - the properly spelled package should be in extras-devel now, and is on its way to extras-testing. I am going to get some administrator to remove the incorrectly spelled package.

Sorry for the inconvenience :o

zerojay 2009-09-30 23:27

Re: Personal GPRS Monitor for Fremantle
 
Just installed and it works. Let's see what happens from here. :)

Hogwash 2009-09-30 23:32

Re: Personal GRPS Monitor for Fremantle
 
Quote:

Originally Posted by code177 (Post 336992)
you could go completely overboard with this and make it so you can see a breakdown of data usage by application. No idea how you'd do that, but it'd be insanely useful.

See? You've only just arrived and already you're making awesome suggestions! :)

That would be a kickass feature!

Obviously, you would need to collect data at a different point than you do currently - I presume you have access to gross bandwidth up/down? You would need to process bandwidth up/down in a similar layer as the nix utility netstat.

qole 2009-09-30 23:47

Re: Personal GPRS Monitor for Fremantle
 
Does it need a reboot to appear in the list of widgets to add to the desktop?

EDIT: It just appears on the desktop, my fault, I didn't see it.

zerojay 2009-09-30 23:53

Re: Personal GPRS Monitor for Fremantle
 
Quote:

Originally Posted by qole (Post 337119)
Does it need a reboot to appear in the list of widgets to add to the desktop?

Not normally. no.

joshua.maverick 2009-10-01 01:21

Re: Personal GPRS Monitor for Fremantle
 
http://mav-media.com/maemo5/dataMonitor/simple001.jpg

I'm not entirely satisfied with the little icon, maybe I should put like a "heart monitor wave line" thing on the screen of the "tablet"?

Thoughts, feedback, ideas are welcome.

Soulfarmer 2009-10-01 01:30

Re: Personal GPRS Monitor for Fremantle
 
This looks promising. Very nice and I like the idea of the widget. I almost feel sorry for myself since I have unlimited data plan (5mbps) so I won't be needing this necessarily, but out of curiosity I think I surely will try it out when I get my device

zerojay 2009-10-01 01:30

Re: Personal GPRS Monitor for Fremantle
 
1 Attachment(s)
Quote:

Originally Posted by joshua.maverick (Post 337146)
http://mav-media.com/maemo5/dataMonitor/simple001.jpg

I'm not entirely satisfied with the little icon, maybe I should put like a "heart monitor wave line" thing on the screen of the "tablet"?

Thoughts, feedback, ideas are welcome.

It's nice, though I'd like to have the fonts match the other widgets. We also already have an icon that a pixel artist at work made for the program earlier today. Take a look and tell me what you think. (The pink parts will be transparent, obviously.)

Attachment 4197

joshua.maverick 2009-10-01 01:40

Re: Personal GPRS Monitor for Fremantle
 
Do we know what the default font is?

To be honest I'm not really a fan of that icon, I like the ovi style icons, but I wasn't sure what to make as a symbol for data.

zerojay 2009-10-01 01:45

Re: Personal GPRS Monitor for Fremantle
 
Quote:

Originally Posted by joshua.maverick (Post 337153)
Do we know what the default font is?

To be honest I'm not really a fan of that icon, I like the ovi style icons, but I wasn't sure what to make as a symbol for data.

The default font is on the left side of your mockup.

joshua.maverick 2009-10-01 01:56

Re: Personal GPRS Monitor for Fremantle
 
I can see the font, I just don't know the name of it.

As for your icon, this is your widget right, so its up to you, I just think that pixel style icon is a bit old school, and the ovi styled icons are more "modern" "web 2.0" feeling, with their gradients and details and such.

zerojay 2009-10-01 02:03

Re: Personal GPRS Monitor for Fremantle
 
Quote:

Originally Posted by joshua.maverick (Post 337165)
I can see the font, I just don't know the name of it.

As for your icon, this is your widget right, so its up to you, I just think that pixel style icon is a bit old school, and the ovi styled icons are more "modern" "web 2.0" feeling, with their gradients and details and such.

Not sure what the actual font name is. Yeah, I can see your point about the icon. It was originally done for the Application Manager, so it doesn't have to be the same one on the desktop.

qole 2009-10-01 02:37

Re: Personal GPRS Monitor for Fremantle
 
Joshua's icon kicks the other one's @ss. 'Nuff said.


All times are GMT. The time now is 11:52.

vBulletin® Version 3.8.8