receive startActivity result

bug/bundler_fix
Tim 2016-01-12 07:49:37 +00:00
parent f48e4363f5
commit c76389629a
2 changed files with 2 additions and 1 deletions

View File

@ -246,7 +246,7 @@ class Android < Extension
request = Packet.create_request('activity_start')
request.add_tlv(TLV_TYPE_URI_STRING, uri)
response = client.send_request(request)
response
response.get_tlv(TLV_TYPE_ACTIVITY_START_RESULT).value
end
def send_sms(dest, body, dr)

View File

@ -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_URI_STRING = TLV_META_TYPE_STRING | (TLV_EXTENSIONS + 9101)
TLV_TYPE_ACTIVITY_START_RESULT = TLV_META_TYPE_BOOL | (TLV_EXTENSIONS + 9102)
end
end