If you consider installing SL4A on your phone, you have a very powerful environment to make your scripts and doing what you ask requires only a
Code:
droid.notify('title', 'message')
You could even have something like this
Code:
from socket import *
import android, os, time, datetime
droid = android.Android()
UDPSock = socket(AF_INET,SOCK_DGRAM)
UDPSock.bind(('',2800))
Volume()
while 1:
data,addr = UDPSock.recvfrom(4*1024)
if not data:
break
else:
droid.notify(str(addr[0]), data) #Make a notify in the bar
droid.makeToast(data) #Make a small msg
droid.dialogCreateAlert('MSG_FROM:' + str(addr[0]),data)
droid.dialogShow() #Big on screen alert
UDPSock.close() # rly?
Code is just a PoC... actually uses python and opens port 2800 UDP on your phone, if you send a packet via udp to your phone, a msg will be displayed (3 times in 3 different ways, unless you remove some line  ). You could then make your PC scripts send a packet to your phone and have your notification displayed.
Look into this and this
I'm L.
|