anyone tried to connect to nokia?

  • Thread starter Thread starter Jassim Rahma
  • Start date Start date
J

Jassim Rahma

anybody tried to connect to nokia mobile phone and grab the contcats?
 
Try this:

System.Nokia.MobilePhone thePhone = new System.Nokia.MobilePhone();
List<contcats> contcatsList = new List<contcats>(thePhone.GrabContcats());
foreach (System.Nokia.Concat currentConcat in concatsList)
{
Console.WriteLine(currentConcat.ToString());
Console.ReadLine();
}
 
List<contcats> contcatsList = new List<contcats>(thePhone.GrabContcats());

Are you still using v1.1? In v2 I believe that the GrabContcats() method
returns a Dictionary<ID, contcat>...

;-)
 
not funny!!


Mark Rae said:
Are you still using v1.1? In v2 I believe that the GrabContcats() method
returns a Dictionary<ID, contcat>...

;-)
 
<snip>

RE:
<< not funny!! >>

You're absolutely right. This new and improved version of the code should
work better for you:

System.Nokia.MobilePhone thePhone = new System.Nokia.MobilePhone();
List<contcats> contcatsList = new List<contcats>(thePhone.GrabContcats());
foreach (System.Nokia.Concat currentConcat in concatsList)
{
Console.WriteLine(currentConcat.ToString());
}
Console.ReadLine(); // moved this line out of the loop - now it won't pause
at every contcat.


-hth
 
<snip>

RE:
<< not funny!! >>

You're absolutely right. This new and improved version of the code should
work better for you:

System.Nokia.MobilePhone thePhone = new System.Nokia.MobilePhone();
List<contcats> contcatsList = new List<contcats>(thePhone.GrabContcats());
foreach (System.Nokia.Concat currentConcat in concatsList)
{
Console.WriteLine(currentConcat.ToString());}

Console.ReadLine(); // moved this line out of the loop - now it won't pause
at every contcat.

-hth

From where can I download this assembly 'system.nokia'?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top