How to display any type of file by invoking the native blackberry application?

Hi all

I want to apply that store the file name with filepath. When I click on that this file must be opened with application native blackberry.

For an example, I have a file which is testword.doc and it stores in my memory card. I show this file on the button name. When I click on who touches this doc must be opened in the blackberry application...

Will you please help me, how to open this file in blackberry native Application?

Thank you in advance

Neeraj Chauhan

You can use the api for that call. Here is a code:

Invocation of the invocation = new Invocation (fileUri);
invocation.setAction (ContentHandler.ACTION_OPEN);
The Registry = Registry.getRegistry (getClass () .getName ());
Registry.Invoke (invocation);

You can probably find a few samples, recently saw an article about it.

Tags: BlackBerry Developers

Similar Questions

  • Box "Always use the selected program to open this kind of file" is grayed out out__cant change file association for any type of file

    I'm not allowed to change any combination of files for any type of file... If I try to associate a file type with a program that I can't the box is grayed out to always open the file with this program, for example, if I try to open .py (programming in python language file) with python from another program whenever I have to right click and open with python, but if I want to choose the "always use". the selected program to open this type of file"is grayed on I can not change it... pls help

    Hi VikkHckrz,

    1. you remember to make changes to the computer recently?

    Method 1:

    You can consult the following KB article and run the fix it tool available and check if you can assign file association.

    When you run an .exe on a Windows Vista-based or Windows 7 computer file, the file may start another program

    http://support.Microsoft.com/kb/950505

    Also check out the link:

    http://Windows.Microsoft.com/en-us/Windows7/change-which-programs-Windows-uses-by-default

    After running the fixit so check the option is grayed out or not.

    Method 2:

    If you're still having problems, then you can try to change the settings in the registry only if it is present on your computer and check if it helps.

    a. Click Start, type regedit in the search box and press ENTER.

    b. navigate to the

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer

    (c) in the right side of the screen, double click on "NoFileAssociate".

    d. change the value of "NoFileAssociate" from 1 to 0.

    e. exit the registry editor and restart the computer and check.

    Important: The above mentioned steps show you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs.

    For more information about how to back up and restore the registry, follow the steps from the link below:

    http://Windows.Microsoft.com/en-us/Windows7/back-up-the-registry

    Hope this information is useful.

    Jeremy K
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Getting the error "this file does not have a program associated with it for performing this action" when choosing "open with" from the context menu on any type of file

    I get this error since I uninstalled an application called DriverCure. Now when I choose 'open with' any type of file I get this error this is really boring, I also tried reinstalling the app and also do a system file check, but it was of no use.

    Hello

    Thanks for posting your query in the Microsoft Community Forums.

    According to the description provided, I understand that you are unable to open any type of file on the Windows 7 computer. I will certainly help you in this regard.

    You can deal with these issues, if the file is corrupted. I would refer you o suggest the help article and run the Fixit tool.

    When you run an .exe on a Windows XP, Windows Vista or Windows 7 computer file, the file can start another program

    http://support.Microsoft.com/kb/950505

    Note: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base. How to back up and restore the registry in Windows:
    http://Windows.Microsoft.com/en-us/Windows7/back-up-the-registry

    Back to us for any problem related to Windows. We will be happy to help you. We at Microsoft try to provide our customers the best experience.

  • How to display two or more files on the screen at the same time in format "cascade" or "tile"?

    How to display two or more files on the screen at the same time in format "cascade" or "tile"?

    What types of files,

    He each file separately.

    Right-click your taskbar, and then click the option side by side...

    Breaking of Windows,

    http://Windows.Microsoft.com/en-us/Windows7/products/features/snap

    http://Windows.Microsoft.com/en-us/Windows7/arrange-Windows-side-by-side-on-the-desktop-using-snap

  • How to password protect an MP3 file so that the intended recipient is the only one who can open

    original title: password protect files MP3

    How to password protect an MP3 file so that the intended recipient (who has the password) is the only one who can open it and listen?

    Hi WillL_1955,

    ·         What is the operating system installed on the computer?

    Try the following.

    Method 1: Put the MP3s in a zip file, set a password on the zip file and not to say that the friend the password.

    How to create and use compressed (zipped) folders in Windows XP

    Compress and uncompress files (zip files) in Windows 7

    Method 2: You can get a third-party program that can help you achieve this goal.

    See also:

    Compress or decompress a file - InfoPath - Office.com

    Important note: this response contains a reference to third party World Wide Web site. Microsoft provides this information as a convenience to you. Microsoft does not control these sites and no has not tested any software or information found on these sites; Therefore, Microsoft cannot make any approach to quality, security or the ability of a software or information that are there. There are the dangers inherent in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

  • How to view NTUSER. DAT file as to the registry without using it?

    How to view NTUSER. DAT file as to the registry without using it?

    The file is from a different Windows instalation!
    I have Win 7 but it comes from my old Windows xp.

    Hi Leonnis,

    There are many ways to read the registry file without using regedit.
    Some ways:
    RegLookup: RegLookup project is dedicated to the direct analysis of Windows NT registry files. RegLookup is distributed under the GNU GPL license and is implemented in ANSI C. RegLookup provides a C API, a Python module and command line tools to access registry data structures.
    Download here: http://projects.sentinelchicken.org/reglookup/
    RegViewer: Is GTK 2.2 based registry Windows GUI file browser. It is platform-independent for the review of the files of Windows registry from any platform. Particularly useful in forensics files Windows of * nix systems.
    Download here: http://regviewer.sourceforge.net

    RegRipper:

    RegRipper is an application of forensics software open source developed by Harlan Carvey. RegRipper, written in Perl, is a tool for extracting data from Windows registry.
    Download here: http://regviewer.sourceforge.net
    KRegedit:
    kregedit is a KDE utility for the visualization of the native Windows registry files. It is similar to the regedt32 utility that is found on most Windows platforms. Only the format of the NT (NT4/2000/XP) registry is supported.
    Paulo Breim
    Centro Brasileiro Pericia

    Help, please!

  • The network location of my folders in offline mode has changed while I was offline. How to re - run my offline file path to the new location so I can sync?

    The network location of my folders in offline mode has changed while I was offline. (HE moved to a new server).  How to re - run my offline file path to the new location so I can sync?

    Windows System 7.
    Hello
    Welcome to the Microsoft community forums!
    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums.
    Hope this information helps.
  • can not see any type of files, except that ICons.What of the software is the problem

    Now, I'm having this problem recently & is permanent, all file types are projected as empty case type instead of their respective icons. All installed software are shown with their respective icons. don't know how to solve this problem.

    Hello

    If I understand correctly you are facing the problem with all the icons on your Windows XP computer display even. I would like to know more information on the issue, so that we can help you better.

    1A the question started recently?

    2. do you get any error code or error message?

    3. have you made changes on the computer before this problem?

    4. which icon (third party software) programs are you referring? (Mention the name of the program)

    Let us try the following methods and check if it works for you.

    Method 1:

    Start in safe mode and check if the problem persists. Is the question do not persist in safe mode then put the computer in a clean boot state and check if there is no third party software/application causes this issue.

    Step 1: Start Windows XP in safe mode.

    A description of the start in Windows XP Mode options:

    http://support.Microsoft.com/kb/315222

    Step 2: How to configure Windows XP to start in a "clean boot" State:

    http://support.Microsoft.com/kb/310353

    Note: once you have completed troubleshooting try the steps to configure Windows to use a Normal startup state.

    Method 2:

    Run Microsoft Safety Scanner and check if there is any threat of viruses.

    Microsoft safety scanner: http://www.microsoft.com/security/scanner/en-us/default.aspx

    Note: The Microsoft Safety Scanner ends 10 days after being downloaded. During these 10 days, it will remove all the files infected by the virus and records. I suggest you create a backup of your data, and then install Microsoft Safety Scanner.

    Method 3:

    If the problem started recently, then restore to a point when the computer was working fine.

    How to restore Windows XP to a previous state:

    http://support.Microsoft.com/kb/306084

    WARNING: System Restore does not affect personal files, such as e-mail messages, documents or photos. You can only restore files that you have deleted if you have made backups of these files.

    Please reply with the status of the issue, so that we can better help you.

  • How to display a list of files...

    Hi all

    How can I display the list of files in my application?

    for example, I want to show all to SD card *.cfg files to allow the user to choose what he wants to run...

    think

    An instance of type FileConnection will be what you use to go in this directory... You can call the list() with this instance FileConnection method to list the files and folders in that directory...

    Thank you!

    EDIT: Had to change, when BBDeveloper posted, yes it is a good idea too, take a look on fileexplorerdemo supplied with the JDE

  • How to make a type of file (.doc) always open in a specific program?

    original title: How do a (.doc) file type always open in a specific program (my newly installed Word 2010)?

    I use MS Vista and you have recently installed MS Office 2010 to replace my original MS Office 2003.  I want to affect Word 2010 for the program by default to use whenever I double-click a .doc (as opposed to .docx) file, attached or in a directory listing.  But I am unable to do it using the normal control panel installation because I don't know the name of the executable file MS Word 2010.  Please advise me how I solve this problem.

    If its just .doc file then:

    1. click on Start-> default programs.

    2. click on associate a type of file or Protocol with a program.

    3. Locate the .doc from the list of the types of files and left click to select.

    4. click on the line of change program and follow the instructions by selecting the word in an appropriate place.

    For more information, please visit:

    http://windows.microsoft.com/en-US/windows-vista/Change-which-programs-Windows-uses-by-default .

    P.S. for future reference the executable file of Word is called winword.exe

  • How to display recently opened / read files-history

    Hello. Under XP, it was rather simple, but for some reason that I haven't figured in Vista where and how can I watch my recent activities on Windows Vista. In XP, you can do that as in Solution Explorer, but I guess that's not so easy in WVista? Someone knows the answer to this question please answer, thx!

    There are several ways.

    1. Click Start and click on recent Articles to see your recent articles (although to be honest, it does not work all that well because what it sorts alphabetically instead of date used).

    2. Click Start and click on and then highlight the folder called Recent and open it.  There's your recent activity in Vista (and more than you see using the method above).  You can sort in various ways by clicking on the column headers.  If you wish, you can crreate a shortcut of this file (right click the folder, and then click on create a shortcut) and then place the shortcut on your desktop so that it will be easier to access.

    3. in Windows Explorer, you can go to C:\Users\\Recent and view the same folder you accessed quickly using method 2 above.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Preview pane does not display certain types of files

    File Explorer Windows 8 will not be Word 2003 overview, .eml.  I fixed the problem of pdf.  Microsoft should ensure that. as time passes, the historical use of all files - including via the preview pane - turned more, not less.  This is my paradigm that a Windows version is better than the previous if its operation is greater than the last.  I can't say what.  As a user not touch at this point, I don't know if it's leaned towards this market.  But... as a historian and Archivist, I highly recommend Microsoft to ensure that a rise of re-purchase must be the files that existed in the past continue to be revised more and more, not less.

    In this presentation, I'm not saying why I can't preview Word 2003?  files is a mod?  This is because in the future, Microsoft gave a few fo his suitcases.  Is not up to the passengers to go after them.  Which means that we, the customer must not be fixing ourselves.

    Yours,

    Bruce M Quilty, MY (history of the Australia), legal studies (Heritage Act) dip

    Quanta of Australian heritage research & Copyright Pty Ltd

    BLUE MOUNTAINS AUSTRALIA

    61 + 2 + 4702 6805

    Hello

    You can activate or disable the Preview on your wish pane in Windows 8 by following the methods described in the following article:
    Hope this helps, good luck :)
  • How to transfer different types of files from one place in otherplace bpel

    Hi guys,.

    I want to transfer different types (.doc, .jpeg, .pdf,-) format of the files from one place to another place using bpel process.



    Please can someone offer a solution.


    concerning
    Jose

    OK for your solution, you have to play around something different.

    Here is the solution...










    Properties = "ns4:Input_opaque_opaqueElement_prop" / >




    operation = the variable "Read" = "Input" createInstance = "yes".
    bpelx:headerVariable = "HeaderVar" >











    Query = "" / ns5:InboundFileHeaderType / ns5:fileName "/ >"





    Query = "" / ns5:OutboundFileHeaderType / ns5:fileName "/ >"



    operation = "Write" variableentree = 'Out '.
    bpelx:inputHeaderVariable = "OutputHeader" / >

    You must declare the variable header. One is header entering another is outgoing header. In your first bpel you receive wil get an adapter tab when you double-click it. You will get the option to create your incoming header.
    Click on the flash light. Click the root Variable tag. You will get an option to create your new incoming header.
    Choose the type of message as Inboundheader_msg of fileAdapterInbound.wsdl. Similarly, you create in the tab header card of Invoke activity but this time with fileAdapterOutbound.wsdl. In the incoming header you wil get two file name and directory where as outgoing header elements consist of a single element fileName. Apply simple logic to assign the activity to copy the incoming header file name in the name of the outgoing header file. In the writing of file adapter mention the file naming convention "*." * "Don't forget to mention the outgoing file directory in your adapter. That's all. You will get the desired result.

    See you soon
    Soumya

  • Windows XP SP3: Unable to start, System Restore cannot drag and drop ALL the files/folders on the desktop and applications, many unable to start, services cannot search, cannot copy or transfer the any files folders...

    After a recent power outage, my system has restarted with a weird and very common Windows problems range. The system boots fine, all my personal files/folders/apps are intact, have suddenly stopped almost all functions of applications, but many crucial functions of the Windows kernel. Everything seems to point to several Windows Services are unable to start (administrative tools on the start menu). I am running Win XP SP3 and that he was going to upgrade to Windows 7, but I wanted to backup everything in advance. As I have 29 000 hours on my C: drive and a lot of time invested in my system, files, and applications, I am extremely reluctant to risk losing my files and applications by performing any type of reinstalling Windows. Strangely, begin to almost all my apps and all my files are accessible for the most part, but I've lost the ability to drag and drop files, folders or items in a list within the applications COMPLETELY. I can't copy or paste anything, can't move the desktop icons (although I can create new files and folders). So at the moment I can't save anything or even a single file transfer to a hard drive on another storage medium. Immediate reaction: try safe mode and try the system restore safe mode has the same problems (likely due to the large number of system services that inexplicably refuses to start) and the system restore says an error window saying "system restore is not able to protect your computer at this time. try restoring the system running and restart again", which of course NEVER changes. It's the equivalent of getting a tire on your car in the middle of nowhere to find the spare tire flat and the missing Jack. I have used to be fanatical about the definition of the regular restore points, but now can not access them. I have backups of most of my personal files, but over years have lost most of the original installation CD for many of my applications (there are over 100 applications on my system) and I don't want to lose the file associations and architecture of directory tree that it took my so long to implement. I started with Win XP media center edition of first (circa 2004 or almost) and have migrated twice more of 3 hard disks and 2 computers. All this time (5 years of daily use), I have NEVER known so many malfunctions for as many Windows basic and vital functions at the same time. I tried a lot of 3rd party "windows fix - it / registry repair" apps, all have no effect. Everything I can speculate is there was some serious damage to the registry and have no idea how/why so many Services refuse to start. In MMC, more than half of the services actually start and run, the rest all give the error message "the service or dependencies is not start (error 1068).» In addition, very oddly, no. APPS or windows appear in the toolbar AT ALL, but the Quick Launch toolbar works very well, just like the tray button and start tasks (?! )!). If I reduce a window, it "disappears" (Nothing on the task bar), but I can restore it using the alt - tab keyboard shortcut to switch apps, so all applications/windows appear on the list of the Task Manager. A few apps is paralyzed bad, as the player windows media, itunes, etc. (I guess because the service windows audio can not not start), some won't start at all, but 90% of them work fine, except to try to copy or back up all files. I can create new files, however. I'm desperate to find a solution to repair XP3 Win WITHOUT losing my installed applications and files, before I try and switch to WIndows 7. Any help/suggestions/links/advice would be much appreciated. I'm an experienced user, but I've never met so many malfunctions based on the OS at a time. I, however, very painfully learned (years before that my system so complex) it's been almost a re-installation of Windows guarantees to lose my installed apps and files, the directory tree architecture associations.

    Help, please!

    I'll be honest with you - your message is so difficult to read that I don't bother to go through all that. Next time consider using white space, ball or points numbered, etc. to make your message more readable. I stopped reading after your first sentence and only scanned the rest quickly. I do not mean to hurt your feelings; just trying to help you get targeted answers you need for the future.

    The blackout has corrupted your Windows installation. Back up your data now. Since you have problems so much, it would be probably best is to remove the hard drive, put it in a USB drive enclosure and attach it to another computer to copy the data OR start the target with Linux Livecd such as Knoppix system and copy the data to an external hard drive. IOW, do not use the damaged windows to try to get your data.

    You can try a repair that will leave your programs and facility data intact, but with this widespread bribery, it is unlikely to work. However, it takes only a few minutes and is so worth a try. If the repair facility does not work there is nothing to do, but a clean install. And Yes, it will mean that over again.

    Consider buying a UPS to help prevent future damage by power outages. For a single computer, you should look for one in the area of $60 to 80. A more expensive UPS is not necessary. Another good disaster recovery strategy is to buy an external hard drive and Acronis True Image. You can image your system (and can make an incremental backup image so that your image is still current). You can apply your image and be back running that you were in relatively few minutes after a hard drive or Windows to fail.

    http://www.michaelstevenstech.com/XPrepairinstall.htm - repair install how-to
    http://michaelstevenstech.com/cleanxpinstall.html - Clean install - how-to
    http://www.elephantboycomputers.com/page2.html#Reinstalling_Windows - you will need at hand MS - MVP - Elephant Boy computers - Don ' t Panic!

  • No option to save the file, type of content/file missing in the list of Applications

    I want to be able to click on a link to a file and have the option to open the file with a specified application.

    When you click on the file I want to open with a specified application, I get a save or cancel the option.
    When I look in Preferences > Applications, the file type is missing from the list.

    It worked. It no longer works. It is not a problem with the Web site. I need to know where in FF settings I can change that.

    FF 30.0
    13.10 Kubuntu

    Thank you

    What types of files you want to download?
    Have you checked how servers send the files?

    You can rename (or delete) the file mimeTypes.rdf in the profile folder of Firefox to reset all the actions file.

    (I'll remove the solution for now as you always seem to have the problem)

Maybe you are looking for