Conversion on Windows Mobile

I'm new to Java ME program then please be patient with my beginner questions.

I have an application with a multitude of screens, a (UserInterfaceScreen) is just a menu to any third party. The first that I want to go to press on Mainmenu is Firstframe. I left many details on the code below for simplicity.

I thought this would be an easy task to move from one screen to the other, but the learning curve is steep.  Anway.

The only way I can refer to pushscreen method, without errors, is if I put it in the main statement.  I guess trying to push the two screens to the stack. I actually do not create an instance of the firstframe until later in the auditeur1.  It gives me a stack overflow.

If I try to place the pushScreen (new Firstframe()); statement within fieldchanged (I commented) I get an error that the method is not recognized.

What is the easiest way to push a button and get a new screen?

-Code-

public class MainMenu extends UiApplication {}

public public static void main (String [] args) {}

PAP MainMenu = new Mainmenu();

theApp.enterEventDispatcher ();

}

public {MainMenu()}

pushScreen (new UserInterfaceScreen());

pushScreen (new Firstframe());

}

}

final class UserInterfaceScreen extends form {}

public {UserInterfaceScreen()}

FieldChangeListener auditeur1 = new FieldChangeListener() {}

public Sub fieldChanged (field field,int context) {}

pushScreen (new Firstframe());

PAPFirstframe = new Firstframe();

poster = 0;

}

};

Welcome to JAVA. pushScreen isn't a global function. There is no global functions in JAVA. Like any other method, you can call this method in the class that defines, in a class that extends the class that defines it, or by a reference to an object of these classes. I suggest reading about how JAVA, Orientation of the object.

Especially for screens pushing and poping, I like doing it this way:

public class Main extends UiApplication {

    private static Main main;

    public static Main getMain() {
        return main;
    }

    public static void main(String[] args) {
        main = new Main();
        main.pushScreen(new SplashScreen());
        main.enterEventDispatcher();
    }

    // ....

Then later... Main.getMain () .pushScreen (new OtherScreen());

Cheers, Barak

Tags: BlackBerry Developers

Similar Questions

  • Software exixting of conversion for Windows mobile

    I had done a software for a client by using Visual basic and created an exe...

    now the client asked me to do the same thing for hime in the devices windows mobile...

    I have forms and can also resize to devices but I need some additional tools like the resolution and database connection takes no space in my camera...

    Please help me

    Nimesh78

    Thanks in advance

    http://social.msdn.Microsoft.com/forums/en/category/VisualBasic

    Repost nicely in the Communitoes of Visual Basic above.

    They will help.

    See you soon.

    Mick Murphy - Microsoft partner

  • Windows Mobile Device Center synchronization problem

    I recently developed a problem syncing my phone Windows Mobile 6.1 with Vista 64-bit Home Premium WMDC.  I would appreciate any idea or a reference to help me solve it.  I'll give you only a capsule summary chronological here to keep this short note.

    -There are synchronization three weeks was normal.  No change in system done other that what is described below.
    -Signed with the local provider (Comcast) for Exchange and Sharepoint hosting services.  They ran an installation script that changed by the Outlook 2007 adding the exchange server profile and who knows what else.
    -Phone sync is no longer with the PC; only with their Exchange Server.  They claim that they did nothing to make (their inventory of skills for Windows Mobile does not exist).  WMDC still sees the phone as a guest.
    -Spent the weeks then 2 + talk with Comcast level 3 troubleshooting, manufacturer (HTC) phone and cellular service provider (Sprint).  All to various help desk levels.  I spent a lot of time searching for answers on various blogs and other credible sites for answers.
    -Journal of phone calls said that the error is 0x8503001f which says that my profiles are out of sync.
    -One of these help professionals tells me its something to do with my user.sdf file.  This file is not present on my PC.
    -Sent in notice of cancellation to Comcast, which is still in the queue for processing.
    -Sprint technical support abandoned and sent me a replacement phone.
    -New phone has the same problem.  The problem is clearly with WMDC, file or a registry problem.  Utilities that I find on the internet for the problem works only with 32-bit operating system.
    -J' tried to uninstall and reinstall WMDC and the other fixes I found on TechNet and other Windows Mobile sites.  Nothing works.

    I'm not a developer, but I'm a power user who is used to run organizations, so I'll have intelligent conversations with these people.  They are perplexed and so I am.

