Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Android™ Runtime Development

Reply
Developer
kanaksony
Posts: 571
Registered: ‎04-11-2009
My Device: BB 10 Dev Alpha

Add to Addressbook : Action not supported

Hi,

 

I have ported an android app to BB 10. I am trying to add a Contact from my App to Native Addressbook.

 

It fails to add and gives me a prompt : 

 

Action Not Supported

Intent { act=android.intent.action.EDIT dat=content://com.android.contacts/raw_contacts/13flg=0x4000000 }

 

//------ This is my Android Code behind --------------//

Intent intent = new Intent(Intent.ACTION_EDIT);
intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
intent.setData(nabUri);
startActivityForResult(intent, 0);

//-----------------------------------------------------------------//

 

Please let me know if anyone has faced this issue or any any solution for above.

Regards,
Kanak Sony
------------------------------------------------------------------------------------------
http://dodevelopnshare.wordpress.com/ | http://www.linkedin.com/profile/view?id=188131481&trk=tab_pro
Retired
jjasmann
Posts: 264
Registered: ‎01-08-2013
My Device: BlackBerry 10 Dev Alpha B

Re: Add to Addressbook : Action not supported

Hey Kanak,

 

Could you please clarify, are you trying to add a contact to the native addressbook via an Android app? 

 

    Justin

Justin Jasmann | Android Application Development Consultant
Developer Relations
developer.blackberry.com
Developer
kanaksony
Posts: 571
Registered: ‎04-11-2009
My Device: BB 10 Dev Alpha

Re: Add to Addressbook : Action not supported

Hi Justin,

 

Yes I am tryying to add a Contact to the native addressbook via Android App.

Regards,
Kanak Sony
------------------------------------------------------------------------------------------
http://dodevelopnshare.wordpress.com/ | http://www.linkedin.com/profile/view?id=188131481&trk=tab_pro
Retired
jjasmann
Posts: 264
Registered: ‎01-08-2013
My Device: BlackBerry 10 Dev Alpha B

Re: Add to Addressbook : Action not supported

Currently, contacts integration between Android and native BB10 is not possible.

 

We are looking to implement this functionality for a future release, but as for now, you are out of luck.

 

    Justin

Justin Jasmann | Android Application Development Consultant
Developer Relations
developer.blackberry.com
Developer
mreed
Posts: 1,041
Registered: ‎07-16-2008
My Device: ಠ_ಠ

Re: Add to Addressbook : Action not supported

[ Edited ]

Syncing contacts written in the Android layer to the native contact app will be available in the next OS update (A7 / 10.1). I don't know about that Intent though.

Developer
kanaksony
Posts: 571
Registered: ‎04-11-2009
My Device: BB 10 Dev Alpha

Re: Add to Addressbook : Action not supported

Thanks mreed

Regards,
Kanak Sony
------------------------------------------------------------------------------------------
http://dodevelopnshare.wordpress.com/ | http://www.linkedin.com/profile/view?id=188131481&trk=tab_pro