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

javascript - Js, document.getElementById("ID").innerHTML, error -

objective c - Is there a way in OCMockito to make stubs fail when an unknown method is called? -

jquery - jqGrid update specific column data with out refreshing the entire column? -