ti_ua: (Default)
ti_ua ([personal profile] ti_ua) wrote2015-01-31 12:30 am

No man No cry!

Для разработчиков из Google и их OEM партнеров уже открывают отдельный кампус в раю в аду. С толпами гурий. И у каждой random behavior и чрезвычайно лаконичный man.
В подобном аду уже страдают разработчики разъемов для мобильных телефонов. Только там их писюн ни к кому не подходит.

Для тех, кто не рыбак, и не понимает к чему тут самцы человекообразных.


I've found some odd behavior around Camera.Parameters.setRecordingHint that I'd like to understand better.

If I set it to true, the size of the preview image can come back different from what I pass to setPreviewSize. It depends on what size I set it to-- some aspect ratios work and some don't.



- You need to set video-size parameter to the correct value. ... You can change this parameter using params.set("video-size", "WxH"). Only then is the aspect ratio correct.
- is "video-size" documented anywhere?
- I don't think so.


Хорошо, а что же там в документации?

public void set (String key, String value)

Sets a String parameter.

Parameters
key the key name for the parameter
value the String value of the parameter

Все.

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting