lundi 30 mai 2016

Translate into B4A

I should translate this into B4A. I stopped on "getDefaultSize (mVideoWidth, widthMeasureSpec);"
The code is:

Code:
  2     protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
4 int width = getDefaultSize(mVideoWidth, widthMeasureSpec);
5 int height = getDefaultSize(mVideoHeight, heightMeasureSpec);
6 if (mVideoWidth > 0 && mVideoHeight > 0) {
7 if ( mVideoWidth * height > width * mVideoHeight ) {
8 //Log.i("@@@", "image...
Translate into B4A

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/25tpyGs
via IFTTT

Aucun commentaire:

Enregistrer un commentaire