Problems to upload an j2me app  to Motorola c650

Hi everybody!!
I m using the software Midway (v2.8) to upload an j2me app to the celular device (an Motorola c650). I upload an app generated with the wireless toolkit, and it uploads ok... but when i try to upload any j2me app generated with netbeansMobilityPack to the device, it shows this message:
"Failed
Invalid Document"
I dont know why it uploads ok, an j2me app generated with wireless toolkit, and why it can't upload any j2me app generated with the netbeansMobilityPack ... any ideas or suggestions? PLS HeLp
Thanks
Bye bye

Hi..
I am loading a .png file in this way
Image shipImage=Image.createImage ("/ship.png");
take care of the "/". I put the .png file in the class directory nad everything work fine.

Similar Messages

  • Probleme beim upload der neuen App Version: "Redundant Binary Upload "

    Ich habe versucht die neue Version meiner App hochzuladen und ich bekomme immer wieder folgende Fehlermeldung.
    Redundant Binary Upload - There already exists a binary upload with build version '32.0.3.51.99524' for train '1.0.50'
    Ich verstehe allerdings nicht warum und wie ich dieses Problem beheben kann.

    Thank Neil! I pressed a red circle with a minus button next to the build to delete it and it disappears. But when I try to upload again via the Application Loader, it says there is a "Redundant Binary Upload." And when I click the plus button in iTunes Connect, the build is still there in the pop-up as pictured above.
    I think Apple keeps the build indefinitely and they force you to generate a new build. Is this possible?
    If I do need to create a new build (just so it's assigned a new build number), how far back in the process do I need to go? In other words, at what point in creating the app is the build number assigned. Is it part of the certificates or profiles? Do I need to create new certificates and profiles? Or just recreate the app in App Builder?
    If I do need to recreate the app in App Builder, I'd need to reset the Single user App number again as I tried to create a new build and it wouldn't accept the number since I already used it.
    Is there a way to manually change the Build number so it doesn't conflict with what's already been partially uploaded?
    If all else fails, can I download the trial version of InDesign CC and export the app from there since there is no limit on the number of apps you can export?
    Thanks again Neil for all your help in the forums! If you're ever down in Miami, Florida, beer's on me!

  • Wireless connection speed for J2ME app on Palm VIIx device

    I have just developed a J2ME app on Palm VIIx device. Everything works exactly as what I have designed, except that the wireless communication to send and receive infomation is painfully slow. It takes about 1 min. to send and receive 300 charactors on the Palm VIIx device. As for comparisons, it only takes few seconds on the simulator(connected through LAN/WAN) for the same application. And for other defaultly installed non-J2ME wireless applications on the Palm VIIx device, e.x., ABC News, Amazon, etc., it also only takes few seconds to retrieve 500~600 characters.
    Does anybody know why the J2ME wireless communication on Palm VIIx device is so slow? Any solutions?
    My code is like in the following:
    private String getWirelessQueryResult(String urlStr) {
    StringBuffer sb = new StringBuffer();
    InputStream is = null;
    StreamConnection c = null;
    try {
    c = (StreamConnection)connector.open
    (urlStr,Connector.READ_WRITE);
    is = c.openInputStream();
    int ch;
    while((ch = is.read()) != -1) {
    sb.append((char)ch);
    } catch (IOException e) { sb = new StringBuffer("error"); }
    finally {
    try
    if(is != null) { is.close(); }
    if(c != null) { c.close();}
    catch (IOException e) {}
    return sb.toString();

    You've done nothing wrong with your code that I can see. I have run into the same problem on both the Kyocera and the Samsung palm OS phones. If you take the same code you have written here and put it on a motorola phone you will see a huge difference.
    I can only suspect it has to do with the single threaded nature of the palm OS itself. Luck.

  • Networked J2ME app hanging on send

    Hello there,
    So, I have a network aware j2me app that does a LOT of talking with a server in order to stay synched (yes, we realise lots of network traffic could be expensive for the consumer -- this app is being developed at the request of a carrier..heh).
    I, like many people here, was having LOTS of problems using POST. The errors were frequent and insanely difficult to track down. So, at someone's suggestion, I switched to GET (pass the packet data as a parameter in the query string). Performance is definatly better...but still not perfect..
    The problem I have now is very strange: After several minutes (anywhere from 2 to 5) of sending data packets to the server without incident, my sending thread will just freeze. Its still running, only no data is able to get sent to the server. This, of course, basically breaks my application.
    If I leave it running for several minutes, eventually I will get an "IOException: malformed response message" error, and then it will start sending again. Generally speaking, though, once this first freeze has occured, subsequent freezes are frequent.
    Has anyone experienced a problem like this before? I would have sworn I read a thread about this issue on a J2ME forum recently, but I can't, for the life of me, track it down again.
    If anyone has any ideas, I would be greatly appreciative.
    Many thanks, in advance,
    Ben Mattes.

    Me again.
    Ok, let me try to be a little more precise in what exactly I need. :)
    What is happening is that after several minutes of succesfull data transfer between client/server, a connection is being opened to the server succesfully, but data isn't getting transfered. Sometimes it takes up to 5 minutes for this data (a string less then 100 bytes long) to get transfered. Something is obviously getting hung up somewhere.
    Checking deeper we can confirm that there is indeed a hang in the connection object. However, we don't know what to do about it.
    The device we are working with has a maximum of 2 concurrent connections allowed, and we currently use both already (one for incoming, one for outgoing). We can't just open another connection and wait for the stalled connection to timeout.
    Is there any way we can force a connection to just STOP whatever its doing? It is not our method that is caught in a loop. Its most definatly something in the connection class. Will setting the connection in question to null then forcing a garbage collection cause it to stop whatever it is doing, allowing us to open a new connection and re-attempt the data transfer with the server?
    Not sure if this makes it a little more clear.
    Any help would be greatly appreciated.
    -Ben Mattes

  • Install J2ME Jars on Motorola Handsets

    Hi,
    I want to install a Jar into mu Motorola l6 handset .
    I have downloaded Motorola iDEN Java Application Loader Lite (JAL Lite) for it .Now when i am installing it .Its not gettinginstalled on to the Machine and i am not able to install my JAR onto the handset.
    Can anyone tell me how can we install any Application onto the Motorola Handsets.
    Is there any tool other tha (JAL) through which we can install java applications on to the handsets.

    Hi, I've done quite a bit of research on this now and it appears that there are no standard certificates at all... not even Verisign and Thawte. This is ridiculous! The best you can do is get a UTI certificate from the Java Verified Program, at about $400 per device per test and hope that the operator hasn't crippled the device and made you also need a co-signature from them... likewise for the handset manufacturer. This has really been the biggest cockup in J2ME as far as I am concerned, making it effectively unfeasible for anybody to write advanced J2ME apps that make use of restricted APIs. I've blogged about this http://javablog.co.uk/2007/08/09/how-midlet-signing-is-killing-j2me/

  • TS1702 problem with updated find my iPhone app: when I attempt to open the FMi app, it tells me that I need to be a registered developer and run iOS7 to do so; is anyone else having this problem?  I got the app as a regular update to my existing FMi app w

    problem with updated find my iPhone (FMi) app: when I attempt to open the FMi app, it tells me that I need to be a registered developer and run iOS7 to do so; is anyone else having this problem?  I got the app as a regular update to my existing FMi app which worked great.

    The problem is being reported in the news media, yes. Apparently someone at Apple jumped the gun and uploaded the update before it was ready. They'll probably issue another update shortly, I would expect, but you can go here:
    http://www.apple.com/support/itunes/contact/
    and follow the instructions to report the issue to the iTunes Store. If you have a backup copy of the older version of the app, remove the newer version, restore the old version to iTunes on your computer, and resync.
    Update: Well, that was certainly quick. As of a short time ago, various sites are reporting that the Find My iPhone app is no longer displaying the previous error message. If it still is for you, delete it from your iPhone and re-download from the iTunes Store.
    Regards.

  • When one or more family members who have been sharing one iTunes account wants to create their own iTunes account can they each upload the music/apps from the shared iTunes on their devices to the new iTunes account?

    When one or more family members who have been sharing one iTunes account wants to create their own iTunes account can they each upload the music/apps from the shared iTunes on their devices to the new iTunes account? 

    Yes. I would clarify your statement about the "shared" iTunes Library though. If you want each iOS device to have its own music library, you should create separate user accounts for them. Read:
    iTunes: How to share music between different accounts on a single computer
    How to use multiple iPods, iPads, or iPhones with one computer

  • How do I add image upload to web app edit template?

    How do I add image upload to web app edit template. When creating fields I am selecting image from the field type. But the only way to upload and image is when I create the web app item within the admin. The option to upload an image is not available when the user submit web form opens.
    Wont send any of these questions through this email anymore but really needed assistance.
    Thanks,
    Gordon

    On the Details tab of the Web App setup, under Web App Item Options; have you ticked "Allow File Upload" and specified a Default Upload Folder?

  • I have an ipad mini 1st gen 64 gb (wifi only) and i have problem with some of my apps. These apps have lags when you play with them for a few seconds the apps are having lags are call of duty strike team, gta San Andreas and nfs most wanted.pleas help me

    I have an ipad mini 1st gen 64 gb (wifi only) and i have problem with some of my apps. These apps have lags when you play with them for a few seconds the apps are having lags are call of duty strike team, gta San Andreas and nfs most wanted.pleas help me

    I'm going to guess videos buffer for a while also...
    Two possibilities, one is you should close apps on the iPad, the other is your internet speed is not able to handle the demands of a high speed device.
    To close apps:   Double click home button, swipe up to close the apps.
    To solve internet problem, contact your provider.   Basic internet is not enough for video games and movies.   Your router may be old and slow.

  • HT5137 I made a purchase with my debit card on The Simpson Tapped out game, And now my game won't open. It just kicks me out every time I click on it. How do I fix this problem with out deleting my app?

    I made a purchase with my debit card on The Simpson Tapped out game, And now my game won't open. It just kicks me out every time I click on it. How do I fix this problem with out deleting my app?

    Personally, I would never use a debit card online, for security reasons.  If your card gets hacked its your money that is stolen.  At least with a credit card it is the card providers money that is stolen.
    Anyway,  I would delete the app and re-install.  If you paid for the app in the first place you will be able to re-install free of charge.  Also, the app should allow the in-app purchase to happen again as it should recognise that you have already purchased it previously.
    Finally, it might be that the 3G doesnt have as much ram as more recent models of iphone and you may have applications running in the background that are preventing the app to function with the in-app purchase unless you shut down any apps eating all you memory that are running in the background.  Shut-down these apps (and the simpson tap out app) by exiting to your home screen and double-tapping the home button to show what apps are running in the background.  press and hold any of the open apps until it starts shaking.  close all the apps down.  exit then re-launch the app.
    good luck.

  • Hello I have a problem with a Wifi Survey app, this app is from Access Agility, however this app was working fine, but without advise stop of working, I tried to open again, but app be close after few seconds.

    Hello I have a problem with a Wifi Survey app, this app is from Access Agility, however this app was working fine, but without advise stop of working, I tried to open again, but app be close after few seconds. Every time that I tried to open it, in diagnostic and use create some files, in special one named LatestCrash-WifiSurvey.plist, this one generate an incident identifier E73B0164-CDFA-4E9E-839E-A0C021BD17A2, but this incident identifier change every time that I tried to open, the last incident identifier is: DE600EB3-AB57-4C33-8DE8-71F6788A7441.
    After of it, I checked that the app had a new version available for downloading, I took a backup of my ipad and then upgrade this app, but is the same problem, all I want is to save the projects I had in this app, I´m afraid that if I delete this app and re-install it, probably I loss my projects.
    Thanks for your help indicating how I can save my projects and see them for example in an iphone for assurance that data is not lost.
    Something that called my attention is part of the log that shows a big CPU processing, but the strange thing is I killed all applications.
    Incident Identifier: E73B0164-CDFA-4E9E-839E-A0C021BD17A2
    CrashReporter Key:   ed0ca1405ce83d4f80cb3cce063d7248d7b76e91
    Hardware Model:      iPad2,5
    Process:         WifiSurvey [139]
    Path:            /var/mobile/Applications/1BEEE35A-85FC-4BE4-B62A-39A930CB3CE2/WifiSurvey.app/Wi fiSurvey
    Identifier:      WifiSurvey
    Version:         ??? (???)
    Code Type:       ARM (Native)
    Parent Process:  launchd [1]
    Date/Time:       2013-08-08 19:01:13.476 -0500
    OS Version:      iOS 6.1.3 (10B329)
    Report Version:  104
    Exception Type:  00000020
    Exception Codes: 0x000000008badf00d
    Highlighted Thread:  0
    Application Specific Information:
    com.accessagility.wifisurvey failed to launch in time
    Elapsed total CPU time (seconds): 20.990 (user 20.990, system 0.000), 52% CPU
    Elapsed application CPU time (seconds): 19.954, 50% CPU

    See:
    iOS: Troubleshooting applications purchased from the App Store
    Contact the developer/go to their support site if only one app.
    Restore from backup. See:
    iOS: How to back up              
    Restore to factory settings/new iPod

  • How can i remove my credit card from app store, the none option its not there and i don't Owen  nothing to apple, my last in app purchase was in clash of clans, please help!!! Because of that problem i cant update my apps! Plz help!!!!!

    How can i remove my credit card from app store, the none option its not there and i don't Owen  nothing to apple, my last in app purchase was in clash of clans, please help!!! Because of that problem i cant update my apps! Plz help!!!!!

    You've logged into your account and viewed your purchase history and there aren't any error messages shown (e.g. 'problem with a previous purchase'), and you haven't got any purchases due (e.g. pre-orders and/or subscriptions) : Why can’t I select None when I edit my Apple ID payment information ?

  • Guys i have a problem, I used to download apps from one of my friends apple id, now i created my new account, but when i was about to update my apps its asks for my friends id and password. now how could i update my old apps from my new apple id?

    Guys i have a problem, I used to download apps from one of my friends apple id, now i created my new account, but when i was about to update my apps its asks for my friends id and password. now how could i update my old apps from my new apple id?

    The_Tonmoy wrote:
    I have no communication with my that friend :/ So it means i need to delete those apps? There's no other solution to update those apps?
    No.  purchases are forever tied to the apple ID used to buy them.  Delete them and buy your own copies.

  • Problem in Uploading a File by Applet

    Hi Members,
    * I have faced problem while uploading a file from client to server by ftp protocol using APPLET(No JSP) only
    * I am getting exception while running....
    * My source code is as follows,
    import java.awt.*;
    import java.applet.*;
    import java.awt.event.*;
    import java.io.BufferedInputStream;
    import java.io.BufferedOutputStream;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.IOException;
    import java.net.MalformedURLException;
    import java.net.URL;
    import java.net.URLConnection;
    public class UploadAndDownload extends Applet implements ActionListener {
         Button upload;
         Button browse;
         TextField filename;
         File source = null;
         Label name;
         StringBuffer sb;
         BufferedInputStream bis = null;
         BufferedOutputStream bos = null;
         public void init() {
              setLayout(new FlowLayout());
              upload = new Button("Upload");
              browse = new Button("Browse");
              name = new Label("Filename");
              filename = new TextField("", 45);
              add(name);
              add(filename);
              add(upload);
              add(browse);
              upload.addActionListener(this);
              browse.addActionListener(this);
         public void actionPerformed(ActionEvent evt) {
              // Code for browsing a file
              String input_file_name = "";
              if (evt.getSource() == browse)
                   Frame parent = new Frame();
                   FileDialog fd = new FileDialog(parent, "Select a file", FileDialog.LOAD);
                   fd.setVisible(true);
                   input_file_name = fd.getFile();
                   filename.setText(input_file_name);
                   // Gets the file from the file dialog and assign it to the source
                   source = new File(input_file_name);
                   repaint();
              // Code for Uploading a file to the server
              if (evt.getSource() == upload) {
                   // Appending the server pathname in string buffer
                   sb = new StringBuffer("ftp://");
                   sb.append("2847");
                   sb.append(':');
                   sb.append("Websphere25");
                   sb.append("@");
                   sb.append("172.16.1.111");
                   sb.append('/');
                   sb.append(input_file_name);
                   sb.append(";type=i");
                   try {
                        URL url = new URL(sb.toString());
                        URLConnection urlc = url.openConnection();
                        bos = new BufferedOutputStream(urlc.getOutputStream());
                        bis = new BufferedInputStream(new FileInputStream(source));
                        int i;
                        // Read from the inputstream and write it to the outputstream
                        while ((i = bis.read()) != -1) {
                             bos.write(i);
                   } catch (MalformedURLException e) {
                        e.printStackTrace();
                   } catch (IOException e) {
                        e.printStackTrace();
                   } finally {
                        if (bis != null)
                             try {
                                  bis.close();
                             } catch (IOException ioe) {
                                  ioe.printStackTrace();
                        if (bos != null)
                             try {
                                  bos.close();
                             } catch (IOException ioe) {
                                  ioe.printStackTrace();
    MY EXCEPTION IS,
    Exception in thread "AWT-EventQueue-2" java.security.AccessControlException: access denied (java.net.SocketPermission 172.16.1.111:80 connect,resolve)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkConnect(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.<init>(Unknown Source)
         at sun.net.www.http.HttpClient.New(Unknown Source)
         at sun.net.www.http.HttpClient.New(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.ftp.FtpURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.ftp.FtpURLConnection.getOutputStream(Unknown Source)
         at UploadAndDownload.actionPerformed(UploadAndDownload.java:68)
         at java.awt.Button.processActionEvent(Unknown Source)
         at java.awt.Button.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)* Please let me know what problem in my code....
    * Thanks in advance....

    * Thanks for your reply....
    * I have signed my policy file by giving AllPermission and mentioned in java.security file in bin folder....
    * My question is , by giving AllPermission , can we access and do all permissions like ( SecurityPermission, AWTPermission, SocketPermission, NetPermission, FilePermission, SecurityPermission etc )...
    * My policy file is looks like follow,
    /* AUTOMATICALLY GENERATED ON Tue Apr 16 17:20:59 EDT 2002*/
    /* DO NOT EDIT */
    grant {
      permission java.security.AllPermission;
    };* If i signed the policy like above, and when i run the applet file in InternetExplorer now , it thorws the following exception on my console,
    java.net.ProtocolException: cannot write to a URLConnection if doOutput=false - call setDoOutput(true)
         at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
         at sun.net.www.protocol.ftp.FtpURLConnection.getOutputStream(Unknown Source)
         at UploadAndDownload.actionPerformed(UploadAndDownload.java:68)
         at java.awt.Button.processActionEvent(Unknown Source)
         at java.awt.Button.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)* Please let me know , how to solve this and give me your suggestion on the above process...
    * Thanks in advance...
    Regards,
    JavaImran

  • How to access loudspeaker in J2ME app

    How to access loudspeaker in J2ME app and know a status of a call which is initiated through app.

    so are you saying that pointerpressed doesnt work after setting Setfullscreen mode?

Maybe you are looking for