开发者

How can we show this UI in our application

开发者_开发知识库

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