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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T03:50:00+00:00 2026-06-11T03:50:00+00:00

Google APIs Android 2.3.1 , data changes in the database tables not reflecting in

  • 0

Google APIs Android 2.3.1 , data changes in the database tables not reflecting in tableview screens, but if we restart the app, will show changes and also, if we load app.js will show recent changes.

Can anyone help me to fix this??

fireEvent("db_update") 

&
addEventListener(‘db_update’, function() { what should be here to update table data })

  • 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-11T03:50:02+00:00Added an answer on June 11, 2026 at 3:50 am

    I found the solution,

    Ti.App.addEventListener('updatedb', updateData);
    

    here ‘updateData’ is the function which gets the data for tableview from the databae. At the
    bottom of ‘updateData’ function, set data for table view

    i.e)   tableview.setData(data);
    

    and then, your insert, update or delete function should trigger ‘updatedb’ function

    i.e)

    function deleteData(recId)  {
        var db = Ti.Database.open(DBNAME);
            db.execute(" DELETE FROM tblName WHERE id IN("+ recId+") ");
            db.close();
    
        Ti.App.fireEvent('dataupdated');
    }
    

    now, after calling deleteData function, your tableview data will show w/o deleted record.

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

Sidebar

Related Questions

In order to upload an Android app which uses the Google APIs (maps) Amazon
I've started work on an Android App that will work with Google Docs. UPDATE
I have some virtual devices Android 2.2, 4.0.3, Google APIs 2.2... They work fine.
How to access google calendar with new api on android ? Using GData APIs
I just discovered the Google APIs Client Library for .NET , but because of
I'm developing a web application that will interact with google APIs. Since the only
Where can I find the Google APIs for Android 3.0 (API version 11)? I
We're developing an app with some map features, with <uses-library android:name=com.google.android.maps /> in the
I have an Android app that creates its own files in Google Drive with
I'm trying to parse Google Places JSON data in Android. I know the URL

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.