Android Question Screenshot excludes keypad

Discussion in 'Android Questions' started by Ladas, Apr 2, 2015.

  1. Ladas

    Ladas Member Licensed User

    Using the code in the guide (17.15 Taking a screenshot programaticaly) I am able to take shots of everything in the activity area. But if I bringup the keypad into view and try to take a shot, the keypad is missing from the shot. Is there anyway of including the keypad in the shot using this code?
  2. DonManfred

    DonManfred Expert Licensed User

    WHY are you writing ALL in bold?
    As far as i know you cannot get the keyboard on the Screenshot as it is not part of the viewgroup of b4a.
  3. Ladas

    Ladas Member Licensed User

    Oops! didn't realise my font was all bold. My apologies. Thought this code was similar or the same as that used in the IDE to take shots via the USB. Those shots do include the keyboard.
  4. Erel

    Erel Administrator Staff Member Licensed User

    No. These are two different methods. The IDE uses the screenshot feature of ADB to take a real screenshot. It is not possible to do the same thing from your code.
    NJDude likes this.
  5. Ladas

    Ladas Member Licensed User

    Thanks Erel. Helpful to know.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice