i’ve downloaded f7 single view template
and created an android webview app to load the web inside the app … but it wont show up
it shows any other web app fine … just not f7 apps
obviously there is something missing here … i should do something to load f7 inside android webview
anyone has done this before ? am i missing something ?
btw im not using cordova or any other lib … just a simple webview … here is my MainActivity.js … im using api 16
package com.zarinbet.zarinb;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.webkit.WebViewClient;
public class MainActivity extends AppCompatActivity {
public WebView webview ;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
webview = (WebView)findViewById(R.id.MainWebView);
webview.setWebViewClient(new WebViewClient());
webview.getSettings().setJavaScriptEnabled(true);
webview.getSettings().setAllowFileAccessFromFileURLs(true);
webview.getSettings().setAllowUniversalAccessFromFileURLs(true);
webview.loadUrl("http://10.0.2.2/framework7/");
}
}