Application Certificate | developer.brewmp.com Application Certificate | developer.brewmp.com

Developer

Application Certificate

Forums:

Hi all,
I am currently writting an application which is used to change address book records. The application can run prefectly in simulator. But it can't run on the real device. I noticed that when the application try to read the address book the device will automatically restart. :confused: Anyone know why this happen?

I wonder if we need certificate to run this kind of application like the Java enable device. For J2ME, we can sign the application with a trusted certificate, then the application can be run on the real device. Do we have to do the same thing in Brew device?

Thanks in advance!

Chris

No, you don't need any kiind of certificate. Check the DDS to make sure addressbook (and all the functionality you're trying to use) is supported on the device. Also, try debugging on the device to see where the failure is occuring.

No, you don't need any kiind of certificate. Check the DDS to make sure addressbook (and all the functionality you're trying to use) is supported on the device. Also, try debugging on the device to see where the failure is occuring.

Thank mohlendo!
What does DDS stands for? And where can I find it? the device i am using is samsung a 790
Chris

Thank mohlendo!
What does DDS stands for? And where can I find it? the device i am using is samsung a 790
Chris

DDS = Device Data Sheet.
The DDS for the Samsung A790: https://brewx.qualcomm.com/bws/content/docx/devices/datasheets/samsung/S...

DDS = Device Data Sheet.
The DDS for the Samsung A790: https://brewx.qualcomm.com/bws/content/docx/devices/datasheets/samsung/S...

Thanks aiyengar,
I have checked with the a790 DDS, I found that there is sth about the addressbook interaction. But the row for Addressbook Storage is empty and the row for Address Path is stated "Not Supported". What do they mean? :confused: do they mean Addressbook is not supported in A790?
I have run my application on A790 simulator, it works fine. When I try to access addressbook from the real device, using
ISHELL_CreateInstance(pMe->pIShell, AEECLSID_ADDRBOOK, (void**)&pIAddrBook)
It returns me ECLASSNOTSUPPORT. :mad:
I have checked the "Access to Address Book" priviledge in application MIF file.
If the addressbook is not supported by the phone, is it possible make the class support just like test enable the phone?
Is that anyone get the similar problem before?
Thanks,
Chris

Thanks aiyengar,
I have checked with the a790 DDS, I found that there is sth about the addressbook interaction. But the row for Addressbook Storage is empty and the row for Address Path is stated "Not Supported". What do they mean? :confused: do they mean Addressbook is not supported in A790?
I have run my application on A790 simulator, it works fine. When I try to access addressbook from the real device, using
ISHELL_CreateInstance(pMe->pIShell, AEECLSID_ADDRBOOK, (void**)&pIAddrBook)
It returns me ECLASSNOTSUPPORT. :mad:
I have checked the "Access to Address Book" priviledge in application MIF file.
If the addressbook is not supported by the phone, is it possible make the class support just like test enable the phone?
Is that anyone get the similar problem before?
Thanks,
Chris

If creating the class is returning ECLASSNOSUPPORT I would assume that the device isn't capable of giving access to the address book.

If creating the class is returning ECLASSNOSUPPORT I would assume that the device isn't capable of giving access to the address book.

is it possible to reload the address book api onto the device again?
Chris

is it possible to reload the address book api onto the device again?
Chris

Its probably not a case of loading the API onto the phone, as the phone probably doesn't support it in the first place. You wouldn't have been able to delete it accidently from the OS anyway.
The class will probably need to be loaded into the firmware, otherwise it wouldn't be able to access the underlying OS code. You could ask Samsung if they know of a work around.

Its probably not a case of loading the API onto the phone, as the phone probably doesn't support it in the first place. You wouldn't have been able to delete it accidently from the OS anyway.
The class will probably need to be loaded into the firmware, otherwise it wouldn't be able to access the underlying OS code. You could ask Samsung if they know of a work around.

AddrBook is supported on the 790. What SDK are you using when you compile and see the ECLASSNOSUPPORT error?

AddrBook is supported on the 790. What SDK are you using when you compile and see the ECLASSNOSUPPORT error?