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 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

In a BlackBerry application, I am using this code in order to get a
I'm developing BlackBerry 5.0 application with list organized data. I'm using ObjectListField and manual
I am developing a blackberry application using j2me and LWUIT (blackberry port). Everything works
I am developing blackberry application using BlackBerry JDE 5.0.X , in which i am
I am using Eclipse to develop a Blackberry Java application.Is possible to automatically increment
I am developing a BlackBerry Phonegap application. Therefore, I am using JavaScript. From a
I am developing one Blackberry application using Eclipse, I need to show images in
I developed a Blackberry application using Eclipse. The application is working fine in the
I need to develop the blackberry application using jave (eclips), can you please help
I have this application developed for Blackberry 4.5. I´m using Eclipse, and I want

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.