我已经使用sqflite插件在 flutter 中创建了数据库。我在 android native 中为我的应用程序创建了 android 主屏幕小部件。现在我需要从 SQLite 获取数据。那就是我正在尝试使用 Android Native sqflite Package 从 SQLite 数据库中获取数据。那可能吗?
我知道之前已经问过,但这些问题现在已经很久了.我有一段时间用WebGL开发的"游戏",我希望用简单的WebView将它带到Android.现在的问题是,它不会真正响应WebView中的用户输入(Chrome工作正常.Android 7.1.1).我猜这是因为WebGL.
所以现在,由于crosswalk项目已经结束了一段时间,我正在寻找在我的应用程序中运行WebGL的替代方案.或者以某种方式在Android应用程序中运行我的"游戏".
你知道我怎么能把它带到工作中吗?
刚刚从 更新expo 21.0.0到22.0.0,我收到此错误:
这是我的 package.json:
{
"name": "APP",
"version": "0.1.0",
"private": true,
"devDependencies": {
"react-native-scripts": "1.5.0",
"jest-expo": "^22.0.0",
"react-test-renderer": "16.0.0-alpha.12"
},
"main": "./node_modules/react-native-scripts/build/bin/crna-entry.js",
"scripts": {
"start": "react-native-scripts start",
"eject": "react-native-scripts eject",
"android": "react-native-scripts android",
"ios": "react-native-scripts ios",
"test": "node node_modules/jest/bin/jest.js --watch"
},
"jest": {
"preset": "jest-expo"
},
"dependencies": {
"expo": "^22.0.0",
"react": "16.0.0-beta.5",
"react-native": "https://github.com/expo/react-native/archive/sdk-22.0.1.tar.gz",
"react-native-autocomplete-input": "3.3.1",
"react-native-check-box": "2.0.0",
"react-native-easy-toast": "1.0.9",
"react-native-elements": "0.13.0",
"react-native-global-props": "1.1.1",
"react-native-htmlview": "0.12.1",
"react-native-modal-dropdown": "0.5.0",
"react-native-modalbox": "1.4.2",
"react-native-parallax-scroll-view": "0.20.1",
"react-native-tag-input": "0.0.14",
"react-native-vector-icons": …Run Code Online (Sandbox Code Playgroud) 我试过以下代码片段:
new Container(
height: 80.0,
width: 80.0,
decoration: new BoxDecoration
shape: BoxShape.circle,
border: Border.all(color: const Color(0x33A6A6A6)),
// image: new Image.asset(_image.)
),
child: new Image.file(_image),
));
Run Code Online (Sandbox Code Playgroud)
但它不起作用.
android ×2
flutter ×2
expo ×1
javascript ×1
json ×1
react-native ×1
reactjs ×1
webgl ×1
webview ×1