How to install plugin in the eclipse?

Hi all,
I made a download the KXML plugin (http://prdownloads.sourceforge.net/kxml/kxml2-min-2.2.2.jar?download), but I can't to install and use this plugin for to read XML files. For example: I need to import org.kxml2.io.KXmlParser. I put the downloaded file in the folder plugins of eclipse and I use the eclipse for develop with J2ME.
I read one article that it teaches to read XML files using the KXML API, see below:
XML File example:
<?xml version="1.0" encoding="UTF-8"?>
<list>
<person>
<name>Person 1</name>
<phone>Number 1</phone>
</person>
<person>
<name>Person 2</name>
<phone>Number 2</phone>
</person>
</list>
Source code of MIDlet
import �
import org.kxml2.io.KXmlParser;
import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserException;
public class XMLParserMidlet extends MIDlet {
Form form = new Form("Persons");
protected void startApp() throws MIDletStateChangeException {
InputStream in = getClass().getResourceAsStream("person.xml");
try {
Display.getDisplay(this).setCurrent(form);
parser(in);
} catch (Exception e) {
e.printStackTrace();
private void parser(InputStream in) throws Exception {
//begin the XMLParser
KXmlParser parser = new KXmlParser();
parser.setInput(new InputStreamReader(in));
parser.nextTag();
//it locates in the tag <list>
parser.require(XmlPullParser.START_TAG, null, "list");
//while is different END_TAG
while (parser.nextTag () != XmlPullParser.END_TAG) {
//put in the tag <person>
parser.require(XmlPullParser.START_TAG, null, "person");
parserPerson(parser);
form.append("\n");
parser.require(XmlPullParser.END_TAG, null, "person");
parser.require(XmlPullParser.END_TAG, null, "list");
parser.next();
parser.require(XmlPullParser.END_DOCUMENT, null, null);
private void parserPeerson(KXmlParser parser) throws Exception {
//While is different of </person>
while (parser.nextTag() != XmlPullParser.END_TAG) {
//put in one tag "START". Ex: <name> ou <phone>
parser.require(XmlPullParser.START_TAG, null, null);
String name = parser.getName();
String text = parser.nextText();
System.out.println("Tag: " + name + " -> " + text);
//add the text in the Form
form.append(text);
//put in the and of tag </name> or </phone>
parser.require(XmlPullParser.END_TAG, null, name);
//the other classes that is necessary
pauseApp�
destroyApp�
thanks!

Really? You downloaded exactly the same jar as the OP? And you read exactly the same tutorial and have a question about exactly the same code?
I don't think so.
The OP didn't get an answer because the question has absolutely nothing to do with the topic of this forum. It's going to be the same for you. So find an Eclipse forum where you can ask questions about Eclipse.
Hidden Brains, indeed.

Similar Messages

  • How to install plugin and exta filter in photoshop cs ? and any special filter for special effects ?

    how to install plugin and exta filter in photoshop cs ? and any special filter for special effects ?
    kindly recommend me any best one and tel me step by step how i will add more plugins n filters

    A Plug_in normally come with an installer or install instructions. Check the documentation for the plug-in you trying to install.  It sounds like you don't know what plug-ins you want to install.  In that case you don't need to install any.  At some point you may read about a plug-in and what it can do and feel you have a need for it.  Then you will have a reason to install a plug-in that is not installed by default.  There may also be a cost involved most worthwhile plug-ins are not free.
    Adobe Optional Plug_ins downloads are Plugins Adobe want to remove from Photoshop  and no longer install by default. Also at some point in time these will no longer install into the current Photoshop for Adobe will remove feature or interfaces the use. For example the CS5 optional plugins will install in Windows CS6 perpetual version 13.0.1.3 but not in Subscription version 13.1.2 or perpetual Mac version 13.0.6 fot its 64bit only and the Mac CS5 optional plug-in for Picture package is only a 32bit plug-in.
    You will need to keep and maintain old versions of Photoshop if Adobe remove features you use in new versions of Photoshop.

  • HT3546 I can't figure out how to install bonjour from the CD that came with my airport express.  Can anyone help?

    I can't figure out how to install bonjour from the CD that came with my airport.  Can anyone help?

    If you are having difficulties installing Bonjour from the Installation CD, you can download the latest version of Bonjour from here.

  • How to install and configure the SQL Server

    Hi All,
    We have to install SQL server in the new server because the old server is crash and need to upgrade. Please advice How to install and configure the SQL Server to run SAP Business One 8.8 successfully and what part we do have to give attention.
    Kind Rgds,
    Steve

    Hi,
    Try this solution:
    The step-by-step installation guide can be found in the documentation included in the installation media. (\Documentation\SystemSetup\AdministratorGuide_SQL.pdf).
    Below are some important parts that you should pay attention to during the Installation process.
    Resolution
    Collation setting: It must be set as SQL_Latin1_General_CP1_CI_AS,even the company DB is non-english location. The company DB will be created as corresponding collation settings automatically.
    Instance and TCP Port : It is recommended to run SBO on default instance and TCP port 1433. Otherwise,some optional components such as B1i may not work properly.
    Native Client: SQL Server Native Client should be installed on every client machine to enable the ODBC connection to DB server.
    Rgds,

  • How to install and use the Khmer unicode Khmer MEF1 and Khmer MEF2?

    How to install and use the Khmer unicode Khmer MEF1 and Khmer MEF2?
    from www.mef.gov.kh in the bottom of the page, you can get the unicode for the ms office

    I think that stuff is for windows, a waste of time trying to use it on a Mac.
    There is no need to download anything for Khmer on a Mac.  Apple provides Khmer fonts and keuyboards with OS X.
    OS X Mountain Lion: Type in another language
    MS Word for Mac does not support Khmer.  Use TextEdit, Pages, Nisus Writer, LibreOffice instead

  • How to install and start the adapter(FILE)

    hi,
    when i checked in RWB for the  adapters which are INSTALLED and STARTED adapters it's displaying all adapters except FILE adapter .
      I need to known whether this adpater is installed or installed and started ,if the case then how to install and start the adapter

    Hi Nandan,
    if above is the case as i mentioned in previous response then,
    You need to download the latest SAP BASIS 6.40 or 7.0 ".tpz file" (as per you service pack) from service.sap.com. Then you need to put this in the import directory:
    <b>\usr\sap\<your system-id>\SYS\global\xi\repository_server\import\importedFiles</b>
    Now go to
    <b>IR>Tools>Import design Objects, you will find the .tpz file which you down loaded. Import this and refresh your cache.</b>
    P.S This is the exact path in market placehttps://websmp205.sap-ag.de/~form/handler?_APP=00200682500000001943&_EVENT=SEARCH&HIDE=&SEARCH_SPAT=X&SEARCH_BPAT=X&SEARCH_CD=X&SEARCH_P=X&SEARCH_PV=X&SEARCH_C=X&SEARCH_CV=X&SEARCH_TA=&SEARCH_V=&HIDE_EXPERT_SEARCH=X&SEARCH_MAX_RESULT=20
    Regards,
    Sarvesh

  • How to install Soap on the (Apache) Oracle HTTP Server

    Hi,
    Does anyone know how to install SOAP on the Oracle HTTP Server? I downloaded a soap version (it seems that the standard version comes without SOAP) from the xml.apache.org site and followed the installation instructions as far as I could (only Tomcat is described). However, no 'soaping'!!! Maybe I'm overlooking something because I cannot imagine that it should be difficult.
    Thanks in advance!
    Hans

    Hans, the SOAP implementation is part of OC4J. You get it out of the box. Check out how to use the out-of-the-box implementation in the tutorials on Web services with Oracle9i JDeveloper at:
    http://otn.oracle.com/tech/webservices/htdocs/series/content.html
    These tutorials/samples use the implementation of SOAP/WSDL that Oracle calls J2EE Web Services and this is the long term direction of Oracle's Web services implementation. This implementation is what Oracle will be evolving to Sun's Java Web Services Developer Pack as it finalizes into J2EE 1.4.
    If you want to use Oracle/Apache SOAP, this too is included in OC4J but its support is being deprecated in future releases of Oracle9iAS in favour of the J2EE Web Services implementation. To find it, check out the OC4J/soap/webapps/ directory for the soap.ear file (it is in a slightly different spot if you are using the full Oracle9iAS R2 but still within the soap directory structure. Simply add <application name="soap" path="../../../soap/webapps/soap.ear" auto-start="true"/> to your OC4J server.xml and <web-app application="soap" name="soap" root="/soap" /> to your OC4J http-web-site.xml, re-start and away you go.
    Finally, just to be sure, SOAP support in Oracle9iAS did not appear until 1.0.2.2.x and higher. If using 1.0.2.1 or less, you are correct, there is no SOAP support.
    Mike.
    Most folks that try out the J2EE Web Services find it is pretty easy to use so

  • How to install rac on the vm ?

    how to install rac on the vm ?
    Hi everybody,
    i want to install to Oracle RAC on the 2 nodes.
    i installed oracle enterprise server on the servers.
    And i have' t got a another storage, so i shared the disks of the node1 and i mounted the disk on the node2. when i share disk, i used the nfs file system.
    This method is a problem for the setup, will you?
    DO you explain step by step how to install oracle 11g rac on the vm ?
    thanks.

    Hi,
    DO you explain step by step how to install oracle 11g rac on the vm ?Refer link:
    http://www.oracle-base.com/articles/11g/OracleDB11gR1RACInstallationOnOEL5UsingVMwareServer2.php
    Regards,
    X A H E E R

  • How to install plugins in CS5, 32 bit

    Cannot figure out how to install plugins (contact sheet, picture package) in CS5.1, 32 bit.  Please help if anyone has beaten this bugaboo.

    You might try this adobe link http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CCEQFjAA&url=http%3A%2 F%2Fhelp.adobe.com%2Fen_US%2Fphotoshop%2Fcs%2Fusing%2FWS42C3020A-DAD1-4f92-8014-012263F3A5 1D.html&ei=h7XrTpLbHsmKiAK638zDBA&usg=AFQjCNEH8Bw7Nklztorx3cAVNkswh03Nkw

  • How to install windows on the SSD (Y580)

    I have bought an Y580 recently wIth a 64GB SSD and 1TB HDD. I asked the salesperson upfront if the OS would be on the SSD. He said yes. Turns out that it is not. When i returned to them they told me it's a hybrid drive solution. And they have no idea how to install Windows on the SSD.
    I did some research and found out that Lenovo uses *Rapiddrive* to speed up programs. Hence why i can't see the SSD in WIndows as it is merged with the 1TB HDD.  In Disk management 2 disks show , 0 and 1 , but Windows asks to give disk 1 a MBR or GPT (this is apparantly due to the rapiddrive methode).
    My questions:
    * Is it possible to install Windows on the SSD and if so how can that be done without loosing the backup on the hidden partition of the 1TB disk? (so that OKR still works)
    * What are the benefits of Rapiddrive over using the SSD as bootdisk?

    Since it is a hybrid drive, it works a little bit differently; Lenovo's "Rapiddrive" is also different from other hybrids, and in the sake of making it "user friendly" and seen as a single disc they have probably nerfed some configurability for the intermediate/advanced users. However, Windows should already be installed on the SSD portion of the drive, this should be done automatically according to this press release:
    http://shop.lenovo.com/us/sitelets/ee/consumer-news
    "In the factory we will preload not just Windows 7 on the SSD, but also our Lenovo applications like OneKey™ Theater or OneKey™ Rescue System. The applications, operating system, drivers and other files are all fully-optimized for Enhanced Experience to make them load much faster. This, combined with their installation on the SSD will make the boot time to Windows desktop even faster. Some portion of the SSD will also be reserved as the Windows Paging File — this is used by Windows as 'virtual memory' additional to the normal RAM installed inside the computer. With the SSD acting as the Paging File, general Windows 7 performance will also benefit, especially when multitasking several applications.          
    The remaining space, which will typically be around 15GB on a 32GB SSD, will be empty, ready for the user to install their favorite applications and files."
    I have some of the fastest SSD's around installed on my desktops (SATA III), and while they are blazing fast, keep in mind the whole boot sequence still isn't going to be instantaneous even with an SSD (the biggest differennce you will notice is by the time Windows is loaded, it's fully loaded to the RAM, whereas a normal HDD you may see the desktop but your PC will still be cranking away with startup processes). If your startup is taking 30 seconds or less, maybe even a little longer, it's probably accessing the SSD just fine; if it's taking closer to 60 seconds, then yeah it may need to be reinstalled/reconfigured.
    As for reinstalling, sorry I won't really be able to help, hopefully someone else can come along; I personally have never used OKR anyways, and aside from doing a ghost backup I wouldn't say for sure that OKR would be salvageable with a fresh install. And because the Rapiddrive is its own technology, half SATA half PCI-E, I also couldn't tell you if it's even possible to fully seperate the two and keep them as distinct drives.

  • Leopard DVD is far away. How to install XP without the leopard dvd?

    ok. Leopard DVD is far away abroad with my sister.
    How to install Xp without the DVD? Is there anyway to get the drivers that are to be installed from the dvd after installing Xp?
    I really need to use Autocad and Rhino on my Macpro, so Parallels or VMware fusion is not an option. I am already using VMware fusion on my Macbook pro, but VMware will not use 4g RAM of my Macpro which means it would be hard to run Rhino.
    By the way, I am planning to buy Windows (I am sooooo ashamed to install that self-messed up OS on my Macpro. but so what,,, Autocad and Rhino do not run on Mac, and I need specifically the two programs). XP with sp2, sp3, or vista. which one is the best option?
    Since my Macpro has only One 2.8GHZ Quad-Core Intel Xeon, there is no need to buy XP professional? (XP home doesn't support multi-processors, and XP Pro does, I guess?)
    Message was edited by: GoodmorningNightmare

    GoodmorningNightmare wrote:
    There are some parts that I don't understand.
    VMware Fusion uses only 512 RAM maximum, doesn't it? But you said it will use my entire 4GB RAM but only 2 cores. That's something different from what I've known.
    If fusion really uses 4gm RAM of my mac pro, I don't really have to use Boot Camp. But most people who need to run heavy programs in Windows choose Boot Camp because it's the only way to use a Mac just like a PC, meaning that the XP uses the entire RAM memory.
    XP will only use 2 GB of RAM, no matter how much the system has.
    I just found out that Rhino doesn't really work on Vista. So vista is ruled out.
    Only Vista 64-bit recognizes all system RAM.

  • How to install and verify the license file on ASA 5512-x

    Hi Friends,
    How to install and verify the license file on ASA 5512-x Firewall. I have lincese pak for CX and web security essential.
    What need to be done? can i install this lic file on firewall or need to be install on CX server.  Because i dont have the CX server right now.
    Please share me document for installation of this license.
    thx
    Ashish Kumar

    Hi,
    one possible solution is to use an intermediate array. The intermediate array should be used in the user interface. When new data is entered the VI should read each element and then compare to the elements in the stored array. If all elements are different then update the array, otherwise display a fault message.
    You could use asequence activated when the Enter button is pressed. In the first frame you would compare the First array with the stored array. it is probably best to use a Boolean indicator to show if the data is valid Make sure you declare this as a local variable.
    With the sequence you can perform the comparisons in several seperate frames or in one frame with a OR to link the results. For large numbers of comparisons I prefer to use m
    ultiple frames because otherwise the screen becomes a maze of wires and other programmers who may need to maintain the code in the future will find it hard to follow a single frame.
    Once all the data items have been compared then the following sequence should contain a CASE statement of type True/False. Link a readable copy of your local variable to the selector of this statement. Then in the FALSE case (Assuming you have linked the boolean to be false when no data is duplicated) copy the new array to the stored array. In the TRUE case bring up an error message.
    So long as your arrays are not too large and you do not use this technique in too many places in your code the processor overhead should not be badly affected. For frequent use of such a caomparison in several VIs you may want to create a dedicated subVI for the task. For very large arrays you should seek a different solution.
    Hope that helps a bit.
    Good luck,
    Shaf

  • How to install KVM on the ARM-Linux?

    How to install KVM on the ARM-Linux?

    I think you'll have some problems with 128MB RAM.....<br><br>
    :P Nonsense, but I do hope that hard drive is one of those new, fancy flash hard drives, otherwise the system will spend so much time swapping that it won't get past the installer.

  • How to install plugin globaly (for all users) in Firefox13?

    How to install plugin globaly (for all users) in Firefox13?

    See also:
    *https://developer.mozilla.org/en/Gecko_Plugin_API_Reference/Plug-in_Development_Overview#Installing_Plug-ins

  • How To Install plugins in Eclipse?

    I just can't seem how to figure it out. I tried throwing the plugin file into the plugin folder but nothing happens. I looked at all the options in eclipse and yet I can't find anything.
    So I need some help.

    "Please disgard the post about putting the plugin in the ebRoot\WEB-INF\lib. This is incorrect.
    Eclipse plugins, unless they have an install wizard/program, should be de-compressed/unzipped to the ecilpse/plugins directory. Normally, after doing that, all you need to do is start (or re-start) Eclipse & the plugin will be recognized automatically. You may have additional configuration to do, but this is usually through the Eclipse IDE. The plugin should have a readme file, online help or something similar describing its specific requirements.
    Cheers!"
    Please clear my mind.
    I have noticed that some plugins come with directories and with jar files.
    If i just just put those dirs and jar files in the eclipse/plugin they are autatically installed, right?
    Or do i need to select each jar file to use in my application like jessieh said?
    Build_path ----> add jars ----> etc.

Maybe you are looking for

  • ITunes Match not showing on my iPhone 4S

    I Bought an iPhone 4S last week and I had icloud and iTunes Match set up but some reason my music will not appear on my iPhone,I have logged  out of iTunes Match on my pc,ipad, and iPhone and logged back in again on all devices but the music is still

  • Printing a form in portal

    I am trying to create a form via the Wizard and need to create an extra button for PRINTING the current form. How do I do this?

  • Video not in Sync with Audio

    Watched my first live match today, or I should say tried to. The video was about 2mins plus behind the audio. Nothing worse than hearing a goal has been scored and not seeing it until 2 mins later, also site kept breaking link. Not impressed! Solved!

  • Monthly Report of Activity

    Hi All, We want to create a report on Account so that it will fetch a detail of all the person's who last updated the Account. This report will help us to keep a track of all the person who had updated a particular account. Thanks.

  • Weblogic.developer.interest.performance is moving!

    This newsgroup has been relocated. Going forward, please use the weblogic.developer.interest.performance newsgroup, which will be located in the [url http://forums.bea.com/category.jspa?categoryID=2004]WebLogic Server/Java EE Newsgroups folder, locat