Join Today
+ Reply to Thread
Page 1 of 3 123 LastLast
Results 1 to 10 of 27
  1. #1

    Default Where is com.motorola.phonebook?

    Following on a thread from "development", has anyone come across any SDK containing com.motorola.phonebook? I have the 4.3, 5.2.1 and 5.4.2 SDKs and com.motorola.phonebook isn't implemented in any of the midp.zip or stubclasses.zip files. According to a post I saw elsewhere, there may exist an alternative SDK that has this class implemented, anyone seen it?

  2. #2

    Default Re: Where is com.motorola.phonebook?

    I can't find com.motorola.phonebook too.
    Visit my Blog here.http://my.opera.com/eakrin

  3. #3

    Default Re: Where is com.motorola.phonebook?

    i dont think its phone book.. there is only com.motorola.phone in midp.zip ... if i am not wrong this should have the functionality thatu r looking for in phonebook ...

    and this is in sdk 4.3 only.. later versions dont have it

  4. #4

    Default Re: Where is com.motorola.phonebook?

    No, com.motorola.phone contains stuff like: com/motorola/phone/Dialer.class,which is for dialing numbers. That stuff works fine. The phonebook API belongs to a different class. I have found an application that uses it, which ismotorola_3d_phonebook.zip, it doesn't work on the A780 as it needs some graphics class that isn't on it, however it does make the appropriate calls. Perhaps it can be used to derive the com.motorola.phonebook interfaces. If I decompile it Iget stuff like this:

    import com.motorola.phonebook.PhoneBookException;
    import com.motorola.phonebook.PhoneBookRecord;
    ...
    if(PhoneBookRecord.isValidRingTone(i))
    {
    String s = PhoneBookRecord.getRingToneName(i);
    ...
    catch(PhoneBookException phonebookexception)
    {
    System.out.println("Error loading ringtones list: " + phonebookexception.getMessage());
    }

    etc.

  5. #5

    Default Re: Where is com.motorola.phonebook?

    Tech Support @ motocoder tellme that com.motorola.phonebook class is open only DNA company and not include in any SDK.

    I'm very boring with motolora about software development. all resource and API was closed. and no new software release from motorola.
    Visit my Blog here.http://my.opera.com/eakrin

  6. #6

    Default Re: Where is com.motorola.phonebook?

    Yeah... I downloaded 4.1, 4.3, 4.4.2, 4.4, 5.1.2, 5.2.1, 5.3.1, 5.4.2 sdks and didn't find it.

    I'm not convinced it's impossible though, I'm sure it just requires us to create a dummy library that matches the api.

    By the way, I note that the 4.3 API has the following note in D cs/Device_APIs.htm
    Phonebook (licensee and Vodafone only)

    Ring them up again and say you're from Vodafone

  7. #7

    Default Re: Where is com.motorola.phonebook?

    Hmm, just ran strings again and found this:

    ./sdk41/Emulator7.5/lib/KVM.dll:com/mot/tools/j2me/emulator/nat/reference/com/motorola/phonebook/PhoneBookImpl
    ./sdk41/Emulator7.5/lib/KVM.dll:com_motorola_phonebook_PhoneBookRecord_add
    ./sdk41/Emulator7.5/lib/KVM.dllLcom/mot/tools/j2me/emulator/nat/reference/com/motorola/phonebook/PhoneBookRecordI
    ./sdk41/Emulator7.5/lib/KVM.dll:com_motorola_phonebook_PhoneBookRecord_update
    ./sdk41/Emulator7.5/lib/KVM.dllLcom/mot/tools/j2me/emulator/nat/reference/com/motorola/phonebook/PhoneBookRecord;I)I
    ./sdk41/Emulator7.5/lib/KVM.dll:com_motorola_phonebook_PhoneBookRecord_delete
    ./sdk41/Emulator7.5/lib/KVM.dll:com_motorola_phonebook_PhoneBookRecord_getRecord
    ./sdk41/Emulator7.5/lib/KVM.dllI)Lcom/mot/tools/j2me/emulator/nat/reference/com/motorola/phonebook/PhoneBookRecord;
    ./sdk41/Emulator7.5/lib/KVM.dll:com_motorola_phonebook_PhoneBookRecord_findRecordByTelNo
    ./sdk41/Emulator7.5/lib/KVM.dll:com_motorola_phonebook_PhoneBookRecord_findRecordByName
    ./sdk41/Emulator7.5/lib/KVM.dll:com_motorola_phonebook_PhoneBookRecord_getNumberRecords
    ./sdk41/Emulator7.5/lib/KVM.dll:com_motorola_phonebook_PhoneBookRecord_getAvailableRecords
    ...
    Perhaps that's of some use.

  8. #8

    Default Re: Where is com.motorola.phonebook?

    Ok, here's my first attempt at adding a phonebook record. I just created a skeleton class with a couple of empty methods in it, installed my app and ran it with kvm -launch 603

    Start running local class
    java.lang.SecurityException: com.motorola.phonebook.PhoneBookRecord.add(): Phonebook write permission denied
    - com.motorola.phonebook.PhoneBookRecord.checkWritePermission(), bci=119
    - com.motorola.phonebook.PhoneBookRecord.add(), bci=3

    That looks good
    Ok, now I copy my permfile.txt over and run it again.

    Start running local class
    db_client[428]B: wrong pointer 0xbfffd740 for table which have flag 1f9b48
    db_client[428]:Filter Return Value: 22
    device got = 0

    db_client[428]B: wrong pointer 0xbfffd6e8 for table which have flag 213870
    db_client[428]:Filter Return Value: 22


    So, it looks like I'm getting to the phone database but am passing in bad data, perhaps because I haven't done some initialisation. Anyway, it's a start.

  9. #9

    Default Re: Where is com.motorola.phonebook?

    Wey hey! I've added a phonebook entry, a new category and requested and got the maximum name length (14).

  10. #10

    Default Re: Where is com.motorola.phonebook?

    Yoh!! amazing. which version of SDK u used?. all phonebook class methods are list in Developer guide so we can create complete phonebook class.

    btw. did u see http://www.sleepycat.com/ it's about berkeleydb. native.db is use berkeleydb. sleepycat distributed java library of berkeleydb.
    Visit my Blog here.http://my.opera.com/eakrin


 
+ Reply to Thread
Page 1 of 3 123 LastLast

Similar Threads

  1. Phonebook backup
    By phpatel5529 in forum E6 General Chat
    Replies: 8
    Last Post: 08-28-2008, 01:21 PM
  2. Phonebook issue
    By Neverwinter in forum A1200 General Chat
    Replies: 6
    Last Post: 06-13-2007, 12:32 AM
  3. HELP!! cant find my phonebook
    By nimbusb0i in forum A1200 General Chat
    Replies: 2
    Last Post: 10-02-2006, 11:21 PM
  4. CANNot view my phonebook.
    By datbomb in forum A1200 General Chat
    Replies: 10
    Last Post: 06-26-2006, 09:29 AM
  5. V3 Phonebook Programming
    By louisngkimhock in forum A780 General Chat
    Replies: 3
    Last Post: 03-09-2006, 04:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1