Android Creating a masking activity - android

I'm attempting to create an activity which allows a user to mask out part of an image. The way I'm trying to achieve this (yes trying, because it still isn't working for me, please see my other SO questions), is by painting a color over the base image using the canvas. I saw an app this morning which basically does exactly what I need and I thought I'd ask here if anyone knows how the app is doing the hard work and if there is a good tutorial or documentation somewhere for this concept?
Basically you press part of the image and it automatically masks out to the edges of the object in the image, you press again to add more, and press to remove.
the app is called "AThumb Cut" and hope its ok to link to it here https://play.google.com/store/apps/details?id=com.instacut2

This is an amazing application indeed. They work like Magi tool in PhotoShop. Try this tutorial it tells you how to do it in Java.

Related

I want to make UI that I can move text around in Android

I want to make an app that generates card news in android.
Additionally, I want to make UIs that I can move texts around on a photo,
so that I can set the text wherever I want on the photo.
How can I achieve that?
Is there any library that I can use?
or what should I search?
I am currently working on Canvas now.
Thanks!
I think I found my solution.
I searched with the keyword 'sticker' and I found this site.
https://blog.uptech.team/how-to-create-snapchat-like-stickers-for-android-50512957c351
this is the github source
enter link description here

displaying images in android with zoom/pan/rotate etc functionality

So i got a lot of solutions online but none of them were simple and complete. First i tried using imageview and adding external libraries for zooming etc. but i couldn't find one which had all the functionality we see in a gallery app without being extremely slow. I read something about canvas though don't know what it is. I also found "zooming a view" in android official tutorial but it was just a single tap zoom. So which is the best solution (in terms of functionality and speed) for this: I want an activity to show just a single image such that the user can zoom/rotate/pan it as its gonna contain text that the user needs to be able to read. So basically just like a gallery app. Is it possible to call on the gallery app activity to display this image? Why doesnt android have better support to do this? What is the best way you would suggest.

android- How to make educational semi-transparent images when app runs for the first time

I've seen this in some apps , When the user runs the application for the first time, it shows some semi transparent screen shots that points to a certain part and shows some texts under it .
What does it calls ? How can I make some for my application ?
Edit:
this is the image of what i mean :
thanks
I think you are looking for something like this
here's the github url: showcase
EDIT:
Then take a look at this
there are also some of library there but i', not sure it's work for you
lib
try this and let me know if it work for you.

How do you display hint circles in Android?

I'm wondering how to display the "hint circles" (I don't know what they're really called, and I couldn't find it anywhere) when opening an app for the first time. I've seen this in many stock android apps, but not in many third party apps. Is there even a way to do this?
Thanks!
Here is a picture of what i mean. (The blue circle with the OK, not the white one)
there is a library for that, check ShowcaseView
From what I have experienced with these, they seem to just be a form of a splash screen, or another image overlaying the actual app. Even if the stock apps don't handle it like that, couldn't you just have the app open up a new screen that contained a mostly transparent image except for where you want the ring or other hints. Then you can just at a button to that screen, so that after the user has read all of the hints, then they could close the screen.
I do not know how to totally do this, but since you said you couldn't find any documentation on it, I figured this could either give you a solution or point you in another direction to keep looking.

Enhancing Help option in my android application

I need to add help menu in my android application to help users know about the app for first time when they start Should show pop up screen like this
well, I can do this by adding such images but Is there any library or sample project available that I can use to achieve this!
here is developers link down there is a semi transparent image
What needs to happen is getting the locations of the relevant views and pass them, in an intent, to a help activity with a transparent background. Luckily, there is an open source library for this. Check out ShowcaseView . It is what you are looking for.

Categories

Resources