    For the support of your manufacturer or your mobile operator, see the following link: http://www.microsoft.com/windowsmobile/en-us/help/more/mobile-operator-device-manufacturer-links.mspx

    Help the community forum of Windows Mobile to go to: http://social.microsoft.com/Forums/en-US/category/windowsmobile/

    David
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Superior experience of Office Elite x 3:10 third-party Windows applications not (Windows Mobile 10)

    One of the reasons why I bought the X 3 elite was the attractive option to use it as a PC. I quickly learned that this meant. Not like a PC Windows 10. but rather A Windows Mobile format on the larger screen. A PC or a desktop experience would be for me means the use of many Windows 10 applications and set third-party apps. Experience in the future with a very strong focus on the experience of office with the elite x 3 y at - it something that I am missing and there will be opportunity for a desktop Windows 10 real updates.

    Hello

    Elite x 3 uses the mixture of Microsoft function to view the applications on your screen 'big screen '.  Since this feature is part of Windows Mobile 10, only some applications Windows Mobile 10 will work Continuum.

    For more information you can view this document on the Continuum: http://h20566.www2.hp.com/hpsc/doc/public/display?docLocale=en_US & docId = emr_na-c05170163 & sp4ts.oid = 10722027

    However, HP has a solution called workspace that will allow customers to run their standard Windows programs on the elite x 3: hp.com/go/workspace.  It is only available to customers of commerical so it may not work for you.

    Personally, I use TeamViewer remote connect to my other laptop when I need to run regular programs.

  • What anniversary Windows Mobile 10 update be available?

    Hello community, Hello HP support.

