Screen is mandatory in the BlackBerry applications?

Currently I have 2 screens using almost the same features and I would rather extract a common logic in a base class, but they range from RIM different UI classes: screen and full screen. Cause of there is no multiple inheritance in java I can't understand how to do this unless both range from full screen. Then arises the question says in the title. I tested with 4.2 Simulator and it works well without the screen, but I'm not sure for every OS out there. Anyone know?

What do you mean by "no screen"? If you are using only full screen: sure. If it's a uiapplication, you should at least use a screen.

If you do not want to have this constraint, you can use application, but you do UI, if any, using global screens.

Tags: BlackBerry Developers

Similar Questions

  • How to get the active screen of the BlackBerry application?

    Hello

    I'm trying to get the active screen of the BlackBerry application, for example the home menu.

    I tried to use the screen ActiveScreen = getUiEngine () .getActiveScreen () in my code, but found error during execution.

    I know that this is because the getActiveScreen() method applies only for screens created by this application.

    So is there a way to capture the screen of the other application, for example the mail filter BlcackBerry?

    Thank you.

    Not wanting to not to repeat me, but there is no general way to get access to the Screen of another application object, unless you are on good terms with this application - which basically means that you have access to the instance UiApplication.  You cannot ask the operating system to get that to you, you must have a way to get you.  Which implies execution of something in the context of the Application.

    Even in this case, you may not be able to do what you want.  You will probably need to iterate over the screen and content managers and find the field you want, and even if it covers anything you understand (like BasicEditField) it still cannot handle standard things like setText in a way that is useful to you.  And you might not find fields you recognize, if you access a browser screen, I think you'll find there \are RIM not standard fields in there, so there is nothing you can interact from a standard application of the RIM.

    If you want to do this kind of treatment in General, that will deal with in a number of applications, you should watch event Injection.

    There may be other options for specific applications.  For example, you can simulate of electronic mail by writing a program that sends an email, rather than interact with the BlackBerry.  Or for the same application, if you try to test the headphones, then the listener has access to the UiApplication.  Aye, we be able to help you find approaches less General in some places, if we understand what you're trying to do.  This is the reason for the specific question that I asked in my last post.

    Regarding your second question

    "Another question is, can two separate applications of myself interaction by the user interface?

    For example, to call app2. ButtonField.click () or something. »

    It is in fact just an extension to your first question.  The difference is that you will find the UiApplication associated if both applications are on good terms, in fact you can "spend" the UiApplication via a Global event.  Once you have the UiApplication, you can use

    .invokeLater (...)

    to run the user interface code in the other Application.

    But I look at injector event because I think it might be a more general solution.

  • Tracing session for the BlackBerry Application using J2ME

    I'm new to the BlackBerry Application development, I have a list of data in a table, if I click on one of these lines, the data selected line should display in the next screen, in the respective text boxes.

    Ex: in the first screen data in tabular form of lines like:

    S. n name Emp ID email ID

       Murali 111 [email protected] 1

    Ravi 2 222 [email protected]

    If I click on the first line, the data should bring to the screen following and who should appear as below format:

    Name: Murali (name is Lable Field and data area is the text field)

    EMP ID: 111

    E-mail: [email protected]

    Can someone help by sending the code example:

    Thank you

    Murali.

    Well, until when you have reached.

  • error in updating the BlackBerry application

    Portal provider gives me an error, when I try to download the new version of the blackberry application. Please see the full error message given below.

    ("BAR file ('GacDirectory - 1_0_0_4.bar)") was rejected. The BAR ("gYABgJ0Jom3WzADM0b1yBmjVa20") package ID does not match ID of the application ("gYABgIm1QEDmkg7Fk2PIbALvRcA") Package. »

    little research, I just understand that my song of code blackberry key is different from the old as well as certificate of author. application support native blackberry API level 10.1 +.

    These old code signing key and certificate are no longer available and development environment (computer) has also been changed.

    However, I have access to the supplier portal and I can generate the new file bbid (csk). I am in a terrible situation, help me please update the new version of the application.

    Application name: GacDirectory

    Vendor ID: 36071891

    If you have more code access keys to sign your signature request, you can contact the BlackBerry World of the vendor management support to clear the flag of your application ID, allowing you to update your application.  However, note that if you do this your upgrade of the application appears as a new separate downloading BlackBerry World application.

  • How to get out of the Blackberry Application properly

    Hello

    I developed an application of black berries that let the user recover its information of production line in the blackberry screen. The question is what user to run this 2 or 3 times the stuck phone application. It works very well that if there remove the battery and restart the phone. If the user run my application again, it happens again.

    I used this method to close my application

    public boolean onClose()
    {
    System.Exit (0);
    Returns true;
    }

    Is their a way to do this? Please explain to me what kind of error has my program.

    Thank you very much.

    Prasad.

    Hi Prasad,

    Try this.

    public boolean onClose()
    {
        setDirty(false);
        return super.onClose();
    
    }
    

    TNX.

  • Firewall and the blackberry application incompatible behavior

    I have problems with the deployed application and the blackberry firewall.

    The application uses any no API 'secured '.

    On the BlackBerry, this app generates a warning whenever it attempts to open a connection file and whenever it opens a web connection.

    However, we noticed that when we ACTIVATE the blackberry on the device firewall, gain of warning messages a checkbox to permenantly overlook the warnings.

    We decided to deploy the application as well as instructions on the activation of the firewall.

    Here comes inconsistency. Some users report that they see absolutely no problems while others say that the firewall is shaken other applications on their devices. Finally, some users are telling us, the application does not launch. Nothing... size of firewall configuration.

    It is deployed on blackberry:

    various models of curve

    tour

    Storm 1 & 2

    various models of pearls

    I found no good documentation on the blackberry firewall, API permissions, or warning messages that my application get boring.

    The application is not signed.

    I don't want to pay for the signing key, unless them are guaranteed to solve problems.

    Signature of the request will eliminate the constant harranging.

    You should get a single guest with "do not ask me this again" checkbox.

  • BlackBerry smartphone screen turns black in the Blackberry Bold 9900, but everything else, keys, touchpad screen and keyboard still works.

    It is a problem, I think that many have known, but there is no real solution to the problem. However, initially all of a sudden phone has begun to show an error (can't remember not exactly what, but something related to something does not turn) and the screen locked with constantly showing loading circling constantly clock and the narrowing of the battery quickly. what I've done; Hold the alt + right shift + del (twice) to restart the phone. Restarting the phone, the screen turns black (which indicates there is neither power or the screen itself issue and it's just a matter of graphics functionality). The phone restarts you black screen, the phone clearly charged the software couple received messages (indicating the phone works and the network also works). The phone rings again and the touchpad works if you know by heart, keyboard and the short keys for speed dial works (which means that yo can call), but the screen turned black. I think it's graphic material rather software number. I tried to do all sorts of stuff and things, did not work. Finally, I decided to restore the Blackberry software (running the latest version 7.1) so I plugged it in to the computer and run terminal BlackBerry Desktop to perform an update failed with this error: "an error occurred when downloading the BlackBerry® Desktop software. Please try again. "and offered to launch the"regsvr32 ole32.dll"in order to connect to the Blackberry server to do the update. tried, restarted my PC, plug the unit again removing battery, replacement and tried again, keep showing the same error. I tried all the advice forums, youtube videos and even troubleshooting I contacted Microsoft (running windows 7 64-bit), server connection module installed and works perfectly still having the same problem.

    I hope that blackberry had a clear answer to these questions and have someone in the customer service who can solve the problem instead referring users to the forum!

    Anyone who had experienced the same problem and found a solution, please respond. your help would be much appreciated.

    Thank you.

    The GPU is integrated into the cpu, so the phone would not ring or the touchpad does not work. It is possible that the phone fell or anything that could cause the connections on the motherboard to disconnect, I gave up my 9930 and causes the connector unplugs. Would you feel comfortable taking apart? It's easy, I think you could look up how do on YouTube. I could help you if you are on Central time or Pacific.

  • Urgent! How to release the updated version of the Blackberry application on the world of BB

    Hello

    I want to release the second version of the blackberry app. Should I even signed key file which I registered first app version. I missed these signed files, now, I downloaded the new keystore signed. Now can I release the second version of the Blackberry app after sign the app with different sign files

    Thanks in advance.

    Kind regards

    Edit: see post below

  • for some reason, I lost the ability to my home screen to display in the landscape (application icons).  Is there a setting somewhere to restore it?

    I can't my home screen of application icons to rotate for landscape longer.  Is there a setting somewhere that I could have messed up is that?

    The iPhone Home screen does not rotate to landscape.

  • Can we use JNI (Java Native Interface) approach in the Blackberry applications?

    Hello

    Someone help me find if we use the JNI (Java Native Interface) approach in applications Blackberry JDE version 4, 5?

    of course, use logic and rewrite in java. the actual coding usually takes only a small amount of development time, if you have a proper design.

  • How to check the availability of the Blackberry applications

    Hello

    I want to check the application of black berrymaps is available or before calling in my application, please help me how do to the avalability of the application...

    Here's how to check for BB Maps, don't know where I got this code from:

    try {}
    mapsLocationPicker = MapsLocationPicker.getInstance ();
    Currently

    } catch (IllegalStateException ise) {}
    There is no
    }

    BTW, how you progress in this thread?

    http://supportforums.BlackBerry.com/T5/Java-development/problem-when-i-am-calling-device-application...

  • The price of the blackberry application

    Hi all

    I have a question. Can I set the price of blackberry app or it is fixed by blackberry?

    Thank you.

    Yes, you can choose a price level. There are several to choose. Each level has a fixed cost in local currency of each region. If you can not choose the exact price to the penny, but you can choose a relative pricing level.

  • can we have more than 1 object persisted in the blackberry application

    Hi all

    I am a beginner to the notion of persistent object please can I know if may be have more than on an object for an application,

    as in the concept of RMS us would create more RMS 1: an application with a different name, so in the same way that we will be able to cretae an object persistent dfferent here?

    If so,.

    I want to store in the object persistent 1

    name string

    telephoneNumber-string

    In object persistent 2 I want to store the data: -.

    long date

    selected index - int (0-male, female-1)

    Like this

    How can I achieve this?

    Please help me

    Concerning

    Adkins

    Divya Hi, I hv debug your code. You hv not initialized the field separator and it added directly.

    mainScreen.add (seven);                Here, you have found the exception.

  • Dealing with problem of the blackberry application database?

    I created a database for an application like this

    Var myURI = URI.create("file:///SDCard/myDB.db");

    Now, I have a problem of creating tables and inserting data into them, whenever I have this error

    SQL logic or missing database error

    I think the problem that bored to the point of the database to use, if anyone can help?

    Thank you so much everyone, but I solved it myself, as it was an order from the error code.

  • development tool for the blackberry application user interface

    Hello

    I have recently started the development of blackberry and I have good experience for other mobile platforms.

    For UI design, I couldn't find any tool. Is there a tool available to design the UI drag-and - drop controls. or I have to create all the item the user by writing code.

    Please, share your ideas with me.

    Thank you

    Aktaion.

    Hello

    Guidelines

