Fileconnection on pda's

Hi,
I am working on a applications for pda. I am using j2me and j2mepolish for writing the application. I want to save some data into some files and i am using for that the fileconnection and jsr75 library. When i make a build for pda i get this error: "package javax.microedition.io.file does not exist". Can someone help me?
Thanks,
David

Dami.
This might not be the correct way to do it. But this is only an idea that might work.
If you create the URL: http://leadway.com/crm.
or you can create sub virtual directory of http://crm.leadway.com
When you access the default start page for either of these two urls.
Build yourself a redirect page that would redirect all your traffic to your Target Apex App address.
Also make sure you capture all traffic in either of those URLs and point them to your redirect page.
Then anyone trying to hit anything inside those two urls will goto your apex app.
Now one thing to think of is to make sure that your Apex app is accessible outside your company.
I'm not an expert in this area but I believe you have to either enable a port and Ip Address where your Apex app resides and do a IP and port forwarding from your apex box to something outside that exists outside your firewall.
This is only an idea.
That hasn't been tested.
But give it a try and let me know how it goes.
Colin M

Similar Messages

  • Using fileConnection API on j9

    Hi,
    I am trying to use fileconnection API on IBM j9 but there is no success. I have successfully installed WSDD on my PC and j9 on PDA (WM 2003 SE). Then I updated to include optional package of PDAP-FC for both wm2003 and windows x86 as mentioned. After that I copied fileconn.dll and fileconn.jar to right place on PDA.
    But still now, on my PC, as soon as I type javax.microedition.io.file, wsdd start showing at as an error. Could anyone, who has an experience of using FCAPI, please throw some light on it.
    Regards,
    push

    Hi Dan,
    Thanks for posting!
    According to error message, the process of audience may be occurred something wrong on azure platform. And consider to suspicious nature of the request, I suggest you could try oath to verify your account. So you could try this method supported by google
    (https://developers.google.com/gdata/docs/auth/oauth?csw=1 ). Also, I think this same thread may helpful, please refer to it (http://stackoverflow.com/questions/7471024/accessing-google-docs-with-gdata).
    Regards,
    Will
    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.

  • PDA: Scheme not found : file

    Hello!
    I'm using J9 for launching midlets on my hp iPaq hx2410.
    I manage to comunicate with PC using serial port. My next task it to create a file on the disc of PDA. I can't do it.
    the exception is :
    javax.microedition.io.ConnectionNotFoundException : Scheme not found : file
    My code is very very simple:
    public class COMIK8 extends MIDlet {
         Display display = null;
         Alert alert;
       public void startApp() {
         display = Display.getDisplay(this);
              try {
          FileConnection filecon = (FileConnection)Connector.open("file:////mynewfile.txt");
          // Always check whether the file or directory exists.
          // Create the file if it doesn't exist.
          if(!filecon.exists()) {
             filecon.create();
          filecon.close();
       } catch(IOException ioe) {
                alert = new Alert("error"+ioe);
                alert.setTimeout (5000);
              display.setCurrent (alert);
       public void pauseApp() {
       public void destroyApp(boolean condition) {
       private void getRoots() {
    }help! :)
    thanx in advance chicks and dudes.

    I recently discovered that this error occurs in Encore 1.5 if there are illegal characters (\/:?*"<>|) in the name or file path of the image you're writing.
    Mike

  • PDA Profile ??

    Hola, quer�a saber si se encuentra ya desarrollado el PDA Profile?, Y si este a�ade funcionalidad grafica a J2ME, semejante a la que utiliza .NET.
    Hi, I would like know if PDA Profile is already develop functionalityed. And if it add graphic functionality to J2ME, that forms, panels, etc.

    The PDA Profile changed during the JSR progression into the PDA Optional Packages. It consists of two optional packages, PIM (Personal Information Management) and FileConnection. These two packages can be implemented independently but give either a MID Profile or Personal Profile device the PDA access a lot of developers wanted.
    See the JSR web site
    http://www.jcp.org/en/jsr/detail?id=75
    and this talk
    http://servlet.java.sun.com/javaone/sf2003/conf/sessions/display-1400.en.jsp
    For more information.

  • Alternative to FileConnection ?

    Hi all.
    I'm writing a MIDlet in which I'm trying to access the file system of my iPAQ hx4700. Sadly the iPAQ doesn't support the JSR-75, so I can't use the FileConnection class to access the file system. I have determined this by doing the following:
    protected void paint(Graphics g)
    String v = System.getProperty(
    "microedition.io.file.FileConnection.version" );
         if( v != null ){
         g.drawLine(0, 0, 20, 20);
         } else {
         g.drawRect(0, 0, 100, 100);
    And sadly the MIDlet draws the rectangle
    Is there another way to access a file. The file I'm trying to access is a gif image that I would like to draw on the screen of the iPAQ.
    thanks in advance

    It's not the displaying of the image that is the problem is more opening and reading the contents of an image file on the PDA's file system

  • Application not working on PDA.

    Hi All,
    I am facing a strange problem.I have made one applicationwhere i am inserting the data in to the backend.when i am doing it from Desktop mi client and Mobile 5 data is getting inserted but when i am using imate PDA windows 2003 all fileds are getting inserted except one. I m using CrEme327a_AX_CE42_PPC_minimal.CAB this version of creme. I am not getting any error as such.Can any one help me in this regard.
    Regards
    Devendra Phate

    Buddy,
    JavaScripts are not supported in PIE (your IE on the PDA). You need to enable it.
    Go to Microsoft Downloads. Get IETOOLS.EXE from the same. Install that software using ActiveSync into your PDA. Then you'll have the option to enable the JScripts. After which your JavaScripts will work.
    Regards
    Ak.
    PS: Is that a date field that's not getting updated?

  • How do I use directional PDA buttons in LabVIEW programs?

    Hi all,
    I've been assigned to get a LabVIEW program to work on a Palm PDA with LabVIEW 7.0 and palm PDA module 7.0.  I am basically totally new to LabVIEW, and my possibly very simple problem is, the PC program requires input from a serially connected number pad for the 8, 4, 5, 6, and 2 keys which are used as four directions (8, 4, 6, and 2) and an enter (5). 
    I am trying to rewrite the input vi to use the directional buttons and middle enter button on the PDA itself but am having trouble figuring out what to use.  I am using a PDA simulator because of the PALM OS5 we own.  The input demo vi example provided will not build for PDA because of size so I am unsure of how to approach this.  Another thing is, we have LabVIEW and PDA module for pocket PC 8.0, and a Dell Axim PDA on order.  From what I understand off of this website, the latest PDA module has example button vi's.  I would still like to figure out the way to do this on 7.0 so I can have a better understanding of LabVIEW.  Eventually the program's endgoal is to be used on a PDA and inputting with a bluetooth keyboard, but we are going step by step right now.
    I guess my biggest questions are, how do I assign the directional buttons on the PDA in my program, and will this differ greatly when we switch to 8.0 and pocketPC.
    Oh and I did try to look at the example asteroid.vi but from looking at the input subvi, still couldn't figure out how they assigned the buttons.
    Thanks,
    Stephen

    I can't help with any specifics (no access to the PDA module at the moment and I didn't use the buttons anyway), but I would like to say that it probably would make a big difference if you used LV 8. 7.0 was the first version of the PDA module and was extemely limited and problematic (it didn't even have a tab control). 7.1 was somewhat better and I understand that 8 is even better (although still very limited and buggy).
    I also remember reading about several differences between Palm and PocketPC and I think you will generally be better off with the PocketPC as it's related to windows and will probably support more stuff.
    Try to take over the world!

  • Pda cursor position property does not work

    Hi!
    I have a problem with cursor positionX propery on PDA.
    I use PDA Module 8.2 and Windows Mobile 5 OS on PocketPC.
    Actually problem is only when I try to get value of two cursors, it return the same value for both cursors (you can test it with attached VI), but when I set values it work fine.
    I have also worked with PDA Module 8.0.1 in past and I remember that get cursor position value worked, so I have no idea why it doesn't work in newer version.
    Thanks,
    andrej
    Attachments:
    cursor test.vi ‏21 KB

    Hello andrej,
    Unfortunately I also see the same behavior on a PDA using this "active cursor" property. It appears to me that this property is not being written successfully. I say this because it appears that the value displayed is always from the most recently repositioned cursor rather than either the 0 or 1 which is set by the property node.
    What I will do at this point is to file a corrective action request so that this behavior is corrected for a future release of the LabVIEW PDA module. I apologize for the inconvenience that this causes for your application. Please let me know if I can help at all as you modify your application to work around this behavior. Thanks,
    Mike D.
    National Instruments
    Applications Engineer

  • Using my new ipod touch as a PDA

    I received an Ipod touch 8GB for Christmas from my husband and I believe he intended for me to be able to use this as a replacement for my Windows Based PDA by Toshiba. I have used a Windows based PDA for many years and really need to have the ability to manipulate MS Office documents, as well as utilize cut, copy, and paste within these documents and applications. I think his main idea was that it has internet access, that needs to be connected via a WiFi hotspot or my home network, which I did not have with my older PDA. I also do not like to look at this tiny screen for internet use, it just doesn't make sense if I have to scroll around to read whatever is on the screen, I'd rather just have it all right there on one larger screen so I don't get carpal tunnel and/or bad eyesight. Also, I need to have access to the files without having internet access, as I have been advised I can use GoogleDocs, but I don't think that I could still manipulate the data even if I store them there.
    I was able to sync my contacts and calendar, but without any categories! This is very inefficient for me as I work for a company and am self-employed and have a lot of personal contact information as well, and need to separate out my contact lists. My husband utilizes the same contact files as I do and he ends up syncing the whole contact list over as well (I got him an ipod touch 8GB also). I can not select multiple contacts, or any other multiple list, such as bookmarks, and delete a batch of them, like I can within Windows. I do intend to purchase an Apple based computer in the future, but for now, I need to have the functionality to use with my current applications. This still does not solve the problem with multiple select or copy/paste, mainly because the touch screen moves with my finger movement, so I cannot scroll to select multiple items.
    Besides this being a really expensive music and game player with internet access?, I'm really not very happy with the functionality this has to offer for a PDA, so now I get to carry 3 gadgets with me (my phone, PDA, and now my ipod touch).
    If any of these issues can be addressed and hopefully solved, can you please tell me what else I can do to make this work better for me. Thanks for listening!

    I do not find the Touch is a very efficient PDA for the reasons you have identified. It is essentially a high end media player with enhancements. The calendar is lacking, unable to mass email a contact list unless selecting each one (essentially a contact list on the Touch is just a visual group list with no functionality beyond that, what is the sense of that?).
    People will direct you to acquire apps that do add some function, but still lacking in some very basic elements for on the fly document and task management.
    Apparently although I have not subscribed, Mobile Me adds to the depth of the on board calendar and email functions allowing you to coordinate and syncronize your Outlook environment and content with your Touch or Iphone, but honestly it is more of a personal data management tool than a business tool. Plus when released over the summer integration with Apples previous service was flawed and the the whole interface crashed for both old users being transferred and new users subscribing.
    To me sounds like you should check out competitors (am I allowed to say Blackberry here?)
    Jeff

  • How can I construct a custom PDA dialog?

    Hi,
    I need to display a PDA dialog along the lines of "Do you want to save the data, Yes/No?
    The two button dialog in LabVIEW is ideal, but on the PDA module you can't set the button text. OK and Cancel don't cut it, as this dialog presents one option at the start of a process. The process continues whether or not you save the data. The cancel button creates the impression that the whole process could be cancelled, not just the file save.
    Does anyone know if it's possible to create a custom dialog? Everything I try displays as a full size screen, I have found nothing I can adjust to appear like a pop-up dialog box.
    Doas anyone know how this can be done, or is it a non starter?
    I'm using LabVIEW and PDA module 8.5 (for Windows mobile, not the Palm version)
    Thanks.
    Bandit

    Hi Bandit
    Yes it is possible within labVIEW. The principle of creating a popup dialog box is creating a subVI and changing the window appearance to call the front panel with limited options available.
    To do this go into the VI properties either in File>>VI properties or Ctrl I. From here go to the window appearance tab and either select dialogue box or custom and then customize the options that you would like.
    To ensure that you have a small pop-up and not a full screen I would recommend resizing your subVI front panel whether on manually by dragging or by changing the window size options in the VI properties again. Remember here to have selected the do not show scroll bars in appearance.
    When This VI runs now in your program it should call the front panel and then close it again afterwards.
    The method above is a generic for labVIEW which I have not tried on a PDA. If you can confirm that you have done the above and are sure that your size settings are correct and it still is not functioning as a proper dialogue box then I will look further into setting it up on your PDA.
    Best regards
    Graham Green
    Technical Marketing Engineer
    National instruments UK & Ireland

  • Error in pda load image file performanc​e in PDA

    hello
    i am using Windows CE with labview mobile module 8.6 in evaluation version. When trying to use "pda load imege file.vi" i get an error code 1, regardless of loading a .bmp, .gif or .jpg, of only 80kb (no diference in the color depth i use). I have tryed the same program in the windows mobile 5 emulator with the same error code. When i use "pda load bmp.vi" to load a .bmp, everything is OK. Some hints about this error?
    some hints about missing dll are provided here
    http://forums.ni.com/ni/board/message?board.id=170​&message.id=185995&query.id=129565#M185995 -> can that be my problem? but then, why same error in the emulator?
    Aditionally, if .gif or .jpg have to be "flatened" to pixmap for opeation inside my VI , is there any difference (in terms of speed and memory allocation) in loading .gif .jpg or .bmp? i have to operate with the raw pixmap data in "real time", and flatened .bmp images (320x220) do not load and update fast enough... any advice for that?

    Michiel
    acording to the info provided 
    LabVIEW 8.6 Mobile Module
    The
    LabVIEW 8.6 Mobile Module includes the necessary Microsoft tools. The
    Mobile Module installs ARM Pocket PC and Windows Mobile targets. You
    only need to download and install the following additional Microsoft
    tools (linked below) if you need x86 emulator targets:
    Microsoft eMbedded Visual C++ 4.0
    Microsoft eMbedded Visual C++ SP 4 or later
    SDK for Windows Mobile 2003-based Pocket PCs
    Note: If you are upgrading from version 8.0 or later of the PDA Module, you probably already have the additional tools. 
    Since
    i have  an ARM pocket PC, i understand from the above that  no extra
    software is needed. Anyhow, i will try to install the recomended tools.
    About the VI, well, basically not even the library examples work in my
    pocket PC, so, you may try those to see if they work on your devices. I
    am afraid that the pocket PC i got (it is actually a PNA and not a PDA)
    has a reduced version of WINDOWS CE 5.0 installed and that can be the
    reason for the error...
    regards 
    regards

  • How to load a large image for display on the Palm PDA

    Hello:
    I have a large image I would like to display on LV for Palm PDA. The documentation states there should be a 64K chunk limitation for VIs to compile on the Palm. Therefore, I decided to break this image up into 2D arrays of less than 64K per subVI. My 3.2 Meg image therefore has about 224 2D array subVIs. My motivation is to somehow use the build array function (with concatenate inputs) to reconstruct the image at runtime. I can compile each 2D array subVI as a test, but my attempt to reassemble and compile is futile. When I try to use the build array with only 8 of these subVIs in a top level VI the compiler complains its still too big of a VI. Using get info, memory for this top level states total ~2
    3K of memory usage.
    So can someone help me with this problem. Is there another way to load this size of an image into memory so I can display it on a picture control?
    BTW, this can build on LV for PocketPC.
    Thank you
    Robert

    Hi Robert,
    You are correct in that one of the limitations of the Palm OS is that files cannot be larger than 64 KB in size (as stated on page 5-3 of the LabVIEW PDA Module User Manual). The suggested workaround is indeed to have a top-level PDA VI that calls subVIs, and this top-level VI can then have a total file size larger than 64 KB.
    My suspicion is that with the picture control on the Palm OS, even if you are breaking up the image into smaller subVIs, the process of building the array to reassemble the picture is still forcing the Palm to allocate memory for each of those 2D array subVIs to place on the top-level VI's picture control
    and thus causing the Palm to complain about not having enough memory. The LabVIEW PDA User Manual also states that "There is a total limit of 64 KB on all front panel array data". Thus, when you are trying to use the build array on the top-level VI, the 64 KB limit on front panel array data is still being exceeded -- even with only 8 of these subVIs.
    The following KnowledgeBase article KB 38EJRHFQ: How Do I Put a Picture or Image on My LabVIEW PDA for Palm Front Panel? states that as a workaround, you can shrink the size of your image by using 4-bit or 1-bit data instead of the standard 8-bit pixmap representation.
    This is really just a limitation of the Palm OS and the fact that there is simply no way of displaying that much front panel information for your picture. Either way, you would need to build up the array of pixels for your bitmap, and for a 3.2 MB image, I don
    't believe there is any way for the Palm OS PDA to display the image in its entire at once.
    Sorry about that...
    Kileen C.
    National Instruments

  • How to create a login interface in labview PDA module?

    How to create a login interface in labview PDA module? So that it checks with a list of usernames and passwords and allow to go to another VI?
    Anu

    Anu,
    I've attached a really short example that does something like what you're talking about.  It just compares the user's username and password a pre-determined username and password and then "logs the user in" based on that comparison.  Like Greycat said, you probably want to store this username and password info in some sort of file on the PDA that's in an encrypted format for both security and flexibility of your application.
    I hope this helps,
    Justin D.
    Applications Engineer
    National Instruments
    Attachments:
    LoginVI.vi ‏17 KB

  • Labview pda module: how can I resize image dynamicall​y in an applicatio​n?

    Hello every one,
     I am currently working on the development of an application on a PDA (brand Nomad) and whose OS is Windows Mobile. So I am using the PDA module of Labview 8.6.My problem is the following one: in my application I would like to be able to load images (thanks to their path) in pictures indicators. I load images with the labview “function PDA Image File Load.vi” and then my problem is that images don’t fit with the size of the indicator, and so I am only able to see the left top corner of the image…Of course, I would like to see the entire picture, but I don’t know how I can modify or resize a picture with the PDA Module, where most of the property nodes (zoom factor, scrollbars…for picures) are not available.Has someone ever faced and fixed that problem?? Any help would be really appreciated!!   PS: Attached is one part of my application!
    Attachments:
    cameracapture.vi ‏21 KB

    Hi,
    Indeed, like Romain D. said you have some interesting discussions where you can find some customer's experience like yours :
    How Do I Put A Picture or Image On My LabVIEW PDA for Palm Front Panel?
    How to Resize a picture 
    Scale image on PDA (Pocket PC)
    Placing an image or picture on Labview PDA pocket PC 
    Picture and PDA 
    PDA Picture Control Scrollbars
    Let me know what happens.
    Regards,
    Steve M.
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    >> Vidéo-t'chats de l'été : présentations techniques et ingénieurs pour répondre à vos questions

  • Error while running the  mobile webdynpro application in PDA

    HI All,
    I have created an online mobile Web Dynpro application. We have deployed the application in the portal and its working fine.
    Now I am trying to run the applicaiton in a PDA via the portal link and it is giving error.
    Scripting Alert:
    An error occured while starting the iView.Application
    /Webdynpro/dispatcher/sap.com/pb/PageBuilder;jsessionid=(hostname_systemID_system Number) Will run with a wrong client window ID! Do not continue Please report this problem to your administrator.
    These are my PDA configuration :
    PDA with OS = WM 6.0
    Crème = CrEme329_ARM_CE42_PPC.exe
    DB2E 9.22
    Please provide the solution or hints to solve the problem.
    Thanks and Regards
    Neha Mahanty
    This is the configuration of my PDA :-
    OS = WM 6.0
    Crème = CrEme329_ARM_CE42_PPC.exe
    DB2E 9.22

    HI Ashutosh,
    I tried with both PieClient and Pie03Client.
    http://Hostname:Port/webdynpro/dispatcher/accenture/Dashbrd/SupervisorApplication?SAPtestId=8sap-wd-client=PieClient
    http://Hostname:Port/webdynpro/dispatcher/accenture/Dashbrd/SupervisorApplication?SAPtestId=8sap-wd-client=Pie03Client
    But I got the same results :-
    1. The button is not working.
    2. I cannot select any particular order as the List box is displayed like a box with all the orders visible in the screen.
    3. and obviously the date field is not working and I'll try with the drop down.
    Can you please suggest what else should I try.
    Thanks and Regards
    Neha Mahanty
    Edited by: Neha Mahanty on Oct 14, 2008 12:58 PM

Maybe you are looking for

  • ERROR WHILE RUNNING THE SESSION IN SM35

    Hi all         when ever m running this session in SM35 , M getting error as : "LEAVE TO TRANSACTION" MARA-BISMT is not allow in batch input                                REPORT  YASEC_BDC_NIK_SESSION         no standard page heading         message

  • Iphoto wont show all photos of an album on top?

    Absolutely new to mac, so bear with me, still learning basics of keyboard and mouse!! When i open iphoto and select an album (all imported from pc via network or thru usb drive, none thru camera) only first photo shows and the film strip does not sho

  • 3G iPhone saying I need a restore

    I have had my phone for a couple of months now. This morning I woke up and the display showed I needed to connect to iTunes. I did so. When I plug my phone in it said my phone needed to be restored before I could use iTunes...... Okay, I dont have mu

  • 64 bit battery performance

    Anybody else notice decreased battery performance under 64 bit mode? Also, the battery indicator seems to be all over the place....going from 4:35 down to 3:30, all while only internet usage. Now it jumped to 5:28. I'm on a full charge and just perfo

  • Needy person has a problem

    Please HELP! I'm trying to reset the monthlabel to the selected menuItem but i keep getting this ERROR symbol : variable monthlabel location: class calendarReminder monthlabel.setText("January"); // verify that i is the correct index ^ 1 error If you