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 931183
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T20:27:34+00:00 2026-05-15T20:27:34+00:00

i have extend a uiapplication for user interface,in which i will take a date

  • 0

i have extend a uiapplication for user interface,in which i will take a date on which i schedule a task.
and i extend another base class application for running background process which will check the date and execute desired operation.
but these both are base class so i want to synchronize them..
and don’t know how to synchronize base class..
plz help mee..

  • 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-05-15T20:27:35+00:00Added an answer on May 15, 2026 at 8:27 pm

    First, and I know it is a fine point but programming is all about fine points, you don’t synchronize on Classes, you sychronize on Objects (which are instances of Classes).

    On Blackberry you can use standard Java sychronization techniques, synchronized methods:

    public synchronized void mySynchronizedMethod() {
       // synchronized code
    }
    

    and synchronized blocks:

    public void myMethod() {
       //code
       syncrhonized(someObject) {
          // synchronized code
       }
       // code
    }
    

    You can also use a specific object to synchronize with the event thread and have your code run on the event thread which allows serialized access to the UI:

    public void myMethod() {
       //code
       syncrhonized(UiApplication.getEventLock()) {
          // synchronized code
       }
       // code
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Ball class which I want to have extend JComponent and implement
I have a Customer class which has all the account info.(it does NOT extend
I have class that extend FragmentActivity in it I add fragment to layout as
I have the capability to extend a class at compile time, but I need
I have a base model that I extend from. In it, I have defined
I have a class PlaylistTrack that I want to extend class Song. When I
I have a Blackberry application which, when run in some emulators with touch support
I have AsyncTask extend class I want to display progress dialoge so I use
I have to extend an existing applet by adding it the ability to write
I have to extend an OpenGL-Rendering system to support international characters (especially Hebrew, Arabic

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.