Pebble 应用程序能否以编程方式启动其配套应用程序?
Can Pebble app launch its companion app programmatically?
The Pebble mobile app will attempt to keep your app running as long as
your Pebble watchapp is running. However, under certain circumstances,
the phone may kill the Pebble app and your app. If this occurs, the
Pebble mobile app will be automatically restarted (and your JavaScript
code with it).
正如 Pebble 的文档所述here,当连接的 Pebble 手表是 运行 JS 扩展应用程序时,官方 Pebble 应用程序可以自动启动。
我的问题是,我们是否也可以从 Pebble watch 以编程方式启动配套应用程序?如何?我在 developer website.
上找不到任何线索
Note: PebbleKit Android and PebbleKit iOS cannot be used if the Pebble
project contains a PebbleKit JS file. Remove any JavaScript files in
the Pebble project to ensure communication with Android and iOS
companion apps.
根据文档here,我们不能将 JS 扩展与 PebbleKit 集成在一起iOS/Android,这就是为什么问这个问题很重要。
不,很遗憾,目前无法做到这一点。也许在未来这将通过传递一些深层链接成为可能。
The Pebble mobile app will attempt to keep your app running as long as your Pebble watchapp is running. However, under certain circumstances, the phone may kill the Pebble app and your app. If this occurs, the Pebble mobile app will be automatically restarted (and your JavaScript code with it).
正如 Pebble 的文档所述here,当连接的 Pebble 手表是 运行 JS 扩展应用程序时,官方 Pebble 应用程序可以自动启动。
我的问题是,我们是否也可以从 Pebble watch 以编程方式启动配套应用程序?如何?我在 developer website.
上找不到任何线索Note: PebbleKit Android and PebbleKit iOS cannot be used if the Pebble project contains a PebbleKit JS file. Remove any JavaScript files in the Pebble project to ensure communication with Android and iOS companion apps.
根据文档here,我们不能将 JS 扩展与 PebbleKit 集成在一起iOS/Android,这就是为什么问这个问题很重要。
不,很遗憾,目前无法做到这一点。也许在未来这将通过传递一些深层链接成为可能。