Java conduit

Hi,
I want to write a java conduit for Palm devices. I am very new to J2ME. I have Installed the JDK, JWTK, SunOne studio, Java Conduit manager palm one Desktop manager and CDK.
I have also downloaded a sample code for java conduit. The very first line of this code is " import.palm.conduit.* " which is giving me compilation error. Anyone Please guide me from where can I get this package.
Do I need to Download more stuff from the net?
Am I missing something?
Is there any good documentation available explaining the whole procedure like creating java conduits, Registering it with Palm HotSync manager etc?
Please help !!!
Thank you very much.
Sanjay

Hi,
I want to write a java conduit for Palm devices. I am very new to J2ME. I have Installed the JDK, JWTK, SunOne studio, Java Conduit manager palm one Desktop manager and CDK.
I have also downloaded a sample code for java conduit. The very first line of this code is " import.palm.conduit.* " which is giving me compilation error. Anyone Please guide me from where can I get this package.
Do I need to Download more stuff from the net?
Am I missing something?
Is there any good documentation available explaining the whole procedure like creating java conduits, Registering it with Palm HotSync manager etc?
Please help !!!
Thank you very much.
Sanjay

Similar Messages

  • Desktop Java Conduit Program

    Hi Mobile Xperts,
    I am Developing one desktop application in TREO 270 Using Java Conduit Program(CDK4.0.3).
    But desktop cdk4.0.3 supports only HotSync Manager 4.0 and later. But My palm Desktop have(for Treo 270) have only HotSync Version 3.1.2H only.
    1. How can i implement this application?
    2. Is any Hotsync version 3.1.2 H version to 4.0 or later version updates available for treo 270 palm desktop model?
    Or 3. What are the other ways to write Synchronization program for palm os PDB files(READ / WRITE)?
    4. or please give me some idea to develop desktop application
    Thanks
    Edward

    Is there any way to identify when the page has
    completed loading before the app continues?Not in Java. Probably not even in Visual Basic (I wrote some VB programs that attempted to do that sort of thing several years ago and they never worked properly).

  • Palm Hotsync conduits and MIDP applications

    Hi,
    I wrote a MIDlet application for Palm. Now, in the
    process of writing a java Conduit for it (using JSync suit of CDKJ4) I
    I received this message in the syncronization process:
    Uncaught exception: java.lang.ClassNotFoundException: CondRest
    java.lang.ClassNotFoundException: CondRest at
    palm.conduit.SyncManager.sync(SyncManager.java)
    Thanks in advance for any suggestion.
    Ana

    It�s necessary you compile to file and put it in folder where of user current of HotSync

  • About workin with RecordStore

    i have been workin on an application for Palm OS which deals with a lot of database.the application is workin fine and the data also seems to be consistent. however the problem started when i started to work with conduit for tha application. can someone tell me about a better way to manipulate the data stored by the recordstore using java conduit.
    thank u !

    kAWT is built on top of kJava and only works with kJava (I am not sure if anyone has ported it to MIDP). kAWT has nothing to do with databases, it is only for GUI management similar to J2SE AWT. So if you want to use kJava, you can use kAWT for your GUI, but you do not have to. Also, if you use kJava, regaurdless of kAWT, you can use the Palm database - the two are not mutually exclusive.
    Now for MIDP. kAWT, as far as I know, has not been ported to MIDP. MIDP is a replacement for kJava, and it also runs on Cell phones. MIDP is somewhat OK for Palm, but really does not take full advantage of the Palm and the palm native GUI components. On this forum, there is better support for support for MIDP than kJava.
    If you are going to write an application for the Palm and only for the Palm, and it must be in Java, AND you need to take advantage of sophisticated Palm OS features, consider downloading and using IBM's J9 compiler (VAME). It opens up the full Palm OS. However, writing Palm applications is not as easy as MIDP or kJava, and will take longer to learn. The support for J9 is through the IBM VAME newsgroup.
    If your application is simple, and you do not need to use the IR port, serial port, access other databases other than your own, or need to have tight control over the user interface, go with MIDP. Download Forte and the wireless toolkit from Sun and follow the install directions, and read the PDF documents in the /doc directory.
    Also, there are a large number of postings in this forum about using MIDP on Palms and MIDP with the wireless toolkit and Forte. There are also people form Sun who monitor and reply to problems in this forum when they pertain to MIDP. kJava does not have this level of support.
    Once you have picked your development tools, and if you have further problems, lets resolve them one at a time. Post the actual error message as a new topic and people in the forum will take it from there.
    Don

  • IOExecption in palm

    Hi, i have some problems with my application. My program is running in a palm tx with j9 Vm, and it send some information with http post to a php server. All work fine when i have an active wifi connection, but when the palm dont find any wifi connection, i get some msg from the palm that say: Error in net, and put me three options for configuration: OK,WIFI,BLUeTooth, when i press ok, the application try another time to open the connection, and i get the msg again, and again and again if i press OK,(If i press the other two, it send my to some configurations, and back again), in the 4 or 6 msg i get the IOException of my application. I don't now why! plis help me, this is the only problem of my application, but is annoying! here is the code:
    * Comunicacion.java
    * Created on April 12, 2007, 11:11 AM
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    import java.io.*;
    import javax.microedition.io.*;
    * @author DANNIEL
    public class Comunicacion implements Runnable{
       private Thread t;
       private Tms midlet;
       private String url="http://www.locho0424.com/midlet/Tmspda.php";
       private String data,salida,from;
       /** Creates a new instance of Comunicacion */
       public Comunicacion(Tms m) {
          midlet=m;    
       public void conectar(String d,String f){
          data=d ;
          from=f;
          t=new Thread(this);
           t.start();
       public void run(){
          try{
             procesaRes();
          }catch(Exception e){
             int i,j;
             String store="";
             if(from.compareTo("fformu")==0){
                if(data.indexOf("insert")>-1){
                 i=data.indexOf("insert")+6;
                 j=data.length();
                 store=data.substring(i,j);
                midlet.signosV.setdatos(store);
                midlet.setTicker(midlet.fintro,"Tiene datos sin enviar");
             midlet.setAlarm("Error trying openning connection",midlet.fintro);
             //System.err.println("Error:"+e.toString());
       private void procesaRes() throws IOException{
         InputStream in=null;
         OutputStream out=null;
         StringBuffer b=new StringBuffer();
         HttpConnection conn=null;
         boolean sync=false;
         //System.out.println(data);
          try{
             conn=(HttpConnection) Connector.open(url,Connector.READ_WRITE,true);     
             conn.setRequestProperty("User-Agent","Profile/MIDP-2.0 Configuration/CLDC-1.1");
             conn.setRequestProperty("Content-Language","es-ES");
             conn.setRequestProperty("Content-Type","application/x-www-form-urlencoded");
             conn.setRequestProperty( "Content-Length",Integer.toString(data.length()));
             conn.setRequestMethod(HttpConnection.POST);
             //System.out.println(data);
             out=conn.openOutputStream();
             out.write(data.getBytes());
             //out.flush();
             if(conn.getResponseCode() == HttpConnection.HTTP_OK){
                if( (from.compareTo("fnewpac")) ==0){
                   midlet.paciente.borrarPacientes();
                   midlet.pacpopup.deleteAll();
                   midlet.cantdeDatos=0;
                int ch,i,j,k=0;
                in=conn.openInputStream();
                while( (ch = in.read()) != -1){
                     b.append((char) ch);
                     if (ch == '\n') {
                        sync=true;
                        if (b.toString().indexOf("name>") > -1) {
                            i = b.toString().indexOf("name>")+5;
                            j =b.toString().indexOf("<name");
                            midlet.setPacPopup(b.toString().substring(i,j));
                            midlet.paciente.setPaciente(b.toString().substring(i,j));
                            k++;
                        b.delete(0,b.length());
                if (sync==false) {
                   if(from.compareTo("fformu")==0){
                      midlet.setTicker(midlet.fformu,b.toString());
                      midlet.setAlarm("Expediente Actualizado",midlet.fformu);
                   else{
                      midlet.signosV.borrardatos();
                      midlet.da.deleteAll();
                      midlet.setTicker(midlet.fintro,"Todos los datos Fueron enviados");
                      midlet.setAlarm(b.toString(),midlet.fintro);
                else {
                   midlet.setTicker(midlet.fnewpac,"Se encontro "+k+" paciente(s) asignado(s) a esta unidad");
             else{
                 if(from.compareTo("fformu")==0){
                midlet.signosV.setdatos(data);
                midlet.setTicker(midlet.fintro,"Tiene dato(s) sin enviar");
                midlet.setAlarm("Error in opening HTTP Connection. Error#:"+conn.getResponseMessage(),midlet.fintro);
              //  System.out.println(conn.getResponseMessage());getResponseMessage
         // System.err.println("Error: " + e.toString());
       }finally{
          if(out!=null) out.close();
          if(in!= null) in.close();
          if(conn !=null) conn.close();
    }

    If you use MIDP, you have to use an HTTP connection to transfer data
    from MIDP to your PC.
    But you have the option of developing the PC Connector independent of MIDP
    by:
    a) Develop a Java conduit.
    b) Use the Hotsync utility to backup data from RMS into your PC
    and then write a program to read the backed up data and update the database.
    You can see more details on www.palmos.com. Again, I am not completely
    sure about above two options.
    Ajay

  • MMAPI supported in Palm?

    Hi, I am very new to MIDP. But I need to develop a java conduit to synchrnoize data between the Palm Client (Palm OS 5 and with camera) with the desktop.
    In the Palm client, I need to let user take photo and then upload it to the desktop. Firstly, I need to organize the photos in a way which make me easy to upload. I found that MMAPI can control the camera of the handheld device. But all the examples are on the mobile phone. I just don't know if Palm supported this?
    I am greatly apprepriate if anyone can give me some hints!! I am afraid that I go on the wrong track if it is not supported in the Palm device.
    Thanks.
    Priscilla

    i had the same issue. I just did not use isync. Only certain devices are supported by isync. i have a 755p Palm. The Palm Treo 755p is not supported on the palm Tungsten and Zire families. The Pocket PC is also not supported see http://www.apple.com/macosx/features/isync/.
    You must purchase third party software from http://www.markspace.com/missingsync_palmos.php from mark sync for $39.95. Then your palm Treo 755p can sync with ical and mac address book. Then you can publish your ical and address book to .mac (dotmac).
    First, I installed the version of Palm that came on the CD with my phone. Then, I installed the latest version of the Palm v 4.2.1 Rev D from the website at http://www.palm.com/us/support/macintosh/macdesk421revd.html#sysreq. Then I did a hot sync to secure my information. Then I purchased and installed the missing palm sync from mark space. Then I hot synced again. I followed the instructions of letting the mac overwrite the handheld for the first sync. So after the sync i had to export my calendar and contacts from palm then import into ical and address book. Then I synced again.
    Afterwards, I published to my .mac and selected update automatically. No problems ever since.
    PS. I am running Leopard 10.5.1 on the new 24" imac.
    http://forums.palm.com/palm/board/message?board.id=macintosh_hotsync&message.id= 5000&jump=true#M5000

  • MIDP in Palm

    Hi,
    I'm development a software that will run in a Palm m-100. In this softwares the users must entering information during all the day and, in the end of the day, connect the Palm in the PC (using direct serial connect) and store the day's data in the PC.
    But, I'm having a problem... The software is being development in MIDP, and now I have discovery that MIDP don't have serial communication (MIDP only has the HTTP implemented), then I have instaled the two JVM (KVM and MIDP) in Palm and two softwares are in development: one is the graphic user interface (development in MIDP) and other is the PC Coonector (using CLDC and KJava) to store the Palm data into PC using direct serial connect.
    Is there any way to use direct serial connect in MIDP ? I don't want to use KJava for User Interface because it's very poor. If there's no way, then is there any way to call a KJava program from a MIDP program ?
    Thanks in advance,
    Sergio Stateri Jr
    [email protected]

    If you use MIDP, you have to use an HTTP connection to transfer data
    from MIDP to your PC.
    But you have the option of developing the PC Connector independent of MIDP
    by:
    a) Develop a Java conduit.
    b) Use the Hotsync utility to backup data from RMS into your PC
    and then write a program to read the backed up data and update the database.
    You can see more details on www.palmos.com. Again, I am not completely
    sure about above two options.
    Ajay

  • How To Pre-Create and Deploy A Palm Database With My MIDletApp?

    Hello and thanks in advance for your help.
    I want to create a Java app for Palm (maybe others) that "ships" with a database of pre-loaded information so that the app can lookup data and allow the user to choose records for use in processing. I can see how the app itself can create a new database but I really want to be able to update the database over time without having to re-install the entire application. Seems like this should be easily done somehow but I don't see how.
    Thanks.
    David

    Hi
    Exactly U can use Hotsync Feature OF Palm OS to store some information (ComboBox data/List data etc.) on ur Plam in PDB that can be processed by ur application.Only u need to do is creat ur Application in J2ME and create Required RecordStores (No need to fillit with Data).
    Then Write a Conduit Application (U can choose Java Conduit) to Sync Data Required by Application from some centralize data base and set an Appropriate Flag or Date Status in Database that may help u to schedule next time updataion of info Req by ur Application on Plam.
    Palm user is using Hotsync feature for taking backup and in case of enterprise application for Synchornizing enterprise Data.Synchronization is Both way.
    I hope this may help u.
    if u need further help u can mail me at [email protected]
    Thanks
    Sumit
    I want to create a Java app for Palm (maybe others) that "ships" with >>a database of pre-loaded information so that the app can lookup data >>and allow the user to choose records for use in processing. I can see >>how the app itself can create a new database but I really want to be >>able to update the

  • Application Creator ID's for Palm MIDP Implementation

    How are application creator ID's handled in the Palm MIDP implementation?
    I'm trying to create a database on the palm from a conduit but what creator ID should I use?
    The Java Manager uses mJav but my application appears to be using VM00.
    Any ideas?
    Thanks,
    Rich Bolen

    How do you specify VM00 to be your app creator ID? I would like to exactly same thing in Java conduit. The Midlet stores data in a RMS record store called "xyz" and I would like to read it thru the Java conduit.
    When I attach the java conduit to mJav, it invokes the Java conduit during the hotsync, no luck reading the database "xyz".
    Please let me know if you have any work arounds
    Thank you,
    Chida

  • Oracle Lite java(?) conduit for Palm

    I had a lot of fun getting the Oracle Lite for handhelds install to work. Now I get the following error on hotsync:
    Unable to initialize threads: ,en
    Can't create Java VM
    OK Oracle with 2 message(s)
    Has anyone actually managed to get this to work? Any help will be appreciated.
    Thanx
    Vikas

    i recommend you ask questions about oracle lite on the oracle lite forum.
    you'll get a better and faster answer there...

  • Caching Issue with Java Portal....Need Help ASAP!

    We are deploying a JAVA & .NET enviornment. We have a Java Portal Server that connects to the .NET enviornment. We seem to have a problem with the caching on the JAVA portal...any help you could provide would be much needed!!

    We are running Apache 2.0.48 with TomCat 4.1.18LE using JK2 as a conduit between them. We are not using mod_cache at all. we are using mod_proxy in the Apache Server. We have disabled caching in Tomcat:<Host name=..................... <Context path=............................ <Logger className=........................... <Manager className=.............................. <Resources cached="false" caseSensitive="false" /> This didn't seem to help the problem. Now am wondering if the browser is caching even though it's set to get a new page each time. The symtoms are: create a community page edit the pagecreate a portletfinishthe portlet shows upfinishfinishportlet is not on the pageclick refresh......the portlet is on the page.edit the communityedit the pagethe portlet is not on the edit pageclick refreshthe portlet is on the page..... regards and respect... Rod

  • Where to put java code - Best Practice

    Hello. I am working with the Jdeveloper 11.2.2. I am trying to figure out the best practice for where to put code. After reviewing http://docs.oracle.com/cd/E26098_01/web.1112/e16182.pdf it seemed like the application module was the preferred spot (although many of the examples in the pdf are in main methods). After coding a while though, I noticed that there were quite a few libraries imported, and wondered whether this would impact performance.
    I reviewed postings on the forum, especially Re: Access service method (client interface) programmatically . This link mentions accessing code from a backing bean -- and the gist of the recommendations seems to be to use the data control to drag it to the JSF, or use the bindings to access code.
    My interest lies in where to put java code in the first place; In the View Object, Entity Object, and Am object, backing bean.....other?
    I can outline several best guesses about where to put code and the pros and cons:
    1. In the application module
    Pros: Centralized location for code makes development and support more simple as there are not multiple access points. Much like a data control centralizes services, the application module can act as a conduit for different pieces of code you have in objects in your model.
    Cons: Everything in one place means the application module becomes bloated. I am not sure how memory works in java -- if the app module has tons of different libraries are they all called when even a simple query re-execute method is called? Memory hog?
    2. Write code in the objects it affects. If you are writing code that accesses a view object, write it in a view object. Then make it visible to the client.
    pros: The code is accessed via fewer conduits (for example, I would expect that if you call the application module from a JSF backing bean, then the application module calls the view object, you have three different pieces of code --
    conts: The code gets spread out, harder to locate etc.
    I would greatly appreciate your thoughts on the matter.
    Regards,
    Stuart
    Edited by: Stuart Fleming on May 20, 2012 5:25 AM
    Edited by: Stuart Fleming on May 20, 2012 5:27 AM

    First point here is when you say "where to put the java code" and you're referring to ADF BC, the point is you put "business logic java code" in the ADF Business Components. It's fine of course to have Java code in the ViewController layer that deals with the UI layer. Just don't put business logic in the UI layer, and don't put UI logic in the model layer. In your 2 examples you seem to be considering the ADF BC layer only, so I'll assume you mean business logic java code only.
    Meanwhile I'm not keen on the term best practice as people follow best practices without thinking, typically best practices come with conditions and people forget to apply them. Luckily you're not doing that here as you've thought through the pros and cons of each (nice work).
    Anyway, back on topic and off my soap box, as for where to put your code, my thoughts:
    1) If you only have 1 or 2 methods put it in the AppModuleImpl
    2) If you have hundreds of methods, or there's a chance #1 above will morph into #2, split the code up between the AppModuleImpl, ViewImpl and ViewRowImpls. Why? Because your AM will become overloaded with hundreds of methods making it unreadable. Instead put the code where it should logically go. Methods that work on a specific VO row go into the associated ViewRowImpl, methods that work across rows in a VO go into the ViewImpl, and methods that work across VOs in the associated AppModuleImpl.
    To be honest which you ever option you choose, one thing I do recommend as a best practice is be consistent and document the standard so your other programmers know.
    Btw there isn't an issue about loading lots of libraries/imports into a class, it has no runtime cost. However if your methods require lots of class variables, then yes this will have a memory cost.
    On a side note if you're interested in more ideas around how to build ADF apps correctly think about joining the "ADF EMG", a free online forum which discusses ADF architecture, best practices (cough), deployment architectures and more.
    Regards,
    CM.

  • ORACLE Lite conduit for Palm

    I had a lot of fun getting the Oracle Lite for handhelds install to work. Now I get the following error on hotsync:
    Unable to initialize threads: ,en
    Can't create Java VM
    OK Oracle with 2 message(s)
    Has anyone actually managed to get this to work? Any help will be appreciated.
    Thanx
    Vikas

    I have the same problem. So I tried Java v1.2.2, but ORACLE conduit disapeared from Hotsync and during synchronisation nothing happend. Then I installed Java 1.1.8 again and "Can't create Java VM" appeared again!

  • Can we develop Conduit for Palm in J2ME

    Hello There,
    I want to write conduit for palm.Is it possible using J2ME.
    Pls let me know
    Thanks in advance..
    Sudheer

    No, but you can write a conduit in plain Java (1.2+ I think) using the Java CDK from Palm (for free).
    Bill
    Hello There,
    I want to write conduit for palm.Is it possible using
    J2ME.
    Pls let me know
    Thanks in advance..
    Sudheer

  • Is conduit and conduit engine part of Firefox

    This is software that I did not know had been installed on my computer (or when), and I am concerned that it is malware.
    If it is legitimate software then what is its purpose, and why was I not asked if I wished to install it?

    It is part of Zone Alarm which you appear to have installed. It will install some components of the Zone Alarm toolbar for Firefox and IE even if you opt to not install the toolbar at the time of installation of Zone Alarm.
    *See --> http://forums.zonelabs.com/showthread.php?t=78490&highlight=conduit
    *See --> http://forums.zonelabs.com/showthread.php?t=78376&highlight=conduit
    *Zone Alarm forum site search for 'conduit' --> http://forums.zonelabs.com/search.php?searchid=3067816
    Please ask any other questions on this topic in the Zone Alarm forum --> http://forums.zonelabs.com/index.php
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You may need to update some plug-ins. Check your plug-ins and update as necessary:
    *Plug-in check --> http://www.mozilla.org/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.org/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.org/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *'''''Shockwave Flash''''' (Adobe Flash or Flash): [https://support.mozilla.org/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *'''''Next Generation Java Plug-in for Mozilla browsers''''': [https://support.mozilla.org/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

Maybe you are looking for

  • How do you link two audio clips to one video clip?

    Hi guys, I want to think multiple audio clips to one video clip and aint know how to do it! I found this page on Adobe knowledge base:- http://livedocs.adobe.com/en_US/PremierePro/3.0/help.html?content=WS1c9bc5c2e465a58a91cf0b 1038518aef7-7f40.html I

  • Cannot Install ADWS on server 2003 Standard SP2

    running server 2003 SP2 - Extended my schema to 2008 no problems. Installed latest RSAT on a windows 7 domain client, cannot connect due to no ADWS service running on my DC. I attempted to install the ADWS service and received an error at the point w

  • How do I add the capture date and time to the bottom corner of a photo?

    How do I add the capture date and time to the bottom corner of a photo?

  • How to display more than 24hrs in a field of type TIMS

    Hi, I have 3 fields of type TIMS.I am trying to enter let's say 12:30 and 12:30 in two fields and sum up those two fields in 3rd field.But since it is a TIMS datatype it sums up 12:30+12:30 = 25 and it divides by 24(hours in a day) and shows just 1 i

  • Manual NAT to override Auto NAT

    Hi, i've an ASA with this relevant config: ASA Version 9.1(1) interface Ethernet0/0 nameif outside security-level 0 ip address 1.1.1.1 255.255.255.248 object network obj-192.168.2.20 host 192.168.2.20 object network obj-1.1.1.2 host 1.1.1.2 access-li