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
Posts: 137
Registered: ‎07-24-2012
My Device: Blackberry Z10 LE, Q10 And PlayBook
My Carrier: Vodafone

Populate List Problem, when i make multi Option and try to share

hi, 

 

my app populates the music files from folder into the populate list which has option to multiselect option, when i share press share(Which has Email, and others which works well on nexus4 ), the application stops kindly any help or suggestions or sample code for sharing the files from listview to directly Email, BOX, BBM, whatsApp, etc is Welcome.

 

Hit Like if you find my post Use Full Thank You...
Retired
Posts: 264
Registered: ‎01-08-2013
My Device: BlackBerry 10 Dev Alpha B
My Carrier: Bell

Re: Populate List Problem, when i make multi Option and try to share

Hey madmaskd,

 

When you debug your application, do you see anything obvious in the exception trace?

 

    Justin

Justin Jasmann | Android Application Development Consultant
Developer Relations
developer.blackberry.com
Developer
Posts: 137
Registered: ‎07-24-2012
My Device: Blackberry Z10 LE, Q10 And PlayBook
My Carrier: Vodafone

Re: Populate List Problem, when i make multi Option and try to share

no i do not have error or Exception ... i can play from the listview using default player, can delete one or more files. 

sharing file to other social app is not happning the layout only polulats only email and mms, 

 

please provide us Example to share the files to BBM and other social apps . 

 

Thank you .. 

 

Hit Like if you find my post Use Full Thank You...
Retired
Posts: 264
Registered: ‎01-08-2013
My Device: BlackBerry 10 Dev Alpha B
My Carrier: Bell

Re: Populate List Problem, when i make multi Option and try to share

[ Edited ]

Answered here: http://supportforums.blackberry.com/t5/Android-Runtime-Development/How-to-share-files-from-Android-p...

Justin Jasmann | Android Application Development Consultant
Developer Relations
developer.blackberry.com
Developer
Posts: 137
Registered: ‎07-24-2012
My Device: Blackberry Z10 LE, Q10 And PlayBook
My Carrier: Vodafone

Re: Populate List Problem, when i make multi Option and try to share

sorry it is not taking me to any post please check the link ..

Hit Like if you find my post Use Full Thank You...
Retired
Posts: 264
Registered: ‎01-08-2013
My Device: BlackBerry 10 Dev Alpha B
My Carrier: Bell

Re: Populate List Problem, when i make multi Option and try to share

Ooops, sorry. Link updated*

Justin Jasmann | Android Application Development Consultant
Developer Relations
developer.blackberry.com
Developer
Posts: 137
Registered: ‎07-24-2012
My Device: Blackberry Z10 LE, Q10 And PlayBook
My Carrier: Vodafone

Re: Populate List Problem, when i make multi Option and try to share

thanks i got it .

 

What are my option for now what i should do for sharing the music file ?.  or any option to merge my app into cascade or native to get those features ? 

Hit Like if you find my post Use Full Thank You...
Retired
Posts: 264
Registered: ‎01-08-2013
My Device: BlackBerry 10 Dev Alpha B
My Carrier: Bell

Re: Populate List Problem, when i make multi Option and try to share

Madmaskd,

 

At the present time, If you'd like to keep your app as an Android app, then you're out of luck (for this particular feature).

 

Though you wouldn't be able to integrate your Android app inside of a Native/Cascades app, you could translate most of the code and functionality with relative ease (subjective). This is likely the best/only way to do what you're looking for right now.

 

Once in Cascades, you could share out to everything!

 

Hope this helps :smileyhappy:

Justin Jasmann | Android Application Development Consultant
Developer Relations
developer.blackberry.com
Developer
Posts: 137
Registered: ‎07-24-2012
My Device: Blackberry Z10 LE, Q10 And PlayBook
My Carrier: Vodafone

Re: Populate List Problem, when i make multi Option and try to share

Thanks for the info jjasman, I will try to do it in native or cascade.. but if I developed the app that is re do in cascade will I able to give it as updates to present app which is android port... for translation of code is their any tool or 3rd party tool available for this coz android is basically java.. and API difference when we change platforms... this is big challenge for me... :smileyhappy:
Hit Like if you find my post Use Full Thank You...