How to animate the imageview outside of its parent layout?

SQLite and Android question?

  • Hello, i need some help with a code i'm working on for a personal android app: here is the codes i have so far (only snippets that are needed) SetUp.java: public void viewChar(String[] item){ String[] columns = new String[] {KEY_NAME, KEY_RACE, KEY_CLASS}; Cursor c = ourDatabase.query(DATABASE_TABLE, columns,KEY_NAME + " = ?", item, null, null, null); String cName, cRace, cClass = ""; int name = c.getColumnIndex(KEY_NAME); int race = c.getColumnIndex(KEY_RACE); int clas = c.getColumnIndex(KEY_CLASS); for (c.moveToFirst(); !c.isAfterLast(); c.moveToNext()){ cName = c.getString(name); cRace = c.getString(race); cClass = c.getString(clas); } } Character.java: public class Character extends Activity{ SetUp setup = new SetUp(this); CSMain cs = new CSMain(); @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.character); String[] item = {cs.item}; setup.viewChar(item); } } CSMain.java: public void onItemSelected(AdapterView<?> parent, View v, int position, long id) { item = parent.getItemAtPosition(position). toString(); } I've already done a "Toast" to see if the "item" var works and it does on CSMain I also know that the information is in the database because i did i "Dialog" after i inserted them on another .java "Create Character". Anyways I want to carry that string "item" over to Character.java so i can extract that data. and use it to set the "where" clause... can't.. figure out what i'm doing wrong. Any Help? Aditional Info1: SetUp.java is there cause thats where all the DB Functions and variables are

  • Answer:

    OK. This will take a bit of time. I'll email you once I'm done.

Silver at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.