package As2.packageTK;
import java.util.ArrayList;
import java.util.Random;
//import android.app.Activity;
//import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import android.view.View;
import android.widg
This is my code :
package androboy.unsurkimia;
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.InputStreamReader;
import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.ViewGroup.LayoutParams;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.Scrol
In my application, I create a text file to save readings, and the values look like this:
98, 97, 98, ......
I need to get the readings from the text file and save them in an arraylist.
I keep getting an Error and I cant seem to fix it.
I have tried moving code and searching the internet for an answer, so far i havent found any. Please help me, i will be really thankful. By the way im a new to this so sorry if im asking a stupid question.
I am new to Android. I am trying to get input from the EditText and displaying it in TextView with the help of button. When I click the button nothing happens.
I am learning to make android apps and I have a problem with my hello world programs buttons.
Here's my code:
package com.Norwood.helloandroid; import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;
import android.view.View;
import android.widget.Toast;
public class MainActivity extends Activity {
/** Called when the activity is first created.
I am developing a facebook-integrated application and i am experiencing a very weird issue.
I log in normally, but as i am about to log out the SDK forces a login again...
package com.machinarius.facebook;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.List;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
Hi i have the following code used to read contacts from an andorid phone and write them to a file - i am trying to show the progress of the process below is the code for reading and writing the contacts
package com.lightcone.readcontacts;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.PrintWriter;
import and
I had tried this one to show my evdo dbm.
it could run on my emulator but couldnt on my real device, why?