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

DELL 725-10263 / 331-1310 / KT74N Lamp manufactured by DELL
$201.63
DELL 725-10263 / 331-1310 / KT74N Lamp manufactured by DELL pictureGenuine OEM Dell Ink Cartridge Color Black 7Y745 7Y743 Lot Of 4 +
$32.0
Genuine OEM Dell Ink Cartridge Color Black 7Y745 7Y743 Lot Of 4 + pictureDell B126X Black Toner Cartridge DRYXV - GENUINE - SEALED Toner - OEM -FAST SHIP
$39.99
Dell B126X Black Toner Cartridge DRYXV - GENUINE - SEALED Toner - OEM -FAST SHIP pictureDell Inspiron N5040 OEM LCD Front Cover Bezel 0mr95c
$17.0
Dell Inspiron N5040 OEM LCD Front Cover Bezel 0mr95c pictureDell 1720 MW558 High Capacity Toner Cartridge -OEM Sealed (CC-EB13)
$79.99
Dell 1720 MW558 High Capacity Toner Cartridge -OEM Sealed (CC-EB13) picture






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