receive startActivity result
parent
f48e4363f5
commit
c76389629a
|
@ -246,7 +246,7 @@ class Android < Extension
|
||||||
request = Packet.create_request('activity_start')
|
request = Packet.create_request('activity_start')
|
||||||
request.add_tlv(TLV_TYPE_URI_STRING, uri)
|
request.add_tlv(TLV_TYPE_URI_STRING, uri)
|
||||||
response = client.send_request(request)
|
response = client.send_request(request)
|
||||||
response
|
response.get_tlv(TLV_TYPE_ACTIVITY_START_RESULT).value
|
||||||
end
|
end
|
||||||
|
|
||||||
def send_sms(dest, body, dr)
|
def send_sms(dest, body, dr)
|
||||||
|
|
|
@ -77,6 +77,7 @@ TLV_TYPE_CELL_NET_ID = TLV_META_TYPE_UINT | (TLV_EXTENSIONS
|
||||||
TLV_TYPE_CELL_SYSTEM_ID = TLV_META_TYPE_UINT | (TLV_EXTENSIONS + 9074)
|
TLV_TYPE_CELL_SYSTEM_ID = TLV_META_TYPE_UINT | (TLV_EXTENSIONS + 9074)
|
||||||
|
|
||||||
TLV_TYPE_URI_STRING = TLV_META_TYPE_STRING | (TLV_EXTENSIONS + 9101)
|
TLV_TYPE_URI_STRING = TLV_META_TYPE_STRING | (TLV_EXTENSIONS + 9101)
|
||||||
|
TLV_TYPE_ACTIVITY_START_RESULT = TLV_META_TYPE_BOOL | (TLV_EXTENSIONS + 9102)
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue