maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   ConnectNow Maemo5 widget to switch between internet connections (https://talk.maemo.org/showthread.php?t=47623)

nicolai 2010-03-17 17:49

ConnectNow Maemo5 widget to switch between internet connections
 
Hey,

most of the time I use only two internet connections, gprs and my wifi at home.
As I am tired from open the internet connection wizard, wait and than select one of my stored connections, I made this little desktop widget.

You can put one or more on your desktop and define which connection it should open.

connectnow-home-widget in extras-devel
nicolai

mthmob 2010-03-20 18:06

Re: ConnectNow Maemo5 widget to switch between internet connections
 
Very nice! :) Works great. This makes everything alot easier for me.

Have.you considered to add the gprs icon to gprs widgets, instead of the wifi icon? :)

biggzy 2010-03-20 18:32

Re: ConnectNow Maemo5 widget to switch between internet connections
 
does it also close the connection when pressed again? Or just open a connection? Thanx

Ronaldo 2010-03-20 18:43

Re: ConnectNow Maemo5 widget to switch between internet connections
 
any screen shots?

baron von bubba 2010-03-20 19:04

Re: ConnectNow Maemo5 widget to switch between internet connections
 
Quote:

Originally Posted by biggzy (Post 575020)
does it also close the connection when pressed again? Or just open a connection? Thanx

yes they are "toggle" buttons.

its a nice little handy app, thanks muchly.

agree the ability for different icons would be nice tho
.

biggzy 2010-03-20 20:07

Re: ConnectNow Maemo5 widget to switch between internet connections
 
1 Attachment(s)
Quote:

Originally Posted by nicolai (Post 570792)
Hey,

most of the time I use only two internet connections, gprs and my wifi at home.
As I am tired from open the internet connection wizard, wait and than select one of my stored connections, I made this little desktop widget.

You can put one or more on your desktop and define which connection it should open.

connectnow-home-widget in extras-devel
nicolai

Hi and thanks for this great app, is there anyway i can edit the icon to an icon of my choice?

I have made a icon to match the system and would like to use it with this app .. Attachment 8252

nicolai 2010-03-21 22:31

Re: ConnectNow Maemo5 widget to switch between internet connections
 
Hi,

@mthmob: First I wanted two different images for gprs and wlan,
but I had absolutly no idea how a gprs icon should look like.

@Ronaldo:You can see a screenshot in this thread http://talk.maemo.org/showpost.php?p...8&postcount=15. There are two ConnectNow widgest on the left side under the dataplan widget.

@biggzy: Yes, you can tap on the icons to open a connection, close
an open connection and to switch to another connection.
At the moment I don't use icon images, they are painted directly.
I may change the widgets to use different icons for every connection.
But I need two icons, one for every connection state (connected and disconnected).

m165 2010-03-21 22:52

Re: ConnectNow Maemo5 widget to switch between internet connections
 
Brilliant widget!

I often switch between just two connections, home WiFi, and 3G internet too, so this is much quicker than tapping the menu bar, then go into internet connections. I wanted a quick way to disconnect from the internet too, this is also perfect for that too.

Keep up the good work!

biggzy 2010-03-21 23:11

Re: ConnectNow Maemo5 widget to switch between internet connections
 
Quote:

Originally Posted by nicolai (Post 576395)
Hi,

@biggzy: Yes, you can tap on the icons to open a connection, close
an open connection and to switch to another connection.
At the moment I don't use icon images, they are painted directly.
I may change the widgets to use different icons for every connection.
But I need two icons, one for every connection state (connected and disconnected).

Thanx for the reply, if you need any icons just ask, i have lots of icons that match the maemo5 icons.

m165 2010-03-22 00:23

Re: ConnectNow Maemo5 widget to switch between internet connections
 
Just to post a little annoyance, it's really hard to move these widgets about, and I had one stuck on my desktop. It wouldn't move at all, as soon as it's pressed, it came up with the settings. Maybe thats something you could look at :)

qwertyberty 2010-03-22 00:29

Re: ConnectNow Maemo5 widget to switch between internet connections
 
Thank you Nicolai,
This is one of best things I've installed.
So simple but so useful.
Excellent work.

