Change the layout on the rotation, debugging statements and replacement of the application - 9530

I'm writing an application of this provision completely changes when the device is rotated (adds and deletes fields). I have a custom handler that I'm writing, my first attempt was to use the width and height of sublayout parameters to guess if I was horizontal or vertical and add buttons accordingly. This allows the initial page layout work perfectly. However, as soon as I rotate the screen, (which would be to add a touch more for sublayout, as a test), it causes the Simulator to freeze. When I run it on a physical device, it does not freeze, but it stops at the screen drawing completely.

Two auxiliary questions: is it possible to print statements to debug somewhere on the Simulator? I had no luck. Also, is there an alternative to restart the Simulator to try a new version of an application? They are not invasive, I see no need to restart

Thank you!

System.out.println () statements will send their output to your debug window in the Simulator. You can also view the latter on the device if you attach the USB cable and select Debug / home to / device in the JDE.

Always restart the sim card when you change or add a program.

I'm scratching my head trying to understand what you're trying to do with the field, and how to do it. The first thought that comes to me is this: If you are feeling the change the layout by substituting a method of the screen, it's probably be reached during page layout, which is not an appropriate framework to add or remove fields. Addition of a field for the provision would put the UI in a thread loop, probably having for result a lock-up or a stack overflow, since the process of adding the field causes the Manager screen to rearrange the display.

Can you be more specific? Maybe a snippit of code?

Tags: BlackBerry Developers

