Startup applications with the mime type or file-name extension

Hello

is it possible to start the corresponding application for a mime-type file or a file extention? I have for example a JPEG image or PDF file stored on the SD card and wants to open by calling the assosiated on the BlackBerry Smartphone application.

Lars

Ok. I've got so far. But how do I know which deals with the application for example .jpg or .pdf? I found the registry as the place of registry types mime and file-extensions for a particular application, but could find no way to recover this information with other applications from there. Any idea?

Lars

Tags: BlackBerry Developers

Similar Questions

  • ExportPDF unique pages with the heading text (content) file name

    Hi all

    I found PEU5 for export in the form of simple pages it works fantastic!, now how can I call the content of the topic as file name in the export to Pdf

    any help please...

    HI DAVID DAVA!

    TRY THIS

    app.findGrepPreferences = null;

    app.findGrepPreferences.appliedParagraphStyle = "Title";

    result = app.activeDocument.findGrep ();

    While (result.length)

    {

    Str = result.pop ();

    myDoc var = app.activeDocument;

    app.findGrepPreferences = NothingEnum.nothing;

    app.findGrepPreferences = NothingEnum.nothing;

    app.findGrepPreferences.findWhat = str.contents;

    var myFind = myDoc.findGrep ();

    for (var a = myFind.length - 1; a > = 0; a-) {}

    Alert (myFind [a]. (Happy);

    myFinds = myFind [a]

    }

    for (var myCounter = 0; myCounter<>

    myCounter ++) {}

    myPageName = myDocument.pages.item (myCounter) .name;

    app.pdfExportPreferences.pageRange = myPageName;

  • Downloading a file, application/octet-stream mime type, I always get the dialog box "do you want to save to save this file?" Cancel or save.

    A number of us use a private site where run us an application in offline mode. The application offers a download button so that we can take a snapshot of our progress in offline mode, a sort of backup. When we'll be back online you can either download the information from the application or we can load the backup files.

    The problem is that every time we hit the download button, we always get the additional dialog box asking if we want to save or cancel the download of the file. It may sound a little silly, but we really do not want to have to move the mouse to the new dialog box and click on the "Save" button.

    The mime type of the file is application/octet-stream, there is no file extension.

    Is there a way to change the configuration of Firefox so that this dialog box does not appear?

    Thank you.

    My apologies, but I deleted all system information collected automatically because I am not in a position to submit this application for machines where the problem occurs.

    These system are:
    14:04.3 Ubuntu LTS
    Firefox 40.0.3

    Content of type "application/octet-stream" will cause always Firefox show the 'open with' Download dialogue.
    To avoid this download, you must configure the server to send another type of content and possibly change the file extension.

  • Detects the MIME type of the file

    Hello

    Is it possible to get the MIME type of the file extension or content?

    Thank you

    Seems that I found the solution: passing NULL as the MIME type when creating an attachment

    Attachment(NULL, attachmentName, attachmentUrl)
    
  • Flash CS6 does not not create an .app file when I output as application with the embedded runtime

    I'm looking to create an application with the embedded runtime, but the process keeps failing without raising an error. More precisely: in settings of the Air, I select output as follows: Application with the runtime shipped. When I build this way, Flash tells me that he created the Telepath tactical - Steam.app...

    AIR building error.png

    .. .but no never .app file really does appear in the folder:

    Files Created.png

    This happens regardless of what I included in the library path and default binding settings. (When I say that it out as follows: Windows install, on the other hand, the appropriate exe file opens without problems.)

    I use Flash Professional CS6 v. 12.0.0.481 on Windows 7, 64-bit.

    So, I found this one: this problem was caused by an old .fla (original created in Flash CS4 or something like that) that had been converted over time to be compatible CS6. Recreate the .fla from scratch in CS6, corrected the problem.

  • BrowserPlugin works Simulator, but the device does not recognize the mime type

    Hello world

    Use the BrowserPlugin class in JDE samples, I was able to record a personalized with my BlackBerry mime type. When the browser makes a redirect to a specific page with the mimetype, the browser will recognize and use getBrowserContent() to move my application to the foreground, above the BlackBerry browser.

    I have this working on the Simulator, but on the device, I get the message: "unable to display the selected item. You want to save the item? »

    When I click 'No', I get the message: "Unsupported media type: application/x-vnd.rim.xxxtest.

    Like I said before, it works on the Simulator. I supported by the web server mime type, and I created a library project that will run at startup that will record the mime with the device type.

    I've debugged on my real device and confirmed that my library project is actually the launch...

    Someone know why this might work on the Simulator, but not on the device?

    Ah,.

    I'm embarrassed. I had unconsciously assume that when I used Javaloader to load my application to my phone that it would also include the referenced library projects... I was wrong!

    I loaded the library project separately and it works very well.

  • SE "There are problems with the configuration of static files in your environment" after the APEX 5 install using Oracle HTTP Server

    There is not much information in the doc around the new configuration of static file.  Someone at - it an example of this dads.conf he file should look similar to static files?  Everything else seems to work fine - it's my only hang up now.

    Thank you!

    Exact pop-up message:

    There are problems with the configuration of static files in your environment.  Please see the section "Configuration static file Support" in the Guide of the Installation Application Express

    I figured it out on my own - the doc has a section "6.5.4 configuration Support for static file" which basically said yes, it is now supported for static files, then a "see also:" link to the dads.conf section, that I'm not good enough to see there are now 2 new parameters in your dads config file...  All is ready!  It works!  YAY!

  • Value set with the table type

    Hi all
    I use R12.1.3 EBS. I want to create a value set with the posting type "Table". But I must specify what application will be set and the table to use. I want to refer to an another diet/no apps. Is this possible? I have the link of database between this regime to receivables / via SQL Developer, I'm able to query or manipulate the data.

    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
    PL/SQL Release 11.1.0.7.0 - Production
    "CORE     11.1.0.7.0     Production"
    TNS for Linux: Version 11.1.0.7.0 - Production
    NLSRTL Version 11.1.0.7.0 - Production
    Thanks in advance,
    Bahchevanov.

    Create a custom view in the schema of APPS that points to the table in the remote database, and you should be able to create a validated set of values from table based on the custom view. This will require you to create a link of database on the remote database (or a private database link in the APPS schema)

    HTH
    Srini

  • problem with the CLOB type

    Hello, I am a beginner, I have a problem with the CLOB type, please help me
    I want to write the input file is filename and string base64, then output decoded base64 content in dicrectory location (for example C:\),my code was executed but if entry with base64 long string, it displays error)
    ORA-29285: file write error
    ORA-06512: at "SYS.UTL_FILE", line 136
    ORA-06512: at "SYS.UTL_FILE", line 813
    ORA-06512: at "SYSTEM.WRITED", line 9
    ORA-06512: at line 1
    29285. 00000 -  "file write error"
    *Cause:    Failed to write to, flush, or close a file.
    *Action:   Verify that the file exists, that it is accessible, and that
               it is open in write or append mode.
    And this is my code
    create or replace directory dir_temp as 'C:\';
    /
    create or replace procedure writed(filename varchar2,code  clob)
    as
      f utl_file.file_type;
      v_lob          BLOB;  
    
    begin
      v_lob :=  UTL_ENCODE.BASE64_DECODE( UTL_RAW.CAST_TO_RAW(to_char(code)) ); 
      f := utl_file.fopen('DIR_TEMP', filename, 'w');
      utl_file.put_line(f,to_clob(utl_raw.cast_to_varchar2(v_lob)));  
      utl_file.fclose(f); 
    end;
    Thank you
    DBMS_XSLPROCESSOR.clob2file(
      cl => l_clob
    , flocation => 'XML_LOG'
    , fname => myfile_name
    );
    

    for example

    SQL> ed
    Wrote file afiedt.buf
    
      1  declare
      2    type t_emps is table of emp%ROWTYPE;
      3    v_emps    t_emps;
      4    --
      5    v_clob    clob;
      6    v_newline varchar2(2) := chr(13)||chr(10);
      7  begin
      8    -- get the rows into a PL/SQL collection of records
      9    select *
     10    bulk collect into v_emps
     11    from emp;
     12    -- build up the CLOB
     13    v_clob := 'EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,COMM,DEPTNO';
     14    for i in 1..v_emps.count
     15    loop
     16      v_clob := v_clob||v_newline||
     17                to_char(v_emps(i).empno,'fm9999')||','||
     18                v_emps(i).ename||','||
     19                v_emps(i).job||','||
     20                to_char(v_emps(i).mgr,'fm9999')||','||
     21                to_char(v_emps(i).hiredate,'YYYYMMDD')||','||
     22                to_char(v_emps(i).sal,'fm99999')||','||
     23                to_char(v_emps(i).comm,'fm99999')||','||
     24                to_char(v_emps(i).deptno,'fm99');
     25    end loop;
     26    -- write the CLOB to a file
     27    DBMS_XSLPROCESSOR.clob2file(cl => v_clob, flocation => 'TEST_DIR', fname => 'myfile.csv');
     28* end;
    SQL> / 
    
    PL/SQL procedure successfully completed.
    
  • What is the oldest type of file PS that can be opened in CS5?

    I have a lot of work that has been created in PS 7.0. I want to get the latest version. What is the oldest type of file can be opened in CS5?

    You will have no problem with files created with PS7.

    I have files of the PS3 that still not open!

  • The application or the DLL C:\Program Files\Mozilla Firefox\MOZCRT19.dll is not a valid Windows image. Please check this against your installation diskette

    The application or the DLL C:\Program Files\Mozilla Firefox\MOZCRT19.dll is not a valid Windows image. Please check this against your installation diskette.
    Help, please. I was unistalling firefox and reinstall them again at least 10 times, but still does not solve the problem

    This has happened

    Each time Firefox opened

    few days back

    User Agent

    Mozilla/4.0 (compatible; INTERNET EXPLORER 6.0; Windows NT 5.1; SV1; InfoPath.2)

    I have the same problem

    deleted expletives - Maurane

  • I want to develop an application with the Ribbon UI by using a 3rd party control

    I want to develop an application with the user interface of the Ribbon using a 3rd party control, that I have to get a license from Microsoft? How?

    original title: license of the Ribbon user interface

    I want to develop an application with the user interface of the Ribbon using a 3rd party control, that I have to get a license from Microsoft? How?

    The only a link I found on this page does not (http://msdn.microsoft.com/en-US/office/aa973809).
  • Application with the same icon

    A colleague dev come to share a link with me for a new application in BBW, who is not only a cheap copy of my own app, but also uses the same icon (my app was originally released a year ago).

    Now, this icon is not my creation, but as a free resource, it can be used under the license SET (credit to the author).
    While I allow it, that atm BlackBerry is not interested in this license all, always the question here - is it really so easy to get the approval of an application with the same icon? And do I (I) anything can do with it?

    Hi Ksantor,

    First of all, if the app is really a copy of your choice, you can report a violation of the right of author or brand.

    http://us.BlackBerry.com/legal/violations.html

    Regarding the icon, if it's open source it would be very difficult to refuse a request for this reason.

    For any request, there must be reasonable doubt, followed by a cause just to do this.

    powerfully.

    Bryan Van Engelen

    BlackBerry World

  • PDF warning: How can I disable the "this type of file can harm your computer. Are you sure yo... »

    How can I disable the "this type of file can harm your computer. Are you sure? » ...

    It happens every time I want to move a file to the trash or in my computer... I have "trusted sites" which I get this file type all the time...

    Can it be disabled because I know what I want

    I completed the change by following the instructions. There is no change, BUT I noticed that:

    1. If I download a PDF in Chrome, it goes to my "Downloads" folder If I try to move this to a file or my office, I still get the warning.

    2. If I have "save under" the PDF file to the desktop, it does NOT ask or the warning does not occur.

    Or, I stumbled upon a "Workaround": just save it to the desktop...

    I made the changes to EI and restarted everything. The alert is always there in IE, and Chrome...

    Also, I turned off Microsoft Security Essentials (MSE) protection and and rebooted and its makes no difference.

    I'm confused. I use Chrome 95% of the time.
    IE always control parameter related to this issue, even if I use another browser.

    I returned my IE back to the protected State.

    MSE protection turned on.

    I returned to the 'normal '.

    I think I'll let this one issue at the moment, but thanks for your help.

  • reason for my windows 7 OS crashed & had to be re-installed seven times in nine months with the losse of precious files is the same reason that microsoft has been duffed the international space station?

    am I right to assume that the same reason, my windows 7 OS crashed & had to be re-installed seven times in nine months with the losse of precious files is the same reason that microsoft has been duffed the international space station?

    Hello

    If I understand correctly you install os 7 times, still problem happens, its just a bad sector in plateau, well shot cause want to check your hard drive a d, you need to change your hard drive to solve this problem, if it is in warranty log a ticket

Maybe you are looking for