Android WebView


Using Git and GitHub

1. to download Git..

2. then found out the this GUI is also available :, but its not needed as i found that 1. above installs a GUI too,

3. The next step is simple :

Create a new repository on the command line
git init
git add
git commit -m “first commit”
git remote add origin
git push -u origin master

Push an existing repository from the command line

git remote add origin
git push -u origin master

4. I would suggest using GIT Bash over windows CMD..

Well. this is it..follow this guide for the rest

Sencha Ext.device.Camera.capture

Till now i have tried this in Sencha :

function a() {
    // Grab elements, create settings, etc.
    var canvas = document.getElementById(“canvas”),
    context = canvas.getContext(“2d”),
    video = document.getElementById(“video”),
    videoObj = { “video”: true },
    errBack = function (error) {console.log(“Video capture error: “, error.code);};

    // Put video listeners into place
    if (navigator.getUserMedia) { // Standard
        navigator.getUserMedia(videoObj, function (stream) {
            video.src = stream;
        }, errBack);
    } else if (navigator.webkitGetUserMedia) { // WebKit-prefixed
        navigator.webkitGetUserMedia(videoObj, function (stream) {
            video.src = window.webkitURL.createObjectURL(stream);
        }, errBack);

    // Trigger photo take
    document.getElementById(“snap”).addEventListener(“click”, function () {
        context.drawImage(video, 0, 0, 200, 100);



This thing works like a charm in mobile and dextop chrome browsers (note that in mobile chrome it worked only on hosting and not thru the local copy of html)…but sadly, the sencha app isn’t able to work  with this….

Trying this Sencha thing out :

: function(image) {
: 75,
: 200,
: 200,
: 'data'
Well i now saw that in both the cases above the browser is actually searching for camera on the dextop chrome it works 🙂

But on device, as apk is opening some other webview ..its not showing up…

NOW The only option is PHONEGAP………..

clickonce deployment for windows apps


Just came across some issuse with the clickonce packaging of a windows app.

The issue was that once installed, when i changed the code and build it again using VS 2010, thought the new .application file got created, it wouldn’t install and is giving the error :

+ Unable to install this application because an application with the same identity is already installed. To install this application, either modify the manifest version for this application or uninstall the preexisting application.

Steps Tried :

0. Looked for the app in the control panel “Add/Rem Programs” but wasn’t there

1. Deleted the contents from the physical path of the app : %UserProfile%\AppData\Local\Apps\2.0

2. Then it still gave same error so i tried to clean the registry but couldn’t find the app key

3. Finally tried to clean the app cache using :

C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools>mage.exe
Application cache cleared.

But still same error….

Finally resolved it by changing the revision of the app in Publish tab of Projfect props.

Also found that clickone packaging is done easily thru VS2010 thru the same Publish tab in VS

Another issue  with clickOnce is that it picks up the icon from the manifest and hence doesn’t reflect the icon changed done using code..

Solution : Change the taskbar settings to : never combine

Visual Studio Extensions

My extensions :

ToDo List :

1. Install Tools-> Web Components (i.e. )..

well, i just installed it but it’s really not what i thought it was :

Issues faced with :

1. ReSharper


1. Web Essentials