Not able to make call using Intent Android -


i trying make call using intent, if try run code linux eclipse working fine, on windows eclipse not working. here code

intent intent = new intent(intent.action_dial); intent.setdata(uri.parse("tel:"+"1234567890")); intent.setflags(intent.flag_activity_new_task); startactivity(intent); 

try use windows. may you

// todo auto-generated method stub intent intent = new intent(intent.action_dial); intent.setdata(uri.parse("tel:"   + uri.encode("your number here"))); intent.setflags(intent.flag_activity_new_task);  startactivity(intent); 

Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -