×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Aug 2009
    Posts
    22

    Platform services 1.0 and 2.0 in the same widget ?

    Hi all,

    On my N97 Platform services 1.0 works fine for Messaging, but, for an access to Contact's photos, i'd like to use the Contacts API of platform services 2.0.

    Is it possible to use both in one widget ?

    The Contacts API example works, but i'm not able to make a simple getContacts working in my widget

  2. #2
    Super Contributor
    Join Date
    Jun 2008
    Location
    Tampere
    Posts
    833

    Re: Platform services 1.0 and 2.0 in the same widget ?

    Hello,

    You should be able to use both in the same widget. You can find list of supported API's from here.

    -Ilkka

  3. #3
    Registered User
    Join Date
    Aug 2009
    Posts
    22

    Re: Platform services 1.0 and 2.0 in the same widget ?

    Thanks for the link, Web Developper's library is my bedside book

    I found a solution for my probleme, i had to define the Contacts API ( PF 2.0 ) before the Messaging API ( PF 1.0 )

    It gives :

    Code:
    socontact = com.nokia.device.load("", "com.nokia.device.contacts", "");
    	
    somessaging = device.getServiceObject("Service.Messaging", "IMessaging");
    Works in this order I don't know why, but it's cool

Similar Threads

  1. Replies: 1
    Last Post: 2009-10-28, 18:38
  2. Replies: 8
    Last Post: 2009-10-02, 18:13
  3. Replies: 0
    Last Post: 2004-12-10, 15:05
  4. Will platform 2.0 apps run on 1.0 phones? (Series 60)
    By kwud in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2004-08-31, 20:52
  5. platform 1.0 vs 2.0
    By colaloca in forum Browsing and Mark-ups
    Replies: 2
    Last Post: 2004-06-08, 16:28

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •