Android Home screen animation using widget - android

I am trying to create an Android app where there will be simple animations on the phone at all times.
The app will be similar to "Crack Your Screen Prank"
or
Facebook Messenger,
where it will be on top of the home screen, but animated.
At first I thought this was widget but I am not sure anymore.
Please let me know how to achieve this.

This can be done in three ways:
A Widget
A Live Wallpaper
A Daydream
Its even possible to create an app that has all three of these features and offers the user the option of using one or more of them simultaneously.

Related

Mirror screen from a device to another

I am developing an app to achieve the functionality for Screen Casting from one android device to another android device.
I am developing an app which would be functional like teamviewer i.e. cast other user screen and also want to implement the functionality which identify the screen tap from the destination screen which reflect the action to host screen.
I am using below example's link for implementing the functionality. But not able to achieve the solution for screencast.
https://github.com/mmuszkow/ScreenMirroring
https://github.com/farmerbb/SecondScreen
https://github.com/JonesChi/CastScreen
https://integrate.teamviewer.com/en/develop/screen-sharing-sdk/android-tutorial/
Any help will deeply appreciated.
You can not do this Mamta. Not possible in this life.

Viewpager like Home screen with drag rearrange and swipe down to delete

I have started working on making a simple launcher app. I have already gone through many posts and source code of various launchers but I am really stuck at the home screen thing. I just want to create a simple view pager and on long click of it I want it to behave like android stock launcher where user can drag and drop screens to rearrange it and may delete it by swiping down to the cross button.
I am really confused as there is no proper documentation of how things happening in android stock launcher
Please tell me how to achieve this properly. If anyone has extracted that code and give it to me it will be a great help. Links are appreciated.
Thanks!
The standard home screen is implemented as a single large view, with each screen being a child view. Each of those individual screens then lays out icons and app widgets according the grid appropriate for the device.
The way the swiping behavior works is by overriding onInterceptTouchEvent and onTouchEvent. It's tricky because there are so many things that a touch could be doing: the user could be tapping on an icon, swiping to the next screen, or starting a long-press. When you implement one of these behaviors, you have to make sure you don't get in the way of another one.
Once the user is doing a long-press, your launcher app enters a different mode, and the event processing behaves differently in this mode. That is, it implements the standard drag-and-drop behavior. This is tricky too.
I spent two years of my life working on the home screen app for a major device manufacturer. It's complicated, and I'd recommend that you have a good reason for diving into the project.

Can an app take a screenshot while running in the background?

Is it possible to programmatically take a screenshot of the screen while in a different app by some kind of a gesture in android? I want my app to run in background and when the user makes a particular gesture, I want my app(running in background to take a screen shot to be sent somewhere). I also want this gesture to recognize nearby devices that has my app to be able to get the screen shot for manipulation. I am still learning android, and I am planning this as my project. Just wanted to know if this is possible.
Yes it is possible
check, there are many app on google play for this.
Screenshot Ultimate and Screenshot UX Trial

How to display balloon counter over application launcher icon on android

I would like to make an icon counter for andoid just like the Email and the Samsung Apps applications i have seen such requests from other developers, but you all say it can't be done.
if so how come those 2 apps and other apps can do it?
do i have to make like more than one icon image and swap them or something?
is it really cant be done and why?
thanks.
you all say it can't be done.
That is because it cannot be done, except by the maker of the home screen, or via an app widget (instead of a launcher icon).
if so how come those 2 apps and other apps can do it?
Because Samsung wrote the home screen and can do what it wants with its home screen.
do i have to make like more than one icon image and swap them or something?
That will not work, as you cannot change the launcher icon at runtime.
is it really cant be done and why?
It really can be done by making an app widget, or by making your own home screen.

Show Android App Widget in all homescreens

I am developing an android widget to show in the homescreen. Now, I can show the widget in main homescreen. Now, is there any way to show that widget every homescreens (in most of the devices there are several homescreens where we can swipe to left or right from the homescreen)?
Only if the user manually adds your app widget multiple times.
These depends on entirely on the home screen app. Some home screen apps could certainly implement a UI to have a widget like this. The launcher that is part of stock Android does not have such a facility.

Categories

Resources