More docs
|
@ -66,7 +66,7 @@ is in the request body. Here's an example showing how to publish a simple messag
|
||||||
This will create a notification that looks like this:
|
This will create a notification that looks like this:
|
||||||
|
|
||||||
<figure markdown>
|
<figure markdown>
|
||||||
![basic notification](static/img/basic-notification.png){ width=500 }
|
![basic notification](static/img/android-screenshot-basic-notification.png){ width=500 }
|
||||||
<figcaption>Android notification</figcaption>
|
<figcaption>Android notification</figcaption>
|
||||||
</figure>
|
</figure>
|
||||||
|
|
||||||
|
@ -76,7 +76,7 @@ That's it. You're all set. Go play and read the rest of the docs. I highly recom
|
||||||
Here's another video showing the entire process:
|
Here's another video showing the entire process:
|
||||||
|
|
||||||
<figure>
|
<figure>
|
||||||
<video controls muted autoplay loop width="650" src="static/img/overview.mp4"></video>
|
<video controls muted autoplay loop width="650" src="static/img/android-video-overview.mp4"></video>
|
||||||
<figcaption>Sending push notifications to your Android phone</figcaption>
|
<figcaption>Sending push notifications to your Android phone</figcaption>
|
||||||
</figure>
|
</figure>
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,7 @@ Here's an example showing how to publish a simple message using a POST request:
|
||||||
If you have the [Android app](subscribe/phone.md) installed on your phone, this will create a notification that looks like this:
|
If you have the [Android app](subscribe/phone.md) installed on your phone, this will create a notification that looks like this:
|
||||||
|
|
||||||
<figure markdown>
|
<figure markdown>
|
||||||
![basic notification](static/img/basic-notification.png){ width=500 }
|
![basic notification](static/img/android-screenshot-basic-notification.png){ width=500 }
|
||||||
<figcaption>Android notification</figcaption>
|
<figcaption>Android notification</figcaption>
|
||||||
</figure>
|
</figure>
|
||||||
|
|
||||||
|
|
BIN
docs/static/img/android-notification-settings.png
vendored
Before Width: | Height: | Size: 111 KiB After Width: | Height: | Size: 49 KiB |
BIN
docs/static/img/android-screenshot-add-instant.jpg
vendored
Before Width: | Height: | Size: 297 KiB |
BIN
docs/static/img/android-screenshot-add-instant.png
vendored
Normal file
After Width: | Height: | Size: 93 KiB |
BIN
docs/static/img/android-screenshot-add-other.jpg
vendored
Before Width: | Height: | Size: 300 KiB |
BIN
docs/static/img/android-screenshot-add-other.png
vendored
Normal file
After Width: | Height: | Size: 96 KiB |
BIN
docs/static/img/android-screenshot-add.jpg
vendored
Before Width: | Height: | Size: 236 KiB |
BIN
docs/static/img/android-screenshot-add.png
vendored
Normal file
After Width: | Height: | Size: 77 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
BIN
docs/static/img/android-screenshot-detail.jpg
vendored
Before Width: | Height: | Size: 255 KiB |
BIN
docs/static/img/android-screenshot-detail.png
vendored
Normal file
After Width: | Height: | Size: 74 KiB |
BIN
docs/static/img/android-screenshot-macrodroid-send-action.jpg
vendored
Normal file
After Width: | Height: | Size: 296 KiB |
BIN
docs/static/img/android-screenshot-macrodroid-send-macro.jpg
vendored
Normal file
After Width: | Height: | Size: 237 KiB |
BIN
docs/static/img/android-screenshot-main.jpg
vendored
Before Width: | Height: | Size: 149 KiB |
BIN
docs/static/img/android-screenshot-main.png
vendored
Normal file
After Width: | Height: | Size: 53 KiB |
BIN
docs/static/img/android-screenshot-pause.jpg
vendored
Before Width: | Height: | Size: 212 KiB |
BIN
docs/static/img/android-screenshot-pause.png
vendored
Normal file
After Width: | Height: | Size: 74 KiB |
BIN
docs/static/img/android-screenshot-tasker-action-http-post.jpg
vendored
Normal file
After Width: | Height: | Size: 323 KiB |
BIN
docs/static/img/android-screenshot-tasker-profile-send.jpg
vendored
Normal file
After Width: | Height: | Size: 147 KiB |
BIN
docs/static/img/android-screenshot-tasker-task-edit-post.jpg
vendored
Normal file
After Width: | Height: | Size: 141 KiB |
BIN
docs/static/img/overview.gif
vendored
Before Width: | Height: | Size: 3.7 MiB |
BIN
docs/static/img/overview.mp4
vendored
|
@ -15,17 +15,18 @@ A picture is worth a thousand words. Here are a few screenshots showing what the
|
||||||
straight forward. You can add topics and as soon as you add them, you can [publish messages](../publish.md) to them.
|
straight forward. You can add topics and as soon as you add them, you can [publish messages](../publish.md) to them.
|
||||||
|
|
||||||
<div id="android-screenshots" class="screenshots">
|
<div id="android-screenshots" class="screenshots">
|
||||||
<a href="../../static/img/android-screenshot-main.jpg"><img src="../../static/img/android-screenshot-main.jpg"/></a>
|
<a href="../../static/img/android-screenshot-main.png"><img src="../../static/img/android-screenshot-main.png"/></a>
|
||||||
<a href="../../static/img/android-screenshot-detail.jpg"><img src="../../static/img/android-screenshot-detail.jpg"/></a>
|
<a href="../../static/img/android-screenshot-detail.png"><img src="../../static/img/android-screenshot-detail.png"/></a>
|
||||||
<a href="../../static/img/android-screenshot-add.jpg"><img src="../../static/img/android-screenshot-add.jpg"/></a>
|
<a href="../../static/img/android-screenshot-pause.png"><img src="../../static/img/android-screenshot-pause.png"/></a>
|
||||||
<a href="../../static/img/android-screenshot-add-instant.jpg"><img src="../../static/img/android-screenshot-add-instant.jpg"/></a>
|
<a href="../../static/img/android-screenshot-add.png"><img src="../../static/img/android-screenshot-add.png"/></a>
|
||||||
<a href="../../static/img/android-screenshot-add-other.jpg"><img src="../../static/img/android-screenshot-add-other.jpg"/></a>
|
<a href="../../static/img/android-screenshot-add-instant.png"><img src="../../static/img/android-screenshot-add-instant.png"/></a>
|
||||||
|
<a href="../../static/img/android-screenshot-add-other.png"><img src="../../static/img/android-screenshot-add-other.png"/></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
If those screenshots are still not enough, here's a video:
|
If those screenshots are still not enough, here's a video:
|
||||||
|
|
||||||
<figure>
|
<figure>
|
||||||
<video controls muted autoplay loop width="650" src="../../static/img/overview.mp4"></video>
|
<video controls muted autoplay loop width="650" src="../../static/img/android-video-overview.mp4"></video>
|
||||||
<figcaption>Sending push notifications to your Android phone</figcaption>
|
<figcaption>Sending push notifications to your Android phone</figcaption>
|
||||||
</figure>
|
</figure>
|
||||||
|
|
||||||
|
@ -129,14 +130,19 @@ Here's a list of extras you can access. Most likely, you'll want to filter for `
|
||||||
### Send messages using intents
|
### Send messages using intents
|
||||||
To send messages from other apps (such as [MacroDroid](https://play.google.com/store/apps/details?id=com.arlosoft.macrodroid)
|
To send messages from other apps (such as [MacroDroid](https://play.google.com/store/apps/details?id=com.arlosoft.macrodroid)
|
||||||
and [Tasker](https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm)), you can
|
and [Tasker](https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm)), you can
|
||||||
broadcast an intent with the `io.heckel.ntfy.SEND_MESSAGE` action. In Tasker, you can alternatively use the "HTTP Request"
|
broadcast an intent with the `io.heckel.ntfy.SEND_MESSAGE` action. The ntfy Android app will forward the intent as a HTTP
|
||||||
action, which may be a little easier and also works if ntfy is not installed.
|
POST request to [publish a message](../publish.md). This is primarily useful for apps that do not support HTTP POST/PUT
|
||||||
|
(like MacroDroid). In Tasker, you can simply use the "HTTP Request" action, which is a little easier and also works if
|
||||||
|
ntfy is not installed.
|
||||||
|
|
||||||
Here's what that looks like:
|
Here's what that looks like:
|
||||||
|
|
||||||
<div id="integration-screenshots-send" class="screenshots">
|
<div id="integration-screenshots-send" class="screenshots">
|
||||||
<a href="../../static/img/android-screenshot-macrodroid-overview.jpg"><img src="../../static/img/android-screenshot-macrodroid-overview.jpg"/></a>
|
<a href="../../static/img/android-screenshot-macrodroid-send-macro.jpg"><img src="../../static/img/android-screenshot-macrodroid-send-macro.jpg"/></a>
|
||||||
<a href="../../static/img/android-screenshot-macrodroid-trigger.jpg"><img src="../../static/img/android-screenshot-macrodroid-trigger.jpg"/></a>
|
<a href="../../static/img/android-screenshot-macrodroid-send-action.jpg"><img src="../../static/img/android-screenshot-macrodroid-send-action.jpg"/></a>
|
||||||
|
<a href="../../static/img/android-screenshot-tasker-profile-send.jpg"><img src="../../static/img/android-screenshot-tasker-profile-send.jpg"/></a>
|
||||||
|
<a href="../../static/img/android-screenshot-tasker-task-edit-post.jpg"><img src="../../static/img/android-screenshot-tasker-task-edit-post.jpg"/></a>
|
||||||
|
<a href="../../static/img/android-screenshot-tasker-action-http-post.jpg"><img src="../../static/img/android-screenshot-tasker-action-http-post.jpg"/></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
The following intent extras are supported when for the intent with the `io.heckel.ntfy.SEND_MESSAGE` action:
|
The following intent extras are supported when for the intent with the `io.heckel.ntfy.SEND_MESSAGE` action:
|
||||||
|
|