Monday, December 24, 2012

compiling python for windows phone 8 - CodeProject

English: Python logo Deutsch: Python Logo
English: Python logo Deutsch: Python Logo (Photo credit: Wikipedia)
It seems that Python is not easy to compile on Windows phone 8. Here is a great article about how to compile Python on that platform.
Windows phone 8(wp8) supports native code. Developers can write applications using c/c++ directly, and port existing achievements to windows phone. But there are many differences between APIs on wp8 and APIs on win32. These differences exist in many categories, such as native thread, synchronization method, file find, library load, etc, which brings a lot of workload for code porting.
Python is a dynamic script language and has many function modules. It is easy to learn and use. Python can improve the flexibility of the application and existing python module can also be used to speed up the development procedure. For python is dynamic language, Apps can uses this feature to create logic or controls some application functions dynamically. Python interpreter is written in c code. Because wp8 supports native code, we can compile python source code on wp8. Thus makes it possible to use python on wp8.
Because the limitations of APIs on wp8, changes have to be made in some source code of python to be compiled successfully. Furthermore, some APIs such as thread, windows registry are not supported, not all modules or features can be ported to wp8.
This article talks about how to compile python source code on wp8, the changes made on source code, and gives an example using python in wp8 native app.


compiling python for windows phone 8 - CodeProject
Enhanced by Zemanta

Monday, December 17, 2012

Wi-Fi HotSpot Creator – Free Wi-Fi HotSpot Tool Download

Increasingly, I have been caught needing to have wifi for my mobile devices but not bring able to use my phone as a hotspot for reasons such as not being able to connect my iPad 2. This option is one I've never considered: a free app that turns your PC into a hotspot if it is connected to the Internet using a wired connection. This, I would like to try: Wi-Fi HotSpot Creator. 

Wi-Fi HotSpot Creator – Free Wi-Fi HotSpot Tool Download
Enhanced by Zemanta

Tuesday, December 11, 2012

Projects in Visual C++ 2010 – Part 1: Creating a DLL project » manski's blog

I've recently trying to do a DLL in Visual C++ and calling it from VB.Net. Here is some information I'm trying to make use of.


And this is an article that should help to.

Projects in Visual C++ 2010 – Part 1: Creating a DLL project » manski's blog
Enhanced by Zemanta

Friday, November 30, 2012

Securing WCF Service with Self Signed Certificates programmatically - CodeProject

Image representing Microsoft as depicted in Cr...
Image via CrunchBase
With the new ways Microsoft is cracking down on security, signing WCF services is important. This is a handy article.

I've spent some time to deal with WCF securing with certificates and came to a solution that I want to share.
As you probably know, WCF supports certificate authentication and it's not so hard to set up. However you will need to install certificates on both the service machine and the caller machine. This can be a problem if you want to host the service on a shared hosting environment for example. Even if the service is hosted on a machine in your network you will still need some permissions to be given to the service application pool user in order to access the certificate private key.

Securing WCF Service with Self Signed Certificates programmatically - CodeProject
Enhanced by Zemanta

Compare two dll files programmatically using Hash - CodeProject

DLL Icon
DLL Icon (Photo credit: Wikipedia)
Never know when this will be handy!

In the past days I needed to compare two .NET assemblies to see if they are functionally the same. As you may know, when you build the same project several times the resulting output .dll or .exe file is always different. That's because of the ModuleVerisonId property(MVID). So in order to check if two assemblies are the same we can disassemble them to IL code and compare them.

Compare two dll files programmatically using Hash - CodeProject
Enhanced by Zemanta

Tuesday, November 27, 2012

Iron HUD : Futuristic vision - Android Apps on Google Play

Been waiting for someone to make one of these! It turns your Android device into Iron Man's HUD...complete with repulsors!


Iron HUD : Futuristic vision - Android Apps on Google Play
Enhanced by Zemanta

Running Android Apps on Emulator - CodeProject

Awesome Article:

This is basically a non-programming article in which I am describing how to install Android apps on an emulator.
Many times we come across situations when we cannot run a much liked Android application on a device. Either we do not have a device to test our application, or we do not have space to install the application on our device, or simply we want to test an application before installing it on our device. In such cases, the emulator provided by the Android SDK comes to the rescue.
In this article, I will show how to create an SD card to be used by the Android emulator, how to mount the SD card and copy applications to the SD card. Once the app is copied to the emulator, it can be installed in the same way as installing on a real device. I am assuming here that the Android SDK has been installed on the computer.
As an example, I am showing how to install the AngryBirds game on the emulator.


