Umer Pasha Blogs

www.umerpasha.com

Show Outlook.com emails in stock Android email client

Ok, finally I was able to show Outlook.com emails in stock Android email client, after 4 or 5 days of hit and trial. This is how you do it…

I recently switched from hotmail.com to outlook.com

I have tested this on my HTC Sensation 4G running ICS

In stock android email client, create a new account for Exchange Active Sync.

Use \[address]@outlook.com for “domain” and “username” e.g. “\johndoe@outlook.com”
enter server as “snt-m.hotmail.com”

Leave a comment »

Test HTML5 compatibility.

Found this great site to check scores for your browser’s HTML5 compatibility. I use HTML5 extensively these days for mobile apps as well as everyday web programming and layouts. All scores are out of a total of 500. Check out http://www.html5test.com

To keep cross browser compatibility is a great challenge though. Worse offender being Microsoft’s IE. I think it is downright irresponsible that the most used browser in the world comes out with the latest version that scores just 325. Relatively comparing, even my LG TV browser scores 290! It is a disgrace for IE 10!

This also shows why I am always rooting for Google Chrome as the best browser by far on almost any platform. It even beat Apple’s safari and iOS by a fair margin. Down below are the different scores I got for different browsers I have to use everyday to keep cross-browser compatibility issues at bay.

Android
Dolphin HD on Android: 278
Firefox Mobile 14.0.1: 320
Opera Mobile 12.0 : 380
Chrome for Android 18.0: 380

Windows
IE 8: 42
IE 9: 143
IE 10: 325
Firefox 12.0: 339
Chrome 20.0: 427

Apple
iOS 6.0: 369
Safari 6.0: 384

 

3 Comments »

Listing installed APKs in an Android system

Following code lists all the APKs installed in the Android System. I have checked this with ICS 4.0.1 and works fine. Pre-installed applications are in /system/app folder. User installed applications are in /data/app. Though this mostly works, user installed applications will probably only show up if you have a rooted device.



________________________________________________________
 public class Testing extends Activity {
    private static final String TAG = "TEST";
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        File appsDir = new File("/data/app");

        String[] files = appsDir.list();

        for (int i = 0 ; i < files.length ; i++ ) {
            Log.d(TAG, "File: "+files[i]);

        }
    }

________________________________________________________
 
Leave a comment »