Thursday, May 31, 2012

Basic structure of an Android project - CodeProject

This handy little article explains how to set up an Android project

Basic structure of an Android project - CodeProject

Html5 Jigsaw Puzzle - CodeProject

Introduction to Article

Javascript programming has become more and more interesting since modern browsers started implementing HTML5 and CSS3 specifications. Some people have been hoping for the trio javascript/html5/css3 to free web development from plug-ins such as Flash and Silverlight. So far we've seen noticing a myriad of Html5 development tools and frameworks popping up here and there all the time, trying to catch up with the maturity and user experience of established Flash and Silverlight frameworks and tools.
This time I became particularly well impressed by the Paper.js framework. It's easy to use, very clean and intuitive to work with, and provides powerful and flexible set of classes and events. This, in addition to the flexibility of javascript language, enables a fast and productive development environment.
After some time playing with Paper.js, I decided to create a jigsaw puzzle game with that tool, and only then the real learning began. The results of hours of trial-and-error are in this article, and I hope to explain Paper.js by explaining the game development itself. And if you're not interested in the article nor in the javascript, at least you might end up playing with the puzzle game.


Html5 Jigsaw Puzzle - CodeProject

Wednesday, May 23, 2012

Tuesday, May 22, 2012

Android RESTful/OAuth upload file to Dropbox - CodeProject

Introduction to Article I found for making an Android app upload files to DropBox!

A few of my applications generate files locally and although  methods to transfer those files like Bluetooth/Wifi transfer , email and similar are included users are heavily using the Cloud so the option to write the files to the Cloud was due pronto. We can accomplish this  using the RESTful API/services from the Cloud provider.

 RESTFul services are becoming a predominant Web service  nowadays due to its simpler style specially its stateless mode. Clients on different platforms can access resources via this architecture with very low complexity. Clients need to authenticate to the server and  the OAuth is the  method of choice since it is an open and straightforward standard with a decent level of security. In this article we will walk through an Android implementation of uploading a file to dropbox using their RESTFul API which utilizes OAuth authentication.

Android RESTful/OAuth upload file to Dropbox - CodeProject

Monday, May 21, 2012

$74 USB Computer runs Android | Hello Android

Where can i get one of these?

What’s that I hear you say, that’s a USB stick? Think again droiders of the world. That is a tiny computer. The USB stick is much more than meets the eye. Much smaller than the $35 Rasperry Pi, the three and a half inch drive runs a 1.5GHz single for ALLWinner A10 CPU that’s based on the ARM Cortex A8 spec. featuring a Mali 400 GPU and 512 MB of RAM.

The device reportedly runs Android 4.0 (ICS), features an HDMI port, USB 2.0 and microUSB ports along with a microSD slot. This little guy supports a wide range of audio and video codecs so you can plug it into any device that has a USB port to stream video and auto wherever you want to especially as it supports Wi-Fi connectivity.

$74 USB Computer runs Android | Hello Android

Sunday, May 20, 2012

