After every call/message, my service provider (airtel) displays a popup which has the last call cost and current balance. Is there a way I could log them automatically and have the latest balance displayed as a widget in home screen? Is it possible to capture that using code? I am using a Galaxy S phone.
One way is to take a screenshot after the fact. This works natively on ICS by pressing volume down and power key together, otherwise root the phone and install a screen capture app.