MIDlet and XML

Are there any easy to understand tutorials that just show how you connect to a server through Http, query the database and generate an XML file so that MIDP displays it ??
I already have the database connection stuff working and http it's just that i don't understand the XML part.

If you're accessing a server through HTTP, querying a database, and getting XML back, then the server is the one doing the XML generation and it would do so independantly of any midlet.
As I understand it there are (3rd party, I believe) libraries available to process XML on J2ME devices. Never used them however.
But anyway these are two different tasks, and although there may not be tutorials for the whole end-to-end process you describe, there are probably plenty of tutorials for each separate step.
From my (admittedly limited) experience trying to do text parsing on a MIDP device, I'd suggest returning data in a format other than XML unless you can be very very sure that the users will use a limited set of devices that you can be sure will be powerful enough.

Similar Messages

  • How to open and XML file?

    Does anyone have a way on Mac to open an XML file for viewing. This can be done with WIN Excel and XML toolkit but doesn't exist for Mac Excel in Office 2008. I can open with TextEdit but would like to see the info with headers and cells without all the XML coding. Numbers 09 can't open it at all.

    Numbers uses XML to build the description of the documents but it's not an XML editor.
    A simple search in Google with the intricate key string xml editor AND mac return numerous interesting links.
    Yvan KOENIG (VALLAURIS, France) vendredi 9 octobre 2009 11:33:27

  • HTML and XML files open in same window(KM Navigation iView)

    Hi All,
    I have created a KM navigation which is pointing the folder inside the documents repository. This folder contains HTML and XML files. It is rendering fine. But, when I click on the file links in KM Navigation iView, it is opening in new window.Here I need to open in same window. How can I acheive this?. Please help me.
    Thanks & Regards,
    Venkatesh R

    Hi ,
    check the below thread and try options mentioned in it
    https://www.sdn.sap.com/irj/sdn/thread?threadID=72594
    Koti Reddy

  • ASO: How to set up Quoting and XML to Print Quote in R12?

    Which are the steps to set up Oracle Quoting and XML in order to Print a Quote in R12?

    Hi,
    Please refer the Note : How to Create a Custom Print Quote Template in Oracle Quoting ? (Doc ID 780722.1)
    Thanks & Regards,
    Sridhar

  • Problems with reports and XML-publisher - No XML

    Hi!
    I'm having a problem with Apps and XML-publisher. I made a report file, which queries some views. When executing in reports, I get all the data I expect.
    Now, when I upload the reportfile to Apps and let it generate XML, my xml-file is empty (well, almost empty)
    <?xml version="1.0" ?>
    <!-- Generated by Oracle Reports version 6.0.8.27.0 -->
    <T03501684>
    <LIST_G_PERSOON>
    <LIST_G_PERSOON />
    </T03501684>
    Anyone who can shed any light upon this problem?

    OK, finally solved the problem... A good night's sleep always helps ;).
    After just trying each queried table one after an other, I found the problem:
    The difference between Oracle Apps (Dutch locale) and the reports builder (English) is the language... And our functional people have changed some names, but the Dutch ones, leaving the english names in place and one of the tables I query has language specific data, which is also appears in a where clause.

  • Have itl and xml files on external hd am running home premium. can  no longer access files, am told this is because they were created with a newer version of itunes. also when i try to download 10.3 it wont, just says invalid drive j and for me to try aga

    i am running vista home premium on desktop and vista basic on laptop. have placed my itunes music with .itl and .xml files onto external drive connected to another desktop running vista and can no longer access music on first two mentioned comps only on the one connected to external drive. always am told that the library cant be read because it was created using a newer version of itunes. have tried to download 10.3 but it always tells me that i have and invalid hard drive j and to try again. any ideas?

    Older versions of iTunes cannot read libraries created with newer versions of iTunes. You need to have the same version of iTunes on all your PCs. Is that the case?
    As far as the problem installing iTunes goes, see this article from b noir on dealing with the problem:
    https://discussions.apple.com/thread/2450004
    If you get to the point where you need the Microsoft Installer cleanup utility, you will need more help as it has been withdrawn by Microsoft. but I am hoping the virtual drive trick will work,

  • How to disable 'Save' button when OAF and XML Publisher integrated...URGENT

    Hi,
    I am new to the OA Framework and XML publisher. I have been working on a requirement where I am designing a new page in Manager Self Service with few fields and a submit button. Also designed a RTF template in XML publisher to display the output in PDF format.
    When the details are entered on the page and click on 'Submit' button, the PDF will Open with the data populated. This is working perfectly... thanks to the forum.
    But my issue is: When the submit button is clicked, it displayes a dialog box with Open/Save/Cancel options and if I click the 'Open', the PDF will be opened. But my client is a retail client and they don't want store managers to save this PDF so either I have to skip this dialog box and directly open the PDF or I have to disable the 'Save' on the dialog box.
    Gurus -- Please help me how to achieve this. This is very urgent
    Below is the piece of code I am using in the controller to generate the PDF.
    TemplateHelper.processTemplate(
    ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getAppsContext(),
    APP_NAME,
    TEMPLATE_CODE,
    ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getLanguage(),
    ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getCountry(),
    inputStream,
    TemplateHelper.OUTPUT_TYPE_PDF,
    null,
    pdfFile);
    Thanks in Advance,
    Naren

    Frank, thanks for the update.
    But do you want me to try ControllerContext.getInstance().getCurrentViewPort().isDataDirty(); in button disable property?
    I have written one method in my am like
    public boolean isTransactionDirty(){
    return getDBTransaction.isDity();
    and exposed that method to client side and i try to use this method in my button disable property as
    disable#{bindings.isTransactionDirty.execute} but this is not working.
    Thanks

  • Data mapping between sybase and xml

    I want to make a data mapping between sybase relational data result set and xml.
    I am using the function ForXmlTree for this purpose, I have the entire documentation about the synatx and usage of it, but i need to know what support does JAVA have for it.
    What files need to be installed .
    This is an example of using the function
    java jcs.xmlutil.ForXmlTree �i forxmltree-spec [-o output-script-file] \
    [-x output-document-file  -S server-name]
    does anyone know where can i find the jcs.xmlutil package. If so let me know.
    Thanks in advance
    Sandeep

    PRPS-PSPNR = AFVU-PROJN.
    also you can use this fm.
    BAPI_PROJECT_GETINFO

  • Java framework/toolkit for POJO, database persistence and XML

    Hi all,
    I've been wondering if there's a toolkit or framework for developing Java program (could be standalone Java program, EJBs etc.)
    I surfed around casually and found some but there isn't any detailed description of what and how each framework/toolkit does. So I hope to ask around if you've anything that you have used before and would like to point to me to look further.
    Given the huge number of open source toolkits, libraries and frameworks out there, it can be quite confusing as to which one is more suitable for me. Also with Sun's move into JDO and Java Persistence API, things become more messy and complicated - there isn't any clear leader in this area and things are starting to change with the inclusion of JDO which seems to be the future standard persistence API to use.
    So far, I've only worked with Hibernate for database persistence before. So I'm wondering if there're other options such as Hibernate with XDoclet, Castor and Spring framework etc. that can easily transform Plain Old Java Objects (POJO) -- hopefully using Java Reflection w/o using mapping XML files like in Hibernate -- into SQL for database persistence and XML text data and vice-versa. The current problem is that I've been spending tons of time writing code to transform data in Java objects into XML (using my own format) and also doing mapping files for Hibernate.
    I am hoping for something simple like:
    Object o = new Object();
    o.setProperty = "something";
    String xml = o.toXML(); // Convert object to XML text.
    o.save(); // Save to database.
    // The reverse: Parse XML into object and load from database
    Object o = new Object();
    o.fromXML(xml);
    o.load();
    // Properties should be initialized from database or XML.
    Anything similar to this out there?

    Hi,
    Just to share what I've found after surfing a bit more on this issue to promote more discussion on this area.
    For mapping of Java objects to XML, we can try looking more at Castor and JAXB.
    For database persistence to/from Java objects, look at Hibernate and JDO.
    There is this Hydrate project (hydrate.sourceforge.net) that I do not know where it fits in still. But it is supposed to do data transformation and mapping between Java objects, XML and database representation.
    Fyi.

  • IDOC to Flat File and XML ( Need both the Output)

    Hi ,
    My Scenario is IDOC to File .
    I need o/p in 2 format . ie,    1) Flat File 2 ) XML file
    I have a plan to go with Interface determination , 2 IM and what shd be the condition ?
    or Else  2 Receiver detmination  but condition ?
    How to slove this ?
    Need the Output from Idoc in 2 format ( Flat file and XML file )
    Any Blog , Thread ...Tips...etc
    Regards,
    Jude

    Hi Jude,
    Do like this:
    1. Create two inbound Service Interface (with the same target Message Type)
    2. Create separate Operation mapping with the above service interfaces as target (with the same source service interface)
    3. Create Interface Determination and include these two operation mapping (without any condition)
    4. Create 2 receiver agreement (with two separate communication channel) for each of the target service Inetrface. In one channel use content conversion and the other one will give you normal XML output
    Regards
    Suraj

  • Using resourceDescription in SUBSCRIPTIONBUNDLED_Email.xsl and xml's.

    Hello all,
    We are trying to use the Primitive Template "resourceDescription" (as described in "Customizing Notifications"-pdf) in the SUBSCRIPTIONBUNDLED_EMAIL.xsl and SUBSCRIPTIONBUNDLED_en.xml.
    Could anyone urgently let me know if it's possible to use this Primitive Template in the xsl and xml mentioned?
    It looks like the "resourceDescription" is not being passed on to the bundlednotificationdata-section in the xml?
    Any other suggestion in how to get the "resourceDescription" available in Daily Summary Subscription emails?
    Thanks in advance,
    Tim.

    Hello Alan,
    Yes; as far as I know the only way to get your changes to any of the email notification xml files visible is by restarting the server
    The notification email xsl I'm working on is the one for the daily notifications (subscriptionbundled_email.xsl).
    My problem is that it seems that the resourceDescription is not being passed on by the java code that is populating the section in the xml file containg the resource information...
    Unfortunately no confirmation about this yet (raised OSS with SAP as well).
    I'm expecting this resourceDescription to contain the text that you can fill in using standard KM in the Description field of a resource.
    I do wonder how/where your users populate the subject and description fields? Standard SAP KM or custom app?
    Cheers,
    Tim.

  • How to convert a Form to a Text file and XML file?

    Hi:
    I want to convert a Form to a Text file and XML file,but I don't know how convert?
    Please help!
    Oracle Form Builder V10.1.2.0.2
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
    Thanks in advance!

    ..or follow the steps in Mtalink note; Doc ID: Note:196924.1
    Forms XML Conversion Feature ( Converting Forms To XML)

  • How to retreive images and xml stored in temporary internet files

    hi all,
                  I am creating an air application that has to work in offline too.so i have decided to retrieve datas it from temporary internet files(is it a rightway or anyother way to do that if so pls suggest).   I have an issues of retreiving images and xml stored in the temporary internet files of the user system ..can anybody help me and give solution for this..
    regards,
    Divya.

    What software are you using to create the website? Perhaps there is some command you can implement on the website to force the entire file to be downloaded. If you use Dreamweaver, you might ask in that forum. If you make the link an ftp link rather than a http link, you might guarantee that the file will be downloaded in its entirety, but the download location will not necessarily be in a temp folder.

  • I have a acrobat reader, can I import text delimited data format to a PDF Form so that it can auto fill into forms that was created? If not, what about FDF and XML data

    I have a acrobat reader, can I import text delimited data format to a PDF Form so that it can auto fill into forms that was created? If not, what about FDF and XML data

    Yes, you can do all of that via Tools - Forms - More Form Options - Import Data, if you have Acrobat.
    If you only have the free Reader then you can still do it, but it requires a script.

  • Using event.target.submitForm to submit a PDF and XML attachment in a single email.

    I have a button on a PDF form which emails a PDF and XML attachment of the current form in two seperate emails. The code is as follows:
    event.target.submitForm({cURL:"mailto:" +  "[email protected]" +"?subject="+"Request for action " + "&body=Please find attached..." ,cSubmitAs:"XML",cCharset:"utf-8"});
    event.target.submitForm({cURL:"mailto:" +  "[email protected]" +"?subject="+"Request for action " + "&body=Please find attached..." ,cSubmitAs:"PDF",cCharset:"utf-8"});
    This results in 2 seperate emails, when all I need is a single email with two attachments. Is there a way to do this?

    As far as I know you can only attach one attachment at once.

