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

  • Home
  • SEARCH
  • 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 453443
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T22:10:22+00:00 2026-05-12T22:10:22+00:00

In my balckberry application i am using the Persistance,List and Threads to execute the

  • 0

In my balckberry application i am using the Persistance,List and Threads to execute the code.
The code is given below:

enter code here

UiApplication.getUiApplication().invokeLater(new Runnable(){

                                public void run(){

              CategoryListScreen.getInstance(

              UiApplication.getUiApplication())

                    .setCategoryListContent();

        }

  });

public void setCategoryListContent() {

        categoryList.delete(0);



        CategoryListScreen categoryListScreen = CategoryListScreen

                    .getInstance(UiApplication.getUiApplication());

        PersistentObject categoryListPersistObject = PersistentStore

                    .getPersistentObject(0x73c8d3592648fea5L);

        PersistentObject datePersistObject = PersistentStore

                    .getPersistentObject(0xe453c1c0c14b9aebL);



        categoryListPersistObject.setContents(Communicator.categoryDatas);

        datePersistObject.setContents(new Date());

        categoryListScreen.setCategoryListVector(new Vector());

        categoryDataList = Communicator.categoryDatas;

        System.out.println("-------------------- " + Communicator.categoryDatas.length);

        for (int i = 0; i < Communicator.categoryDatas.length; i++) {

              if (Communicator.categoryDatas[i] != null) {

                    if (Communicator.categoryDatas[i].getName() != null) {

                          categoryListScreen.getCategoryListVector().addElement(

                                      Communicator.categoryDatas[i].getName());

                    }

              }

        }

        testListCallback = new ListCallback();

        categoryList.setCallback(testListCallback);



        int i = categoryListScreen.getCategoryListVector().size();

        categoryListScreen.getCategoryList().setSize(i);

        System.out.println("---------------------->" + categoryListScreen.getCategoryListVector().size());

//

        categoryListScreen.getCategoryList().setRowHeight(40);



        // categoryListScreen.invalidate();

        invalidate();



        System.out.println("End.........................");

  }

The application is Using the Threads to execute the persistance and also setting the size of the list.The application is running fine and exiting successfully.

But at the time of unistalling the application the device get being restarted and also after restarting the application ,there is no effect on the application.The application still remains there.

what is the problem in uinstalling the application which uses Threads,persistance and list?
why is it being restarted without any user confirmation or alert?
why is it not get being uninsall after restart?

please give the resolution for the given problem or any useful code snippet ,which would be appreciated.

Thanks,

Mishal Shah

  • 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-12T22:10:22+00:00Added an answer on May 12, 2026 at 10:10 pm

    Is this on a device simulator or a real device? As far as I know, if you reset the simulator, it loads back all the installed apps onto to simulator.

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

Sidebar

Related Questions

I'm developing an application using the Blackberry plugin for eclipse and I am getting
In my Blackberry application I am loading JSON using the following method. private static
We have a simple mobile web application using jQuery. The application is working good
We're about to build a Blackberry application but would love some input on whether
Is there any api for viewing html content from w/in your blackberry application? To
Looking for a toolkit/SDK for general Blackberry development or application toolkits. Anything like an
The BlackBerry Desktop API has the interface IRimTable which apparently maps an application database
I am developing a BlackBerry application. I want to store the details of multiple
I am using Phone Gap Blackberry environment for creating apps targeted OS6.0 & above.
I am just entered into the Blackberry Arena.. I am using Eclipse Plugin for

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.