Intent Help

seskindell

Active Member
Licensed User
Longtime User
Could somebody please help me figure out how I would send the following intent via p.Shell( ):

org.metawatch.manager.NOTIFICATION
"array" - int[96*96]
or
"buffer" - byte[96*96/8] // encoded buffer
--
"vibrate_on" - int // ms
"vibrate_off" - int // ms
"vibrate_cycles" - int


p.Shell("am broadcast -a org.metawatch.manager.NOTIFICATION

Thank you!!!
 

seskindell

Active Member
Licensed User
Longtime User
Something like this?

Dim i As Intent
Dim datahere(9216) as int
i.Initialize("org.metawatch.manager.NOTIFICATION", "")
i.PutExtra("vibrate_on",10)
i.PutExtra("array",datahere)
Dim p As Phone
p.SendBroadcastIntent(i)
 
Upvote 0
Top