In Android how I do the the picture moving? [closed] - java

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I want to make android program :--
As like this picture.
How can I make??
I have to try Animation??or video???
Pls just tell me the process how can I achieve that.

I think the simplest method would be to use the AnimationDrawable class. The process is pretty simple. You would make a series of images in Illustrator, Photoshop, etc. showing the heart in its various stages. Then you would copy them to the /res/drawable folder in your Android project. Then follow the code examples here. As shown, you can specify the duration of each animation frame as XML code.

Related

How to create a filter/effect for camera app? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed last month.
Improve this question
Actually I made a camera app by learning on YouTube and other platform but now I want to add some real time filter can anyone tell me how to make a filter that works in real time....? I'm newbie 🙂
Anyone ell me how to make a filter that work live
Here the GitHub demo code you can implement it in your code.
CameraView that's you can try.
You can use this one also and Editor Like WhatsApp.

Is it is possible to mark code in IntelliJ? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 years ago.
Improve this question
I'm currently still learning the basics of Java and I have dozens of exercises, many times I have trouble finishing them and I'm forced to either ask for help or copy the answers from Github. I want to be able to mark the code I didn't write myself so I can focus on what I have trouble with. I've only found something like that for Visual Studio Code. Thanks in advance.
You can use Bookmarks in Intelij to "save" a place in your code and revisit them later.
Furthermore, you can use Shift+Ctrl+NUMBER to toggle the bookmark for the given NUMBER and you can goto that bookmark with Ctrl+NUMBER.
You can either use bookmarks or yur could use comments to add some text of what you understand and what not.

What is the Android equivalent of JFrame? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I just wrote a Java program for a game and I was wondering how I could get the same game to run on Android using Android Studio.
I noticed that Android does not support JFrame, though. What is the Android equivalent to JFrame?
In Android what you would usually do is subclass Activity if you want to make a "screen" and View if you would like to make a UI widget.
But before you subclass any of them you should know that while they have some similarities to JFrame, they are VERY different and there are a lot of Android specific stuff you need to know about before you start using them. I would start by taking a look at managing activity lifecycle.
For an example of a way to make simple 2D game in Android, take a look at this.

Create a tutorial for my app [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I want to create a tutorial for my app that will show the user how to use it. For example when you first run an android device it teaches you how to use the system.
I want my tutorial to just tell the user to swipe the screen to the left and then click on a button.
Check out the ShowcaseView library on Github. I guess that'll fit your needs.

Java : How to capture Image from webcam on motion detection [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am working on a project where I want to capture an Image on motion detection using Webcam.
Initially I want to start with USB cam and later I want to Integrate the same for IP camera. So please point me to the right direction.
Thanks in advance.
You can check out this Library which has nice samples as well. The samples are sorted with respect to their functionality. You can integrate the functionality and get the desired result. I case you need help with code or stuck somewhere you can ask.

Categories