Maybe you are looking for

  • Memory corruption detected with linux 3.9.2-1

    I have this message with dmesg and kernel 3.9.2-1, it disappears with kernel downgrade (3.8.11), what can i do ?? p.s. the system seems to be stable. [   61.584649] Corrupted low memory at ffff880000006598 (6598 phys) = ff0000000000 [   61.584695] --

  • FCP7.03 hangs/freezes while loading project

    I have a Final Cut project file for this feature film I've been working on forever. The project has stopped opening. FCP freezes immediately after the 'offline files' dialogue box. (doesn't matter whether I reconnect media or not.) It thinks for a se

  • R12 Rapidwiz postinstall step Http, Login page, Virtual dirve

    Hi, I have downloaded EBS R 12.1.1 from edelivery.oracle.com. I am facing post install errors. i have applied all the required rpms mentioned in the Note 414414.1 .The rpms mentioned in the document refer to 12.0.1. Is anybody facing similar problem

  • Parameter "processes" utilization

    I am getting periodic ORA-12519 errors in my listener.log .... from what I have read I can increase the value of processes from 150 to 300 and hopefully that solves the problem. I wanted to understand what CURRENT_UTILIZATION of 140 means. When I "ps

  • Problems installing on Win2K3

    Just trying to get the TED client running on Win2k3 and it gets as far as creating the Zenworks directory and share then just seems to hang there and won't complete the copy Any ideas.