You Are Here:

Community: Developer Discussion Boards

#1 Old Interface or something else ? - 2007-05-11, 09:58

Join Date: Apr 2007
Posts: 1,757
Tiger79's Avatar
Tiger79
Offline
Forum Nokia Champion
Hello,
I have set up a MIDlet which communicates with several classes...
Each one has its specific "area" and functions pertaining that aread, like a Communication class (think http, https), a Location class (thins jsr-179) and a Bluetooth class (device-discovery, service-discovery etc)...
The last one utilizes the DiscoveryListener Interface to know when a device and service are discovered...
Now I'd like to pass this information to my main Midlet... So should I create a new Interface that tells my midlet when the BlueTooth Instance is done with its discovery services ? I'd prefer not to integrate the BlueTooth functionality into the midlet itself nor having the MIDlet having to use all the propetary Interfaces (like the DiscoveryListener Interface)...
And after that lets say I want to pass a List with the "friendly" names of the discovered devices to the MIDlet, which way is the best to do that ? I tried by implementing a public method in the MIDlet but it wont be accessible... seems like all examples I've seen the MIDlet is passed as an argument when creating the BlueTooth instance (for example), but I'd prefer not to do this because of the security issues (after all, if you pass the MIDlet to change a variable it could also change others as well)...
Thanks in advance
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 Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Interface index sysctl Symbian Networking & Messaging 2 2006-10-12 05:06
Asynchronous mechanism does not work for sound interface chandrashekhar singh Symbian Media (Graphics & Sounds) 0 2004-10-29 10:09
USB/IrDA/Bluetooth synchronization interface documentation towards 7650/S60 phones mcfrisk PC Suite API and PC Connectivity SDK 1 2003-08-28 20:20
NMSSDK 1.2 MM7 interface 129059 General Messaging 0 2003-08-08 14:19
N30 iocontrol interface patgraf Nokia M2M 2 2002-10-25 09:13

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