This handy little article explains how to set up an Android project
Basic structure of an Android project - CodeProject
This blog will hold favorite gadgets and graphic user interfaces that don't really fit in my main blog @ mmcelhaney.blogspot.com
Thursday, May 31, 2012
Html5 Jigsaw Puzzle - CodeProject
Introduction to Article
Html5 Jigsaw Puzzle - CodeProject
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
Tuesday, May 29, 2012
How a Smartphone Knows Up from Down (Accelerometer)
How a Smartphone Knows Up from Down (Accelerometer)
Related articles
- Engineer Guy vs. The Smartphone Accelerometer (makezine.com)
- Accelerometer: How a Smartphone Knows Up from Down (ritholtz.com)
- So How Does Your Smartphone's Accelerometer Know Up From Down? (gizmodo.com.au)
- Of smartphone accelerometers, LCD displays and phone design (allaboutsymbian.com)
- How a phone's accelerometer works - a terrific video (boingboing.net)
Wednesday, May 23, 2012
How to configure and use Entity Framework - CodeProject
Here is an article about how to configure Entity Framework!
How to configure and use Entity Framework - CodeProject
How to configure and use Entity Framework - CodeProject
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!
Android RESTful/OAuth upload file to Dropbox - CodeProject
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?
$74 USB Computer runs Android | Hello Android
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
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
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).
Engineer Can Build The Enterprise In 20 Years
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
Monday, May 14, 2012
Math Parser TK.NET - CodeProject®
Introduction to Article
Math Parser TK.NET - CodeProject®
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:
3D Space Flight Demo for Android OS, with Accelerometer-Based Controls - CodeProject®
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.
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
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!
VB.NET wrappers for much of the Windows API - CodeProject®
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
Generate a Google SiteMap with PHP - CodeProject®
The PHP logo displaying the Handel Gothic font. (Photo credit: Wikipedia) |
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®
Related articles
- How to submit your sitemap to Google (guideforwebsite.wordpress.com)
- How to Add a Google Sitemap to your Blogger Blog (labnol.org)
- Google Retired Geo Sitemap Support (seroundtable.com)
Thursday, May 3, 2012
Writing an Android GUI using Python - CodeProject®
Intro to Article
Writing an Android GUI using Python - CodeProject®
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®
Wednesday, May 2, 2012
Spider-Man R/C Speed-Climbing Figure Now Available For Pre-Order
Okay. Oh my. I am so getting one...ya know...for my son.
Spider-Man R/C Speed-Climbing Figure Now Available For Pre-Order
Spider-Man R/C Speed-Climbing Figure Now Available For Pre-Order