Yes. That would work. Or just getting an iOS device.

On Friday, April 16, 2021 at 9:13:10 AM UTC+3 P5music wrote:

> OK
> So the only way is to create Android avds with the same resolution of iOS 
> devices to make screenshots or just the BC part.
> Regards 
>
> Il giorno venerdì 16 aprile 2021 alle 05:55:04 UTC+2 Shai Almog ha scritto:
>
>> Screenshots of native widgets such as browser component have always been 
>> an issue in Codename One. We tried repeatedly to fix that but it relates to 
>> core problems in Java SE. If you need native widgets in the shot the only 
>> way to get a screenshot is on the device.
>>
>> On Thursday, April 15, 2021 at 5:50:34 PM UTC+3 P5music wrote:
>>
>>> Would it be possible to have a modification of the simulator behaviour 
>>> about the screenshot taking procedure?
>>> What is certainly needed by developers who have BrowserComponents in 
>>> their app's layout is being able to have screenshots with correct dpi of 
>>> the BC.
>>>
>>> At present time it is not possible to set the simulator window at exact 
>>> device pixel width/height, even "zoom" state is not guarantee of exact 
>>> pixel measure, I do not know why. 
>>> Furthermore, I see that when taking the screenshot the size changes just 
>>> for a moment while the BC is not proportionated.
>>>
>>> I could resort to sizing the simulator window up to a value in cm's that 
>>> corresponds to official device physical size, being that the BC will be 
>>> faithful to cm size on screen, it is native on Window, like on the devices.
>>>
>>> At present time I can just set the size of the simulator window
>>> and
>>> take a screenshot by myself on Windows screen, not using the function of 
>>> the simulator itself.
>>> But this could be not possible, I have yet to check with third party 
>>> utilities
>>> because the MS utility cannot take all the area if it exceeds the screen 
>>> dimensions,
>>> like it happens with iPhoneX skin in portrait mode.
>>>
>>> So it is a suggestion or a request, I do not know.
>>> Regards
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/b004c296-3a6f-46e4-83c6-59480bd503afn%40googlegroups.com.

Reply via email to