Posts

Create snackbar (message)

Create simple snackbar (snackbar short message) in Sketchware 1-Add new Linear "linear1" in your Activity. 2-Create new block+string "text" and add this code. android.support.design.widget.Snackbar simofy = android.support.design.widget.Snackbar.make(linear1, "_text", android.support.design.widget.Snackbar.LENGTH_LONG); sb.show(); 3-Add the snackbar code in widget clicked of action (on create,button clicked,linear...) android.support.design.widget.Snackbar simofy = android.support.design.widget.Snackbar.make(linear1, "Snackbar text", android.support.design.widget.Snackbar.LENGTH_LONG); sb.show(); Note: "_text" is the string block.

How to create unlimited copy of app

Image
Link to dowloaded old version of Apk Editor Pro for create unlimited copy for app https://www.mediafire.com/file/tauddvb0uhffhd2/com.gmail.heagoo.apkeditor.pro_1.8.28_free-www.apkhere.com.apk   For more explained watch the video tutorial

⛔ Prevent to taking screenshots or screen recording in your sketchware project

Image
1- Add this code in your "ON ACTIVITY CREATE" Project. getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE, WindowManager.LayoutParams.FLAG_SECURE); 2- Save and run your project.

Video player in your sketchware project

Image
Follow these step to create a video player in your project 1-Add new Button "button1" (set text = "pick video") Like this⬇⬇ 2-Add new Activity   - NOTE: (MainActivity = Activity1)                 (PppActiviy = Activity2)  3-Add Linear "linear" Set background color ("BLACK"):(Width = MATCH_PARENT,Height = MATCH_PARENT);(Padding = 0)  2- (2Activity)Add new String Variable ("str")    - Add new SharedPreference ("user:user")    - Add these code⬇⬇ ASD1: vidview = new VideoView(this); vidview.setLayoutParams(new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.MATCH_PARENT)); linear.addView(vidview); ASD2: mediaControls = new MediaController(this);  mediaControls.setAnchorView(vidview);  vidview.setMediaController(mediaControls); ASD3: vidview.setVideoURI(Uri.parse(str)); vidview.start();  3- (1Activity) Add new FilePicker ("fp")    

Progress bar in sketchware app

Image
Follow these step to create progress bar in your sketchware app 1-Add LinearV linear1 set(Margin top = 10);(weight = 80 height = 80);(Layout Gravity = Centre Horizantale) Like this⬇⬇ 2- Add Code in "ON ACTIVITY CREATE" ProgressBar simofy = new ProgressBar(MainActivity.this); linear1.addView(simofy); Note: You can change ("MainActivity"),("linear1") and ("simofy") 4-  Save and run your project.

Create spinner using sketchware

Image
Follow these steps to create spinner app in sketchware 1- Add new project in sketchware 2- Add new Button "button1" and new ImageView "imageview1" 3- button1(Set text= decrease) 4- Add icon spinner in imageview1 5- Add new variable number (spin) 6- Add new timer (t) 7-Add these blocks in "imageview1 on click" 8- Add these blocks in "button1 on click" 9- Save and run your project . FOR MORE EXPLAINED WATCH THE VIDEO TUTORIAL

Notification Editor Pro In Sketchware

Image
code to create a notification editor pro in sketch ware