Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7835021
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T13:26:46+00:00 2026-06-02T13:26:46+00:00

I am working with 2 resolutions one touchScreen and other Non- touch i have

  • 0

I am working with 2 resolutions one touchScreen and other Non- touch

i have designed a Screen which has 10 custombuttons are added to a VerticalFieldManager
The CustomButtonField class extends Field class

i have used 2 methods fieldChange() and touchEvent() for touchScreens
the problem is whenever i do click on button it gets activated correctly for touchevent()
but then the fieldChange() method also gets called immediately afterwards

what should i do??
what’s the problem ??

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T13:26:48+00:00Added an answer on June 2, 2026 at 1:26 pm

    Check the answers of the question BlackBerry touchEvent outside Field triggers fieldChanged provided by Paul Sylliboy and Arhimed.

    In those answers, there was a method which only updates a boolean variable to identify that a touch event occured, and based on the value of that boolean an action is executed on the fieldChanged or navigationClick method.

    BB UI Framework calls navigationClick(int status, int time)
    automatically if there is any touch event after execution of
    protected boolean touchEvent(TouchEvent message). And
    navigationClick(int status, int time) calls the method
    fieldChangeNotify(0) which causes fieldChange() (in the question)
    or public void fieldChanged(Field field, int context) to be called.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Working in Scala-IDE, I have a Java library, in which one of the methods
I am working on an iPad app, and one of the features that has
I have a working RTD Excel automation add-in similar to the one described here
I have a Subversion working copy with at least one missing file (the local
working on xcode I realized that if I create a non-void method, I call
Working on a multi-tenant app where most of my models will have a tenant_id
I'm working on a site that's supposed to scale fluently down to low resolutions,
I'm working on a website that has a header that stretches all the way
I am working on one component where I need to scale and rotate image.
I'm working a program which renders a dynamic high resolution voxel landscape. Currently I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.