Tag Archives: work

Code snippet: Get all User installed apps on Android

In App List I needed to get the list of all user installed apps. So I made this little utility function:

	public List<PackageInfo> getInstalledPackages()
	{
		List<PackageInfo> allPackages = getPackageManager().getInstalledPackages(0);
		List<PackageInfo> installedPackages = new ArrayList<PackageInfo>();
		for(PackageInfo p : allPackages) //parse all packages to remove the ones with "System" flag
		{
			if(!((p.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) == ApplicationInfo.FLAG_SYSTEM)) //package is not marked as "System"
			{
				installedPackages.add(p);
			}
		}
		return installedPackages;
	}

I hope this helps.

New Update – Power Schedule 2.1.1

Last night I updated Power Schedule to version 2.1. I listened to people who complained about the new User Interface. Yes, now that I look at it, it was poorly designed. But somehow I missed this because I got used to it (while working on it).

Anyhow, I hope you like the new one. It’s much more clean and intuitive. I also added a “reboot” event – for Power Users who rooted their phones. You can set up a reboot each night, to have a “clean” phone in the morning (for example).

I plan to add a lot of other features as well – some suggested by users.
Many thanks go to these people (in no particular order):
Andy F
Carlos Blasco
Francisco Bautista
Levon Janpoladyan
Ferenc Harcos
Sujit Dey
Masoud Beheshti
Peter Jancar
Timothy Arceri
David Abdelli
Kevin (Darkbyte)

They helped me fix some issues and contributed with some ideas (or translations). I will also add their names (with their permission) in the About page (inside the App).

Looking forward to the next version

10000 active users

I’m happy to say Power Schedule has more than 10000 active users. That’s a small town using it. I know it’s nothing comparable to > millions other apps have, but it’s a great milestone for me. It even motivates me to continue working on it (I know, I’ve bene quite lazy lately) 🙂

Thank you all.

Working…

I’ve been working on a brand new Power Schedule (I will call it 2.0, since it’s re-written from the ground up). The problem I’m still facing is that the user interface is getting quite complex (and by that, I mean the app is now larger in size). Unfortunately, Android has a BIG limitation when you’re trying to some special things (like having background services running): you must install the app in internal memory. And this is what users hate most, they’re running out of internal storage space quite quickly.
Therefore, you end up with a lot of angry users uninstalling apps.

So what to do then? Make the User Interface simpler? It’s not “fancy” enough for some. Install the app on SD Card? Not possible for this kind of app. Hopefully either Google comes up with a better solution for this situation, or manufacturers add more internal memory to their phones.

Hopefully I’ll find a solution which suits all 🙂