Aladin Dridi

Results 4 comments of Aladin Dridi

that probleme coz he used deprecated methode : you must change shouldOverrideUrlloading to this : for me it's resolved @Override public boolean shouldOverrideUrlLoading(WebView view, WebResourceRequest request) { view.loadUrl(request.getUrl().toString()); return super.shouldOverrideUrlLoading(view,...

for draw i found this code working : DrawableSticker drawableSticker=new DrawableSticker(getDrawable(R.drawable.sticker1)); drawableSticker.setFlippedHorizontally(true); drawableSticker.setFlippedVertically(true); stickerView.addSticker(drawableSticker);

this code worked on my android studio : DrawableSticker drawableSticker=new DrawableSticker(getDrawable(R.drawable.sticker1)); drawableSticker.setFlippedHorizontally(true); drawableSticker.setFlippedVertically(true); stickerView.addSticker(drawableSticker);

public void onsave(ImageView imageView){ this.imageView=imageView; BitmapDrawable draw=(BitmapDrawable)imageView.getDrawable(); Bitmap bitmap=draw.getBitmap(); FileOutputStream outputStream=null; File sdcard= Environment.getExternalStorageDirectory(); File file=new File(sdcard.getAbsolutePath()+"/StickersimgApp"); file.mkdir(); String filname=String.format("%d.jpg",System.currentTimeMillis()); File outputfile=new File(file,filname); try { outputStream=new FileOutputStream(outputfile); bitmap.compress(Bitmap.CompressFormat.JPEG,100,outputStream); try {...