Latest article
Android NDK Get IMEI Natively
26 Nov 2012Here's how you can get the phone's IMEI directly via (NDK) Native C code:
#include <sys/system_properties.h>
char imei[64];
int ret = __system_property_get("ro.gsm.imei", imei);
// __system_property_get returns the string length of the value.
This worked on HTC OneS... haven't tried on other phones yet...
[Permalink]Recent articles by category:
Software HOWTOs
- Android force WCDMA or GSM or AUTO from shell » 10 Oct 2012
- Use your Nokia to change PowerPoint Presentation Slides » 14 Jan 2012
- วิธีทำให้ HTC Rhyme พิมพ์ไทยแต่ใช้เมนูอังกฤษ » 23 Dec 2011
- Nokia C5 Backup Contacts to Memory Card » 22 Aug 2011
- How to use your Samsung Jet to change Powerpoint slides on computer » 07 Aug 2011
- New Ovi Maps for Symbian Scrolls and Zooms much faster » 05 Nov 2010
- Openbox in GNOME - setting the keyboard shortcuts » 25 Aug 2010
More howto articles...
Programming - Software Development
- Android NDK Get IMEI Natively » 26 Nov 2012
- Writing good clean portable quality ANSI C code » 01 Sep 2011
- Windows native C programming - Simulate a keyboard key-press event » 30 Aug 2011
- Windows C programming - Simulate a Mouse Click » 30 Aug 2011
- Windows C C++ - Set and Get Registry Keys » 30 Aug 2011
- Windows C C++ - Get monitor display screen size in pixels » 30 Aug 2011
- Windows C C++ - Autostart program on Boot of computer using the Registry » 30 Aug 2011
More programming articles...
Ethics - Moral philosophy
- How to be mentally strong » 14 Jan 2011
- Your Value » 03 Mar 2010
More moral articles...
Giving thanks and praises to God/Nature
- Thanking God/Nature for Water » 20 May 2010
More thanks articles...
Other topics - Uncategorized
- กุรอานแปลไทยสำหรับโทรศัพท์มือถือ Android, Nokia, Samsung, HTC และ BlackBerry » 14 Jan 2012
- Software Morality » 07 Mar 2010
- Don't use Facebook » 09 Dec 2009
- The Free-Software Movement » 22 Aug 2009
- Google's Linux OS Chrome OS » 02 Aug 2009
- Sitting tips from Sidiz » 15 Apr 2009
- Try listen this Daniel Masson » 05 Mar 2009
More uncategorized articles...
This ClearEvo.com blog is powered by Debian GNU/Linux, running lighttpd, generated using jekyll on Ubuntu.