• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

failed a try to make call in android

 
Ranch Hand
Posts: 1325
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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]
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
shawn peter
Ranch Hand
Posts: 1325
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ?
 
shawn peter
Ranch Hand
Posts: 1325
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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]
 
Bartender
Posts: 6109
6
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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:
 
reply
    Bookmark Topic Watch Topic
  • New Topic