question: public static Asset createAssetFromBitmap ( Bitmap bitmap ) { if ( bitmap != null ) { final ByteArrayOutputStream byteStream = new ByteArrayOutputStream ( ) ; bitmap . compress ( Bitmap . CompressFormat . PNG , 100 , byteStream ) ; return Asset . createFromBytes ( byteStream . toByteArray ( ) ) ; } return null ; }
target:  Create a wearable asset from a bitmap.