Unlike iPhone, Android devices come with different hardware from different manufacturers. One important difference is the CPU architecture. Although almost all Android devices use ARM CPU, it comes with different versions, including armv5, armv5te, armv6, armv6 with VFP, armv7, armv7 with VFP, armv7 with neon etc.
Most of the time there’s no need for [...]
Video Converter reaches 5, 000 downloads in less than two weeks. I’ve created a video tutorial for Video Converter Android to help people to learn how to use it. Hope it helps!
For more information about the app, please refer to https://market.android.com/details?id=roman10.media.converter
This is an app idea has been in the mind for quite a few months. I am busy with work and study, but finally it’s ready for release.
Previously I did some work to port ffmpeg to android platform as an app, I received a dozen of positive feedback. But many of them suggest [...]
Telnet can refer to either the Telnet network protocol used to provide a bidirectional interactive text-oriented communication facility or the telnet program that implements the client side of the Telnet protocol. This post focuses on the telnet program.
Telnet doesn’t encrypt data sent (including password) over the connection, so it’s not secure. SSH has [...]
mmap allows a program to map a section of the file into the program’s memory space, and access it with a pointer. This post illustrates mmap for random access of files.
0. Description
The mmap system call is defined in sys/mman.h as below,
void *mmap(void *addr, size_t len, int prot, int flags, int fildes, off_t [...]
Side Note: I’ve been thinking of writing blogs for bugs that have caused me hours to locate and fix for quite some time.
Sometimes I found myself making silly mistakes, sometimes I made same mistakes multiple times. Just like every other programmer, I spent lots of time locating bugs and fixing them. It’s worthwhile [...]
According to SQLite home page, SQLite is a open source software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine.
Self-contained means SQLite depends little on external libraries; serverless means SQLite doesn’t follow the client-server model that most other SQL database engines follow. SQLite reads and writes directly from the database files [...]
This post doesn’t provide details about how Linux socket works, its design etc. It mainly for providing source code of simple TCP socket client and server in C. I’m writing this because I found myself need simple TCP client and server for testing from time to time.
1. The TCP Server Code
You can [...]
This is my first post for PHP, a server-side scripting language widely used for web development. As I’m new to this language, the techniques may sounds naive.
To receive file uploaded through http, you can use the PHP script below (let’s call it receive.php),
<?php
ini_set(‘display_errors’, ‘On’);
error_reporting(E_ALL);
$target_path = “./upload/”; [...]
If you’re looking for general information about how to use libnetfilter_queue for Linux, please refer here.
0. Preparation
First, you’ll need to check if your Android system kernel is compiled with support for libentfilter_queue. Follow the following steps,
Connect your android device to your computer. Enter command “adb pull /proc/config.gz” to get the config.gz [...]
40% Discount on My Book — Android NDK Cookbook
Android NDK Cookbook ebook 40% discount with promotion code MREANC40 at Packt Publishing The promotion code is valid until 15th June.Categories
- Android Apps (18)
- Android Audio Editor (1)
- TS 2 (3)
- Video Converter Android (8)
- Video2Gif (1)
- Android Tutorial (26)
- Android Dev Tools (1)
- API illustrated (8)
- Multimedia API (3)
- ffmpeg on Android (4)
- NDK (6)
- UI (5)
- Animation (1)
- Code Snippet (2)
- Coding Beyond Technique (18)
- a word, a world (4)
- Bug Rectified (4)
- Programming Habit (1)
- Software as a Career (1)
- Software as User Experience (1)
- Compilers and Related (2)
- ELF (2)
- Computer Languages (31)
- C/C++ (13)
- Java (9)
- JavaScript (2)
- PHP (1)
- Python (8)
- Data Structure & Algorithms (29)
- Bits (1)
- Data Structure (5)
- Integers (10)
- BigInteger (1)
- Prime (4)
- Search (3)
- Sorting (5)
- Strings (5)
- Database (1)
- SQLite (1)
- Digital Signal Processing (33)
- Distributed Systems (17)
- Apache Cassandra (6)
- Apache Hadoop (8)
- Apache Avro (3)
- Apache Nutch (3)
- Apache Solr (1)
- Linux Study Notes (40)
- crontab (1)
- Linux Kernel Programming (8)
- Linux Programming (12)
- IPC (2)
- Linux Network Programming (5)
- Linux Signals (2)
- Linux Shell Scripting (1)
- ssh (3)
- Machinery (30)
- misc (1)
- My Ideas (1)
- My Project (3)
- Mobile Caching (1)
- Selective Decoding (2)
- My Publication (1)
- My Readings (1)
- Networking (15)
- Program for Performance (8)
- Uncategorized (1)
- Virtual Machine (2)
- Web Dev (8)
- web components (3)
- Android Apps (18)
Recent Comments
Archives
- May 2013 (1)
- April 2013 (1)
- March 2013 (4)
- December 2012 (2)
- November 2012 (6)
- October 2012 (6)
- September 2012 (3)
- August 2012 (13)
- July 2012 (15)
- June 2012 (3)
- May 2012 (8)
- April 2012 (4)
- March 2012 (13)
- February 2012 (19)
- January 2012 (9)
- December 2011 (11)
- November 2011 (12)
- October 2011 (4)
- September 2011 (12)
- August 2011 (16)
- July 2011 (15)
- June 2011 (6)
- May 2011 (10)
- April 2011 (13)
- March 2011 (20)
- February 2011 (4)
- November 2010 (2)
- May 2010 (1)
- April 2010 (1)
- February 2010 (1)
