Add ReCaptcha Activity
* ReCaptchas are implemented using a simple WebView with Javascript enable.
* All HTTP responses inside the WebView are catched (using onPageFinished())
** When Google reCatcha cookies are detected, register cookies to the
Downloader class and Return to MainActivity
This commit is contained in:
parent
3391067cab
commit
54eb353d0d
4 changed files with 153 additions and 0 deletions
10
app/src/main/res/layout/activity_recaptcha.xml
Normal file
10
app/src/main/res/layout/activity_recaptcha.xml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical" android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<WebView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/reCaptchaWebView" />
|
||||
</LinearLayout>
|
||||
|
|
@ -269,6 +269,8 @@
|
|||
"when a user tries to pick up one of cards.\n\n"
|
||||
</string>
|
||||
<string name="action_settings">Settings</string>
|
||||
<string name="reCaptchaActivity">reCaptcha</string>
|
||||
<string name="reCaptcha_title">reCaptcha Challenge</string>
|
||||
|
||||
<!-- End of GigaGet's Strings -->
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue