com.appnexus.oas.mobilesdk.ui.custom.XInAppBrowser.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of appnexusoasmobileadsdk-test Show documentation
Show all versions of appnexusoasmobileadsdk-test Show documentation
AppNexus OpenAdStream Android Advertising Libraries
???? 2 2com/appnexus/oas/mobilesdk/ui/custom/XInAppBrowser android/app/Activity mWebView Landroid/webkit/WebView; webSettings Landroid/webkit/WebSettings; mContext Landroid/content/Context; MENU_ITEM_BACK I
ConstantValue d MENU_ITEM_FORWARD e MENU_ITEM_REFRESH f MENU_ITEM_OPEN g MENU_ITEM_EXIT h ()V Code
LineNumberTable LocalVariableTable this 4Lcom/appnexus/oas/mobilesdk/ui/custom/XInAppBrowser; onCreate (Landroid/os/Bundle;)V RuntimeInvisibleAnnotations !Landroid/annotation/SuppressLint; value NewApi
) " # + - , android/os/Build$VERSION . SDK_INT
0 1 2 requestWindowFeature (I)Z
4 5 6 getActionBar ()Landroid/app/ActionBar;
8 : 9 android/app/ActionBar ; < setDisplayShowTitleEnabled (Z)V
8 > ? < setDisplayUseLogoEnabled A android/webkit/WebView
@ C D (Landroid/content/Context;)V F H android/widget/RelativeLayout
G C K *android/widget/RelativeLayout$LayoutParams
J M N (II)V
G P Q R setLayoutParams ((Landroid/view/ViewGroup$LayoutParams;)V
G T U V addView (Landroid/view/View;)V
X Y V setContentView
[ \ ] getIntent ()Landroid/content/Intent; _ landingPageUrl
a c b android/content/Intent d e getStringExtra &(Ljava/lang/String;)Ljava/lang/String;
@ g h i loadUrl (Ljava/lang/String;)V
@ k l m getSettings ()Landroid/webkit/WebSettings; o
q s r android/webkit/WebSettings t < setJavaScriptEnabled v Acom/appnexus/oas/mobilesdk/ui/custom/XInAppBrowser$XWebViewClient
u x y z(Lcom/appnexus/oas/mobilesdk/ui/custom/XInAppBrowser;Lcom/appnexus/oas/mobilesdk/ui/custom/XInAppBrowser$XWebViewClient;)V
@ { | } setWebViewClient !(Landroid/webkit/WebViewClient;)V savedInstanceState Landroid/os/Bundle; relLayout Landroid/widget/RelativeLayout; url Ljava/lang/String;
StackMapTable onCreateOptionsMenu (Landroid/view/Menu;)Z ? ? java/lang/StringBuilder ? 'XBrowserConfiguration.getInstance() --
? ? i
? ? ? >com/appnexus/oas/mobilesdk/configuration/XBrowserConfiguration ? ? getInstance B()Lcom/appnexus/oas/mobilesdk/configuration/XBrowserConfiguration;
? ? ? ? append -(Ljava/lang/Object;)Ljava/lang/StringBuilder;
? ? ? ? toString ()Ljava/lang/String;
? ? ? -com/appnexus/oas/mobilesdk/utilities/XLogUtil ? ? d '(Ljava/lang/String;Ljava/lang/String;)V ? ? ? Mcom/appnexus/oas/mobilesdk/configuration/XBrowserConfiguration$TOOLBAR_BUTTON ? ? BACK OLcom/appnexus/oas/mobilesdk/configuration/XBrowserConfiguration$TOOLBAR_BUTTON;
? ? ? java/lang/Boolean ? ? valueOf (Z)Ljava/lang/Boolean;
? ? ? ? isToolbarButtonHidden w(Lcom/appnexus/oas/mobilesdk/configuration/XBrowserConfiguration$TOOLBAR_BUTTON;Ljava/lang/Boolean;)Ljava/lang/Boolean;
? ? ? ? booleanValue ()Z ? Back ? ? ? android/view/Menu ? ? add 4(IIILjava/lang/CharSequence;)Landroid/view/MenuItem; ? ? ? android/view/MenuItem ? ? setShowAsAction (I)V ? ? ? ? FORWARD ? Forward ? ? ? ? REFRESH ? Refresh ? ? ? ? OPEN_IN_BROWSER ? Open in browser ? Exit
? ? ? menu Landroid/view/Menu; onOptionsItemSelected (Landroid/view/MenuItem;)Z ? ? ? ? getItemId ()I
@ ? ? goBack
@ ? ? goForward
@ ? ? reload
@ ? ? ? getUrl ? android.intent.action.VIEW
? ? ? android/net/Uri ? ? parse %(Ljava/lang/String;)Landroid/net/Uri;
a ? ? &(Ljava/lang/String;Landroid/net/Uri;)V
? ? ? android/content/Context ? ?
startActivity (Landroid/content/Intent;)V
? ? finish
? ? item Landroid/view/MenuItem;
browserIntent Landroid/content/Intent;
SourceFile XInAppBrowser.java InnerClasses
android/os/Build VERSION
#android/view/ViewGroup$LayoutParams android/view/ViewGroup LayoutParams TOOLBAR_BUTTON XWebViewClient !
<