dongnao9525 2018-08-03 14:22
浏览 98

启动电子应用程序并从Web浏览器(Chrome,Firefox)向其发送数据

I have a web application developed with php and mysql and I would like to launch a desktop application developed by electron js via a link from my web app and in the same time sending an array of images urls to my electron app that will download and store them on the user's machine somewhere for other processing.

the process is like that i guess :

  • the user clicks to a link in the web app

  • The electron app is launched.

  • the urls of images are received and downloaded by the app.

  • And other processing...

.

I am new to electron js, according to my research. I guess I have to use the URL Protocol handling But I do not know how to do, and how to achieve that, if anyone can help i would be very grateful!

If you want any other explanation, I'm here and thanks in advance

  • 写回答

1条回答 默认 最新

  • dongxu1029 2019-07-06 21:37
    关注

    I'll also be looking into the URL protocol thing for my application too in the future, but for now, it's not a big concern for me. For anyone else having the same problem, please have a look at the Electron documents [https://electronjs.org/docs/api/protocol].

    I'll edit my reply with my solution if I get mine to work.

    评论

报告相同问题?

悬赏问题

  • ¥15 #MATLAB仿真#车辆换道路径规划
  • ¥15 java 操作 elasticsearch 8.1 实现 索引的重建
  • ¥15 数据可视化Python
  • ¥15 要给毕业设计添加扫码登录的功能!!有偿
  • ¥15 kafka 分区副本增加会导致消息丢失或者不可用吗?
  • ¥15 微信公众号自制会员卡没有收款渠道啊
  • ¥100 Jenkins自动化部署—悬赏100元
  • ¥15 关于#python#的问题:求帮写python代码
  • ¥20 MATLAB画图图形出现上下震荡的线条
  • ¥15 关于#windows#的问题:怎么用WIN 11系统的电脑 克隆WIN NT3.51-4.0系统的硬盘