Posts

Showing posts from August, 2013

WP7 and the ActiveSync supported Host Internet Sharing

 Did you know that WP7 supports Host's Internet Sharing via Zune? To see that enable Airplane mode and connect your WP7 device to your computer. Now open zune, and let it connect to your phone. Once your phone is detected, open Internet Explorer on your phone and see if you can open any website. Provided your computer is connected to internet, websites should open on your phone. You must also know that media access is not allowed in a WP7 device while connected to computer. Which means that you can't really use the computer's internet connection to do much useful things. But if your WP7 device is unlocked then you can use WPHack to enable media access while connected to computer and that make it possible to use your WP7 device as normal internet connected device where you can download anything, store it in phone storage and as such. It also allows you to update apps/ install new ones from marketplace/ download stuff from internet via various apps. In short, it makes your ...

Using Qwt Plots: more functionality in the app

Image
Added some more functionality. Now we can see the source and the prediction graph on left side. On right I'm showing the filtered results. The algorithm is still a bit whacked up, but the UI does look good. The additions were: Stylesheets for styling the groupbox and the graphs - canvas and curves. I also used QPens to make the curves look better. Also added a checkbox for providing anti-aliasing. It doesn't look that good on current graph but if there's a simpler graph then that may benefit from anti-aliasing.

Using Qwt plots

Image
I wrote a small app for stream processing some data. This is the front-end which shows a stream of data (simulated as of now ) and plotted in a qwt plot on the right. This in itself is not the important thing - that's some logic I'm going to write to filter the data. But this form helps me in visualizing the real thing.

Experience creating and deploying Hello world app for windows phone

Recently I unlocked my Samsung Omnia W which I previously upgraded to WP7.8 using Heathcliff's unlock for Samsung second generation devices. Afterwards I got hold of some xap's and deployed them to the phone to test out the unlock and things worked out quite well. Thus now I have a device that I can code for and put my code in. So just to test the development environment I tried installing the SDK and coding a simple Hello World app for my wp. There I ran into a few problems and I had to run circles to find solutions / workarounds for them. The first problem was I had WP7 sdk which is incompatible with Windows 8 (which is my current desktop OS of choice along with elementoryOS). So after looking at a few workarounds for the incompatibility which involved downloading a few update packages and messing with the system. I discarded them since I didn't want to mess with my Win8 installation which is already finicky enough. So I decided to keep the existing WP7 SDK install si...

xev to check xinput events

xev is a utility that draws a window on screen and processes all events occurring in that window like mouse in, mouse out, mouse move with screen coordinate output. Very useful when checking touchscreen input values.

CentOS installation in GUI mode to a terminal where you get only text mode

To get GUI mode over vnc, you need to edit the first option and append "linux vnc vncpassword=qwerty" to the line and boot using that. This will basically start a vnc server on the terminal and you can login to that machine using any vnc viewer with "qwerty" as password. The need for GUI mode maybe anything - e.g. advanced partitioning options which are not available in text mode.