嗨,我需要 twitter 登录屏幕。当我选中复选框时,我需要获取 Twitter 登录页面。
请帮助我作为示例代码。
编辑:
我试过这个,但让力量接近。这是我的日志:
05-30 17:02:30.901: E/AndroidRuntime(3222): FATAL EXCEPTION: main
05-30 17:02:30.901: E/AndroidRuntime(3222): java.lang.VerifyError: com.android.twitter.TwitterApp
05-30 17:02:30.901: E/AndroidRuntime(3222): at com.android.twitter.TwitterActivity.onCreate(TwitterActivity.java:34)
05-30 17:02:30.901: E/AndroidRuntime(3222): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
05-30 17:02:30.901: E/AndroidRuntime(3222): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
05-30 17:02:30.901: E/AndroidRuntime(3222): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
05-30 17:02:30.901: E/AndroidRuntime(3222): at android.app.ActivityThread.access$2300(ActivityThread.java:125)
05-30 17:02:30.901: E/AndroidRuntime(3222): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
05-30 17:02:30.901: E/AndroidRuntime(3222): at android.os.Handler.dispatchMessage(Handler.java:99)
05-30 17:02:30.901: E/AndroidRuntime(3222): at android.os.Looper.loop(Looper.java:123)
05-30 17:02:30.901: E/AndroidRuntime(3222): at android.app.ActivityThread.main(ActivityThread.java:4627)
05-30 17:02:30.901: E/AndroidRuntime(3222): at java.lang.reflect.Method.invokeNative(Native Method)
05-30 17:02:30.901: E/AndroidRuntime(3222): at java.lang.reflect.Method.invoke(Method.java:521)
05-30 17:02:30.901: E/AndroidRuntime(3222): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
05-30 17:02:30.901: E/AndroidRuntime(3222): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
05-30 17:02:30.901: E/AndroidRuntime(3222): at dalvik.system.NativeStart.main(Native Method)
谢谢你的高级。