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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T22:46:16+00:00 2026-06-16T22:46:16+00:00

I am in process of developing an Android tablet app using sqllite 3.7.4 which

  • 0

I am in process of developing an Android tablet app using sqllite 3.7.4 which would
perform following:

  1. Fetches information from the UI

  2. Performs some logic and store related information to the sqlite database

  3. The stored information has to be send immediately OR at schedule
    interval (ex. at 5:00 on xyz date) over the network

Currently, we have developed a dispacher mechanism (thread ), which constantly polls the database for new information inserted in the database. The thread fetches the information and send to the network module.

But, I feel this is not the correct approach as
Polling every time is a overhead. There can be times when there is nothing to execute
It is not real time , because we poll after every 5 seconds

So

Is there a way to send a trigger to my network module as soon as information is updated in database?

Or any better way to achieve this task?

Thanks in advance.

  • 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-16T22:46:18+00:00Added an answer on June 16, 2026 at 10:46 pm

    hope so this will help you

     private Handler h;
        // in create time
            h = new Handler();
    
    
    // call where you want
    h.postDelayed(myRunnable2, 1000); // after 1000 millisecond this function call automatically 
    
    // this function 
    private Runnable myRunnable2 = new Runnable() {
            public void run() {
                                  // do some thing
    
                    h.postDelayed(myRunnable2, 1000);
    
            }
        };
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm developing an Android app that fetches a web page from a website which
Possible Duplicate: Developing an Android smartphone app - on which devices would YOU suggest
I am in process of developing an network based UI app for Android which
I am developing an app using phonegap for Android. I want this mobile application
I'm currently in the interface design process of developing another Android app and once
I'm developing an application for mobiles and tablet in Android. I'm using Android 2.2
I am in the process of developing an android app, and I need a
I am in the process of developing website and an app (iOS and Android)
I am developing an Android app which need to consume .Net webservices over SSL
I'm developing an Android App using Phonegap. It's a question and answer game and

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.