473,480 Members | 1,922 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

GPRS Signal Strength

Hi all

I am working with CF2 and C#.

I was hoping that someone could point me in the right direction for how I
can determine if there is a GPRS Signal.

I am using Merge Replication to SQL Mobile and I am not sure how I should
handle it if there is no signal.

Any suggestions.

Thanks,
ink

Mar 20 '07 #1
4 9864
If your device is Windows Mobile 5.0 you can use the
Microsoft.WindowsMobile.Status namespace functionality.
SystemState.PhoneSignalStrength returns the signal strength as a percentage.
Also SystemState.PhoneGprsCoverage returns whether or not GPRS is currently
available, which is probably more relevant in your scenario.
Another approach is to use ConnectionManager to establish the connection and
check for successful connection. If not don't run your replication code and
you could optionally display an alert to the user that they don't have a
connection.

Peter

--
Peter Foot
Device Application Development MVP
www.peterfoot.net | www.inthehand.com

"iKiLL" <iK***@NotMyEmail.comwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
Hi all

I am working with CF2 and C#.

I was hoping that someone could point me in the right direction for how I
can determine if there is a GPRS Signal.

I am using Merge Replication to SQL Mobile and I am not sure how I should
handle it if there is no signal.

Any suggestions.

Thanks,
ink
Mar 20 '07 #2
Thanks Peter

That is exactly what i was hoping for. "Microsoft.WindowsMobile.Status"

The ConnectionManager Approch.
How would i do that. Is that coding or is that something you setup on the
PDA.


"Peter Foot [MVP]" <fe******@nospam-inthehand.comwrote in message
news:B0**********************************@microsof t.com...
If your device is Windows Mobile 5.0 you can use the
Microsoft.WindowsMobile.Status namespace functionality.
SystemState.PhoneSignalStrength returns the signal strength as a
percentage. Also SystemState.PhoneGprsCoverage returns whether or not GPRS
is currently available, which is probably more relevant in your scenario.
Another approach is to use ConnectionManager to establish the connection
and check for successful connection. If not don't run your replication
code and you could optionally display an alert to the user that they don't
have a connection.

Peter

--
Peter Foot
Device Application Development MVP
www.peterfoot.net | www.inthehand.com

"iKiLL" <iK***@NotMyEmail.comwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
>Hi all

I am working with CF2 and C#.

I was hoping that someone could point me in the right direction for how I
can determine if there is a GPRS Signal.

I am using Merge Replication to SQL Mobile and I am not sure how I should
handle it if there is no signal.

Any suggestions.

Thanks,
ink

Mar 20 '07 #3
Connection Manager is a native API, so you would either need to write some
code to P/Invoke it or use a wrapper.

Peter

--
Peter Foot
Device Application Development MVP
www.peterfoot.net | www.inthehand.com

"iKiLL" <iK***@NotMyEmail.comwrote in message
news:eY**************@TK2MSFTNGP04.phx.gbl...
Thanks Peter

That is exactly what i was hoping for. "Microsoft.WindowsMobile.Status"

The ConnectionManager Approch.
How would i do that. Is that coding or is that something you setup on the
PDA.


"Peter Foot [MVP]" <fe******@nospam-inthehand.comwrote in message
news:B0**********************************@microsof t.com...
>If your device is Windows Mobile 5.0 you can use the
Microsoft.WindowsMobile.Status namespace functionality.
SystemState.PhoneSignalStrength returns the signal strength as a
percentage. Also SystemState.PhoneGprsCoverage returns whether or not
GPRS is currently available, which is probably more relevant in your
scenario.
Another approach is to use ConnectionManager to establish the connection
and check for successful connection. If not don't run your replication
code and you could optionally display an alert to the user that they
don't have a connection.

Peter

--
Peter Foot
Device Application Development MVP
www.peterfoot.net | www.inthehand.com

"iKiLL" <iK***@NotMyEmail.comwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
>>Hi all

I am working with CF2 and C#.

I was hoping that someone could point me in the right direction for how
I can determine if there is a GPRS Signal.

I am using Merge Replication to SQL Mobile and I am not sure how I
should handle it if there is no signal.

Any suggestions.

Thanks,
ink

Mar 21 '07 #4
OpenNETCF.org has a ConnectionManager wrapper.

Simon.

"iKiLL" wrote:
Thanks Peter

That is exactly what i was hoping for. "Microsoft.WindowsMobile.Status"

The ConnectionManager Approch.
How would i do that. Is that coding or is that something you setup on the
PDA.


"Peter Foot [MVP]" <fe******@nospam-inthehand.comwrote in message
news:B0**********************************@microsof t.com...
If your device is Windows Mobile 5.0 you can use the
Microsoft.WindowsMobile.Status namespace functionality.
SystemState.PhoneSignalStrength returns the signal strength as a
percentage. Also SystemState.PhoneGprsCoverage returns whether or not GPRS
is currently available, which is probably more relevant in your scenario.
Another approach is to use ConnectionManager to establish the connection
and check for successful connection. If not don't run your replication
code and you could optionally display an alert to the user that they don't
have a connection.

Peter

--
Peter Foot
Device Application Development MVP
www.peterfoot.net | www.inthehand.com

"iKiLL" <iK***@NotMyEmail.comwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
Hi all

I am working with CF2 and C#.

I was hoping that someone could point me in the right direction for how I
can determine if there is a GPRS Signal.

I am using Merge Replication to SQL Mobile and I am not sure how I should
handle it if there is no signal.

Any suggestions.

Thanks,
ink


Mar 21 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3818
by: Dominik Kaspar | last post by:
hello i am writing a java program for locating a wireless device within an office environment. i want to use the signal strengths of the surrounding base stations (access points) to estimate the...
2
3941
by: happymeteor | last post by:
Hi, everyone! I've tried to make a program which can get the wireless signal strength of wireless NIC(ex. 802.11b network card). As I know, regardless of whatever vender's NIC is used, in the...
13
1879
by: steve | last post by:
is there an efficient way to detect wap signal strength/network connectivity w/o attempting a lan dependant operation and waiting for it to time-out? tia, steve
1
2187
by: abhya | last post by:
Hello evryone... I am a s/w undergrad.I am attempting to establish a private point-2-point link betn my GPRS enabled cellphone and a dedicated college server, over the GPRS.I will be using java...
2
6404
by: danielle colaco | last post by:
hi, i'm a new user of java and require to do the following tasks using java 1.connect a GPRS modem to a PC. 2. send a message over GPRS to another GPRS device (could be a GPRS modem connected...
6
3612
by: Maarten Weyn | last post by:
Is there a way to get the signal strength of all surroundin access points in c# on a vista pc? regards Maarten Weyn
0
1802
by: williambattersea | last post by:
Hello, I'm looking for a way to get wireless signal strength on Windows XP with Python. I see there's a library for Linux, but I can't find anything for windows. However, I see that using WMI I...
3
13131
by: Toby Webb | last post by:
Hi, can anyone help please? I am trying to get infromation from my wireless card, such as signal strength and a list of SSIDs that it can see. I have been able to get the signal strength (see...
16
17096
by: KDaly | last post by:
Hey guys, I was kind of hoping that someone could help me out with a project I am working on for school... We are desigining a robot that someone will approach, and the robot will ask the user if...
0
7037
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
1
6730
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
6873
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5321
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4767
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4471
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1294
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
558
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
174
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.