nicolai 2010-03-22 00:36

Re: ConnectNow Maemo5 widget to switch between internet connections
 
Quote:

Originally Posted by m165 (Post 576502)
Just to post a little annoyance, it's really hard to move these widgets about, and I had one stuck on my desktop. It wouldn't move at all, as soon as it's pressed, it came up with the settings. Maybe thats something you could look at :)

Yes, I know. It is a little bit to small. I am only able to move the widget
with the stylus :-)

At the moment I do some testing for the optimal size. What would
be the optimal size for you?

m165 2010-03-22 01:03

Re: ConnectNow Maemo5 widget to switch between internet connections
 
Personally, I wouldn't mind it being the same size as the application shortcut widgets.

I don't know if you can put an invisible border around the icons, which will push the close and settings buttons further out too?

biggzy 2010-03-22 01:14

Re: ConnectNow Maemo5 widget to switch between internet connections
 
is there any chance of making the part round the icon match the rest of the icon backgrouds on the desktop with curved edges etc?

nicolai 2010-03-22 07:47

Re: ConnectNow Maemo5 widget to switch between internet connections
 
Quote:

Originally Posted by m165 (Post 576543)
Personally, I wouldn't mind it being the same size as the application shortcut widgets.

I don't know if you can put an invisible border around the icons, which will push the close and settings buttons further out too?

Good idea, I'll try it.

nicolai

unkno 2010-03-22 08:12

Re: ConnectNow Maemo5 widget to switch between internet connections
 
This widget may also improve battery life since using the connection wizard will scan for any wireless connections in the area.

nicolai 2010-03-26 21:36

Re: ConnectNow Maemo5 widget to switch between internet connections
 
1 Attachment(s)
New version in extras-devel. Two changes:

1. It is bigger (to big?)
2. You can use your own icons. For example, if you have these icons
/home/user/disconnected.png
/home/user/connected.png
add those two lines to the config file
connectedIcon=/home/user/connected.png
disconnectedIcon=/home/user/disconnected.png

The config file for this widget is:
/home/user/.connectnow_home_widget

Every connection entry in your config file can define his own icons.

This version (0.3) is in extras-devel. But the autobuilder is using
PR 1.2 SDK that means this version is not installable until we get
PR 1.2. for our devices. If you cannot wait, take this one:

biggzy 2010-03-26 22:35

Re: ConnectNow Maemo5 widget to switch between internet connections
 
Quote:

Originally Posted by nicolai (Post 583794)
New version in extras-devel. Two changes:

1. It is bigger (to big?)
2. You can use your own icons. For example, if you have these icons
/home/user/disconnected.png
/home/user/connected.png
add those two lines to the config file
connectedIcon=/home/user/connected.png
disconnectedIcon=/home/user/disconnected.png

The config file for this widget is:
/home/user/.connectnow_home_widget

Every connection entry in your config file can define his own icons.

This version (0.3) is in extras-devel. But the autobuilder is using
PR 1.2 SDK that means this version is not installable until we get
PR 1.2. for our devices. If you cannot wait, take this one:

Thanx very much for this, but i cant make it see my own icons? any help

zimon 2010-03-26 23:00

Re: ConnectNow Maemo5 widget to switch between internet connections
 
Quote:

Originally Posted by nicolai (Post 576518)
Yes, I know. It is a little bit to small. I am only able to move the widget
with the stylus :-)

At the moment I do some testing for the optimal size. What would
be the optimal size for you?

For my taste the little icon is OK. You need a stylus to set its place on Desktop, but once it is there, you wouldn't need to move it anymore and it's big enough to be controlled by finger still.

Only problem is the feature in desktop, that when you leave your finger (or something else) touch "too" long the screen, it goes to edit mode and then everything usually gets messed up because it was unintentional. I hope this will be fixed in PR1.2.

nicolai 2010-03-26 23:42

Re: ConnectNow Maemo5 widget to switch between internet connections
 
Quote:

Originally Posted by biggzy (Post 583841)
Thanx very much for this, but i cant make it see my own icons? any help

This is my config file:

.connectnow_home_widget

