如何在Android环境中使用os.startfile()?

时间:2019-01-12 18:23:13

标签: android python-3.x kivy

我有一个Android Python 3 kivy应用程序,我正在尝试从我的应用程序启动日历,但是我不知道如何在Android环境中使用var user = new Schema( { uid: { type: String, index: true, unique: true }, firstName: { type: String, required: true, default: null }, lastName: { type: String, default: null, default: null }, userEmail: { type: String, unique: true, required: true, lowercase: true, }, userProfileImg: { type: String, required: true, default: null }, userDesignation: { type: String, default: null }, userMobile: { type: Number, required: true, default: null }, products: { type: Schema.Types.ObjectId, ref: 'Product' }, } ); var product = new Schema( { sku: { type: String, required: true, unique: true }, title: { type: String, required: true }, category: { type: Array, default: [] }, images: { type: Array, default: [], }, groups: { type: Array, default: [], }, price: { type: Number, default: null, }, unit: { type: String, default: null, }, quantity: { type: Number, default: null, }, description: { type: String, default: null, }, }, ); var AllUser = mongoose.model('User', user, 'AllUsers'); var Allproducts = mongoose.model('Product', product, 'AllProducts'); 。我知道如何在Windows环境中使用,但Android有所不同。

编辑: 终于我找到了一种方法,使其与Kivy和jnius一起使用,可以从Python 3启动任何Android应用程序 只需将包的名称放在os.startfile() 感谢static_cast指出了我的方法

app_to_launch =

0 个答案:

没有答案