/Android-ChatHead

Floating ChatHead for Android app, like FB messenger.

Primary LanguageJavaApache License 2.0Apache-2.0

Android-ChatHead

ChatHead for Android app, like FB messenger.



How to Use

Start ChatHead :

startService(new Intent(Main.this, ChatHeadService.class));

Show Message(see below pic 'Messager') : ```Java Intent it = new Intent(Main.this, ChatHeadService.class); it.putExtra(Utility.EXTRA_MSG, str); startService(it); ```
Stop ChatHead(see below pic 'LongPressing to Stop') :
long click and move chathead to the round on bottom

ScreenShot

Dragging and Bounce animation



Messenger



LongPressing to Stop



landscape screenOrientation

Update

Support landscape screenOrientation (2015-4-23)
when screenOrientation change to portrait or landscape, ChatHead will reposition automatically.
IDE convert (2015-7-28)
from Eclipse to Android Studio.
Problem Solved (2015-8-11)
crash when close app from task manager
Runtime Permission (2016-1-19)
support Android 6.0 runtime permissions