09-17-2013 03:20 AM
This should be possible, the unsupported API documentation doesn't mention it.
There are the CallLog APIs for this purpose: http://developer.android.com/reference/android/pro
Here you have some sample code as well: http://theappguruz.com/CodeRecipe/call-logs-androi
You may find a lot more by googling a bit.
09-17-2013 03:39 AM
Hi imre_m, thanks for the reply. Could you confirm that it works, or are you just guessing? Because I was able to read the docs myself before posting.
I have several Android apps that read and display the call log properly in Android, but not when ported to the the BB10.
I tried also third-party apps that display the call log in Android, they also fail to display it in BB10.
09-17-2013 03:41 AM
I haven't tried this yet. Based on the documentation the API is supported so you should build a test application and check it.
09-17-2013 03:56 AM
If you read my previous message carefully, you could understand that I already made tests with several applications that work flawlessly on Android.
I posed this question here exactly because the BB10 docs mention no restrictions of the call log, and still it cannot be read. At least not in BB 10.1
So, I would appreciate if someone can help me with proven insights, not with speculations and guesses that he/she has not even tried. Thank you.
09-17-2013 04:04 AM
I have an app where I've added the required permissions to the manifest file for contacts and calls RW access. I've also placed some related API calls. Up to this point it works with no build and conversion errors, but my app doesn't need to access the call log so I can't confirm more.
A ported apk can fail for a number of reasons. You should check it with your own test application so you may see the logs directly.
10-16-2013 02:40 PM - edited 10-16-2013 04:20 PM
This is not supported, the Android API is not hooked up to retreive this data.
Edit: Usually when there's an equivalent native API, the corresponding API in Android will be supported. The Android API almost always uses the native equivalent for its implementation. AFAIK there isn't a native call logs API.
10-17-2013 03:04 AM
Thanks for the precise answer.
You should also include a notice about this in the limitations section of the Android Development documentation.
Any hint if this will be supported at a later time?