开发者

Is there control(view) for android that I can use to take user signature?

开发者 https://www.devze.com 2023-04-03 09:53 出处:网络
I would like to allow user to sign on a screen with stylus like UPS or 开发者_如何学JAVACredit Card terminal in store.

I would like to allow user to sign on a screen with stylus like UPS or 开发者_如何学JAVACredit Card terminal in store.

Is there control/api I can use in my program to convert this to image?


Use Canvas, track finger movements and generate a bitmap. You will probably want to create a custom View to handle this things.

You should read up on Creating custom components and come back with more specific questions.


AFAIK there is no such control. But you can implement yours easily. Take a look at this example.


I'm searching for exactly the same thing. I tried to base my work on FingerPaint Example

I created a layout with a View, but I don't know how I can join the view in my layout to the class used in finger paint example.

0

精彩评论

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