How can we show this UI in our application
How can we show this dialler in our application to initiate a call
I wonder what so tough in this if i have to make a customized look of this..
A TabActivity with its TabHost above the frame content .
Edit Text with Background. cut the image and place it as a backgound of EditText . Change the Font of Text as you want
Cut each and every image make a griview of button or design in any way place images. control their click.
Append EditText content. On Dialer Button initiate call
startActivity(new Intent(Intent.ACTION_CALL, Uri.parse("tel:" + myEditText.getText())));
add permission
< uses-permission android:name=”android.permission.CALL_PHONE”/>
you can use default Intent as i Shown Below,
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("tel:"
+ "269-972-8451")));
and then Donot forgot to add the following permission in android manifeast file.
< uses-permission android:name=”android.permission.CALL_PHONE”/>
You can browse the actual Android layout code used by Google on Google Code. The tabbed layout is in dialer_activity.xml the actual dialer layout is in dialpad.xml
精彩评论