renamed Twitter.java to TwitterServices.java and copied code from original TwitterServices.java (why change what works?)

added thread needed to start twitter authorization to TravelPostMain.java. Created TwitterWebAuth.java and twitterwebauth.xml
modified some strings to better explain failure points.

tested and working for authorization.
This commit is contained in:
warren powers
2011-07-13 16:11:32 +00:00
parent a2ebf10a3b
commit 1245960577
12 changed files with 286 additions and 43 deletions

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Ok"
android:id="@+id/authOkButton"
android:layout_alignBottom="@+id/authCode"
android:layout_alignParentRight="true"/>
<EditText
android:layout_toLeftOf="@id/authOkButton"
android:layout_width="fill_parent"
android:layout_alignParentBottom="true"
android:layout_height="wrap_content"
android:hint="Auth Code"
android:id="@+id/authCode"
android:inputType="number"/>
<WebView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_above="@id/authCode"
android:id="@+id/authWebView"
android:layout_alignParentTop="true"/>
</RelativeLayout>