hi all
i m trying to open a image to crop this
i m using this code
but dont works
how can i open a intent with a image on this ?
i dont want open galery or camera, only open a intent with a image to make a crop *-*
how can i
i m trying to open a image to crop this
i m using this code
B4X:
Dim i As Intent
i.Initialize(i.ACTION_PICK, ParseUri("file://" & File.Combine(fp, "nao"&imgclicada&".png")))
i.PutExtra("output", ParseUri("file://" & File.Combine(fp, "nao"&imgclicada&"2.png"))) 'output folder you set OpenCam(File.DirRootExternal, "1.jpg")
i.PutExtra("crop", "true") 'crop ON
i.PutExtra("aspectX", 0) 'crop aspects
i.PutExtra("aspectY", 0) 'crop aspects
i.PutExtra("outputX", 200) 'crop size
i.PutExtra("outputY", 150) 'crop size
StartActivity(i)
but dont works
how can i open a intent with a image on this ?
i dont want open galery or camera, only open a intent with a image to make a crop *-*
how can i