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 07: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

Adjustable! 12V DC 3-35V to 3.5-35V Boost Converter Voltmeter Voltage Regulator
$6.99
Adjustable! 12V DC 3-35V to 3.5-35V Boost Converter Voltmeter Voltage Regulator  picture3 in1 Electro Brand Studs / Metal / Voltage Detector Model SMV 9809W
$9.99
3 in1 Electro Brand Studs / Metal / Voltage Detector Model SMV 9809W pictureOpenBox Westek XLV30HCCC Xenon Line Voltage Accent Light, 3-Pack, White
$8.99
OpenBox Westek XLV30HCCC Xenon Line Voltage Accent Light, 3-Pack, White pictureAuto Round Display Boat Meter Voltmeter DC12V Car Gauge LED Digital Voltage
$5.17
Auto Round Display Boat Meter Voltmeter DC12V Car Gauge LED Digital Voltage pictureFluke 5442A Direct Voltage Calibrator (5440 Series) Passes All Self Tests 115V
$1865.0
Fluke 5442A Direct Voltage Calibrator (5440 Series) Passes All Self Tests 115V picture






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