[connectnow-home-widget.desktop-1]
connection_id=E-Plus Internet
connection_name=BASE NET
connectedIcon=/usr/share/icons/hicolor/48x48/hildon/chat_smiley_veryhappy.png
disconnectedIcon=/usr/share/icons/hicolor/48x48/hildon/chat_smiley_sleepy.png

[connectnow-home-widget.desktop-0]
connection_id=a6a70a39-2772-4ec9-a376-31200a8d6586
connection_name=belkin54g

m165 2010-03-27 00:06

Re: ConnectNow Maemo5 widget to switch between internet connections
 
More thumb friendly definitly!

Can we edit the name of the connections, for example, if my wi-fi at home was called "SKY1234", can we change that too "Home" in the config file, will it still work?

Bec 2010-03-27 18:10

Re: ConnectNow Maemo5 widget to switch between internet connections
 
@m165
You can change that from:
Settings>Internet connections>Connections
Just look for the access point and edit it's name.

@nicolai
Thanks for this most useful widget, I have 3 fav. connections (home, work and carrier) and I find this widget most useful.

However I'm not able to update/install the 0.3 version:
Quote:

Unable to install 'ConnectNow internet connection switch'
Application packages missing: libhildon1 (>=2.2.10)
I've also noticed that it can accidentally be clicked on during swiping.

Thanks

qwerty12 2010-03-27 21:37

Re: ConnectNow Maemo5 widget to switch between internet connections
 
Hiya,

Thanks for the widget but is it intentional that pressing the widget doesn't do anything if pressed while the N900 is in Offline mode? I'm currently forcing it to do so with a call to MCE, but there probably are better ways...

jukkar 2010-03-27 22:59

Re: ConnectNow Maemo5 widget to switch between internet connections
 
Quote:

Originally Posted by unkno (Post 576724)
This widget may also improve battery life since using the connection wizard will scan for any wireless connections in the area.

There is normally a scan before a connection attempt (unless the AP is found in the cache) so probably no power savings here.

sophocha 2010-03-28 00:14

Re: ConnectNow Maemo5 widget to switch between internet connections
 
Quote:

Originally Posted by Bec (Post 584488)
@m165
You can change that from:
Settings>Internet connections>Connections
Just look for the access point and edit it's name.

@nicolai
Thanks for this most useful widget, I have 3 fav. connections (home, work and carrier) and I find this widget most useful.

However I'm not able to update/install the 0.3 version:


I've also noticed that it can accidentally be clicked on during swiping.

Thanks

Yep, great app but it`s missing libhildon1 for the update.Do we just install the file manually and retry to update the app?

qwerty12 2010-03-28 08:55

Re: ConnectNow Maemo5 widget to switch between internet connections
 
1 Attachment(s)
Quote:

Originally Posted by qwerty12 (Post 584715)
Hiya,

Thanks for the widget but is it intentional that pressing the widget doesn't do anything if pressed while the N900 is in Offline mode? I'm currently forcing it to do so with a call to MCE, but there probably are better ways...

Well, I needed it, so...

Bec 2010-03-28 09:06

Re: ConnectNow Maemo5 widget to switch between internet connections
 
Well thanks, but how ca we install it/where should it be placed?

d-iivil 2010-03-28 10:00

Re: ConnectNow Maemo5 widget to switch between internet connections
 
Nice handy little app, thanks :)

slipkornsaad 2010-03-28 12:33

Re: ConnectNow Maemo5 widget to switch between internet connections
 
Quote:

Originally Posted by sophocha (Post 584879)
Yep, great app but it`s missing libhildon1 for the update.Do we just install the file manually and retry to update the app?

Same here...when i try to get libhildon1 manually (apt-get install) it says that i have already the latest build...

nicolai 2010-03-28 12:34

Re: ConnectNow Maemo5 widget to switch between internet connections
 
Quote:

Originally Posted by qwerty12 (Post 585163)
Well, I needed it, so...

Thank you qwerty12, indeed a very usefull addition. This applet
can now switch to normal-mode before attempting to connect from
offline-mode.
And no, the prior behavior it was not intentional, I didn't know what would happen in offline mode.

