• Post Reply Bookmark Topic Watch Topic
  • New Topic

Head First Android Development: Developer Options Discussed?  RSS feed

 
Mohammed Sardar.
Ranch Hand
Posts: 193
1
Java jQuery Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Dawn Griffiths, David Griffiths

   Happy to have you here and giving us a chance to ask Questions on Head First Android. Android is widely emerging and makes the world into smart phone. Can also see few screenshots from Android OS in sample pages of the book. Having many doubts in "Developer Options" from Settings Menu of an Android smart phone. Do we discuss about each Developer Options and it's specific use that helps for Android starter in this book ? 

Kindest Regards
 
David Griffiths
Author
Ranch Hand
Posts: 84
5
Android Python Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mohammed Sardar. wrote:Dear Dawn Griffiths, David Griffiths

   Happy to have you here and giving us a chance to ask Questions on Head First Android. Android is widely emerging and makes the world into smart phone. Can also see few screenshots from Android OS in sample pages of the book. Having many doubts in "Developer Options" from Settings Menu of an Android smart phone. Do we discuss about each Developer Options and it's specific use that helps for Android starter in this book ? 

Kindest Regards


Hello Mohammed,

Yes we cover how to enable developer options in the opening of the book and how to enable them. It's helpful to leave your phone switched on when connected via USB, and to disable animations when run an automated test.

D+D
 
Mohammed Sardar.
Ranch Hand
Posts: 193
1
Java jQuery Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
David Griffiths wrote:
Mohammed Sardar. wrote:Dear Dawn Griffiths, David Griffiths

   Happy to have you here and giving us a chance to ask Questions on Head First Android. Android is widely emerging and makes the world into smart phone. Can also see few screenshots from Android OS in sample pages of the book. Having many doubts in "Developer Options" from Settings Menu of an Android smart phone. Do we discuss about each Developer Options and it's specific use that helps for Android starter in this book ? 

Kindest Regards


Hello Mohammed,

Yes we cover how to enable developer options in the opening of the book and how to enable them. It's helpful to leave your phone switched on when connected via USB, and to disable animations when run an automated test.

D+D



Thanks David for responding.  Is the reason to ask disable animations during automated test is because of   Performance impact on phone ?

when we talk on automated test by USB what other debugging technique that we can follow by simulator ?
 
David Griffiths
Author
Ranch Hand
Posts: 84
5
Android Python Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mohammed Sardar. wrote:
David Griffiths wrote:
Mohammed Sardar. wrote:Dear Dawn Griffiths, David Griffiths
Thanks David for responding.  Is the reason to ask disable animations during automated test is because of   Performance impact on phone ?

when we talk on automated test by USB what other debugging technique that we can follow by simulator ?


The animations can interfere with UI tests. For example, you might want to click a button that only appears at the end of an animation. If your test says to click the button and the animation is still running, your test may fail. So devices running automated tests typically have their animations disabled.

you should find that an emulated device and a real device will be *almost* indistinguishable. But using real devices can be useful to find all the little wrinkles and unexpected pieces of behaviour. For example, we recently wrote some tests that worked perfectly well on emulated devices, but when they were run against a very cheap ($20) Android device, the autocorrect on the phone refused to believe that a piece of data entered into a text field was correctly. It auto-corrected it to a bad value, and this broke the test.

So real devices are extremely useful to find all of the idiosyncratic tweaks that manufacturers add to their own devices.

D+D
 
Mohammed Sardar.
Ranch Hand
Posts: 193
1
Java jQuery Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks David and that makes some sense on Emulator debugging.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!