Running Android Apps on Emulator - CodeProject
Enhanced by Zemanta

Monday, November 26, 2012

Android Developers Blog: Designing for Tablets? We’re Here to Help!

If one wants to learn more about developing apps on Android that work on Tablets and Phones read the following link and the video.


Android Developers Blog: Designing for Tablets? We’re Here to Help!
Enhanced by Zemanta

Saturday, November 24, 2012

TecTiles: programmable NFC stickers for select members of Samsung's Galaxy

I recently got a Samsung Galaxy S III and I am going to have fun with the near field technology. I hadn't heard of this technology's use until yesterday using Samsung TecTiles.

Samsung TecTiles is a two-part process. Firstly, to use Samsung TecTiles you need to purchase TecTile tags, which cost $14.99 for a set of five NFC tags/chips. These tags store commands and limited data (they are not attached to devices, don't mistakenly stick it to your device). TecTile tags can be bought directly from Samsung's website or other authorized sellers. Secondly, after you have TecTile tags, you need to download Samsung TecTiles app from Google Play Store (it is free); this app is used to program the tags (store commands in them). Once you have both the tags and app, you can read from and write to the TecTile tags.

We can use the this technology to do things like programming your phone to Turn Wi-Fi or Bluetooth on and off, call home, send a prewritten text, Open a webpage, update your status on Facebook, and many other ideas.


Use Samsung TecTiles to automagically execute tasks on your Android device

TecTiles: programmable NFC stickers for select members of Samsung's Galaxy

Download the App
Enhanced by Zemanta

Heroic Play

A tool bar has been put together that puts most of the Marvel online games from the past 4 years in a simple toolbar.

Heroic Play
Enhanced by Zemanta

Mouse Control via Webcam - CodeProject

Ever wanted to use your mouse on your PC with hand gestures? Some students have figured out how to do that without using Kinect but with just the webcam!
This application uses emguCV, a .NET wrapper for openCV, to perform image processing, through which we try to recognize hand gestures and control mouse using these gestures. In this app, cursor movement is controlled by the movement of hand and click events are triggered using hand gestures.
 
Mouse Control via Webcam - CodeProject
Enhanced by Zemanta

Make app icons of all the sizes you need in a blink! | Hello Android

Google Play and the Apple App store require icons of a certain size and the following link gives information on such a web app to help with that.

Make app icons of all the sizes you need in a blink! | Hello Android

Tuesday, November 20, 2012

Pepakura Modeling Software

Turns out that there is a software suite that contains a designer program and a program for viewing those designer files and files made by others. They are used for making 3D and 2D models for sculptures - including cosplay costumes like Iron Man and halo armors.


 
 

Friday, November 16, 2012

Thursday, November 15, 2012

Monday, November 5, 2012

Elevated In Browser Trust in Silverlight 5

Microsoft SilverLight
Microsoft SilverLight (Photo credit: denetsnuff)
Here are two articles that give important information about using elevated trust in Silverlight 5.

c# - vb.net - asp.net discussion forum - External Source

How to: Enable Trusted Applications to Run Inside the Browser
Enhanced by Zemanta

Mister Goodcat | Silverlight 5 Tidbits–Trusted applications

Image representing Microsoft Silverlight as de...
Image via CrunchBase
Here is a good article about how to make and deploy a Silverlight 5 program so that it can work as an in-browser trusted application.

Mister Goodcat | Silverlight 5 Tidbits–Trusted applications
Enhanced by Zemanta

Saturday, November 3, 2012

Changing Ownership of a File

Ever needed to change the ownership of a file programmatically? If so, this is the VB.Net  code for you!

Changing Ownership of a File
Enhanced by Zemanta

Get Current Username in VB.NET - VB.NET sample code - developer Fusion

AWB Username
AWB Username (Photo credit: Wikipedia)
Let's say you need to have VB.NET software that needs to get username of the person who has logged on. Here is some VB.Net code that actually does that. Follow the link

Get Current Username in VB.NET - VB.NET sample code - developer Fusion
Enhanced by Zemanta