@Bec: It is still not updateable, as the fremantle autobuilder uses
the PR 1.2 SDK.

nicolai

Bec 2010-03-28 14:23

Re: ConnectNow Maemo5 widget to switch between internet connections
 
Isn't it possible to manually install what qwerty12 has posted?

nicolai 2010-03-28 14:57

Re: ConnectNow Maemo5 widget to switch between internet connections
 
1 Attachment(s)
Quote:

Originally Posted by Bec (Post 585448)
Isn't it possible to manually install what qwerty12 has posted?

What qwerty12 posted is a patch for the sourcecode. I applied this patch and moved the programcode to the autobuilder for the extras-devel repository. But all new programs in extras-devel are already build for the next PR 1.2 update and so some arent installable until we have PR 1.2. on our devices.

If you can not wait, take this one. I build this in my development environment which not depends on PR 1.2. (and it also inlcudes qwerty12s patch).

Bec 2010-03-28 15:25

Re: ConnectNow Maemo5 widget to switch between internet connections
 
Thank you so much :D

I'm don't want to be ungrateful, but the smaller one was qt-er

tangs 2010-03-28 15:50

Re: ConnectNow Maemo5 widget to switch between internet connections
 
very good app !!! would it be possible to make it working like this :
when i'm pressing the icon to disconnect, it' disconnecting like with the "wifi switcher" ? Like this, the device is not scanning the connection around that is saving the battery's life

HRZ 2010-03-28 15:51

Re: ConnectNow Maemo5 widget to switch between internet connections
 
Great app. Incredibly useful and it's been on my wishlist for months now.

Like bec, I used the one you just posted to update, and kind of wish I stayed with the smaller ones since I find the bigger ones are JUST as hard to move around on the desktop. it's like surgery using the stylus having to get the lower right corner picked up in order for it to budge. that's my only complaint. anyway to go back to the smaller ones? what version number and is it posted in this thread a couple pages back?
Thanks and keep it up!

nicolai 2010-03-30 07:52

Re: ConnectNow Maemo5 widget to switch between internet connections
 
1 Attachment(s)
To small? To big?
Widget size is now customizable.
And you can change the displayed connection name.
Have fun
nicolai

coolice 2010-04-04 19:05

Re: ConnectNow Maemo5 widget to switch between internet connections
 
Quote:

Originally Posted by nicolai (Post 587747)
To small? To big?
Widget size is now customizable.
And you can change the displayed connection name.
Have fun
nicolai

Hi !

I would like to ask 2 questions if possible :

1. I know it is strange issue, but could you set the "settings" icon on your icon to move up please ?

I mean, when you set the desktop icons to ad or place widget/icon, etc, those opens has extra setting possibility shows an extra small icon on the icon itself to do that. problem is, that in your ikon, this is below the icon itself, so in case if you want to move to teh very bottom of the screen it is impossible as this settings icon blocks the way.

Could you be so kind to move this settings icon upper please ? I know it is possible as e.g. Bluezwitch has it right.

2. How can I create an icon for DISCONNECT network ? I mean if I would like to turn off any wifi or gprs network ?

Many Thanks for your time and help,

Andrew

Spr33 2010-04-05 01:45

Re: ConnectNow Maemo5 widget to switch between internet connections
 
Awesome little app. I love how you can customize size of the icon too. Great job!!

coolice 2010-04-16 21:57

Re: ConnectNow Maemo5 widget to switch between internet connections
 
Hi Nicolai !

Can you help please :

To move the "settings wench key" (when placing teh widget on desktop) higher on your icon pleas, so it could be moved down to the edge of the screen please ?

Many Thanks for your help and reply,

Andrew

GrimmReaperNL 2010-04-18 23:49

Re: ConnectNow Maemo5 widget to switch between internet connections
 
hey guys, i've recently updated my connectnow widget and now it won't keep the settings for each widget.

i have 4 of them on one of my desktops each, obviously, with a diferent connection. when i put all the settings the way i want them and reboot (either reboot or restart (off and on)) all 4 link to the same connection but! all have the names of the connection i want them to have.

who can help my out?


All times are GMT. The time now is 16:33.

vBulletin® Version 3.8.8