You Are Here:

Community: Developer Discussion Boards

#1 Old Problem with TBTServiceSecurity - 2006-04-27, 07:22

Join Date: Mar 2006
Posts: 11
kerfunkledbongle
Offline
Registered User
Hi,

I am using the following code to create the service security, which works fine on my 6680, but crashes the application on the 7610 when I create a TBTServiceSecurity object. Has anyone had any similar experience or know why this happens? Is there anything else I can try instead of this code?

Code:
  TBTSockAddr listeningAddress;

  // Set the Port to listen to.
  listeningAddress.SetPort( aChannel );

  // Set the Active Object's State to Connecting indicated.
  iState = EConnecting;

  // Set the security according to.
  TBTServiceSecurity serviceSecurity;  // CRASHES HERE
  TUid settingsUID;
  settingsUID.iUid = KBT_serviceID;
  serviceSecurity.SetUid ( settingsUID );
  serviceSecurity.SetAuthentication ( EFalse );
  serviceSecurity.SetEncryption ( EFalse );
  serviceSecurity.SetAuthorisation ( EFalse );
  serviceSecurity.SetDenied( EFalse );

  // Attach the security settings.
  listeningAddress.SetSecurity(serviceSecurity);
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
problem when stop playing video on 3650 and try to play again niko86 Mobile Java General 5 2007-08-03 08:40
Ringing problem with Nokia N70 DVogdos Audio 2 2007-06-26 21:49
J2ME: Problem in Nokia Solution for a software problem mte01 Mobile Java Tools & SDKs 2 2006-05-16 09:15
Why ALL series 60 have same problem, when default ringtone rings instead of custom as LinuxHata Audio 1 2005-12-04 13:01
J2ME: Problem in Nokia Solution for a media problem mte01 Mobile Java Tools & SDKs 0 2005-08-12 12:30

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia