×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Feb 2013
    Location
    Madrid
    Posts
    84

    FullScreen app Nokia Asha

    Hi, I'm building an app for Nokia 501 Asha, with the SDK 1.0.

    My issue is, my app is in full screen mode but when I want to show a FormItem, and I want to show the OK command in the form item like a normal way (photo attached)



    To do that, I need to set off the full screen mode, but when the user will finish to use this datePicker I want that the app become to the full screen mode again, but It doesn't. It still in the not full screen mode.

    here is my code

    Code:
    datePicker = new DatePicker("DD MM YYYY", DatePicker.TYPE_PICKER_DD_MM_YYYY);
    
                datePicker.setDatePickerListener(new DatePickerListener() {
                    public void notifyDatePickerListener(DatePicker dp) {
                        item.setItemValueText(dp.getValue());
                    }
                });
    
                item = new FormItem("Selecione seu aniversário", datePicker.getValue(), false);
    
                item.setFormItemListener(new FormItemListener() {
                    public void notifyFormItemListener(FormItem fi, Component cmpnt, boolean bln) {
                        if (item.getItemText().equals("Selecione seu aniversário")) {
                            Display.getInstance().setForceFullScreen(false);
                            datePicker.show();
    
                        }
                    }
                });

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,567

    Re: FullScreen app Nokia Asha

    If there is a single "Display.getInstance().setForceFullScreen(false);" line in the code, why would it revert to "true" by itself? Without knowing the API in detail, I would attempt to put a "Display.getInstance().setForceFullScreen(true);" into notifyDatePickerListener.

  3. #3
    Registered User
    Join Date
    Feb 2013
    Location
    Madrid
    Posts
    84

    Re: FullScreen app Nokia Asha

    I need to revert it because if I don't use it, the Command ok showed in the date picker, is hidden, not showing like in the image

    I forget to tell that.

    I have tried to set a Display.getInstance().setForceFullScreen(true); in the notifyDatePickListener and the app doesn't come to full screen.

Similar Threads

  1. Nokia Asha 501 LWUIT (Asha SDK 1.0) setScrollable(false) not having an effect
    By Gureen.Ryuu in forum Mobile Java UI and User Experience
    Replies: 1
    Last Post: 2013-10-30, 11:14
  2. Replies: 0
    Last Post: 2013-09-22, 13:12
  3. Mail for exchange for nokia Asha 210 dual sim и Asha 501 dual sim
    By ttipsy in forum General Development Questions
    Replies: 2
    Last Post: 2013-07-26, 16:21
  4. How to set fullscreen wallpapers on Nokia E70?
    By darkangel2 in forum Streaming and Video
    Replies: 3
    Last Post: 2006-12-23, 06:46

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •