×

Discussion Board

Results 1 to 12 of 12
  1. #1
    Registered User
    Join Date
    Sep 2013
    Posts
    3

    Nokia Asha 501 Back key issue

    Hi. I am developing an app for Nokia Asha 501 using LWUIT. I have set Form.setBackCommand(back), but pressing the physical back key still gives me the exit pop up. Please let me know if I am missing something.

  2. #2
    Nokia Developer Champion
    Join Date
    Mar 2013
    Posts
    685

    Re: Nokia Asha 501 Back key issue

    Did you also set the form command listener?
    is your Form full screen mode or not? if ur using full screen mode then switch to not full screen mode.

  3. #3
    Registered User
    Join Date
    Sep 2013
    Posts
    3

    Re: Nokia Asha 501 Back key issue

    Yes, I have set the form command listener. I have tried in both the full screen and non full screen modes, the exit pop up still shows.

  4. #4
    Nokia Developer Champion
    Join Date
    Mar 2013
    Posts
    685

    Re: Nokia Asha 501 Back key issue

    Are you using the new Asha SDK and the LWUIT library that came with it?

  5. #5
    Regular Contributor
    Join Date
    Mar 2005
    Location
    Hamburg, Germany
    Posts
    283

    Re: Nokia Asha 501 Back key issue

    I have also this problem. I have a LWUIT-App that was working with Symbian, including the commands.
    So the command handling should work.
    I switched to ASHA-SDK-LWUIT-Lib.
    Now I added the setBackCommand() method. But the back-key still want to close the app.

  6. #6
    Registered User
    Join Date
    Sep 2013
    Posts
    3

    Re: Nokia Asha 501 Back key issue

    The setBackCommand() works when I use the Asha 1.0 SDK and its LWUIT library.
    Thanks!

  7. #7
    Regular Contributor
    Join Date
    Mar 2005
    Location
    Hamburg, Germany
    Posts
    283

    Re: Nokia Asha 501 Back key issue

    It worked after I removed my old code:

    Code:
    Display.getInstance().setCommandBehavior(Display.COMMAND_BEHAVIOR_TOUCH_MENU);
    or add instead:

    Code:
    Display.getInstance().setCommandBehavior(Display.COMMAND_BEHAVIOR_NATIVE);
    Regards

    Karsten Meier

  8. #8
    Registered User
    Join Date
    Oct 2013
    Posts
    5

    Re: Nokia Asha 501 Back key issue

    Hi,

    I had developed apps for Asha 501 device.I had implemented all the basic code for the hardware back button functionality.The application is running fine on my sdk and handset i.e the back button works as a back throughout the application except on landing page.

    but when we upload the build, every time we are getting the same following response from QA:
    "ACTUAL RESULT: The Back button works only as exit when trying to return to the previous screen".

    Also,we had also some live apps on ovi store for Asha 501 device with the same basic code but now suddenly you guys start rejecting the apps with above mentioned error.Please suggest how to fix this issue.

    Thanks and Regards:
    Sheenam Goyal | Software Developer
    TPF Technologies Pvt. Ltd., Noida.

  9. #9
    Regular Contributor
    Join Date
    Dec 2012
    Location
    India
    Posts
    271

    Re: Nokia Asha 501 Back key issue

    Check your app in a real device.Try RDA if you donot have a device.

    If you are absolutly sure that the app is fine, then drop a mail to developer.support@nokia.com and inform them about this .

  10. #10
    Registered User
    Join Date
    Oct 2013
    Posts
    5

    Re: Nokia Asha 501 Back key issue

    Thanks for your reply.

    Now I had again tested the app on a real device.If we are pressing or tapping once the hardware back button, the app is moving to the back screen, but if we are pressing long the hardware back button,then it asks to close the app.

    Can you please guide me how to fix this?
    Last edited by sheenam_goyal; 2013-10-18 at 09:48.

  11. #11
    Registered User
    Join Date
    Mar 2003
    Posts
    4,105

    Re: Nokia Asha 501 Back key issue

    Quote Originally Posted by sheenam_goyal View Post
    if we are pressing long the hardware back button, then it asks to close the app.
    I tried a lot and could not find a fix. Similar with that swipe-to-close gesture. If anyone has an idea, more than welcome because I think elderly people might ‘hit’ this double-feature-at-one-key issue quite easily.

  12. #12
    Registered User
    Join Date
    Mar 2013
    Location
    Nasik, India
    Posts
    21

    Re: Nokia Asha 501 Back key issue

    Hello sheenam,

    I have also experience random QA behavior of Nokia QA. Just drop a mail to developer.support@nokia.com and inform them below things.

    1) App flow after pressing back key.
    2) Attaching a video of app demo will really help you.

    On request Nokia QA can check the app on priority and publish it at earliest if everything is in place.

Similar Threads

  1. How to catch Asha 501 Back button in LWUIT?
    By mikkori in forum Mobile Java UI and User Experience
    Replies: 3
    Last Post: 2013-12-17, 10:31
  2. Image rendering issue on Nokia 311 asha s40
    By umairabbas in forum Mobile Java General
    Replies: 6
    Last Post: 2013-08-06, 10:28
  3. Nokia Asha 501 Emulator - jar size issue
    By Giorg189 in forum Mobile Java Tools & SDKs
    Replies: 4
    Last Post: 2013-07-16, 18:13
  4. Back Button In Nokia Asha
    By manikandan12 in forum Nokia Asha Web Apps
    Replies: 1
    Last Post: 2013-05-20, 16:42

Posting Permissions

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