I want to make a button that float on homescreen and also work if any other activity is in running. i have tricked many ideas and also google vary much but i can't get still any solution..
for example i have tried to make my application transparent and full screen and as a system alert flag from this stackoverflow question: Creating a system overlay window (always on top)
@Override
protected void onStop(){
super.onStop();
Intent intent = new Intent(this, ClassNameOfYourActivity.class);
startActivity(intent);
}
and also tried to start my activity at every movement but it is very bad idea like this: can't get any idea of doing this...Hopefully requested to share me any idea or example if you have experienced about this... thanzzzz in advance..