Animation object use in sketchware Hi today we study about animation of object in sketchware .this very important part of sketch ware follow following step . Step 1-open your sketchware and make new project and make xml file and go to next step. step 2- @Override public void onClick(View _v) { } }); } private void initializeLogic() { } @Override protected void onPostCreate(Bundle _savedInstanceState) { super.onPostCreate(_savedInstanceState); } @Override public void onBackPressed() { } // created automatically private void showMessage(String _s) { Toast.makeText(getApplicationContext(), _s, Toast.LENGTH_SHORT).show(); } private int getRandom(int _minValue ,int _maxValue){ Random random = new Random(); return random.nextInt(_maxValue – _minValue + 1) + _minValue; } public ArrayList<Double> getCheckedItemPositionsToArray(ListView _list) { ArrayList<Double> _result = new ArrayList<Double>(); SparseBooleanArray _arr = _list...
Use of checkbox in Sketchware Use of checkbox in Sketchware Welcome my friend in KNHCenter. To day I discuss about check box. Checkbox return type is true or false .when checkbox checked than it return true otherwise return false. 1.open sketchware app 2.Make new project 3.today my gole is make a project .When I pressed the a button .If check box is check than a message show me that check box is check . Otherwise show me a massege check box is unchecked. 4. Make following main.xml file like image which is given below 5. Create logi in onclik button This For android studio java and XML code is below:- Main.Java:- package com.my.newproject3; import android.app.*; import android.os.*; import android.view.*; import android.view.View.*; import android.widget.*; import android.content.*; import android.content.ClipboardManager; import android.graphics.*; import android.media.*; import android.net.*; import android.text.*; import android.util.*; import andro...
Comments
Post a Comment