This week's book giveaway is in the Java in General forum.
We're giving away four copies of Event Streams in Action and have Alexander Dean & Valentin Crettaz on-line!
See this thread for details.
Win a copy of Event Streams in Action this week in the Java in General forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Creating an on screen answer button

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

This being my first foray into android development, please forgive me if this is a silly question. I have 2 G1's, and my wifes G1 has been rather annoyingly dropped in mud resulting in the answer button not working. Of course, I could take it to be repaired, but being a Java developer decided it may be more fun to write an app that displays an on screen answer button for recieving calls. I checked out the google sdk docs and whilst I could find a listenter class for detecting when the phone is ringing, I could find nothing that could actually give the order to answer or reject the call. Is this a call that is done at a lower level meaning it is impossible, or have I just missed the documentation?

Any hints would be appreciated.

 
Author
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not aware of any means at the SDK level of triggering the same code as happens when you press the answer button.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!