Guide for J2ME PP to use RMI and Bluetooth

hi
i have a current project its about an Ordering System, and i was thinking of using ppc as an order client
before i want to get on with this i was just wondering if i can get some help from here.
i just want to ask would it be any problem if i use J2SE to write a server to communicate with the ppc using rmi methology and bluetooth as network device (USB bluetooth for PC). can some one please give me some direction of how to do it, or maybe there's a beta way to do something like this?
do i just write the code as how you would normally write for rmi application for PC?
do i need to use third party driver for bluetooth (PC and PPC)?
btw my PPC is HP Pocket PC 2003 running Window CE and use J9 JVM
thank you for in advance as i would really appreciate and so is others :)

Hi,
I have the same message "Error: Unable to query value..."
But I can't read from serial port com8. I need to read data from gps, but first I want to read anything from com8.
My application looks like that:
import java.util.*;
import javax.comm.*;
import java.io.*;
public class Porty {
static CommPortIdentifier portId,tym;
static Enumeration portList;
private InputStream cos;
private SerialPort porty;
public Porty(){
     CommPortIdentifier portID = null;
     for (Enumeration portList = CommPortIdentifier.getPortIdentifiers();
          portList.hasMoreElements() ;) {
     CommPortIdentifier portId = (CommPortIdentifier)portList.nextElement();
     if (portId.getName().equals("COM8:")) {
          tym = portId;
     if (tym == null) {
     // Unable to find COM8
          System.out.println("No Com8");
     return;
     else {
     // found COM8
          System.out.println("Yes!!! Com8");
     try{
          cos = porty.getInputStream();
     }catch (IOException e){}
     System.out.println("Data from Com8");
     System.out.println(cos);
public static void main(String[] args){
     Porty porcik = new Porty();
What is wrog. Could samebody help me !!! What I suppouse to do !!! Could You send me same application, which is working and it reads from port.
Thank You...

Similar Messages

  • How to print directly to printer using USB and Bluetooth from Java (J2ME) app.

    I write mobile phone apps in Java (J2ME). I want to print directly to a printer via USB and via Bluetooth. I cannot use a print job with the Java available to me. Once upon a time you could just send text and print control characters to a printer. I would like to be able to do that again. Alternatively could you provide a 'skeleton' data stream into which I could insert my code to produce what is sent to the printer when a print job is used with Java on a laptop or PC. I just want to sent simple text with a little formatting. 

    Hi,
    As far as printing to devices not all devices support Bluetooth. Many devices support Bonjour protocal, IPP. The main print port is 9100. Additionally you can see what IO protocols are supported on a product by looking at the EWS (Embedded WebServer) there should be a networking page with that information.  Port 9100 is your basic print port and different devices will support different formats (PDF, JPEG, PCL5, PCL6). If there is an API you can find (i am not familiar with J2ME availible calls, then you can use those and send the data to port 9100. Again that is the basic path most printers will accept. not all devices support bonjour not all device support bluetooth etc... Hope that helps and good luck.
    I am an HP Employee.

  • Need 11gr2 RAC install Guide on Solaris 10 x86 using containers and NFS

    I'm looking for an 11gr2 RAC install Guide on Solaris 10 x86 using 2-3 containers. I need to have the NFS server reside in the global zone or on a 3rd container visable to the two rac containers.
    Please share me installation guide!
    Thank you!
    PS - I currently have run into an install issue -
    Can't change ownership on /oracle/products/11.2.0/ocr/: not owner at /oracle/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 5014.
    I suspect the NFS share params from the NFS server in the global zone are not 100% correct to the two rac zones/containers.

    Have you visited Oracle Support Services website (formerly metalink) to determine if your desired configuration is supported?
    Last time I looked it was not.
    That said Oracle database installation guides are fully documented online.
    http://www.oracle.com/technetwork/database/enterprise-edition/documentation/database-093888.html

  • Miss matching for some Actual costs using KSBB and KSB1.

    Hi All,
    We have some problem with this report GP42H1QSVYPI2TJMBXZAFTCRP0R590 .  . When this type of program will generate? Any configuration time?  Can we modify this type of report? Could you please explain more. 
    When I compare the Actual costs using KSBB and KSB1 transaction the values are not equal for some cost elements.
    Thanks,
    SN
    Edited by: surendranatha chintha on Aug 14, 2008 8:32 AM

    Hi,
    The name of the program you gave is irrelevant, as it's a dynamic name given to any report built with Report Writer techniques. Which report in KSBB shows different figures from KSB1?
    Regards,
    Eli

  • Looking for Analog Out example using DMA and C++; cannot find sample "GenMultVoltUpdates_SWTimed"

    Looking for example for Analog Out to multiple channels using DMA and C++.  Found reference to sample "GenMultVoltUpdates_SWTimed" which I do not have and cannot find.

    Hello Gerry,
    When you install DAQmx, there is an option to install
    support for Measurement Studio.  When you
    select this option, it will install these examples onto your hard drive.  All of the examples can be found at the
    following location: (C:\Documents and Settings\All Users\Documents\National
    Instruments\NI-DAQ\Examples\DotNET2.0\Analog Out\Generate Voltage)
    Respectfully,
    Rob F
    Test Engineer
    Condition Measurements
    National Instruments

  • Is it possible for one user to use Aperture and another iPhoto?

    I have a new imac 21.5", 3.33ghz, 4gb and I was wondering if it is possible for me as admin user to handle camera downloads automatically with Aperture, and my wife as second user to use iPhoto as automatic camera destination? Any comments would be appreciated.

    If you want to use the same account there are a number of possibilities:
    1. Set both Aperture and iPhoto to Do Nothing when a camera is connected. Then each one can launch their preferred app themselves. It's just one extra click.
    2. Use [Cameras|http://www.flexibits.com> to configure what happens when different cameras are connected.
    Regards
    TD

  • Looking for full time position using Labview and/or PLC's in Long Island NY area

    I have 13 years experience using Labview for user interface/daq applications.  I also have 20 years experience with Programmable Logic Controllers (PLC) programming for industrial machine controls.  My resume follows:
    Adam Wechsler
    111 Holbrook Rd.,Holbrook,NY 11741,(631) 981-1013 [email protected]
    Objective
    Labview programming, virtual instrumentation, industrial machine controls,
    automation, PLC, HMI, GUI, data acquisition
    Education:
    B.S. Mechanical Engineering 5/89
    Polytechnic University, Brooklyn, NY
    A.S. Engineering Science 5/86
    Suffolk Community College, Selden, NY
    (GPA 4.0 Dean's List Spring 1986)
    Experience:
    Controls Engineer 5/1994-3/2009
    Vacuum Instrument Corp., Ronkonkoma, NY
    *Program, troubleshoot, and upgrade automated Vacuum Chamber Industrial Leak Detection systems controlled by Allen Bradley PLCs in an OEM environment.
    *Debug equipment functions and programs prior to shipping, at customer's site, and by phone.
    *Integrate and install various types of peripheral equipment, barcode scanners and printers,
    *Design and develop Labview graphical user interfaces and HMI applications including recipe management and data collection for industrial machinery.
    *Write and review user manuals and installation instructions.
    Production Engineer 10/1989-5/1994
    Izumi Corporation, Yaphank, NY
    *Program, maintain, troubleshoot, and repair PLC controlled hydraulic, pneumatic, and control systems for automation in a hands-on environment.
    *Improve design for manufacturability of new products and prototypes to be urethane/injection molded.
    *Program, maintain, troubleshoot, and repair six axis hydraulic paint spraying robots.
    *Create interface between multiple PLC’s and central computer system.
    *Improved design and productivity of high volume, computer controlled, robotic molding machine by 150%.
    Consulting Projects:
    *Created Labview user interface components, and recipe management system for the testing of motion control servos.
    *Programmed Allen Bradley PLC machine logic for packaging machine for a food service supplier.
    *Created Labview to Allen Bradley PLC setpoint and monitoring interface for electric motor-starter test stand.
    *Programmed Allen Bradley PLC and PanelView operator interface terminal for cosmetic packaging assembly machine.
    *Developed Labview application for Fourier and statistical analysis of myogram biomedical data for researching the efficacy of acupuncture treatment.
    Other:
    *Attended National Instruments Labview training courses, and regularly attend local Labview Users Group meetings as a long standing member.
    *Member IEEE
    *13 years experience with Labview
    *15 years experience with vacuum chamber, mass spectrometer, and related technologies
    *20 years experience with PLC's and automated systems
    *Attended Autocad training course.
    *Willing to travel

    Will also consider contract, part time, or consultant work.

  • Creating of Notes for Transaction Code RECN(Using Classes and Methods)

    Hi Experts,
    I want to Create Notes for Transaction Code RECN, This should not done manually but should be done programatically.
    I had used the Class CL_GOS_SRV_NOTE_CREATE to create the notes.....but here comes the doubt for me.....note will be created by using this class and how this can be created for the Tcode RECN........
    I am using the Real Estate Module.....Plz help me....awaiting for ur helpful answers....
    Thanks in Advance.....!
    Brahma

    Hi kanagaraja,
    Thanks...!
    The BADI which u have given is not existing in my system...i had gone through the se18 and se19 tcodes....
    Awaiting for ur response......!
    Thanks,
    Brahma...

  • Editing songs for garage band 08 using itunes. and how to record it to a cd

    i'm new to the mac. and tryed to use garageband 08 i was able to edit a few songs using itunes. but how am i able to put it on a cd. and how can i delete the others that i started. also when editing songs from itunes what version of garageband is needed magic garageband or podcast ?

    Garageband is not a audio editor (although it can be used for some editing) it is a multitrack recording studio with a few extras thrown in.
    Making playlist and burning CD can all be done in itunes.

  • Is there any BAPI for Goods receipt that uses LIKP and LIPS tables?

    Hi experts
             I want to pull info for a given delivery note(DN) by joining LIKP and LIPS tables. Is there any existing BAPI that can give my info by using the two tables?
    Please help
    Thanks
    Gopal

    Check the above link and reward points if helpful
    http://help.sap.com/saphelp_nw04/helpdata/en/b0/dad2b40b3611d2a55a0060087832f8/content.htm

  • Procedure for hot deploying EJBs using  Jdeveloper and OC4J comtainer

    i am using JDeveloper , please any one help me out in hot deploying EJBs. what is the procedure if i want to hot deploy EJBS

    1) You have to start OC4J with higher Java heap size e.g. java -Xms100m -Xmx150m -jar oc4j.jar
    2) The RMI port by default used is 23791 and configurable by modifying config/rmi.xml.
    regards
    Debu

  • How to use offline map for windows store app using c# and xaml

    Hi friends,
    I want to integrate offline map in my windows store app but I am not able to achieve that.
    Below is my requirement:
    When a user wants to go somewhere where she/he doesn't want to use wi-fi or mobile data but wants to use map to assist her/him to roam around. For this I want to give an option to download the map for that region/area before leaving for that place and there
    she/he can use map even in offline.
    Is it possible that I can achieve this using Bing maps?
    If yes then tell me the processes to follow.
    If no then can I achieve this using "Here" or by using any other API or by tweaking any way?
    Note: I am showing maps in case of online and user can search for directions or any places in that. I am using Bing maps for that.
    Thanks,
    S.Sandeep

    Hi Sandeepmsandy,
    There is no available code sample for this scenario. You may write your own.
    Step 1: Get pdf URL from sqlite database. Please refer to the following MSDN blog and see a code sample.
    http://blogs.msdn.com/b/robertgreen/archive/2012/11/13/using-sqlite-in-windows-store-apps.aspx. Note, you need to retarget the project to 8.1 and then get two sqlite packages from NuGet before building this sample.
    Step 2: Use some special classes to get file from serer.
    HttpWebRequest can help download small pdf files. For more information to see
    https://social.msdn.microsoft.com/Forums/windowsapps/en-US/de96a61c-e089-4595-8349-612be5d23ee6/download-file-with-httpwebrequest?forum=winappswithcsharp. It’s easy for use, but if you want to download the larger or many files, it’s recommend to use
    BackgroundTransfer namespace. The classes in this namespace provide a power way to transfer files in the background. See a code sample from MSND.
    https://code.msdn.microsoft.com/windowsapps/Background-Transfer-Sample-d7833f61.
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate
    the survey.

  • Is there a quickstart guide for WLS 10.3.1 (11g) and WebLogic Portal?

    I already have installed WebLogic 10.3.1 on my laptop, and want to know if if is possible to install portal without all of the extra options that seem to be required by the install document. I want to run portal on my laptop for development, and don't want the extra overhead of an ldap server. The goal is to create portlets, and want a portal to test my deployments to. If there is another or better way to accomplish this, I would really like to know!
    I was hoping that Oracle SC's or someone else would have already solved this, possibly in a VM environment, and could post a solution.
    Thanks, Ken

    The LDAP server is embedded and isnt really an overhead. Autonomy is a much bigger overhead and unless you are using search you should turn it off. (WLP_SEARCH_OPTION=none in your start)
    See
    http://peterlaird.blogspot.com/2007/05/optimized-development-for-weblogic.html

  • I use Earthlink for email but want to change.  What else do Apple-users like for emails?  I use MBA and iPod Touch.  My concerns are security and ease of changing pswds --had a scary experience at Elink.

    I use Earthlink for email but want to change.  What else do Apple-users like?  I use MBA mid 2012 and iPod 5 touch.  Concerns are email security and ease of changing pswds.

    Apple has made several well-publicised statements regarding their commitment to privacy and the security of their various iCloud services. If they were to fall short of a goal they stated so prominently for so long, it would have a material effect on the company's value, not to mention being extremely embarrassing. I think they're pretty serious about it.
    Like anything else though, iCloud is as secure as the passwords you use. To change your iCloud password read iCloud: Change your iCloud account password.

  • Looking for some guys who use macs and iChat

    I got a mac a few years ago and don't have any buddies of mine who use macs, I was wondering if you'd like to talk about macs n stuff, IM me, my aim screen name is "FightClubMaryr"

    Hi RandomSkater,
    Check this page out about halfway down for Chatter lists.
    http://www.ralphjohnsuk.dsl.pipex.com/page5.html
    Ralph

Maybe you are looking for

  • Optical drive is very loud - why?

    My optical drive is so loud it sounds like it's ready for takeoff. I've only had my late 2008 MacBook Pro for a couple of months and had no problems with CD's until just recently. They play just fine, but the drive keeps spinning at top speed through

  • Final Cut Studio & Size Of Video Player Window

    I'm not sure if the answer to my question begins in Final Cut or a later step: I produce online videos for clients in Final Cut, and in the end product I have been using 320 x 240 screen size, as it seems to have been the standard for modest file siz

  • How to Calculate the Level 0 Attribute Member in Essbase.

    Hi, I have Attribute Dimension called "Bucket" and the type is Text type.I have 10members under it(Buc1,Buc2,Buc3.........Buc10). While exporting the data from Application I wanted to export onli Buc2 attribute data only. So can you please suggest ho

  • Hide link to iTunes Store...

    I cannot stand the link in iTunes next to an Artist, Album, Song Name, etc.. So I just downloaded the new iTunes and went to hide it like usual. But it was not in the preferences like usual and that is what the iTunes help said. It's not an option. D

  • Issue with Total Number of SODs at user level.

    Friends, Quick question - We are using GRC 5.3 Production on NT 20003 server. and back end systems are ECC 6.0 1.We added the Additional Role to one of the business users in ECC 6.0 2.We ran the FULL synch after adding this role in backend. Issue : T