Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package nl.diekantankys.dkapp;
- import java.io.IOException;
- import org.jsoup.Jsoup;
- import org.jsoup.nodes.Document;
- import android.app.Activity;
- import android.content.Intent;
- import android.os.Bundle;
- import android.view.View;
- import android.widget.TextView;
- public class GroupChooseActivity extends Activity {
- TextView schuld;
- @Override
- protected void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- TextView schuld = (TextView) findViewById(R.id.schuld);
- setContentView(R.layout.groupchooselayout);
- }
- public void getSchuld(View view) throws IOException{
- Document doc = Jsoup.connect("http://rowans.diekantankys.nl/bonnen/index.php?id=4").get();
- String table = doc.body().getElementsByTag("tbody").text();
- schuld.setText(table);
- }
- public void goToRowans(View view){
- Intent i = new Intent(GroupChooseActivity.this, RowansStrepen.class);
- startActivity(i);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement