BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 11-13-2007, 12:35 AM   #1 (permalink)
New Member
 
Join Date: Nov 2007
Model: 8700
PIN: N/A
Carrier: dotnet
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Create persistent Collection

Please Login to Remove!

Please Help anybody,

I am working with BlackBerry Plug-in for Visual Studio2005. I have to store user credentials into the blackberry flash. I am not using webservices. Just I have to create a persistant collection and store the user name and password. I am not getting how I have to do? I already aware with webservices and created webreferences. But I dont know how to do this without using web services. I am so thankful to you in advance....

Jagan.....
Offline  
Old 11-13-2007, 12:51 AM   #2 (permalink)
Crimson Tide Moderator
 
JSanders's Avatar
 
Join Date: Oct 2004
Location: North of the moss line
Model: 9xx0
OS: 7.0sumtin
PIN: t low
Carrier: Verizon
Posts: 41,914
Post Thanks: 59
Thanked 241 Times in 180 Posts
Default

Wouldn't this question best be posed in our Developer section?

**moved**
Offline  
Old 11-13-2007, 01:28 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

You have a couple of options... if all you are storing is a username and password into the persistent flash the easiest thing to do is create two global variables of type string and set their persistent flag to true.

Next time the application loads up those globals will be retrieved from flash.

If you want to use a persistent collection simply do an "Add New Item" and you will get a screen to see each of the types of items you can add to your project. Chosse the Class item and you will get a class editor. You can then add your fields, set one of them as a primary key and then set its type to a persistent collection
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

Hand Glove Vintage Mannequin General Porcelain Sz 8 HH Trenton NJ Dec. 15, 1971
$55.0
Hand Glove Vintage Mannequin General Porcelain Sz 8 HH Trenton NJ Dec. 15, 1971 pictureHSS 10PCS VALVE SEAT & FACE CUTTER 45DEC 30DEC 20DEC FOR VINTAGE CAR, BIKES,JEEP
$153.0
HSS 10PCS VALVE SEAT & FACE CUTTER 45DEC 30DEC 20DEC FOR VINTAGE CAR, BIKES,JEEP pictureHSS 12PCS VALVE SEAT & FACE CUTTER 45DEC 30DEC 20DEC FOR VINTAGE CAR, BIKES,JEEP
$165.0
HSS 12PCS VALVE SEAT & FACE CUTTER 45DEC 30DEC 20DEC FOR VINTAGE CAR, BIKES,JEEP pictureHSS 15PCS VALVE SEAT & FACE CUTTER 45DEC 30DEC 20DEC FOR VINTAGE CAR, BIKES,JEEP
$197.0
HSS 15PCS VALVE SEAT & FACE CUTTER 45DEC 30DEC 20DEC FOR VINTAGE CAR, BIKES,JEEP pictureDEC Digital M7559 5017635-01-A1-P2 Vintage Controller Board Card
$25.95
DEC Digital M7559 5017635-01-A1-P2 Vintage Controller Board Card picture






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