Make your Android app more popular Advertise on Google Play with AppBrain app promotion Check it out
AppBrain Best Android Apps
AppBrain
Dashboard Statistics Stats Documentation Docs
Sign up
Log in
Android Apps > Tools > UDP Listener For Tasker
UDP Listener For Tasker icon

UDP Listener For Tasker

Receives UDP datagrams & fires Intent broadcasts so Tasker can respond
by David P. White
Google Play
Google Play
100+
Downloads
PREMIUM
Est. downloads
PREMIUM
Recent d/loads
0.00
0
Rating
Unranked
Ranking
?
Libraries
9/14/20
Last updated
2020
September
App age
136.7 KB
App size
Everyone
Content rating
FREE
+ In-App
Price

Google Play Rating history and histogram

0
0
0
0
0

Changelog

  • Feb 25, 2021 Installs 100+ installs
  • Dec 27, 2020 Installs 50+ installs
  • Sep 14, 2020 New App Version 1.2 in TOOLS for Free

Developer information

David P. White

[email protected]

Near Seattle, WA

Are you the developer of this app? Join us for free to see more information about your app and learn how we can help you promote and earn money with your app.
I'm the developer of this app

Description

PLEASE SEE THE APP'S HELP FILE AS THERE IS INSUFFICIENT SPACE HERE TO DESCRIBE ALL THE DETAILS.

Note: Disable battery saving to remove notification on later Android.

In trying to do some home automation stuff with Tasker, I could not find a good way to get notified of UDP events sent to the device on which Tasker is running. HTTP and TCP events, yes. Sending UDP events, yes. But none listening for UDP. So I decided to build one & this is the result.

Receipt of UDP datagrams on monitored port(s) fires Intents with event data in the Intent's EXTRAs. Tasker & other automation mechanisms that know how to receive Intents can trigger your own actions when this occurs.

Usage

Upon start up, this app displays a list of ports being monitored for UDP activity. To start monitoring all the Active entries on the list you simply press the Start Server button. If all goes well, the monitoring will be underway. About the only thing that might go wrong is that the specified port number is already in use by some other app. You should see a message if this is the case.

Initially, of course, the list of ports being monitored is empty. From the app's menu, choose Add Port to Monitor and supply the necessary information. Note that port numbers MUST be > 1024. Each port can optionally:

* service multi-cast datagrams or not
* be enabled/disabled for monitoring
* have UDP data payloads converted into a string of hexadecimal digits before sending
* suppress duplicate datagrams to a port from the same IP within a timeout period
* append the port number to its Intent action strings

If the server is currently running at the time a new entry is added to the list, you must stop & re-start the server for monitoring of the entire list to begin anew.

Ports may be modified & deleted from the list with a long press of the entry you wish to change. As with additions, you must stop & re-start the server for monitoring of the entire list to begin anew.

For many situations, it is desirable for monitoring to begin when your device boots. This can be accomplished by checking Start Server At Boot on the app's menu. While this works fine on the vast majority of devices, you must be aware that some devices do not support this. You can start & stop the server by sending these Intents:

com.whitedavidp.udplistenerfortasker.START_SERVER
com.whitedavidp.udplistenerfortasker.STOP_SERVER

Datagram Receipt Processing

Once the server is running, it waits for UDP datagrams for be delivered on each of the specified, Active ports. When a datagram is received, it is processed into an Intent that is broadcast to the system so that Tasker or other automation apps can handle the Intent's reception & do whatever you want done. You will need to know the action name on the Intent and that is always at least:

com.whitedavidp.udplistenerfortasker.UdpBroadcast

but optionally, the port number can be appended to the above.

In each Intent, the app places named extra data strings for the following datagram metadata:

* time - the time at which the datagram was processed as expressed in the number of seconds since midnight of 1/1/1970
* port - the monitored port to which the datagram was sent
* sender - the IP address of the datagram's origination
* sender_port - the port of the datagram's origination

Finally, an extra data string is sent named message. This is the datagram's data payload. It you have specified that the receiving port should convert this into a string of hexadecimal digits, this will be completed before the Intent is broadcast. This is highly recommended if the payload is binary data or if you are not sure. This app performs no processing to ensure the data is valid and has not been corrupted in transmission. The data is simply extracted from the datagram using the offset & length specified in the packet.

Support

Please use the email address provided here to let me know how this works for you. I will try to resolve problems when I can.

Recent changes:
Added an underscore before appended port on Intent actions strings to improve readability if Append Port is enabled.
Added in-app purchase now required to support more than a single port being monitored. Earlier users who have already added more than a single port will continue to work as before until such time as they try to use the Add Port to Monitor menu item.
Added menu item to email log to developer.
PLEASE SEE THE APP'S HELP FILE AS THERE IS INSUFFICIENT SPACE HERE TO DESCRIBE ALL THE DETAILS.

Note: Disable battery saving to remove notification on later Android.

In trying to do some home automation stuff with Tasker, I could not find a good way to get notified of UDP events sent to the device on which Tasker is running. HTTP and TCP events, yes. Sending UDP events, yes. But none listening for UDP. So I decided to build one & this is the result.

Receipt of UDP datagrams on monitored port(s) fires Intents with event data in the Intent's EXTRAs. Tasker & other automation mechanisms that know how to receive Intents can trigger your own actions when this occurs.

Usage

Upon start up, this app displays a list of ports being monitored for UDP activity. To start monitoring all the Active entries on the list you simply press the Start Server button. If all goes well, the monitoring will be underway. About the only thing that might go wrong is that the specified port number is already in use by some other app. You should see a message if this is the case.

