• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

failed a try to make call in android

 
sam liya
Ranch Hand
Posts: 1243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wrote a simple programm to make a call.anyway its failed.please assist.
this is my main cass


this is my manifest file



attached is error i am getting in Logcat

Call.gif
[Thumbnail for Call.gif]
 
Maneesh Godbole
Saloon Keeper
Posts: 11312
16
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Instead of

Use
to get more details.
And yes, please take some effort to copy paste the error log text instead of posting images. Images are not searchable.


By the way, what do you expect to happen with this? Is that a valid number?
 
sam liya
Ranch Hand
Posts: 1243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this is not a number.in sri lanka mobile providers we use it to get some details.likewise balance,remaining minuts,owner of sim........
I think it's ok.isn't it ?
 
sam liya
Ranch Hand
Posts: 1243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried with your suggestion .it's give border exception.Anyway I am unable to copy data from LogCat . so i post the screenshot.
Call2.gif
[Thumbnail for Call2.gif]
 
Jeff Verdegan
Bartender
Posts: 6109
6
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sameera liyanage wrote:this is not a number.in sri lanka mobile providers we use it to get some details.likewise balance,remaining minuts,owner of sim........
I think it's ok.isn't it ?


No, it's not okay. A URI isn't just any old String. I think a telephone URI in Android starts with tel:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic