Welcome to the Android Central Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Results 1 to 1 of 1
  1. Thread Author  Thread Author    #1  

    Default Get text values from second class

    Hello everybody.. my problem is this, i have my main class and a second class that displays the values of the accelerometer on a textview.. however if i call my accelerometer class this is what happens, my application starts with no problems however no buttons work from my main class.. it seems to me that the accelerometer class runs above my main class thats why i have this problem.. what i did is i created a new activity on my manifest and called my accelerometer class from my main class using->
    Intent i = new Intent(this, AccelerometerClass.class);
    startActivity(i);
    Am i doing something wrong?

    Maybe there is a way to just take the values from the accelerometer class,wihout calling the class itself ???? what i mean is take the x,y,z(int) values from accelerometer class and set them on a text from the main class.. please help.. thnks

Similar Threads

  1. Galaxy S3 I9300 - Can't get into Download Mode
    By amolg in forum Samsung Galaxy S3 I9300
    Replies: 5
    Last Post: 05-23-2014, 08:41 AM
  2. Font size in text messages. How change it?
    By MTHall720 in forum Android 4.1 / 4.2 / 4.3 Jelly Bean
    Replies: 2
    Last Post: 01-20-2014, 11:30 AM
  3. Looking for app to make copying text easier
    By crcucb in forum Android Applications
    Replies: 2
    Last Post: 12-29-2013, 12:53 AM
  4. sprint nexus 5 ordered from sprint
    By ggalmin in forum Google Nexus 5
    Replies: 4
    Last Post: 12-28-2013, 04:23 PM
  5. Unread Text Notification Missing
    By Man In Black 805 in forum Samsung Galaxy Note 3
    Replies: 2
    Last Post: 12-28-2013, 12:24 AM

Posting Permissions