Wednesday, February 26, 2014

PowerShell Script to delete the folders or files using specific keyword

Below is the Script to delete the folders or files with specific keyword within a specific location:


get-childitem c:\data -include keyword-recurse | foreach ($_) {remove-item $_.fullname -force -recurse -ErrorAction SilentlyContinue}

Wednesday, February 5, 2014

Intent in Android

Its a very useful feature in Android application development. Its a passing of messages from one Activity to another activity. Just like invoking one activity from another.

There are 2 types of intents.

Explicit: Create 2 activities.Call  second activity from first activity

Implicit. You can implicitly call another activity that exists in the system. Ex : send sms, send an email, start search, etc.