i am creating an app which will recreate Samsung floating window capability for non Samsung smartphone,
well i found a thread suggesting this can be possible App inside an app some one commented to launch the app using intent and get x y placement using inject tools and hence i tried launching app's Main-activity to run in fragment using intent well this sounds stupid and ya it doesn't work don't laugh,
Instrumentation m_Instrumentation = new Instrumentation();
m_Instrumentation.sendPointerSync(motionEvent);
i really want a way to open installed app to open in a fragment or activity that is anything resizable.