Plz help , how do i associate a file extension with a j2me application

i need to associate a file extension (.gpj) with my j2me application. in other words when i open a .gpj file i need the j2me application to launch.
thankyou

To accomplish this your device need to have an implementation of the Content Handler API (JSR 211)
1. The class that handles the file extension should implement the ContentListener Interface
2. you should register the listener to be notified of new requests
ContentHandlerServer myhandler=Registry.forClass(this.getClass().getName());
myhandler.setListener(this);3.implement the invocationNotify() method of the ContentListener interface to handle this file extension
Cheers
and don't forget your (generous) dukes ;D

Similar Messages

  • XML form: associate the file extension with an image

    Hello!
    I am creating some XML forms and i have to ulpoad a file.This isn´t a problem, but in RenderListItem I have to associate the file extension with an image(For example .doc with Word icon).Is it possible to do this? Thanks

    Hello ,
    I'm sorry, but this is not covered within the standart. You have the opportunity to do so in normal LayoutSets but not within a link in XML Forms. Maybe it's a workaround for you to provide a image selection for the author in the edit form, to select such an image manualy.
    hope this helps,
    Axel
    Please consider rewarding points to helpful answers on SDN

  • Associate .indd file extension with CS6

    I have not been able to associate the file extension with CS6 in Windows Vista. The .indd extension is already taken by another application, yet when I try to change it, it does not save.

    While highly unlikely as the reason, Vista was not tested and is not supported for CS6.
    What “other application” has the INDD association? Is it a different version of InDesign? Did you install the other version AFTER CS6?
    Bob

  • How to associate other file extension with text/xml

    Hi,
    I found that I could only load files into XDB via ftp when they had the file extension ".xml". Why is this?
    Thanks
    Pete

    The information as to which file extensions are associated with which mime-types is stored in the xdbconfig.file. You can add an entry using the following code
    connect system/oracle as sysdba
    call dbms_xdb.cfg_update
           updatexml
             dbms_xdb.cfg_get(),
             '/xdbconfig/sysconfig/protocolconfig/common/extension-mappings/mime-mappings',
             xmlelement
               "mime-mappings",
               xmlconcat
                 extract
                   dbms_xdb.cfg_get(),
                   '/xdbconfig/sysconfig/protocolconfig/common/extension-mappings/mime-mappings/mime-mapping'
                 xmltype
                   '<mime-mapping xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd">
                <extension>rdf</extension>
                <mime-type>text/xml</mime-type>
                </mime-mapping>'
    commit
    call dbms_xdb.cfg_refresh()
    set long 1000000
    set pagesize 0
    select dbms_xdb.cfg_get() from dual
    quit

  • Computer associates .dwt file extension with AutoCAD (valid) - not DW Template. [was: roberth11148500]

    I have attempted unsuccessfully to create a webpage template using Dreamweaver CS6. On investigation I found that my computer was interpreting the dwt. suffix as an AutoCAD template rather than a Dreamweaver template.  I do have AutoCAD programmes on my computer and in that software dwt. is a valid suffix for templates.  Please someone kindly tell me how to overcome this problem?

    One way is to associate the extension with the relevant program as in Choose the apps Windows uses by default - Windows Help
    Another way is to right click the template file and choose Open With->Dreamweaver
    A third way, if you are running a PHP server is to give the temple a PHP extension as in myTemplate.dwt.php

  • Associate a file extension with my executable, how to receive filename?

    Hi
    I'm using flaslh profresional to create this application:   Edit_epl.exe
    I install the application.
    I make a file association extension because I want to do this:  when double-click on a file with the extension ".elp" then runs Edit_epl.exe.
       example doubleclick on:  "my_sample.epl"  ---> then runs Edit_eplp.exe.   so far,so good.  
    My question is how to know its filename (my_sample.epl) as "parameter" inside "Edit_eplp.exe"
    Can anyone help me?
    Thanks

    I solve it!
    Question:
    I want to click on a textFile  for example  hello.txt, with the content:   "My name is Fernando"
    1 - create an application   My_edit_txt.exe   (with only one text_field, MY TEXT)
    2 - install the application.
    3-  associate the extension txt  to my  editor: My_edit_txt.exe
    4-  when I click on hello.txt,
    5-  the system launches -> My_edit_txt.exe (so far works ok)
    6- then I dont know:  Inside My_edit_txt.exe:
    Which file clicked the user?
    Resolution:
       NativeApplication.nativeApplication.addEventListener(InvokeEvent.INVOKE, onInvoke);
    package silbo.esment.general.base_juegos
              import flash.desktop.NativeApplication;
              import flash.display.MovieClip;
              import flash.events.InvokeEvent;
              import flash.text.TextField;
              public class Clip_editor_epl extends MovieClip
                        public var t_texto:TextField;
                        public function Clip_editor_epl()
                                       super();
                                       NativeApplication.nativeApplication.addEventListener(InvokeEvent.INVOKE, onInvoke);
                        function onInvoke(event:InvokeEvent):void {
                                  mitrace("on invoke");
                                  mitrace("arg="+event.arguments);
                                  mitrace("file to open:"+event.arguments[0]);
                        function mitrace(trozo){
                                  if(trozo==null){
                                            trozo="";
                                  t_texto.appendText(trozo+"\n");
              }//clase

  • Plz help how to do pdf slide show from Indesign CS6 CC application

    Hi, how to apply to PDF page slide shows, export from Adobe Indesign CS6 CC

    Thanks Adrian, it worked! 
    File>export> save as: IDML.
    This issue happened to me while exporting to PDF, too. but after saving as IDML, the elements were misplaced! i had to rework them. but at least i didnt loose everything. anybody got a better solution to that? note: always keep an IDML backup of your Indesign files.
    this forum is life savin!

  • Associate a File Type with a JAR

    How do I get XP to associate a file type with a JAR application? Since the extension on the application is JAR, I get a message from XP that I can't associate with it since it is not exe.

    Look at the association for the JAR extension, you'll find that it uses javaw.exe and the "open" action is mapped to some command line involving javaw.exe and %1 which represents the jar file to be executed. Now, for your extension make a very similar setup, only your "open" command line will look something like this:
    "C:\...\javaw.exe" -jar YourSpecialJar.jar "%1" %*
    That command line runs your jar file and passes the file being "opened" to the command line as the first parameter. (I don't know what the %* does but it's in the command line for the jar extension.)

  • Associate file extension with air app on Android

    Hi,
    I am trying to associate a file extension with my air app on Android. My goal is to be able to start my app by clicking on a file with a specific file type from either a file manager or mail app. I have found a solution that in theory would work in native, but does not with air somehow.
    In the .xml-file for the app, under the <android> tag I have written:
    <activity>
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.BROWSABLE" />
                <data android:scheme="file" />
                <data android:pathPattern=".*\\.csml" />
                <data android:host="*" />
            </intent-filter>
        </activity>
    Does anyone have an idea how this could be solved?
    Thanks in advance
    Jens

    If it works in a native app, it should also work in an AIR app in this case. Can you verify that it does work in a native app?
    See also:
    http://www.mail-archive.com/[email protected]/msg47862.html//www.mail-archive.com/[email protected]/msg47862.html
    http://stackoverflow.com/questions/1733195/android-intent-filter-for-a-particular-file-ext ension

  • How can I associat ".swf" files with flashlite 2.1

    How can I associate ".swf" files with flashlite 2.1? When I
    install flash lite 2.0,it can do ---- click .swf files system can
    autoly use flashlite to play.But now I install flashlite 2.1,it
    lost this ability return as "unknow files formate".
    Now,how can I reassociate ".swf" with flashlite 2.1?
    first: I must use flashlite 2.1.
    second:I must click .swf file directly.
    I know another way to open :open the player and then find the
    .swf,and open it. But ,unfortunately,I can not use this way to
    open.Now I will be looking for another way.

    unfortunately, the 2.1 developer edition you have installed
    has not overwritten the original version integrated into the
    symbian OS by the manufacturer. This means that the only way to
    open the 2.1 files is to open the 2.1 player from your apps menuu,
    and click on the swf file. You will only get direct access if the
    updated player is in a firmware update for you handset.
    Matt
    http://www.outside-media.co.uk/blog

  • I deleted my download folder by accident  i waz moving it and it just deleted it and showed this smoke. i found it in my trash so put it on my dock then clicked on it and it shows preview?! plz help how do i get it back!!!

    i deleted my download folder by accident  i waz moving it and it just deleted it and showed this smoke. i found it in my trash so put it on my dock then clicked on it and it shows preview?! plz help how do i get it back!!!

    You need to restore the folder using the (Put back) selection (CTRL click).

  • How make file association with a sgd application

    hi!
    I need to know, how i make file association from a sgd client.
    I need open file .doc with a sgd application just make doble click in the file .doc
    in the client
    SO: rhel5u1
    i have word.desktop file
    [Desktop Entry]
    Version=1.0
    Encoding=UTF-8
    Name=word2003
    Icon=/home/ssa01/.tarantella/icon-cache/srsgd.sunssa.com/windows.gif
    Categories=Application;SGD;
    Type=Application
    Exec="/home/ssa01/.tarantella/tcc/4.50.907/ttatcc" -profile "srsgd.sunssa.com::Default" -application ".../_ens/o=applications/cn=word2003"
    Terminal=false
    please help me!!

    guinn8181
    it showed up as a ProTools (an audio editing application I have installed) plug-in … How can a firmware update meant for a specific hardware but tied to a third party softwareThen this is a bug in ProTools. The "Open with" should show "<None>".
    You need not concern yourself too much with this, since the system will run this updater as and when necessary—you don't need to run it yourself.

  • How do I open raw files taken with Canon 70D.  Not supported in Elements 12.  Is there a download?  Thanks.

    How do I open raw files taken with a Canon 70D?  Elements 12.  Version 8.0 Windows 7 64 bit.  Thanks in advance for any help.
    JWT
    Lamar, CO

    Thank you so much for you quick answer.  Works fine, now.  Thanks again, Barbara.
    JWT

  • Possible to associate file extension with webstarted app?

    A common property of microsoft apps is to associate file extensions with specifiec apps.
    For example, when you double click on a .xl file, Excel is launched.
    Can the same kind of thing be done for Webstarted apps? If so how?

    I have an idea on how to do this, but I have not tried it.
    1. On first launch, the application does an "install" before starting the main screen.
    2. The install checks the OS, and writes a .sh or .bat file to disk. That batch file runs the command-line to start the application. Hmm, but how does it pass along $*?
    3. The install associates the proper file extension with the .bat file, and/or with the unix file manager software, and/or with IE, Netscape, and Mozilla.
    Then, when a user clicks on a link to a document, or a file in the windows explorer, then the JWS application should lanch and load the file(s).

  • How to make a PDF file short ( with less memory)?

    How to make a PDF file short ( with less memory)?

    @nalinss
    There are two ways: "Save as.." usually optimises size, but there is also "Optimize PDF" in the menu with many options what to exclude and to reduce in quality. Be careful here, as pictures can become very bad.
    A note: the size of a PDF vastly depends on from what source it is created. For example, if you draw some vector graphics in Visio and print to Adobe Printer, the resulting PDF is usually quite small in file size. Opening it in Illustrator and saving it again after you, let's say, just moved one line, can make it 10x as big. This is due to big overhead, Illustrator creates and this can not be reduced anymore in Acrobat later on. Sometimes it helps to convert or "save as" such an inflated PDF to a different format like EPS or HTML and print or convert again to PDF.
    So, if you created the PDF yourself and you still have the source, you may adjust settings in the export/print dialog to make it smaller.

Maybe you are looking for

  • Error while running batchdiagnostics.sh for AIA for Comms 2.0.1 installed

    I read while going through a document that to check whether AIA installation was successful 1. User should run the $AIA_HOME/diagnostics/bin/batchdiagnostics.sh script. When completed the output can be reviewed in $AIA_HOME/diagnostics/logs/BatchDiag

  • Will Remote Desktop allow me to access and use my Mac Pro 2009 from my MacBook Pro 2011?

    Own a small business, have two locations, I need to use Windows via Parallels on my Mac Pro 2009, but I am forced to spend most of my time at the other location which has a MacBook Pro 2011. Will Remote Desktop allow me to use the MacBook Pro 2011 to

  • Import problem in 9.2

    Hi all, When i am trying to import the data from oracle 8.0.3 to Oracle 9.2 in another machine, i am facing problem. As, i am having total 7 users in 8.0.3 and out of that i have successfullly imported 6 users without any problem. But for one user i

  • Drilldown on line chart w/3 series to 3 different pie charts w/ DV

    Hello experts,     My situation is the following. I have a Line chart representing sales on 3 different series(actual, budget and last year) along the 12 months. Then 3 different pie chart that link the office sales of each serie and each month. I su

  • Two Fatal Error Messages when Starting Photoshop

    When I tried to start Photoshop CS6 Extended 64 bit today (out of the blue) I received two error messages and the program would not open: 1. Could not load actions because an unexpected end-of-file was encountered. 2. Could not initialize Photoshop b