not able to get editfield on bitmap?

Hi all

I want the editfield be placed on the bitmap.i'll have a wallpaper on which I draw the roundedrectangle. I want the editfield cursor to place on it.

I add the editfield with custommanager. but do not get the cursor.

public class CustomLoginManager extends Manager
{
    private Bitmap _bit;

    Graphics graphics;

    public CustomLoginManager(Bitmap _new_loginbitmap, Bitmap _tabbar, int utht, int utwid,long style)
    {
        super(style);
        this._bit = _new_loginbitmap;
    }

    protected void paint(Graphics graphics)
    {
        graphics.drawBitmap(0, 0, _bit.getWidth(), _bit.getHeight(), _bit, 0, 0);

//some code

        graphics.setColor(Color.WHEAT);
        graphics.drawRoundRect(110, 120, 200, 30, 15, 15);
        graphics.fillRoundRect(110, 120, 200, 30, 15, 15);
    }

    protected void sublayout(int width, int height) //Width and height is of the device
    {
    Field field;
    int count = getFieldCount();
        int x = 0;
    int y = 0;

        System.out.println("Width "+width);
        System.out.println("Height "+height);

        for (int i = 0; i < count ; i++)
        {
            field = getField(i);

            switch (i)
            {
                /////some code
            case 4:
                layoutChild(field, field.getWidth(),field.getHeight());
                setPositionChild(field, 100, 125);
                break;

            default:
                break;
            }
        }
        setExtent(width, height);
    }
}

I add editfield like that...

    _username = new EditField();

CustomLoginManager customLoginManager = new CustomLoginManager(_new_loginbitmap,_tabbar,utht,utwid,Manager.NO_VERTICAL_SCROLL);

        customLoginManager.add(_username);

Why am I not able to do? any idea?

Hi all, I found the solution now. I just spent the

CustomLoginManager customLoginManager = new CustomLoginManager(_username,_password);

        customLoginManager.add(_username);
        customLoginManager.add(_password);

and then I put in the sublayout the following...

layoutChild(_user, 122, 30);
setPositionChild(field, 122, 125);
_user.setFocus();

but now I make me a problem when I move the cursor between the field of twoedit, it moves but not going to the button which is below? How can I achieve this navigation?

Tags: BlackBerry Developers

