• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Search results

  1. S

    Problem with accessing a textview

    Hello! I'm developing an app that it throws an error when I try to assign a value to a textview. The structure is this: main class{ public Textview mytv; onCreate{ mytv = (TextView) findViewById(R.id.Time); mytv.setText("some text"); } public update(){...
  2. S

    Load a xml into a tablelayout

    Hello guys! I have a TableLayout in which I add rows dinamically. And I want every row to load a xml when I click on it. So at first it is an empty row and when I click it, it loads a xml, so it appers inside of that rowa EditText and a Button. How could I do that?
  3. S

    Global variable

    Hello! I have two activities, and I want them to share a global variable, so one of them shows it in the screen, and the other activity change it's value. I have tried everything I have found on the internet for sharing global variables, but I always tell me an application error when I run it...