Linear Equation Solver - Gaussian Elimination (C#) - CodeProject

Here is a handy article about solving linear equations using Gaussian Elimination with algorithms coded in C-sharp.
Linear Equation Solver - Gaussian Elimination (C#) - CodeProject

Voice Actions for Android

Ever wanted to control your android phone by speaking commands to it? Try this!

Voice Actions for Android

Friday, May 18, 2012

Engineer Can Build The Enterprise In 20 Years

I agree that it's possible to do such a thing (sans warp drive, holodeck, transporters, and replicators).

Think it can’t be done? In response to the naysayers he says, “If someone can convince me that it is not technically possible (ignoring political and funding issues), then I will state on the BuildTheEnterprise site that I have been found to be wrong. In that case, building the first Enterprise will have to wait for, say, another half century. But I don’t think that anyone will be able to convince me it can’t be done. My position is that we can – and should – immediately start working on it.” I agree. Engage!
With most scientific endeavors its usually funding and politics that messes things up - not science. I hope people will come together and attempt to try this anyway.





Engineer Can Build The Enterprise In 20 Years

[Developers] Responsive mobile design in practice | Hello Android






[Developers] Responsive mobile design in practice | Hello Android

Monday, May 14, 2012

Math Parser TK.NET - CodeProject®

Introduction to Article

This is a mathematical parser designed as module (class), which receives as input a mathematical expression (string) and returns the output value (double). For example, if you input "sin(90)+1,3" then the class returns this value — if (radians (bool) false) then 2,3 else 2,19399666360056.
In my country (and my regional settings) ',' is a char decimal separator and char decimal separator in this parser depends only with regional settings in OS.  


Math Parser TK.NET - CodeProject®

Sunday, May 13, 2012

3D Space Flight Demo for Android OS, with Accelerometer-Based Controls - CodeProject®

 Check out this great article:

Simulation of flight in 3D space using OpenGL. The accelerometer-based UI is of particular interest.

3D Space Flight Demo for Android OS, with Accelerometer-Based Controls - CodeProject®

Wednesday, May 9, 2012

Tuesday, May 8, 2012

The Avengers - Assembled in Your Pocket

The only disappointment to how the Avengers movie is being handled is that there is no P3/Xbox 360 game!  The good news is that there is a mobile game that's pretty good. Gameloft has released a game that's based on the movie and you can get it from their web site. I think they should have an iOS version soon.

Play as the Avengers - Hulk, Captain America, Iron Man or Thor - and fight against Loki and his alien allies as they seek to conquer Earth. Charge headlong into exciting gameplay with eight levels, including flying levels and locations faithfully recreated from the movie.

The Avengers - The Mobile Game for Mobile - Download Game Now | Gameloft






There is also new live wall paper based on the movie. It's pretty cool!



Avengers Live Wallpaper

Monday, May 7, 2012

VB.NET wrappers for much of the Windows API - CodeProject®

Now this is handy!

This might not be classified as an article as it is simply a collection of Windows API wrappers written in VB.NET.   It was originally part of shrink-wrapped security software deployed on XP and Vista.  Some minor updates might be required on Windows 7 (int -> long, etc.), however, the code has been proven to work.  


VB.NET wrappers for much of the Windows API - CodeProject®

Friday, May 4, 2012

Make your HTML5 Video Play on Mobile Devices - CodeProject®

Check this article out!!!


Make your HTML5 Video Play on Mobile Devices - CodeProject®

Generate a Google SiteMap with PHP - CodeProject®

The PHP logo displaying the Handel Gothic font.
The PHP logo displaying the Handel Gothic font. (Photo credit: Wikipedia)
Introduction to the article

This is a quick bit of code that generates an XML Sitemap compatible with Google Sitemaps (Protocol Version 0.9). It can be used in conjunction with the Google Webmaster Tools to help them index your website, and hopefully get you a bit more traffic.
This code also provides a demonstration on how to change the Content Type of a served web page (in this case, how to make a PHP file to be treated like an XML file.


Generate a Google SiteMap with PHP - CodeProject®
Enhanced by Zemanta

Learn HTML5 in 5 Minutes! - CodeProject®

I am so gonna try this tutorial!

Learn HTML5 in 5 Minutes! - CodeProject®

Thursday, May 3, 2012

Writing an Android GUI using Python - CodeProject®

Intro to Article

The examples in this article will create menu, scroll view and popup window. For menu widget, programmer should override android functions of activity, which are “onCreateOptionsMenu”, “onPrepareOptionsMenu”, “onOptionsItemSelected”. Using python, the same functions should be defined and assigned to activity object. Popup window is often used to show information or perform some interactions with customer. Python permits define functions in another function, which is convenient to define widgets in popup window. 

Writing an Android GUI using Python - CodeProject®

Monday, April 30, 2012

Writing Android GUI Using LUA (Introduction) - CodeProject®

Introduction to article

Lua is more like python. Both are all dynamic languages, with little difference in syntax. Therefore these series of articles are similar to "write android gui using python" series.
Using CLE and wrapandroid project, programmers can also write android gui applications with lua. CLE supports interaction between lua and java, gives a common interface for multiple programming languages. Wrapandroid project encapsulates android java class with cle objects. This article is an introduction. There will have series of articles to further explain how to programming android applications using lua.


Writing Android GUI Using LUA (Introduction) - CodeProject®

Thursday, April 26, 2012

Writing android gui using python(list view and custom view) - CodeProject®

More about writing a GUI for Android using Python!

The examples in this article will create a listview and a custom view. Android listview often uses adapter such as "ArrayAdapter(…)". The syntax is java generic, which may have no corresponding types in dynamic script languages, such as python, lua, etc. Therefore, we have to give specific class, such as StringArrayAdaper, for it can be used in these dynamic languages. For StringArrayAdapter, we can override function getView to return little more complex view for listview. For custom view, we can create instance of View, and override its function onDraw. In function onDraw, we may draw text or bitmaps using function of canvas.

Writing android gui using python(list view and custom view) - CodeProject®

Monday, April 23, 2012

Send mail using Google Apps/Gmail Account using C# - CodeProject®

How to send emails using Google Apps

Send mail using Google Apps/Gmail Account using C# - CodeProject®

The Kinect mouse controller C# - CodeProject®

Introduction to Article
The zip file provided with this article contains a DLL file KinectMouseController.DLL that could be used in all kind of C# project to Control the cursor of Windows OS system.
The Kinect mouse controller C# - CodeProject®

Saturday, April 21, 2012

Cross-browser drag and drop - CodeProject®

Intro to Article

I could not find a good Drag and Drop JavaScript example that would work in all browsers (including iPad). So I wrote one myself. I hope someone might find it useful. Please note that this example shows how to “capture” the element so that you don’t lose it if you move outside of the element or outside of the browser window.
Unfortunately, I could not find a good way how not to lose capture over an iFrame in Chrome and Safari. The best approach I found is to cover all iFrames with DIVs while the dragging is taking place. Any suggestions on how to do this better are welcome.
This article is for those that like nuts and bolts and are not using third party libraries like jQuery. There is nothing wrong with using third party libraries – I just like more flexibility. For example, you can use this example to resize elements.

Cross-browser drag and drop - CodeProject®

Friday, April 20, 2012

Intel Creates Infographic Generator That's All About You

With so many posting and sharing thoughts on Facebook,Twitter, and YouTube, ever wonder what would people think is important to you if they only had these social media posts to rely on? Intel has found a way to  to take the posts, videos, and pictures you post and create a information graphic for you! Here's mine. It is not perfect, but it's still interesting. Follow the link at the end to find yours.







Intel Creates Infographic Generator That's All About You