Similar Questions

  • Firefox 5 is apparently not compatible with F-Secure Anti-virus; F-Secure repeatedly appears message "Changed the Application"; How to restore my previous version of Firefox?

    I just installed Firefox 5. Unfortunately, F-Secure "Application Control" now repeatedly appears "Change the Application" messages in an endless chain. It will not accept my attempts to 'Allow' the new version of Firefox. Since Firefox 5 is not compatible with F-Secure, I want to go back to my previous version of Firefox. I am very disappointed that you put me for all this trouble. How can I remove Firefox 5 and revert to the previous version of Firefox?

    good new update for firefox 5 was released today

  • Can I change the application title bar color?

    With a number of open applications and windows a standard color grey silver it can be quite difficult to quickly locate a title bar to move a window.  I don't see any option in system preferences to change the color of title bar.  Can it be done?

    OS X does not have this facility.

    You may be able to find a third party extension that can do the job, but my advice would be NOT to install this software.

    C.

  • How to change the application installed HARD disk?

    My PC following setting:

    C: is for Window XP OS

    D: is installed application

    because the disc is not enough space and need to buy a new SATA III HARD disk after formatting under drive Z:

    I copy everything in D: z: readers and I would exchange the disks for the following parameter:

    D: old drive will become Z: drive for backup

    Z: old disk will become D: drive for installed application, because many applications and installed adjustment use the D: drive for application, so I'd like to preserve the D: drive for application, but I get no idea on how to swap the disks.

    Does anyone have any suggestions?

    Thanks in advance for your suggestions

    This article describes how to change the drive letters on drives:

    "How to change drive letter assignments in Windows XP"
      <>http://support.Microsoft.com/kb/307844 >

    HTH,
    JW

  • Mail and sharing of WIndows 8 has stopped working when I changed my Yahoo password. Can't remove and replace the account information from Yahoo either. Any suggestions?

    I was doing very well with Windows 8 and really liked the tile part until the part of so many mail no longer works when I changed my Yahoo password (after having hacked).  Given that the Yahoo account has been used to set up my Microsoft Account for the new computer laptop / Windows 8, this old password appears to be caught in the trap in the system.  I can still use the browser to get to Yahoo use e-mail like this, but it is frustrating that the Mail tile is now useless and hand tile is too.

    Hello Rob,

    The Microsoft Account and Yahoo accounts are two separate accounts.  Then the two accounts use the same login ID (your Yahoo email address) and can be configured with the same password; When you change the password for one of the accounts that will not change your password for the account on the other.

    If the two accounts used the same password, I suggest to change the password for your Microsoft account and using a separate password for each.

    Once the Microsoft Account password has been changed, you should be able to connect to the mail. You may still need to update your email Yahoo mail password of: charms-> settings-> accounts-> .

    Mark

  • IOS publish setting, by manually changing the application descriptor file?

    I publish an IOS app with a few donkeys.

    ENA need some changes made to the application descriptor file, but when publishing for IOS, there is no authorization with the option "manually adjust" tab

    Any ideas how to change the file descriptor of IOS?

    Thank you

    Pete

    Well Yes, as Colin says, there is a block of you can add to your app xml descriptor (generator flash should generate one for you in your descriptor xml app and then you can just change).  Nothing in here will be added to the info.plist in the iOS app resulting.  There is also a block matching for Android.

    Thus, for example, if I want my app to be a universal app (iphone and ipad is intended), I would normally like this in info.plist, using the key UIDeviceFamily of Apple:

    UIDeviceFamily
    
      1
      2
    
    

    To do the same thing in the AIR, I add the following, inside the main application tag:

    
      UIDeviceFamily
      
        1
        2
      
      ]]>
    
    

    In this way, you can directly add nothing to the info.plist of the IPA file resulting of your choice and add the permissions/settings that allows Apple.

  • How to change the application Livepkgr main.far

    Hej, we are trying to achieve mobile webstreams for our customers. So far, I realized a scenario, where my custom cam application connects to the application of livepkgr, which starts to record the stream and publish video files of HLS. What we do in our main application (flash player based), are a few billing intervals, check-ins on database and so on. So in my understanding, it is necessary to implement some of these necessary functions in the application of livepkgr as well, because the customer directly calls the url for mobile stream, without any flash. There is no communication to our custom to all application, I'm wrong? Then I ve tried to simply replace the main.far by a main.asc custom (decompressed archive before you get the original main.asc). But now, when I want to test the scenario again, the connection is rejected by the livepkgr application. He say´s the main.asc ist not signed. Is it possible to archive this? Or would it be sufficient to extend my existing application (main.asc) in the way the livepkgr Application records flows for not using two applications for office outings / mobile? Any help would be really appreciated! Thanks in advance, Patrick

    For all those who have the same problem (info: you cannot find any information on it).

    The default deployed livepkgr ist signed by Adobe. You must copy the example/livepkgr like you new application where you can change the main.asc every time.

    Adobe: Please provide some of this information in your documentation!

  • How to change the application apps and the sysadmin password

    Hi expert,

    I know not how to change the password application and sysadmin in the oracle application. but I have a doubt.

    What is required at the bottom of the application when you go to change applications and the sysadmin password in the oracle application.

    Please suggest me what is the proper way to change the apps and the sysadmin password.

    to change the password for apps I followed the command below.

    FNDCPASS apps/apps 0 System/Manager SYSTEM APPLSYS < new password for applications >

    for sysadmin

    FNDCPASS apps/apps 0 USER sysadmin < new passwd for sysadmin > System/Manager

    Please clear my doubt.

    Thanks and greetings

    pritesh Rodriguez



    I know not how to change the password application and sysadmin in the oracle application. but I have a doubt.

    What is required at the bottom of the application when you go to change applications and the sysadmin password in the oracle application.

    You must stop the services before you can change the password of user apps, and then run the automatic configuration after changing the password and eventually train services to the top.

    Stop down services or the AutoConfig running is not required for SYSADMIN (and other users of the application).

    Please suggest me what is the proper way to change the apps and the sysadmin password.

    to change the password for apps I followed the command below.

    FNDCPASS apps/apps 0 SYSTEM APPLSYS System/Manager

    for sysadmin

    FNDCPASS apps/apps 0 system/sysadmin USER Manager

    Please clear my doubt.

    What change Applications using the apps schema password change Utility (FNDCPASS or AFPASSWD) (Doc ID 437260.1)

    Loss of password SYSADMIN. How to know the password of the user SYSADMIN (Doc ID 1066661.1)

    Thank you

    Hussein


  • Change the application android version

    Hello!

    How to change an application android version in folio Builder? I need to update the application to v31 and I can't see the option.

    Thank you!

    You use the web app builder to http://appbuilder.digitalpublishing.acrobat.com/? If so then all you have to do is:

    (1) select your existing application from the list, and then click the button change

    2) click on the next button until you get to the last page and then click on submit

    This will rebuild your app and automatically upgrade to the latest version (v31.1)

    If you use the builder desktop client application to build a legacy application there is no rejection v31. We stopped updating the legacy Android Viewer after exit 29. You must rather build a new native Android Viewer using the link above.

    Neil

  • I give up: try to change the application with In App Purchase

    This should be a simple process and a procedure.

    I have a soft retail de.99 in iTunes.

    I tried to change it for a free download, the first 7 pages of preview free app, with an In App Purchase de.99 to see the rest of the application.

    Followed all these instructions to the letter:

    http://www.Adobe.com/devnet/digitalpublishingsuite/articles/free-article-Preview.html

    iTunes rejects IPA because they do not see the IPA after page 7.

    I have the first 7 pages of the application defined as free in the producer of folio and the rest are marked as protected. Update the folio with the Public status and free.

    I guess the problem is that I have the app at the price of encore.99 in iTunes, but if I change it for free while waiting for approval from Apple it generates hundreds of downloads a day, and I end up having to buy another package of folio. Not exactly ideal.

    I spent the weeks with iTunes/Apple trying to get DPI approved. It should be such a simple process/procedure, but at this point, I'm ready to give up and let it run out my folio number and my professional subscription to expire.

    Unless someone has any experience with this problem and can offer specific advice / solutions?

    Thank you!

    You should publish the folio as Public & Retail, fix the price to $0,99 in iTunes in-app purchase. Because you have activated a free for the first 7 items preview, if a user moves on the folio, they see the pre-release 'free' or 'buy' option. They then click on 'free preview' and reading the first 7 items and when they hit article 8, that's when they are asked to buy if they want to continue reading the rest of the items.

  • Change the application model Apex

    Apex version: 4.1
    I created an Apex application and work on that for the last few weeks. Is it possible to change the model of this app? can't do us something like the creation of another application by importing this app and change the pattern of the app during the import/installation process?

    Published by: Apex-EPA on December 1st, 2011 06:33

    Is it possible to change the model of this app?

    Modification of models is the normal task in the Apex:
    http://docs.Oracle.com/CD/E23903_01/doc/doc.41/e21674/ui_templt.htm#BABBFHJA

  • 500 error after changing the application CF9 Server account

    Hello

    I changed the user account in my 9 of the ColdFusion Application Server Service.

    After restarting the service I get the following error on every page of my applications:

    java.lang.NullPointerException

    at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:285)

    at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)

    at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)

    to jrunx.scheduler.ThreadPool$ DownstreamMetrics.invokeRunnable (ThreadPool.java:320)

    to jrunx.scheduler.ThreadPool$ ThreadThrottle.invokeRunnable (ThreadPool.java:428)

    to jrunx.scheduler.ThreadPool$ UpstreamMetrics.invokeRunnable (ThreadPool.java:266)

    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

    I use CF9 Standard Edition and Windows Server 2008.

    concerning

    Claudia

    Hi Claudia,.

    Is the CF app as service account have permissions of file system to the CFM files on the disk?

    HTH, Carl.

  • How to change the application background color dynamically

    Hi all

    In my project, I'm loading the user roles and rights-based mxml components. For each mxml component, I used different colors and displaying the component in the Center screen.

    as
    If the User Password [background color = blue] I'm component loading, managing partner
    If the seller [backgound color = green] = user I'm loading component related vendor and etc..,.

    My main.mxml application is background is different [default]
    When I insert the component it must reflect the color [change the background color] in main.mxml application. How can I achieve this

    I found the solution. ;)

    [code]
    private void LoadComponent(licensetype:String):void
    {
    var screen: UIComponent;
    switch (licensetype)
    {
    case 'Manager': / / Load Manager Component
    screen = new Manager();
    addChild (screen);
    this.setStyle('backgroundColor','#9E9A41');
    break;
    case 'Seller': / / load SellerComponent
    screen = new Seller();
    addChild (screen);
    this.setStyle('backgroundColor',"#408080");
    break;
    by default:
    default display screen with information
    break;
    }
    }
    [/ code]
    :)

  • Change the application theme

    Hello

    I have a request, and I use a special theme for this application.

    Now, I want to change this theme to another theme. How and where can I do this?

    Please suggest.
    Thank you.

    Hello

    Open your application in goto and APEX workspace

    Home > Application Builder > Application XXXXX > shared components > themes

    Here you can see the button for "Theme of the switch.

    Kind regards
    Hari

  • How to change the Application of the previous version to the new in Thinapp

    Hi Cievo,

    The upgrade of the application of the previous version to the new version. The name of the product is to be confirmed. I created the package already and I the last configuration.

    Help, please.

    Kind regards

    Santosh Dale

    There are several ways to update a package ThinApp.

    Please take a look here:

    A Guide for updating a ThinApp | VMware ThinApp Blog - Articles from VMware

