*This post assumes an intermediate knowledge of Android Development.
Introduction
I’ve had some ideas for personal apps floating around my head the past few months, but I hadn’t gotten around to building any of them until now. There were numerous times I found myself using an app on my phone to execute a single task or two, but I felt as though I didn’t need to actually launch the app and use a UI (I just wanted to execute a small subset of functionality within the app). I wanted to simply click a button to execute some action within an app, but not launch the app visibly and then have to manually exit out and destroy it. Call me lame, but I felt as though I was clicking/touching buttons more than I really needed to. This led me to the idea of an invisible app. I knew of Widgets obviously, but they didn’t fit my requirements. I was unsure if my idea was even possible, but I knew I wanted my app to abide (yes, The Dude does) by two things…
- Lightweight in memory consumption (must use minimal resources and it must kill itself – to free up system resources)
- Invisible/transparent (no UI)
Basically, I wanted to click an app icon on one of my home screens and have the app do the following, in order…
- Launch app (invisible/transparent)
- Execute some action(s)
- Destroy itself (to free up memory)
I am aware that Android Widgets provide similar functionality, but Step 3 was not possible (correct me if I’m wrong here). Again, my specs require the app to destroy itself, not run in the background like Widgets can. As a result of these requirements, I figured out a way to achieve my goal. I leave you with How to Create Transparent Apps with Android.
Read More »