Click here to Skip to main content
15,900,258 members
Home / Discussions / Mobile
   

Mobile

 
GeneralRe: Update - still confused .... Pin
LittleYellowBird3-Jul-06 2:21
LittleYellowBird3-Jul-06 2:21 
QuestionTurn off graphical inheritance Pin
donkaiser30-Jun-06 4:44
donkaiser30-Jun-06 4:44 
AnswerRe: Turn off graphical inheritance Pin
Mike Dimmick3-Jul-06 1:35
Mike Dimmick3-Jul-06 1:35 
Questionhow can i write a c++ program in BREW in helloworld applets. Pin
nitinjdalal30-Jun-06 1:41
nitinjdalal30-Jun-06 1:41 
QuestionTransparent controls Pin
Fernando A. Gomez F.29-Jun-06 6:10
Fernando A. Gomez F.29-Jun-06 6:10 
AnswerRe: Transparent controls Pin
Mike Dimmick3-Jul-06 1:27
Mike Dimmick3-Jul-06 1:27 
QuestionAuto connect to internet Pin
Pius__X28-Jun-06 3:43
Pius__X28-Jun-06 3:43 
AnswerRe: Auto connect to internet Pin
f.vanvugt3-Jul-06 21:51
f.vanvugt3-Jul-06 21:51 
Well, you can do one of the following:

a) Just make a HTTP-Webrequest, the default internet connection will be made when starting the request.

b) Use the connectionmanager: get OpenNETCF[^]. Add a Reference to the OpenNETCF.Net library.

the code for the connectionmanager is something like this:

<br />
                    cmManager = new ConnectionManager();<br />
                    cmManager.Timeout = 120000;<br />
<br />
                    try<br />
                    {<br />
                       //log.Info("Trying to make connection, attempt: " + i);<br />
<br />
                       cmManager.Connect(<br />
                                new System.Guid("436ef144-b4fb-4863-a041-8f905a62c572") // Internet GUID<br />
                                , false, ConnectionMode.Synchronous);<br />
                       log.Info("CONNECTION MADE IN " + i + " ATTEMPTS");<br />
                       break;<br />
                   }<br />
                   catch (InvalidOperationException e)<br />
                   {<br />
                      log.Debug("oeps, unable to make connection");<br />
                      log.Error(e.Message);<br />
                      log.Error(cmManager.Status.ToString());<br />
                   }<br />
     }<br />



As you see, the connectionmanager is called with a 'guid'. This points to a certain connection in the system. The one I use above is for 'The Internet' connection, found on every ppc/wm5-device. For a list of possible guid's use the following code:
<br />
                    string dests = "";<br />
                    DestinationInfoCollection dInfoCol = cmManager.EnumDestinations();<br />
                    foreach (DestinationInfo dInfo in dInfoCol)<br />
                    {<br />
                        dests += " \n" + dInfo.guid + " :: " + dInfo.description; ;<br />
                    }<br />
                    MessageBox.show(dests);<br />

QuestionDiff between ASP.NET moibile web appli. and Smart Device appli. [modified] Pin
Exelioindia27-Jun-06 23:57
Exelioindia27-Jun-06 23:57 
Questionapplication used by another program Pin
donkaiser27-Jun-06 11:08
donkaiser27-Jun-06 11:08 
AnswerRe: application used by another program Pin
traapons3-Jul-06 21:42
traapons3-Jul-06 21:42 
QuestionMultipart MIME Type Support Pin
sommarafton27-Jun-06 5:18
sommarafton27-Jun-06 5:18 
Questionreading user data in a mobile system. Pin
Sina Parastgary26-Jun-06 7:33
Sina Parastgary26-Jun-06 7:33 
AnswerRe: reading user data in a mobile system. [modified] Pin
Michael Hendrickx29-Jun-06 1:51
Michael Hendrickx29-Jun-06 1:51 
QuestionHow to install MMIT and its requirements Pin
Exelioindia26-Jun-06 0:36
Exelioindia26-Jun-06 0:36 
AnswerRe: How to install MMIT and its requirements Pin
Mike Dimmick26-Jun-06 2:27
Mike Dimmick26-Jun-06 2:27 
QuestionRe: How to install MMIT and its requirements Pin
Exelioindia26-Jun-06 21:40
Exelioindia26-Jun-06 21:40 
QuestionA place for network programmers [modified] Pin
Reza Shademani24-Jun-06 23:49
Reza Shademani24-Jun-06 23:49 
Questionapplication reqd to push object from desktop to bluetooth device Pin
piyushnarain24-Jun-06 2:37
piyushnarain24-Jun-06 2:37 
AnswerRe: application reqd to push object from desktop to bluetooth device Pin
Gavin Roberts17-Jul-06 1:00
Gavin Roberts17-Jul-06 1:00 
QuestionReading PocketOutlook email Pin
Duffy5423-Jun-06 2:50
Duffy5423-Jun-06 2:50 
Questione.NET CF Installation Pin
analytiks21-Jun-06 17:27
analytiks21-Jun-06 17:27 
AnswerRe: e.NET CF Installation Pin
Chris S Kaiser23-Jun-06 17:30
Chris S Kaiser23-Jun-06 17:30 
QuestionPorting WIn32->PPC. Pin
Mike Doner21-Jun-06 4:50
Mike Doner21-Jun-06 4:50 
AnswerRe: Porting WIn32->PPC. Pin
Mike Dimmick26-Jun-06 3:20
Mike Dimmick26-Jun-06 3:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.