    some sites Web reported that the anniversary update for windows mobile 10 will be available to 13 September (this year :-)).

    In fact no update is available on the x 3.

    I think that it might help to provide more information in the forum/faq on the coming changes for each X 3 user is up-to-date and well because.

    so once again, return to the headline: when the update of the anniversary will be available?

    Concerning

    JoeTec

    Hey there @JoeTec,

    Thank you for visiting the HP Forums! A place where you can find solutions for your problems, with the help of the community!

    I understand that you need to know what will be the anniversary of windows mobile 10 update available for HP Elite x 3.

    According to HP, the update must be released at the end of September 2016. So please wait until September 2016 for an update.

    For more information link, please see this article: http://hp.care/2cur2fX

    Let me know if this can help,

    Have a great day!

  • Can I get a version of Firefox also for my Windows Mobile 6?

    I have an old but good working smartphone including the OS is Windows Mobile 6.1
    I would like to know if there is any version of old or new Firefox that I can use with this smartphone.
    If so, I would be happy to receive the related link.
    Thanks in advance
    Mauro

    The development of Firefox mobile is mainly focused on the Android 2.1 + platform.

    https://wiki.Mozilla.org/mobile/platforms

    Windows Mobile
       Firefox has stopped development for Windows Mobile indefinitely. Thank you to our contributors for their continued support and feedback. The last release for Windows Mobile was 1.1 alpha 1 (download). We have stopped developing for Microsoft's mobile platform because Windows Phone 7 no longer allows developers to build C++ applications like Firefox, and Microsoft's new policies ban open-source software like Firefox from the Windows Phone Marketplace.
    
  • Satellite P100-426: Windows Mobile Device Center cannot find my BT device

    Hello

    Why Windows Mobile Device Center can't find my device Bluetooth (although that my bluetooth works properly)? I have a Toshiba Satellite P100-426, with a built in Bluetooth device

    Sascha

    Make sure that your Bluetooth device is "discoverable."
    The following Web site:
    http://APS.toshiba-tro.de/Bluetooth/redirect.php?page=pages/HOWTO.html
    offers you a document entitled:
    "Synchronization via Bluetooth (Vista WindowsMobileDeviceCenter - WindowsMobile 5).
    which is maybe useful for you.

  • Stack of Windows Mobile 6 and BT-> how to set up PC-> PDA-> Internet connection

    Hello

    My configuration: another laptop manufacturing with TrueMobile 350 (Toshiba stack)
    and a PDA Windows Mobile 6 PocketPc (Phone Edition) (TyTn)

    I would use my PDA as a server of PAN to use its internet connection with my laptop (PC-> PDA-> Internet. I combined the two devices, but when I activated the Internet sharing on my PDA I have no function on my laptop to access the PAN, created by the PDA.

    "Auto-discovery is the only way to implement the services. However, the PAN service does not appear unless the devices are paired.

    Toshiba can only pair with devices seen in the discovery... "
    http://Forum.xda-developers.com/showthread.php?t=297561&highlight=Bluetooth+intern and + sharing

    I'm not the only one with a problem and I have already installed the battery v5.

    Hello

    Have you already checked this Toshiba Bluetooth 'FAQ' and 'How to' area?
    http://APS.toshiba-tro.de/Bluetooth/

    You will find HOW TO useful documents e.g. on:
    -Internet on PDA via PAN used for Gateway Laptop
    -Browse for computer laptop-sharing via PDA and PAN
    -etc.

    Maybe you'll find some useful tips.

    PS: Sorry I m not an expert of BT and, therefore, I can't say much about this case

  • Toshiba NB 200 and extended Windows Mobility tiles

    Hello

    I have problem with the installation of "Toshiba Extended Tiles for Windows Mobility Center" on mid NB 200 (PLL23E)

    Laptop runs Windows 7 company all the patches and SP

    I tried to install the new system, download all the drivers and when I install this sw every time it happens first look installation but
    his fall down (I mean nothing happens)

    When I search the computer Manager error report / events view there is only information on starting to install TOSHIBA extended tiles for Windows Mobility Center worm. 1.01.00 Lang worm 1051
    anything from Alès
    Program files I can fined from file "MobilityCenter" with all the files, but when I tried to run ToshibaMobilityCenter.exe manually nothing happens

    For me its means I can control the function "fn".

    Is someone who has the same problem after changing the system to different operating system of windows 7 starter edition?

    Thank you

    Hello

    Do you have which version of Win 7 installed? 32-bit or 64-bit?
    Tiles for Mobility Center is designed for 32 bit Windows 7

    Please check your version first maybe you use Win 7 64-bit

  • Presentation settings is missing from the Windows Mobility Center

    Satellite L 300 with Vista Home Basic

    Recently installed everything, but have run windows update etc. Since then.

    Presentation settings does not appear in the Windows Mobility Center, and I can not find presentationsettings.exe anywhere on the computer.

    Have tried downloading VAP but no difference. Toshiba Assist has nothing to help me, I think.

    I tried looking for drivers and utilities for the L300 and sees nothing to help me - no presentation or power related only downloads.

    How can I get the presentation settings? The main problem I have is not to want the screen empties when you watch a DVD or streaming video. Even if you put windows power settings to never turn off the screen, it will still blank after a period of time without the intervention of the physical user, despite the video game.

    AFAIK this option is always available when the laptop is preinstalled with Toshiba (factory State) recovery image.
    You install own OS or what?

    I have two Toshiba laptops, and both of them have this option in the Windows Mobility Center.

  • Satellite A660 - 11 M - unable to connect to the Windows Mobile 6.1 smartphone

    I can't connect my phone (sony ericsson experia x 1) to my Windows 7 laptop. When I'm connecting via toshiba bluetooth stack configuration, it shows me an error "connection was refused by the PAN Server [name of the my phone]. I tried to change some options in the bluetooth stack, but it has been unseccesfull.

    I'm sure that there is no problem with my phone, because I can connect at any time to Windows XP on the laptop of another.

    See the how-to document
    "How to connect PC to internet via Bluetooth using a Windows Mobile 6 phone".
    http://APS2.toshiba-tro.de/KB0/HTD9602MW0000R01.htm
    It describes your problem, and proposes the following:

    Resolution:
    * Check if your Windows mobile phone is always connected to the internet.
    * Make the Internet sharing connection once again.

  • Toshiba Stack BT + Windows Mobile Device Center

    Greetings!

    Tell me when it will be possible to use the battery of BT from Toshiba with 'Windows Mobile Device Center'?

    Yours, Tim

    Hello

    Toshiba Bluetooth stack is an independent application.
    But who knows, maybe the next version will be compatible, and it might be possible to implement it in Vista Windows Mobile Device Center.
    We'll see

  • Peripheral Bluetooth is not listed in Windows mobile stuff Center

    Hello
    I installed the latest driver Bluetooth of Vista on my laptop (426 P100) and I have not even a connection with my cell phone. Unfortunately I'm not able to use this connection with the Center for devices windows mobile. If I click on the Bluetooth icon in the control panel I don't see my laptop bluetooth device.

    Any suggetions?

    Sascha

    Support of Vista Mobile Device Center is currently not included. It should be implemented in one of the next versions.

  • Problem connecting Bluetooth with Windows Mobile Device Center

    Hello

    I have and HTC Snap with WM 6.1 I want to connect to my Satellite P500 running Windows 7 to be able to move the files by using Windows Mobile Device Center.

    I know that this device can talk to this laptop via bluetooth, because there are some utilities bluetooth Toshiba that I can use to get a connection.

    However, even if the Toshiba utility recognizes my bluetooth device, but WMDC is not. WMDC recognises my device when it is connected with a USB cable.

    I don't know about the drvupdate-amd64 download which I think is necessary with WMDC but when I run what it looks like all it does is try to install a device driver for a device that is 'unknown '. I get a message at the end that driver could not be installed.

    I have run out of ideas on how to get these things to work. Someone at - it a similar experience?

    Could this be a problem of COM port? My Bluetooth device to 40 com affected Toshiba stack I don't see a COM 40 in the WMDC, just a port identified as "Bluetooth" settings

    Post edited by: t5247rb

    Hello

    This page of Toshiba Bluetooth may be able to help you;
    http://APS2.toshiba-tro.de/Bluetooth/?page=HOWTO

    Here are very interesting HowTo documents;
    In your case I recommend that you check the docs:

    + How do I set up a connection from the PDA (Windows Mobile 6) to the Windows Mobile Device Center.

    and

    + How to connect PC to internet via Bluetooth using a Windows Mobile 6 phone +.

    Welcome them

  • V06.10.07.2 (T) Toshiba BT Stack with ActiveSync 4.5 on Windows Mobile 6

    Hello

    I've looked everywhere for the v06.10.07.2 (T) of Toshiba BT Stack with ActiveSync 4.5 on the functioning of Windows Mobile 6. I still didn't find any solution.

    Everything that I found is a tutorial from this site, how to get a Toshiba pc synchronized with active sync 4.2 on a windows mobile 5! Not really useful:)
    As you can see, it differs much, ActiveSync 4.2 to 4.5 and windows mobile 5 or 6

    If there is no tutorial recommend if it still runs on a windows mobile device, that would be a thread of reference for all customers with the same problem, since windows mobile 6 is standard (and soon WinMo 7 version 2009).

    I m having a htc touch cruise Pocket PC with windows mobile 6 and the new Toshiba Bluetooth stack on my pc (win xp sp2 + sp3) installed > v06.10.07.2 (T) Toshiba BT Stack with active sync 4.5.

    Thank you all in advance!
    DAE

    Installation is pretty easy.

    Laptop:
    Set the COM port appropriate in Active Sync that adapts to your COM Server Bluetooth port. It is normally COM7.

    PDA with Windows Mobile 6:
    Ensure COM Bluetooth Manager is on.
    Configure the port on the laptop with Active Sync:
    Start->settings->connections->Bluetooth->devices->add new feature-> select your laptop-> port select "Active Sync"...

