BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 05-11-2011, 07:38 AM   #1 (permalink)
New Member
 
Join Date: Nov 2010
Model: 9000
PIN: N/A
Carrier: Orange
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default list installed application filtered by mimetype

Please Login to Remove!

Hi, I'm implementing feature that allows open file from my application with external installed application. My task is to list available applications filtered by mimetype and let user choose which one use to open. I'm able to list installed application, but how can I filter them by mimetype?

Code:
   int[] handles = CodeModuleManager.getModuleHandles();
     add(new LabelField("module handles count: " + handles.length));                                              
     int countApp = 0;
     for (int i=0; i<handles.length;i++) {

         if (!CodeModuleManager.isLibrary(handles[i])) {
             countApp++;
             add(new LabelField("-" + CodeModuleManager.getModuleName(handles[i]) ));           
         }
     }         
     add(new LabelField("apps count: " + countApp));
Offline  
Old 05-11-2011, 09:09 AM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default Re: list installed application filtered by mimetype

I was not aware that applications have a mime-type.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads for: list installed application filtered by mimetype
Thread Thread Starter Forum Replies Last Post
BB 9000 application not installed girishthakr Developer Forum 1 12-27-2008 08:46 AM
how to get all the application module name installed in bb lwh_berry Developer Forum 1 07-07-2008 09:39 AM
Remote Database Connection Pool kerseyr BES Admin Corner 10 03-25-2008 06:15 AM
Wireless Application Push Khue BES Admin Corner 119 05-15-2007 11:46 AM
7100I Big HELP whoknowswhat General Legacy Device Discussion 1 10-23-2005 03:45 PM

66-8416 - 037-957B Straight Polarity Diode 270A 300V Stud. NEW
$20.0
66-8416 - 037-957B Straight Polarity Diode 270A 300V  Stud. NEW  pictureMETRO TEL MT-8455 L2 Kick Meter w/Voltmeter Ohmmeter & Polarity, Leads & Case
$24.95
METRO TEL MT-8455 L2 Kick Meter w/Voltmeter Ohmmeter & Polarity, Leads & Case  pictureInstallation Access. PAC Tone Generator and Speaker Polarity Tester JARFF
$43.64
Installation Access. PAC Tone Generator and Speaker Polarity Tester JARFF pictureMVI-01 5V 200mA Negative Voltage Power Polarity Convert Replace ICL7660/MC34063
$1.45
MVI-01 5V 200mA Negative Voltage Power Polarity Convert Replace ICL7660/MC34063 picture30 Amp Toggle Switch 3 Position Reverse Polarity DC Motor Control- Maintained
$19.3
30 Amp Toggle Switch 3 Position Reverse Polarity DC Motor Control- Maintained picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.