Embedded systems often need to use database to store contact information, EPG data and more. Many Linux systems use MySQL, however such a large database management system may not always be appropriate for embedded systems. Hence, there are lightweight database management systems implementation that are especially suited to embedded systems by their binary footprint, memory footprint and CPU requirements. If you want to develop in C in Linux and your requirement is to have no (or little) license to pay in your application, you could consider Oracle Berkeley DB or SQLite among others. Oracle Berkeley DB (previously Sleepycat Berkeley DB) is described as follows: Berkeley DB enables the development of custom data management solutions, without the overhead traditionally associated with such custom projects. Berkeley DB provides a collection of well-proven building-block technologies that can be configured to address any application need from the hand-held device to the datacenter, from a […]
Android C/C++ development with Android Native SDK
HyperDevBox is a Japanese based software development company, developing games for Android. They are presenting their new Android game called “Spectral Souls”, the first tactical RPG game for Android. The interesting part is that this Android gamewas not developped with Java, but only using C/C++ programming with Android Native SDK (NDK) (Currently revision 5). Using the NDK means you’ll have to adapt your software to several hardware platform contrary to java development. They now only support Qualcomm and PowerVR GPU for now, and they are working on supporting NVidia Tegra platform and other upcoming GPU. The advantage of native code is a potential performance improvement and code re-use if you have already applications developed in C/C++, the inconvenience is that more work is need to support different hardware. Currently the NDK is only available for ARM platforms (ARMv5TE andARMv7-A), future releases will support x86 instructions. The video below is an […]
AES-256 Encryption and File names encryption with 7-Zip (7z)
If you need to safely backup some of your confidential files (email, financial info, marketing info, source code,…), you can use 7-Zip (aka 7z) to compress and encrypt your archive with AES-256 as well as hide the name of the files. This should give you the level of security used by the (in-)famous insurance file (insurance.aes256) released by Wikileaks last year (if it indeed has been encrypted with AES-256). 7-Zip is available for Windows, Linux (multiple architectures) and Mac OS. Since 7-Zip source code is open, it can theoretically be ported to any platform. The first thing I did was to use a Password Generator to get a 256-bit key such as DFF61FFB56B26158718457E5E47F3511080130C855C8E6F689A3A7664EBE2C9A. In this example, I backup “My Documents” directory in Windows, but the same command line (just different paths) could be used in Linux as well:
1 |
C:\>"c:\Program Files\7-Zip\7z" a -t7z mydoc_backup_22022011.7z "C:\Documents and Settings\Jean-Luc\My Documents" -xr!*BitTorrent*\ -xr!*Cache*\ -pDFF61FFB56B26158718457E5E47F3511080130C855C8E6F689A3A7664EBE2C9A -mhe -v4480m -mx9 |
Here’s the description of the parameters in the command line: a […]
Running .NET applications on Linux Embedded Systems
You may have some applications developed using Microsoft .NET application framework that are running on Windows XP, Windows Vista and Windows 7. .NET for Linux If after spending much effort and time, you have a request to port your application to Linux, you don’t need to rewrite everything thanks to Mono, an open source implementation of .NET framework that can be run in Windows, Linux and MacOS. The development framework is composed of three parts: Mono – An open source, cross-platform, implementation of C# and the CLR that is binary compatible with Microsoft.NET MonoDevelop – An open Source C# and .NET development environment for Linux, Windows, and Mac OS X Mono Tools for Visual Studio – Development Tools to develop and migrate .NET applications to Mono on Linux without leaving Visual Studio. This application can be tried for 30 days and / or purchased. This tools is compatible with Visual […]
Folders and Files Comparison in Linux with Meld
Beyond Compare and Winmerge are tools that can be used to compare files in Windows, but the latter is not available in Linux and the former is only available as a commercial application. One alternative is to use Meld, a diff and merge tool for Linux. This open source program is a GUI for diff2 and diff3 written using pygkt toolit based on Python, Glade and GTK+. This is not as powerful as the two programs aforementioned, but still very useful. It can also compare 3 files at the same time. To install it in ubuntu: sudo apt-get install meld It will still allow you to compare files, directory and merge changes. The file comparison merge function is a little confusing at first, but after a while you’ll get used to it. Meld can also support version control comparison with CVS, SVN, GIT, Bazaar-ng or Mercurial. Jean-Luc Aufranc (CNXSoft)Jean-Luc started […]
Near Field Communication (NFC) in Public Transport
The NFC Forum, a non-profit industry association that advances the use of Near Field Communication (NFC) technology, has recently published a White Paper entitled “NFC in Public Transport” and show how you can leverage NFC technology in such environment. The whitepaper mainly focuses on mobile phones, readers and smart posters. If you need an introduction about NFC, including starting points for developing hardware and software, please read our previous blog entry first. What can NFC do in public transport ? After a short NFC introduction, the whitepaper deals with the possible applications related to public transport including: Transport timetables Link to an up-to-date weather report website Special discounted travel offers Location relevant maps Next bus arrival time Taxi services Emergency calls Phone-to-phone transfer of destination addresses and maps to taxi driver and how NFC can be used before the journey (e.g. paying for parking, using smart poster for products/services promotions […]
Android 3.0 SDK Preview and Platform Highlights
Google has just released Android 3.0 (Honeycomb) preview SDK and platform highlights. Android 3.0 Highlights Summary New User Features: New UI designed from the ground up for tablets (larger screens) System Bar, for global status and notifications Action Bar, for application control: access to contextual options, navigation, widgets, or other types of content in the Action Bar, displayed at the top of the screen. Five Customizable Home screens with widgets, app shortcuts, and wallpapers using a dedicated visual layout mode. Recent Apps, for easy visual multitasking Redesigned keyboard to improve typing speed/accuracy on tablets. Improved text selection, copy and paste New connectivity options such as Media/Photo Transfer Protocol, USB / Bluetooth keyboards Updated set of standard apps for larger screens. Browser Improvements: Multi-tabs support, “incognito” mode, better browsing experience at non-mobile sites through an improved zoom and viewport model, overflow scrolling, support for fixed positioning, and more. Camera and Gallery: […]
Setup Citrix XenDesktop for Citrix Receiver
You may have seen the Motorola Atrix 4G at CES 2011 and its ability to run Windows 7 via the Citrix Receiver installed in the smartphone and the laptop dock. This can be interesting for small and large businesses alike since they could do with one (and more) Citrix server and a phone for each employee without the need for an extra laptop or desktop PC. Citrix does not only support Motorola Atrix 4G and you could install the receiver on your own smartphone or tablet free of charge: Windows Mobile Receiver 11.5 for Windows Mobile BlackBerry Receiver 2.0 for BlackBerry Android Receiver 2.0 for Android iPhone Receiver for iPhone iPad Receiver for iPad Today, I’ll show how to install Citrix XenDesktop (The “server” part of Citrix) in order to run Windows 7 or any other operating systems supported by Citrix. First download Citrix XenDesktop – Express Edition. The file […]