Maybe you are looking for

  • Synchronization of the cells through arrays - (cell) <>- (B-cells)

    How can I synchronize the cells on sheets, tables or spreadsheets even so that I can change A cell and it updates the B cells or I change cell B and it changes a cell?

  • Satellite Pro L510 - cannot install and start Intel Link 5100

    Hello I have a Satellite Pro L510 (P / N:PSLFML - 002004). Recently, I upgraded my Intel WIFI Link 5100 (my original WLAN is Realtek RTL8191SE). I tried Windows 7 32-bit and 64-bit with intel driver, version 13.4 and 13.5, non of them worked so far.

  • Pool of dhcp NAT VPN to the LAN on router 2911

    I need nat the ips assigned by dhcp vpn to my LAN pool. My problem is that I do not know which interface to set my nat statement on since there is no interface that is in the same subnet as my dhcp pool. Any help would be appreciated.

  • Reverse Route injection

    My PIX firewall's VPN headend device. It is located behind the router C1721. I customize remote access VPN split tunnel network. It's working OK if I try to connect to VPN client located between PIX and C1721. If I try to connect to external VPN clie

  • Removal of the links in the inbrowse edition

    Hellomy client uses the inbrowse editing tool, it is often changing links to the uploaded files. Now, after some time, the list of links is very long and he wants to remove the older links. How can we achieve this?Gaby