Posts

Showing posts from April, 2019

How to Share an image from imageview to any app.

1) Create a new sketchware project or use an existing project. 2) For sharing images from imageview1 , set a button as button1 to initiate sharing. 3) In button1 onClick event add a ASD block and paste the below code:- Bitmap bm = ((android.graphics.drawable.BitmapDrawable) imageview1.getDrawable()).getBitmap(); try { java.io.File file = new java.io.File(getExternalCacheDir() + "/image.jpg"); java.io.OutputStream out = new java.io.FileOutputStream(file); bm.compress(Bitmap.CompressFormat.JPEG, 100, out); out.flush(); out.close(); } catch (Exception e) { showMessage(e.toString()); } Intent iten = new Intent(android.content.Intent.ACTION_SEND); iten.setType("*/*"); iten.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(new java.io.File(getExternalCacheDir() + "/image.jpg"))); startActivity(Intent.createChooser(iten, "Send image")); If the above code crashes consider adding WRITE EXTERNAL STORAGE by adding a more block as nothing and a bl

How to enable Developer options in android

For Developers to test apps in android from android Studio and for some features, they need to enable Developer options in their android phone. 1) Go to settings in your android phone. 2) Scroll to the last. Click on About phone. 3) Find Build number and click it 5 times. 4) Developer options will be turn on.

Blog - How to cancel your Adsense account.

You may also like:- How to make a blog There are two methods to cancel your adsense account permanently. First method:- 1) Sign in to your adsense account. 2) Go to Settins > Account > Cancel account. 3) A confirmatory email will be sent to your email. 4) Click the link in the email. Ads:- Second method:- If the cancel account button is not shown you have to follow second method. 1) Visit this link:- Cancel my AdSense account - AdSense Help 2) Fill up your account details. 3) Your adsense account wiil be closed. The second method is the most common method. Because in some adsense accounts, there will be no cancel button. Thank you...