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

Java Development


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Developer
Posts: 5,339
Registered: ‎09-20-2008
My Device: ***
My Carrier: ***

Re: I give up. Been stuck for 3 mos. I'm willing to pay $100 to anyone that can tell me how to do th

If you want to run "bare explorer" the whole situation is the same.

 

It is not documented and can be changed in future without prior notice neither any support. And your product will become useless for new device os update.

 

If you want to implement bare file explorer take a look at fileexplorerdemo that comes with the JDE 4.3 samples.

Developer
Posts: 142
Registered: ‎12-15-2008
My Device: Not Specified

Re: I give up. Been stuck for 3 mos. I'm willing to pay $100 to anyone that can tell me how to do th

Yes. i understand. My product already implements a 'bare' fileexplorer that i modified from the fileexplorer sample code. It works well.
It's just that i needed the Rich explorer. hard to explain why.

I really appreciate all your help with this. I'm sorry I took so much of your time.
Thank you.
Developer
Posts: 5,339
Registered: ‎09-20-2008
My Device: ***
My Carrier: ***

Re: I give up. Been stuck for 3 mos. I'm willing to pay $100 to anyone that can tell me how to do th

I see no problem to make Rich Media explorer like as standard blackberry media explorer.

 

Implement a screen with focusable BitmapField instances, associate relevant icons to these instances, navigate between and get files via standard blackberry mechanisms.

 

 

Developer
Posts: 142
Registered: ‎12-15-2008
My Device: Not Specified

Re: I give up. Been stuck for 3 mos. I'm willing to pay $100 to anyone that can tell me how to do th

I would but I would need access to playlists since playlists are in the BB rich explorer.

So do you know if playlists are accessible and 'executeable / invokeable' from a 3rd party app?
Developer
Posts: 5,339
Registered: ‎09-20-2008
My Device: ***
My Carrier: ***

Re: I give up. Been stuck for 3 mos. I'm willing to pay $100 to anyone that can tell me how to do th

There is no documented way to access playlists.

 

as far as I understand playlists are stored in persistent store as objects, they are not stored as files. And I see no reliable way to work with playlists from a custom third-party application.

Developer
Posts: 142
Registered: ‎12-15-2008
My Device: Not Specified

Re: I give up. Been stuck for 3 mos. I'm willing to pay $100 to anyone that can tell me how to do th

Ok. Thank you for your time.
Take care.
Retired
Posts: 36
Registered: ‎07-14-2008
My Device: Not Specified

Re: I give up. Been stuck for 3 mos. I'm willing to pay $100 to anyone that can tell me how to do th

You can use something like ApplicationManager.getApplicationManager().launch("net_rim_bb_file_explorer?media")

 

Using Application Descriptors will also work, just remember to pass in the appropriate argument (see http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800620/How_To_...). If you want, you can also go straight to "playlists", "music", "video", or "pictures".

Developer
Posts: 84
Registered: ‎02-03-2009
My Device: 9500/9520/9800/9810
My Carrier: TMobile

Re: I give up. Been stuck for 3 mos. I'm willing to pay $100 to anyone that can tell me how to do th

actually I am not hunting for the 100 bucks - but I have written in the last days a application called BBFileScout and that app is able to launch any kind of MediaFiles - I am not sure yet, what you are trying to do (what's your actual problem)... but you can download BBFileScout and tell me, if this app is doing what you would like to do - if it's doing what you like to do it#s np to send you the part of the source code...

 

Get bbfilescout from http://bb.emacf1.com/bbfilescout.html

 

Right now I am planing to extend it so that you can multiple select audio files and create a playlist from there - that's why I have came across your post.

 

Regards

Matthias

[FileScout] | [iMazing] | [GPSLogger II] | [Iconify] | [TOMPlayer]
Developer
Posts: 84
Registered: ‎02-03-2009
My Device: 9500/9520/9800/9810
My Carrier: TMobile

Re: I give up. Been stuck for 3 mos. I'm willing to pay $100 to anyone that can tell me how to do th

forgot to mention a important issue - when BBFileScout does not open by default automatically media files, then go to the options (BBFileScout) and then enable 'Force BB media content handler for images, audio & video files'
[FileScout] | [iMazing] | [GPSLogger II] | [Iconify] | [TOMPlayer]
Highlighted
New Developer
Posts: 3
Registered: ‎01-16-2010
My Device: Not Specified

Re: I give up. Been stuck for 3 mos. I'm willing to pay $100 to anyone that can tell me how to do th

[ Edited ]

I assume you've either solved this issue or moved on to other things by now (months later), but I figured I'd post in case anyone else is looking for this information.  I'd wasted a few days on it myself.

 

The following code is from something I made a while back in JDE 4.5.  While the playlist is invokeable I wouldn't call it accessible - you don't get an object you can control from your code (no making a front end for the playlist using this method).

 

You'll need a playlist called "NameOfPlaylist.m3u" in your SDCard music directory.  For your purposes you'd have to extract the String url from the rich explorer to match the playlist name with whatever the user had chosen from the rich explorer.

 

 

import javax.microedition.content.Invocation;
import javax.microedition.content.Registry;
.
.
.
String urlOfFile = "file:///SDCard/BlackBerry/music/NameOfPlaylist.m3u";
Invocation invocation = new Invocation(urlOfFile);
Registry reg = Registry.getRegistry "net.rim.device.api.content.BlackBerryContentHandler");
try { reg.invoke(invocation); } catch (Exception e) { };