BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 08-08-2007, 04:54 PM   #1 (permalink)
New Member
 
Join Date: May 2007
Model: 8700
PIN: N/A
Carrier: Cingular
Posts: 8
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Blackberry newbie questions -- Visual Studio plug-in

Please Login to Remove!

Ok, I'm sure these will be painstakingly obvious in a few weeks, but I have just downloaded and installed the plug and got a "Hello World" dialog app to run in the simulator.
Now, for you pros out there, could someone please help with a couple things:

1. Are the web services called from the device or from the BES? It looks like from the BES to me, but I am not sure -- if that is so, then they can be internal on our network as opposed to being exposed through the firewall to the Internet.

2. Can I cache data on the device? Or is MDS via Visual Studio more like a web app?

3. Authentication... is there a way for my web service to "know" who the user is via BES or MDS or whatever? Maybe via device ID and map that to the exchange account? I want to create an app that needs to know who the user is and needs to be secure etc.

Thanks...
Offline  
Old 08-08-2007, 04:55 PM   #2 (permalink)
New Member
 
Join Date: May 2007
Model: 8700
PIN: N/A
Carrier: Cingular
Posts: 8
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Oh, and one more... what's up the Intellisense and the plug-in? I noted there didn't seem to be any intellisense. Or C# for that matter. It feels like I am scripting javascript in a text editor.
Offline  
Old 08-22-2007, 12:04 PM   #3 (permalink)
Thumbs Must Hurt
 
Join Date: Aug 2007
Model: 8100
PIN: N/A
Carrier: Rogers
Posts: 140
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

1. The web services are called from the BES

2. Yes you can cache data on the device... You can create your own Classes or use Classes exposed from a web service. There is a property on the Class where you can make them a persistent collection.. this basically makes it like a hash table that is stored in Flash storage. You can also create a global variable that is persisted as well

3. You can setup NTLM authentication on your webservice if you like where the user will be provided a challenge response on the device for the application when it first attempts to access the web service

4. You "ARE" coding in JavaScript.. The plugin does not support writing C# for the device. It is more of an AJAX approach where you use JavaScript for coding. The Intellisense is JavaScript only.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.