Initially, of course, the list of ports being monitored is empty. From the app's menu, choose Add Port to Monitor and supply the necessary information. Note that port numbers MUST be > 1024. Each port can optionally:

* service multi-cast datagrams or not
* be enabled/disabled for monitoring
* have UDP data payloads converted into a string of hexadecimal digits before sending
* suppress duplicate datagrams to a port from the same IP within a timeout period
* append the port number to its Intent action strings

If the server is currently running at the time a new entry is added to the list, you must stop & re-start the server for monitoring of the entire list to begin anew.

Ports may be modified & deleted from the list with a long press of the entry you wish to change. As with additions, you must stop & re-start the server for monitoring of the entire list to begin anew.

For many situations, it is desirable for monitoring to begin when your device boots. This can be accomplished by checking Start Server At Boot on the app's menu. While this works fine on the vast majority of devices, you must be aware that some devices do not support this. You can start & stop the server by sending these Intents:

com.whitedavidp.udplistenerfortasker.START_SERVER
com.whitedavidp.udplistenerfortasker.STOP_SERVER

Datagram Receipt Processing

Once the server is running, it waits for UDP datagrams for be delivered on each of the specified, Active ports. When a datagram is received, it is processed into an Intent that is broadcast to the system so that Tasker or other automation apps can handle the Intent's reception & do whatever you want done. You will need to know the action name on the Intent and that is always at least:

com.whitedavidp.udplistenerfortasker.UdpBroadcast

but optionally, the port number can be appended to the above.

In each Intent, the app places named extra data strings for the following datagram metadata:

* time - the time at which the datagram was processed as expressed in the number of seconds since midnight of 1/1/1970
* port - the monitored port to which the datagram was sent
* sender - the IP address of the datagram's origination
* sender_port - the port of the datagram's origination

Finally, an extra data string is sent named message. This is the datagram's data payload. It you have specified that the receiving port should convert this into a string of hexadecimal digits, this will be completed before the Intent is broadcast. This is highly recommended if the payload is binary data or if you are not sure. This app performs no processing to ensure the data is valid and has not been corrupted in transmission. The data is simply extracted from the datagram using the offset & length specified in the packet.

Support

Please use the email address provided here to let me know how this works for you. I will try to resolve problems when I can.

Recent changes:
Added an underscore before appended port on Intent actions strings to improve readability if Append Port is enabled.
Added in-app purchase now required to support more than a single port being monitored. Earlier users who have already added more than a single port will continue to work as before until such time as they try to use the Add Port to Monitor menu item.
Added menu item to email log to developer.
Show full description Hide full description
anew append automation broadcast data datagram entry hexadecimal intent list monitoring must number p_server payload port processed sender_port sent server specified start string tasker udp

Comments

We don't have enough comments to generate tag clouds. Please check back later.

Google Play Rankings

This app is not ranked

Permissions

Network communication
view network connections, full network access, Google Play billing service
System tools
run at startup
Extra
android.permission.FOREGROUND_SERVICE

Libraries

We haven't collected library information for this app yet. You can use the AppBrain Ad Detector app to detect libraries in apps installed on your device.

Related apps

Turbo VPN- Free VPN Proxy Server & Secure Service
Innovative Connecting
92
Free
100,000,000+
PingTools Network Utilities
StreamSoft
91
Free
1,000,000+
IPTV
Alexander Sofronov
79
Free
10,000,000+
Troid VPN Free VPN Proxy
TunnelGuru
89
Free
1,000,000+
LAZY IPTV
LazyCat Software
87
Free
1,000,000+
Tasker
joaomgcd
90
$3.49
1,000,000+
VPN Proxy Master - free unblock VPN & security VPN
LEMON CLOVE PTE. LIMITED
91
Free
10,000,000+
Veilduck VPN
BGPworks
89
Free
1,000,000+

More from David P. White

Keyboard Master
David P. White
76
Free
10,000+
Cookie Manager for System Web View
David P. White
67
Free
10,000+
System Settings for Tasker
David P. White
87
$1.99
1,000+
Hide Updates In Play Store
David P. White
87
$1.99
500+
HTTP Listener for Tasker
David P. White
0
Free
100+
Server for irplus LAN
David P. White
88
Free
50+
Bluetooth Leash2
David P. White
0
Free
10+
Bluetooth Leash
David P. White
0
$1.99
10+

Want more apps?

Find the Android apps that are trending right now

AppBrain Intelligence premium content

Subscribe now to get full and unlimited access to AppBrain Intelligence. You'll have access to:

  • Unlimited pageviews (both app and developer details)
  • Recent install count per app (last 30 days)
  • Detailed ranking data per app
  • Recent install count per developer (last 30 days)
  • Full timeline per developer
  • Device market shares data per country

1 Month

$75/mo
(billed every month)

SAVE 0%
Subscribe

3 Months

$65/mo
($195 billed every 3 months)

SAVE 13%
Subscribe

1 Year

$57.50/mo
($690 billed every year)

SAVE 23%
Subscribe
Each subscription will automatically renew 3 days before the expiration date for the same time period. Subscriptions can be cancelled at any time before the renewal.

Developer services

  • Android App Promotion
  • Monetize Your Android App
  • Track ranking of your Android App
  • AppBrain SDK
  • Apptimizer

Android Statistics

  • Android statistics
  • Google Play Developer stats
  • Trending Apps
  • All-time Popular Apps

About AppBrain

  • Contact
  • Blog
  • Privacy
  • Documentation
  • How to improve the earnings of your ad units
© 2010-2020 - AppBrain