简体   繁体   English

Android通知(HTML5 / Hybrid)

[英]Android Notifications (HTML5/Hybrid)

I'm in the process of creating an app that has tasks, todo's, calendar events, etc. for android. 我正在创建一个具有针对Android的任务,待办事项,日历事件等的应用程序。

However, I have looked for weeks and have not found a way to notify users without knowing Java. 但是,我已经寻找了好几个星期,却没有找到一种在不了解Java的情况下通知用户的方法。 I use Intel XDK for development, and it has Push.Mobi stuff. 我使用Intel XDK进行开发,它具有Push.Mobi内容。

The thing is though, I can't have my app reliant on a connection to the internet. 事实是,我不能让我的应用依赖于互联网连接。

The best way to explain my goal is this: Google Calendar and other apps will give you alerts and notifications when a certain time comes. 解释我的目标的最佳方法是:Google日历和其他应用会在特定时间到来时向您发出警报和通知。 I need to be able to do that, using HTML5 node-webkit. 我需要能够使用HTML5 node-webkit做到这一点。

Is there a way? 有办法吗? What is the best way I could go about this? 我最好的解决方法是什么?

Notification = Java, is the best way to do it. 通知= Java,是执行此操作的最佳方法。

After reaf your goal, i think the and repeat the best way, easiest, fastest, and simply way is use Native develpment. 重新确定您的目标后,我认为重复最佳方法(最简单,最快,最简单的方法)是使用本机开发。 Is Just my opinion and experience. 只是我的见解和经验。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM