×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Nokia Developer Champion
    Join Date
    Nov 2012
    Location
    Karachi
    Posts
    89

    Accelerometer Game - QA Failed

    I have developed a Sensor based Accelerometer Game.
    The Game is getting Failed for ASHA 240by400 (Asha 311,310 etc) Devices and ASHA 501 again and again.

    ASHA 501:
    For ASHA 501, The Game asks for Sensor Permission at the begining and Displays the Message if Permission is Not given, but QA teams thinks this is an error.

    Failed QA.
    SUMMARY: The application does not work properly.
    STEPS TO REPRODUCE:
    1. Download the application.
    2. Launch the application.
    ACTUAL RESULT: The application cannot be launched, a message 'This app needs sensors for the gameplay. please re-open the app...' is always displayed.
    EXPECTED RESULT: The application is properly launched and no error message is displayed.
    AFFECTED DEVICES: Nokia 501 firmware: 10.0.2.
    FREQUENCY REPRODUCED: 100%.


    ASHA 240by400 Devices:
    I am playing the game on my ASHA 310 and 311 and I dont see any type of this error. I am confused

    Failed QA.
    SUMMARY: The application crashes unexpectedly after touching the screen.
    STEPS TO REPRODUCE:
    1. Download and install the application.
    2. Launch the application.
    3. Select 'PLAY' option and Tap to play.
    ACTUAL RESULT: The application crashes unexpectedly after touching the screen with error message 'Application error' (Details: Null Pointer java/lang/NullPointerException)
    EXPECTED RESULT: Application functions well. All features are accessible.
    AFFECTED DEVICES: All devices.
    FREQUENCY REPRODUCED: 100%.
    CORRECTIVE ACTIONS (If content is Java): Please check that MIDlet-Permission: or MIDlet-Permission-Opt: is defined in JAD file / Manifest. If your application is using a protected API, these permissions need to be defined. For more information on 'Packaging and Signing your content', please go to the following link for assistance: http://www.developer.nokia.com/Resou...let-suite.html and read the chapter 'Requesting permissions for the MIDlet Suite' with care.
    For more information regarding application crashing or closing unexpextedly, please see http://www.developer.nokia.com/Resou...xpectedly.html
    Shayan Rais (0344-2621149)
    Undergraduate - Computer & Information Systems Engineer (NED University)

    Facebook : https://www.facebook.com/messdevelopers
    Twitter : https://twitter.com/messdevelopers

  2. #2
    Registered User
    Join Date
    May 2009
    Location
    Guatemala
    Posts
    186

    Re: Accelerometer Game - QA Failed

    Have you tried to run the game on devices other than yours? (RDA could help you on that)
    -CarlosDL

  3. #3
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,689

    Re: Accelerometer Game - QA Failed

    For the first one the tester probably expects a longer description how to enable sensors on the device and/or for the application. Have you checked the code with an actual device?
    While http://developer.nokia.com/Resources...ent-notes.html says everything is open, http://developer.nokia.com/Resources...appendixB.html says that things may be protected, may have these "not allowed"-"always allowed"-"ask first time"-"ask every time" settings. I do not know the Nokia Asha 501, but if there is a setting, and it is "not allowed", the game will not ask anything, just display the please restart message.

    For the second one: if it is possible, try testing the code with a clean, freshly formatted device.

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

    Re: Accelerometer Game - QA Failed

    Have you added the relevant sensor related permissions for the app in the project settings ?

  5. #5
    Nokia Developer Champion
    Join Date
    Nov 2012
    Location
    Karachi
    Posts
    89

    Re: Accelerometer Game - QA Failed

    For ASHA 501

    I have tried to use all the API Permissions

    * javax.microedition.sensor.PrivateSensor
    * javax.microedition.sensor.ProtectedSensor
    * javax.microedition.io.Connector.sensor

    My App just uses basic Mobile Sensor API that is Accelerometer, and I dont know which API permission should I use.
    By using these 3 permissions, The App still Ask on Opening,

    Dual Pong wants to open a sensor Connection. I it Ok?
    Ask once per app use
    *Yes
    *No


    On submitting the with with API Permission, the QA response

    Dear publisher,

    While processing your app, we encountered an issue: Unsupported API.
    SUMMARY: javax.microedition.sensor.PrivateSensor and javax.microedition.sensor.ProtectedSensor is not supported by Nokia Ovi Store or it does not need the permission.

    For list of supported (those which needs permissions) APIs, see: http://www.developer.nokia.com/Resou...d-methods.html

    Not all the devices support all the APIs. You can check for the support for particular Nokia device here: http://www.developer.nokia.com/Devic...pecifications/

    CORRECTIVE ACTIONS: Please test and correct the use of APIs in our application.
    QA failed.
    Shayan Rais (0344-2621149)
    Undergraduate - Computer & Information Systems Engineer (NED University)

    Facebook : https://www.facebook.com/messdevelopers
    Twitter : https://twitter.com/messdevelopers

  6. #6
    Registered User
    Join Date
    May 2009
    Location
    Guatemala
    Posts
    186

    Re: Accelerometer Game - QA Failed

    It could be a good idea to try the publishing support chat as well.

    You can access it from here: Publishing your app (scroll down to the bottom of the page).
    -CarlosDL

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

    Re: Accelerometer Game - QA Failed

    Well first of all QA is correct in saying that the following permission you added doesnt exists javax.microedition.sensor.PrivateSensor and javax.microedition.sensor.ProtectedSensor

    The only sensor based permission you need to add to your Jad file is: javax.microedition.io.Connector.sensor

    If the reason for the failure was indeed the missing permission it would confirm the behaviour that it works on your phone and not in QA because you are testing an unsigned version and they are testing a signed version.

  8. #8
    Nokia Developer Champion
    Join Date
    Nov 2012
    Location
    Karachi
    Posts
    89

    Re: Accelerometer Game - QA Failed

    Quote Originally Posted by shai.i View Post
    Well first of all QA is correct in saying that the following permission you added doesnt exists javax.microedition.sensor.PrivateSensor and javax.microedition.sensor.ProtectedSensor

    The only sensor based permission you need to add to your Jad file is: javax.microedition.io.Connector.sensor

    If the reason for the failure was indeed the missing permission it would confirm the behaviour that it works on your phone and not in QA because you are testing an unsigned version and they are testing a signed version.
    Okay I have added the permission.

    But a/c 2 second QA they mean that,

    ACTUAL RESULT: The application cannot be launched, a message 'This app needs sensors for the gameplay. please re-open the app...' is always displayed.
    EXPECTED RESULT: The application is properly launched and no error message is displayed.


    I am displaying this error message when User Click 'No' on Sensor permission!

    I mean, what should I suppose to do!
    Last edited by Shayan Rais; 2013-09-09 at 18:50.
    Shayan Rais (0344-2621149)
    Undergraduate - Computer & Information Systems Engineer (NED University)

    Facebook : https://www.facebook.com/messdevelopers
    Twitter : https://twitter.com/messdevelopers

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

    Re: Accelerometer Game - QA Failed

    i can tell u that its probably not that the QA pressed No, but rather because of the lack of correct permission.
    did you catch Exception or SecurityException around the sensor channel oppening?

Similar Threads

  1. J2ME ACCELEROMETER GAME - Phone Lock Problem
    By Shayan Rais in forum Mobile Java General
    Replies: 2
    Last Post: 2013-07-21, 10:33
  2. How to keep About and Help options in Java ME game App as my App/game's Qa failed
    By SKUMAR in forum Mobile Java UI and User Experience
    Replies: 14
    Last Post: 2013-07-10, 18:03
  3. Replies: 3
    Last Post: 2010-11-22, 12:12
  4. QA failed: game N95 landscape not available
    By Lunaforte in forum [Closed] Publishing to Nokia Store
    Replies: 5
    Last Post: 2009-08-03, 23:21
  5. nokia 6630 and JABWT: authorisation failed (authorization failed)
    By activetools in forum Mobile Java Networking & Messaging & Security
    Replies: 7
    Last Post: 2006-06-30, 08:15

Posting Permissions

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