Similar Questions

  • I bought an iphone6.  I registered. On the apple's music. But I'm not able to get the free month trial subscription

    I bought an iphone6.  I registered. On the apple's music. But I'm not able to get the free month trial subscription

    What happens when you try?

  • Qosmio-F750-10N and Win8.1 - were not able to get the right BT drivers

    Hello

    Since upgrading my HARD drive and installing Windows 8 (.1), I was not able to get the right drivers for my Qosmio F750-10N Bluetooth.

    If I go through the section of drivers download site, the drop-down boxes of language and the region appear to be defective, so it shows me all the drivers.

    Tried to install a Toshiba Bluetooth stack generic but it doesn't seem to be able to recognize my Bluetooth device. Also tried to go through the Atheros website without much luck.

    Please could someone help or maybe post a link to a download mirror.

    Thank you very much.

    Hello

    First of all, it seems that the 8.1 win is not supported for Qosmio F750.
    So I might be difficult to operate BT

    However, AFAIK the Qosmio F750-10N was equipped with an Atheros AR9285 Wifi/BT card.

    This means that a single module shares the WiFi network and BT and you need to install the Atheros BT filter driver.
    Next to the BT filter installed, must install the driver of Toshiba system to win 8.1
    The pilot of this system must be installed before the filter of BT driver.

    But like I said: 8.1 win is not supported for this Qosmio unit and you won't find drivers Win 8.1 download section in the driver F750.

    But you should try the drivers released for the other, more recent Qosmio series; i.e. X 870

    Good luck

  • I'm not able to get the sound card drivers for a sony VAIO desktop computer

    I'm not able to get the audio drivers for a sony VAIO desktopPCV 2253 someone can help me get t for free

    Hello

    Check with the Sony Support, their drivers and documentation online and ask in their forums.

    Sony - Contacts
    http://eSupport.Sony.com/us/Perl/contact-land.pl

    Sony - drivers
    http://eSupport.Sony.com/Perl/select-System.pl

    Sony - Support
    http://eSupport.Sony.com/

    Sony - Forum
    https://Forum.sel.Sony.com/?XID=M:Showcase:eSupport

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • I need help with my Windows Media Center. I was not able to get any video on my Windows Media Center.

    original title: I need help with my Windows Media Center.

    I was not able to get any video on my Windows Media Center. How do I do that? I can put it on Facebook, but cannot get them on the Media Center. I'm ready to pull my hair out LOL

    Hello

    1. what exactly happens when you try to play any video on media center to Windows? Error message? If so, then post back the exact error message.
    2. were you able to play videos on Windows media center with no problems before?
    3. don't you make changes on the computer before this problem?
    4. are you able to play the videos on Windows media player?
    5 are supported by Windows media centerfiles?

    Answer to the above mentioned questions could help us help you better.

    The following article might be useful.
    Solve problems with DVDs and movies in Windows Media Center
    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-problems-with-DVDs-and-movies-in-Windows-Media-Center

  • I just bought a cordless desktop S 520 and hooked up to my counter top, I'm not able to get something going on the key board. all of the suggestions.

    I just bought a cordless desktop S 520 to my counter top. I am not able to get the keyboard to work.

    I just bought a cordless desktop S 520 to my counter top. I am not able to get the keyboard to work.

    Hey Gwendybee2709

    Download and read the link below logitech s520 keyboard manual

    If the troubleshooting it does not solve your problem there is a support link to contact you at logitech

    http://Logitech-en-AMR.custhelp.com/app/answers/detail/A_ID/10392/~/manuals-for-Cordless-Desktop-S520

    Walter, the time zone traveller

  • loopback connections: im trying to connect to limewire and im not able to get

    Im trying to connect to limewire and im not able to get, please help.

    http://www.limewire.com/support/

    And since you are engaging in the behavior at high risk of Informatics:

    http://www.elephantboycomputers.com/page2.html#Removing_Malware

    MS - MVP - Elephant Boy computers - don't panic!

  • I want to get only year sysdate with my name of the defined column. but not able to get it.

    I want to get only year sysdate with my name of the defined column. but not able to get it.

    SQL > select to_char (sysdate, 'yyyy') as 'mahesh tyagi' from dual;

    Mahé

    ----

    2015

    SQL > select to_char (sysdate, 'yy') as 'Manu' from dual;

    my

    --

    15

    So I couldn't do 'Manu' or "mahesh tyagi" as the column name.

    The column name is "mahesh tyagi" is simply displayed it shortened to sqlplus due to the known values in the column length.

    create table year_test select to_char (sysdate, 'yyyy') "mahesh tyagi" double;

    year_test / / DESC

    You can change the way sqlplus displays the header of column with something like

    column "mahesh tyagi" format a15

  • Why you're not able to get the new June 20th, 2016 updates on your creative cloud, if you are running Windows 7.

    Why you're not able to get the new June 20th, 2016 updates on your creative cloud, if you are running Windows 7.

    So I spent all day on this because Adobe did not anywhere that I could find it. But I'm hoping some of you to save a lot of time wasted... you can't upgrade to the latest version of the application if you have not all updates to Windows 7.


    If you're like me and do not want anything to do with the Windows updates... you may encounter the same problem. Summer/don't I am not at all interested in Windows 10 (who they are sneaking into regular updates) so I don't usually have enabled updates. If you don't... you cannot upgrade your program to the latest version. Creative cloud not even give the option.


    I think it's the Microsoft Visual C++ or something like that who needs update to run the latest version of the software... If you do not have it on your system, you do not install the new updates properly, but be careful not to download sneaky windows 10 "update." Know how it's called blindly here before update you.

    I hope that helps some of you save a whole day unnecessarily.

    Some programs on a win os to visual c ++ 2015, Download Visual C++ Redistributable for Visual Studio 2015 of official Microsoft Download Center

  • I'm not able to get updates from C C.

    I'm not able to get updates from C C. My last update was back with CC 2014.

    Office CC lists the applications as "up to date" when they are not

    -http://helpx.adobe.com/creative-cloud/kb/aam-lists-removed-apps-date.html

    - and added the step https://forums.adobe.com/thread/1529654

  • I downloaded acrobat adobe pro 11 but she isn't in the plans and products and so I'm not able to get my serial number

    I downloaded acrobat adobe pro 11 but she isn't in the plans and products and so I'm not able to get my serial number

    To the link below, click on the still need help? option in the blue box below and choose the option to chat (not usually available on weekends)...
    Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache.  If it fails to connect, try to use another browser.

    Serial number and activation support (non - CC) chat
    https://helpx.Adobe.com/contact.html?step=PHSP-PHXS_downloading-installing-setting-up_lice nsing-activation_stillNeedHelp

  • Not able to get the value of the type defined in the other program

    Hi all

    I have create a type in a single package spec (Globally), now I'm using the same type in another package. Simply I'm calling the first package and try to store the value in the Type and use the same type in the second package.

    But I'm not able to get the value

    Type declaration

    Declared in package Spec
    
    TYPE t_aa_derive_tbl_type IS TABLE OF xxxx%ROWTYPE;
       t_aa_derive t_aa_derive_tbl_type;
    

    Package 1

    Package1. PROCEDURE name(
    some parameters);
    is
    Cursor
    c1 is Select * from dual;
    
    begin
          OPEN c_aa_derive;
            FETCH c_aa_derive
            BULK COLLECT INTO t_aa_derive;
            CLOSE c_aa_derive;
           
         END get_aa_derive;
    

    In my second package

    I'll call you

    Package1. PROCEDURE name(
    some parameters);
    
    and then i am trying to
    
    for i in 1 .. package1.t_aa_derive.COUNT
      LOOP
    
    ....
    
    ....
    ...
    
    end loop;
    

    I can not entered the loop for some reason any.

    Could someone guide me if anything I missed.

    See you soon,.

    San

    And what did you like refcursor c_aa_derive in the call to package1.name? Is it returns all rows? If this isn't the case, COUNT will be 0.

    SY.

  • Not able to get the page bean object bar button in the extended controller

    Hi all

    I'm not able to get the bean button object in my page. But I'm not able to get the buttonbar descriptor itself. any idea?

    Structure of the page is:

    PageLayout - having not controller
    -buttonbar
    -button1
    -submitbutton2
    -regiion1(stack layout)-controller assigned (seededCO)

    I extend the seededCO and I'm trying to get the handle of bean button1 by the following code.

    OAPageButtonBarBean pbb = (OAPageButtonBarBean) webBean.findIndexedChildRecursive ("buttonBar");
    if(PBB!=null)
    {
    System.out.println ("PBB" + PBB);
    BB = (OAButtonBean) pbb.findIndexedChildRecursive ("button1");
    }

    Hello

    Try like this,
    Import oracle.apps.fnd.framework.webui.beans.nav.OAPageButtonBarBean;
    Import oracle.apps.fnd.framework.webui.beans.nav.OAButtonBean;

    PBar = OAPageButtonBarBean
    (OAPageButtonBarBean) pageContext.getPageLayoutBean () .getPageButtons ();
    OAButtonBean = ctButton
    (OAButtonBean) pBar.findIndexedChildRecursive ("YourRequiredButtonName");

    Thank you

    With respect,
    Kali.
    OSSi.

  • Integration of EBS-Apex - not able to get cookies in the shape of apex

    Hello

    I'm trying to connect shapes apex with E-Business Suite.

    I wrote the following code in the PL/SQL called by the function of the form:

    -------------
    OWA_UTIL.mime_header (' text/html', false);
    OWA_COOKIE. Send
    (name = > 'APEX_APPS_': application,)
    value = > FND_GLOBAL.user_name |': ' | apex_generate_hash (FND_GLOBAL.user_name),
    path = > ' / '.
    );

    OWA_UTIL. REDIRECT_URL ("http://xxxxxxxx:xxxx / bus/apex/f?") p ='|| request: ': ' | page: ': ' | Re

    Quest: ': ' | item_names |': ' | item_values);

    ----------------

    Then I wrote this piece of code to read the cookie "before the process" section of the APEX

    page I called above:

    ---------------
    DECLARE
    c OWA_COOKIE.cookie;
    a wwv_flow_global.vc_arr2;
    BEGIN
    c: = OWA_COOKIE.get('APEX_APPS_'||:APP_ID);
    a: = htmldb_util.string_to_table (c.vals (1));
    .
    .

    -------------

    This results is NO_DATA_FOUND which means I'm not able to get the cookie.

    I've checked and matched cookie APEX_APPS_ < ID app > name in both places.

    Can someone help me please? Why I am not able to get the cookie in the form of the apex?

    Thank you.

    : FSP_AFTER_LOGIN_URL: = 'http://xxxxxx.xxxx.com:7779 / bus/apex/f? p = 103:21 :'||: APP_SESSION |': & ptrace = YES;

    There should be no previous colon & ptrace = YES.

    The first two of them:

    insert into temp12345 values (' session id ' | wwv_flow_custom_auth_std.get_session_id_from_cookie);
    insert into temp12345 values ('username' | wwv_flow_custom_auth_std.get_UserName);

    You have not authenticated, and yet, there is no cookie, where a session or a username can be obtained.

    P_FLOW_PAGE =>: APP_ID | ": 21' |': & ptrace = 'YES);

    You cannot use & ptrace here.

    The next two years:

    insert into temp12345 values (' session id ' | wwv_flow_custom_auth_std.get_session_id_from_cookie);
    insert into temp12345 values ('username' | wwv_flow_custom_auth_std.get_UserName);

    The cookie is sent to the browser to the login procedure. You can not access a cookie sent in an HTTP request in the same HTTP request. You will be able to access the next page, after the redirect to the login page after termination.

    Scott

  • Because getting an email that recurs every 5 minutes, we were not able to get the new email, even from block the bad email.

    An email was sent to our account from an iPhone; the e-mail contained two photos. For the next two days, that E-mail reproduces itself in our Inbox (with the same time/date) more than two hundred times... like every 8 minutes. I have blocked using the object, and those still in the Inbox disappeared. (We were constantly moving them to the trash). A computer guru suggested I unlock now, and he has not returned. However, because the e-mail arrived Wednesday morning we have not been able to get new emails. They appear on in Yahoo email, but nothing will come by Thunderbird. (Get new emails seems to be "stuck"). Our Norton account has done many tests, and that did not help. Can someone help us get our email back to normal? Moreover, the same email/photos were sent to two other people of the same phone I, and they had no problem at all with him.

    Menu help > troubleshooting information.

    Please copy to the Clipboard and paste the information into a message here so your settings can be checked.

    Connect to your e-mail account using a browser (webmail ;) and delete the e-mail following undownloaded (in case it is corrupted))

Maybe you are looking for