Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
219 views
in Technique[技术] by (71.8m points)

android - adb shell input text string inserted but not fully accepted

I have an app which used for email exchanging purpose.

There's verification logic to validate each recipient matched server data. If passed then recipient accepted by app (by means accepted, the UI shaped it green).

When I use the soft on board keyboard (Samsung honey) to input the email [email protected], It is validated and accepted.

When I use adb shell input text [email protected] to app, The text is inserted to the text field successfully but recipient verification is not passed.

I'm wondering if this is app design problem or adb shell input text has its constraint that doesn't fully simulate the phone keyboard.

Please share me your thought.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...