8 Replies Latest reply: Jul 30, 2008 5:30 AM by 843849 RSS

    pocket pc phone WM6 cdc app in netbeans???

    843849
      I am new to developing java cdc apps for smart phones and wanted to get some advice on how to get a pocket pc phone emulated using the sun java toolkit 1.0 for connected device configuration, I only can choose from defaultColorPhone and SunVGA devices. and the profile i am using is AGUI 1.0.

      I want to write a cdc app for a pocket pc phone with windows mobile 6. The closest guide to setting this up that I have found on the netbeans site is "CrEme VM for Windows CE".

      I followed this guide: http://www.netbeans.org/kb/60/mobility/cdcemulator-setup.html , then proceeded to the quick start guide, http://www.netbeans.org/kb/60/mobility/cdc-quickstart.html .
      Under the section, " Creating a New CDC Application - AGUI Profile ", I want to be able to select a pocket pc phone from the device drop down not the defaultColorPhone.

      basically, I want to know how to emulate windows mobile 6 on a pocket pc phone in netbeans using the sun java toolkit 1.0 cdc.
        • 1. Re: pocket pc phone WM6 cdc app in netbeans???
          843849
          hello,

          there's some info for a previous version of NetBeans (5.5) that may help. Here are the links:

          [http://www.netbeans.org/community/releases/55/1/mobilitycdc-install.html] and [http://www.netbeans.org/kb/55/1/quickstart-mobilitycdc.html#nsi]



          HTH
          • 2. Re: pocket pc phone WM6 cdc app in netbeans???
            843849
            How i use developement for CDC ?_ Which works perfect.

            followed url: http://www.netbeans.org/kb/60/mobility/cdcemulator-setup.html

            Emulator step:
            1. Download/install/execute Microsoft Windows mobile 6.0 image emulators
            - It include Device Emulator Manager
            2. Download/install/execute Microsoft Active Sync
            3. Open Device Emulator Manager > refresh > select image registry value and > actions menu > cradle click
            4. Wait Active Sync bridge PC to Emulator for file transfer, show connected, and explore emulator files

            JVM:
            5. Download CrEme JVM and install from http://nsicom.com/shared/CrEmeDevSup410.exe
            - It shows that automatically trying to install but in my case it fail always
            - i then copy *.cab file to emulator manualy
            6. Download CrEme switch .cab file
            - copy this file to emulator also
            7. Time to double click those *.cab files 1 after another, to install it inside emulator for jvm.

            8. To verify its installed go to windows\creme\bin\ < some files

            Netbeans use:

            9. CDC platform project right click > properties > platform > CDC > NSIcom emulator
            10. to compile cdc in the emulator
            - right click cdc project > properties > running > NSI tab > enable check box "Run in remote VM"
            - Remote vm location = \Windows\creme\bin\CrEme.exe
            - Application location = \Program files\yourproject
            • 3. Re: pocket pc phone WM6 cdc app in netbeans???
              843849
              Emulator step:
              1. Download/install/execute Microsoft Windows mobile 6.0 image emulators
              - It include Device Emulator Manager

              Okay, I've been trying to execute the mobile 6 emulator image all night. I have all of the necessary downloads installed but the "Device Emulator Manager" does not show any device emulators.

              Through my troubleshooting I've found this site:
              http://download.microsoft.com/download/0/1/2/012bfbba-9fe5-4e68-86c9-d434446d97dd/Localized%20Emulator%20Images%20Readme.htm

              here it says that you can Launch the Emulator Image by the start menu, "Start / All Programs / Windows Mobile 6 SDK / Standalone Emulator Images". I do not have "Standalone Emulator Images" under my windows mobile 6 SDK folder in the start menu.

              I'm trying to launch a standalone emulator image so that I can get a .dess file to load my emulation from. Or I was hoping that this would enable me to see my device emulator in the device emulator manager.

              I have installed:
              Windows Mobile 6 SDK
              Microsoft Device Emulator 2.0 -- Standalone Release
              activeSync
              + all other needed files

              any suggestions?
              • 4. Re: pocket pc phone WM6 cdc app in netbeans???
                843849
                I think you dont have the image yet, or confuse, any image you can tempoary use, which OS will represent Windows CE.

                1. Download this image.
                http://www.microsoft.com/downloads/details.aspx?FamilyID=38c46aa8-1dd7-426f-a913-4f370a65a582&displaylang=en
                - 0409\Windows Mobile 6 Professional Images (USA).msi
                183.1 MB

                - After install it comes already with Device emulator management
                - From start menu you can find it

                example: attached in my case. hope it helps you.
                http://docs.google.com/Doc?id=ddkvcgng_6fvh2gkz3
                • 5. Re: pocket pc phone WM6 cdc app in netbeans???
                  843849
                  I have been able to successfully complete all steps other than the ones listed below:

                  - i then copy *.cab file to emulator manualy
                  6. Download CrEme switch .cab file
                  - copy this file to emulator also
                  7. Time to double click those *.cab files 1 after another, to install it inside emulator for jvm.

                  8. To verify its installed go to windows\creme\bin\ < some files

                  I have my emulator running and through activeSync I explore the emulator files. After that I open, "My Windows Mobile-Based Device".

                  I don't know where the .cab files are that "- i then copy *.cab file to emulator manualy". I did a file search and did not find and VM .cab files in any location. And I also looked for them in my installation directory for CrEme, "C:\Program Files\NSIcom\CrE-ME V4.12", to no avail.

                  Where are the .cab files that need to be copied to the emulator located?

                  Also, I do not see where I can, "6. Download CrEme switch .cab file". I couldn't find where to download this .cab file. And I don't have a C:\windows\creme directory.

                  Thanks for all the help guys,
                  -Kurt
                  • 6. Re: pocket pc phone WM6 cdc app in netbeans???
                    843849
                    the *.cab files are in your pc. one when you install from nsicom. CrE-ME412_ARM_CE42_PPC.CAB , and another you manualy download from there site
                    CrE-ME410_swing.CAB

                    - both files then you copy from your pc directory to windows ce directory anywhere.
                    - then simply in windows ce you click and it install the jvm
                    - to verify you go to windows ce directory like \windows\creme\bin

                    Thats all, actualy.
                    • 7. Re: pocket pc phone WM6 cdc app in netbeans???
                      843849
                      Hello,

                      Like phant0m , I don't find the files *.cab, where exactly can found them?
                      I follow all the instruction but nothing ...

                      Please help me ;)

                      Thanks
                      • 8. Re: pocket pc phone WM6 cdc app in netbeans???
                        843849
                        Hey man,

                        What I did was "6. Download CrEme switch .cab file ". That can be found here: http://www.nsicom.com/shared/CrE-ME410_swing.CAB

                        Then I downloaded the CrEme 4.12 .cab installer from this location: http://www.nsicom.com/Default.aspx?tabid=220&p=4 . here I filled out the options, Intel ARM, then windows mobile 6.0 for the next field. The download link for this ( not sure if this link works ) http://www.nsicom.com/DownloadFile.aspx?ID=21&p=h&f=e&s=1

                        So now you have your two files: CrE-ME410_swing.CAB and CrE-ME412_ARM_CE42_PPC.exe . you should have already done all the other steps and have your emulator running and synced up.

                        Now copy over the CrE-ME410_swing.CAB file to a directory on the pda, then from you pda emulator click that file and it will install on the pda.

                        Now you have your CrE-ME412_ARM_CE42_PPC.exe on your computer/desktop. double click that and run the install. this will install CrEme on the pda.

                        FINISHED!

                        Now save the state of the pda so you have your VM saved for future times you will need to run a program on your emulator.

                        Follow the rest of the guide and you should be good to go!

                        I hope this helped.