Maybe you are looking for

  • want to 5540: can I leave my printer connected 24-7? Does go in mode "sleep"? I print every day!

    Can I leave my printer connected 24-7?  Does go to sleep mode?  I do not see every day or week necessarily!

  • How to remove the password in Windows Vista?

    Hello!Maybe someone can help me... I have a laptop - Satellite L300-11 q. Windows does not correctly load, and when I try to run the recovery it asks password administrator... But I never put this password. What should I do?

  • Satellite P100-239 - audio driver for Windows 7

    Hello I need support for the installation of driver audio for my Satellite P100-239. I tried different things but no one works. So I'm looking for a friend who give me a solution to fix my sound prob. I'm sure it's a hd audio to conneax. I can't Flas

  • CPU upgrade compaq presario sr511onx

    I need some info, I am doing an upgrade to the processor on a presario sr511onx.  IT has a single processor core in there now AMB athlon 64 3800 + 2.40 GHX. Here is the new processor I will install here is the link.http://www.outletpc.com/c1482.html.

  • Questions about Fuze &amp; memory cards

    I have a rocket 8 GB and I want to extend my memory with a memory card. I have absolutely no knowledge on bare with me memory cards. Is it true that I need the Micro SDHC memory card for my rocket? That is what do the adapter and do I need? What I ne