This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MyActivity extends Activity { | |
private Thread myWorker = new Thread() { | |
public void run() { | |
URL url = new URL("http://reddit.com/story"); | |
url.openConnection(); | |
String body = url.getBody(); | |
myView.post(new Runnable() { public void run() {myView.setText(body)} }); | |
} | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: utf8 -*- | |
# We'll use the pyzotero project for server access | |
# See packages.python.org/Pyzotero/ | |
from pyzotero import zotero | |
import sys | |
# Python's built-in CSV support is pretty nice |
OlderNewer