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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T11:53:34+00:00 2026-06-03T11:53:34+00:00

I was following this tutorial in order to integrate a pre made database to

  • 0

I was following this tutorial in order to integrate a pre made database to my Android App.

Everything was going well until it asked me to rename my Primary Key Field to “_id”. Well for one I don’t have a PK (I know it’s bad DB practice), and two, the PK is not an integer type, giving a type mismatch error. Now, I tried to rename one of my fields (non integer) to “_id” and now I can’t rename it back. Also, I tried removing an extra field that I don’t need and it gives me this error:

Error removing field. Message from database engine: table TEMP_TABLE already exists

or this

Error editing field. Message from database engine: table TEMP_TABLE already exists

Not quite sure how to work this out since I’m not familiar with using the terminal to work with databases. I tried looking around and there are no extra unaccounted for tables so I don’t know where these are coming from.

  • 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-03T11:53:35+00:00Added an answer on June 3, 2026 at 11:53 am

    You should get SQLite Manager (a FireFox extension) to work with your DB on your desktop, it’s free and works pretty well. It’s got a fairly reasonable GUI… so it’s much more friendly than using the command line.

    And yeah, android wants a primary key field called “_id” and it needs to be an integer. It seems they based all of their list-type widgets upon this premise. I can tell you from personal experience that the ListView widget won’t work if you don’t have an _id column in the cursor!

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

Sidebar

Related Questions

I am following this tutorial https://developer.android.com/guide/tutorials/views/hello-tabwidget.html and have completed it. Now I would actually
I'm following this tutorial: http://www.androidhive.info/2012/01/android-login-and-registration-with-php-mysql-and-sqlite/ I've managed to utilize the tut to access and
i have made a simple php contact form following this tutorial: http://www.catswhocode.com/blog/how-to-create-a-built-in-contact-form-for-your-wordpress-theme The big
i have been following this tutorial for the pagerAdapter. http://mobile.tutsplus.com/tutorials/android/android-user-interface-design-horizontal-view-paging/ My problem is that
This is about a Netbeans 7.1 platform app. Following this tutorial I added the
I've been following this tutorial (lesson 6) in order to build and deploy a
I am following this tutorial http://wicket.wordpress.com/2010/01/08/template-for-building-authenticated-webapplication/ in order to learn how to make login
I've used this tutorial in order to create and populate my own SQLite database
I have been following this tutorial in order to get username authentication with transport
Following this tutorial and running into trouble. [TestMethod] [ExpectedException(typeof(Exception))] public void VerifyPropertyNameMethod_NonExistentPropertyString_ThrowsException() { var

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.