Android Open Source - android-document-viewer Splash Screen Activity






From Project

Back to project page android-document-viewer.

License

The source code is released under:

?Sitewaerts Document Viewer App for Android? is free software: you can redistribute it and/or modify it under the terms of the Affero GNU General Public License (http://www.gnu.org/licenses/agpl-3...

If you think the Android project android-document-viewer listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package de.sitewaerts.cleverdox.viewer;
//from ww w. jav  a  2  s .  c o  m
import android.app.Activity;
import android.os.Bundle;
import android.view.Window;
import android.webkit.WebView;

/**
 * this activity is launched if the app is NOT started from cordova/phonegap
 * @author Philipp Bohnenstengel (raumobil GmbH)
 *
 */
public final class SplashScreenActivity
        extends Activity
{
    /**
     * Called when the activity is first created.
     */
    @Override
    public void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);
        this.requestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(R.layout.splash_screen);
        WebView wv = (WebView) findViewById(R.id.splash_screen_webview);
        wv.loadUrl("file:///android_asset/"+getString(R.string.splash_screen_html));
    }
}




Java Source Code List

de.sitewaerts.cleverdox.viewer.DocumentViewerActivity.java
de.sitewaerts.cleverdox.viewer.NavigationViewActivity.java
de.sitewaerts.cleverdox.viewer.PrintActivity.java
de.sitewaerts.cleverdox.viewer.SDVMuPDFReaderView.java
de.sitewaerts.cleverdox.viewer.SplashScreenActivity.java