Blank Screen finally fixed in AppSender v1.8 ?!?!

I have been receiving feedback from several users that AppSender still displays a blank screen with v1.7. I been trying to fix this for some time now, but was having problems reproducing this bug. Recently, I picked up a new Android device and I was able to reproduce this bug immediately. Hopefully, this is the same bug some of my users are seeing in the field....(I hope).

After a bit of debugging, I found that following code was giving an error.

List pkginfo_list = pm.getInstalledPackages(PackageManager.GET_ACTIVITIES);

I use the PackageManager to grab a list of package installed on the device. Apparently, when there are lots of apps installed (i.e. over 200 apps), it will give the following error (in logcat).

E/JavaBinder( 2225): !!! FAILED BINDER TRANSACTION !!!

Since I don't really need to use the flag "GET_ACTIVITIES". So I simply changed it to the following (which should consume less memory):

List pkginfo_list = pm.getInstalledPackages(0);

Tada!! The bug is now fixed.

I have just released AppSender Version 1.8 on Android Market with this fix.

If anyone find any bugs, please feel free to report them to moto.android.software@gmail.com and I will try my best to fix it.

Enjoy!

Tidak ada komentar:

Posting Komentar

Get Paid To Promote, Get Paid To Popup, Get Paid Display Banner

adsense