| 1 |
""" |
| 2 |
This package will help reduce overhead startup time of pywebview android application |
| 3 |
on android. It will be responsible for defining android and api signature to reduce |
| 4 |
the over head cost of pyjnius finding all signatures by itself. |
| 5 |
""" |
| 6 |
|
| 7 |
__all__ = [ |
| 8 |
'AlertDialogBuilder', |
| 9 |
'DownloadManagerRequest', |
| 10 |
'Context', |
| 11 |
'Uri', |
| 12 |
'Environment', |
| 13 |
'KeyEvent', |
| 14 |
'View', |
| 15 |
'CookieManager', |
| 16 |
'PyJavascriptInterface', |
| 17 |
'PyWebChromeClient', |
| 18 |
'PyWebViewClient', |
| 19 |
'WebView', |
| 20 |
] |
| 21 |
|
| 22 |
from webview.platforms.android.jclass.app import AlertDialogBuilder, DownloadManagerRequest |
| 23 |
from webview.platforms.android.jclass.content import Context |
| 24 |
from webview.platforms.android.jclass.net import Uri |
| 25 |
from webview.platforms.android.jclass.os import Environment |
| 26 |
from webview.platforms.android.jclass.view import KeyEvent, View |
| 27 |
from webview.platforms.android.jclass.webkit import ( |
| 28 |
CookieManager, |
| 29 |
PyJavascriptInterface, |
| 30 |
PyWebChromeClient, |
| 31 |
PyWebViewClient, |
| 32 |
WebView, |
| 33 |
) |