Maybe you are looking for

  • I am Kuwait qnd want to send an iphone 6 s to my dqughter to the United Kingdom

    Hi good evening dear friends. I am an Indian national and resident at the Kuwait. You want to buy and send an iphone 6 s to my daughter in the United Kingdom. Is it possible for me to purchase with my credit card of the Kuwait. Thks for your time. Be

  • Where can I buy for the United Kingdom?

    I need to buy this upgrade, 10.7 Lion or 10.8 Mountain Lion, but the link gave me usually accept a UK address. There is only a link to a UK based site that will allow a UK address?

  • signal analysis

    Hello users of Labview,. I have a vi that records mass gains based on time. The problem I have is that I want the time on the x-axis in seconds but somehow the vi records the data quickly and time is certainly not seconds. It is not more milliseconds

  • Hard drive G62 during hard drive test failure

    I get the following error; U0F671-5G96HB-XD002K-60XT03, when I run the hard drive test.  This means that the hard drive needs to be replaced?  Thanks in advance for your help. Sam

  • Cannot install update error/kb2653956 8e5e0147

    I cann not install update KB2653956 (all other updates are successful).  Several times, it fails with the error message 8e5e0147.  I have Vista and IE9. I tried the MicroFixit option and then downloaded the tool to update with no result. What should