PocketMagic

PocketMagic

Where Technology meets magic


Android
45 Posts
BlackBerry
4 Posts
Electronics
68 Posts
Hardware
120 Posts
High Voltage
49 Posts
iPhone
4 Posts
Linux
2 Posts
Nuclear
20 Posts
Optics
11 Posts
Photography
7 Posts
Photoshop
3 Posts
Research
19 Posts
Reviews
18 Posts
Robotics
8 Posts
Security
7 Posts
Software
73 Posts
Symbian
2 Posts
Tubes
18 Posts
Windows
3 Posts
Windows Mobile
11 Posts

Top Articles!       See PocketMagic on Facebook


uRADMonitor - Online Radiation monitoring station | 14891 Views | Rate 70.24
uRADMonitor - Online Radiation monitoring station
Bluetooth and iOS - Use Bluetooth in your iPhone apps | 18013 Views | Rate 58.29
Bluetooth and iOS - Use Bluetooth in your iPhone apps
NMEA GPS Library for AVR Microcontrollers | 4809 Views | Rate 56.58
NMEA GPS Library for AVR Microcontrollers
Programmatically Injecting Events on Android - Part 2 | 4958 Views | Rate 44.67
Programmatically Injecting Events on Android - Part 2
Building a robot – Part 2 | 4587 Views | Rate 44.53
Building a robot – Part 2
Simple Switched power Supplies | 16071 Views | Rate 41.74
Simple Switched power Supplies
Capacitor Discharge Microspot Welder / Cutter | 11286 Views | Rate 36.29
Capacitor Discharge Microspot Welder / Cutter
Developing for Blackberry 10 | 71 Views | Rate 35.5
Developing for Blackberry 10

 

Archive for Software

Developing for Blackberry 10

A short insight on how to get started with developing for the new Blackberry 10, using dynamically created controls.

How to scale an Android UI on multiple screens

Learn how to scale an user interface to maintain the same aspect ratio, while running the same code on various Android devices.

Virtual Reality App Controls Real household objects

You can use your smartphone (android/iphone) to control electrical equipment inside your home. See how.

uRADMonitor – Unusual Background Radiation Reports

This page has been created to report unusual activity (radiation, temperature, humidity, luminosity, barometric pressure), as recorded by the uRADMonitor, including all the debug data to support the results. I cannot guarantee the measurement precision, I merely present the data recorded by the instruments.

Programmatically Injecting Events on Android – Part 2

A JNI Library for Android, to inject keys and touches but also listen for incoming input events to and from all applications, available as Open Source under GPL.

uRADMonitor – Online Radiation monitoring station

I’ve developed the uRADMonitor as an Environmental Radiation Surveillance automated monitoring device. Data is gathered in real time, 24/7, and is exported via the Internet to a database online. The data is available in customizable charts for analysis.

Android Overlay Mouse Cursor

Learn how to create a mouse cursor in Android OS programatically, using Overlay Views.

Android default orientation and orientation change events

Find the default orientation on Android devices, and intercept orientation changes even for activities locked in portrait or landscape mode.

Bluetooth and iOS – Use Bluetooth in your iPhone apps

Learn how to use the BluetoothManager private APIs on iOS / iPhone/ iPod to discover nearby connections, populate a list view with the results, and try to establish a Bluetooth connection to the remote devices.

Developing for Apple iOS

A short guide to get started with iOS development. How to build a simple list view.

Anoto Bluetooth Digital Pen on Android OS

A digital pen solution for Android OS.

Programmatically Injecting Events on Android – Part 1

Three possible solutions for injecting events (both keys or touch events) in Android.

AVR Studio 5 snprintf / vsnprintf problem with Floats

How to fix the problem with Float variables in AVR Studio

BlackBerry Splash Screen

A tutorial with code that presents an easy way to show a splash screen in your Blackberry application. Show the first Splash-Screen, wait a few miliseconds, than load the rest of your application.

Developing for Blackberry -part 2-

An updated article on some very basic first steps with Blackberry programming. Tools, sample app, and how to get it running.

Android 4.0 (Ice Cream Sandwich) Emulator How-to

A quick guide on how to configure an Android 4.0 Emulator image.

Android BluetoothClass Major Service Classes, Minor and Major Device Classes

Learn how to get over some limitations in Android Bluetooth SDK to read the Bluetooth COD (Major, minor classes) for a given Bluetooth device.

Android getSharedPreferences NullPointerException

Avoid the NullPointerException error when using the getSharedPreferences on Android.

Auto Start Android Service on Boot

Learn how to make an autostartable service on Android OS, using the BOOT_COMPLETED notification.

How to list symbols in a .so file

A simple way to extract the symbols in .so files.

Android “Unable to open sync connection” error

How to fix the Unable to open sync connection, displayed in Eclipse Console by Android SDK tools.

Fukushima plant time lapse video March

A timelapse video of the Geothermal power plant in Yanaizu-Nishiyama, Fukushima . Daylight time in 4 minutes.

Android overriding Menu key to disable keyboard popup

The standard functionality on Android devices makes the software keyboard popup every time the Menu is long pressed. This may be annoying or unwanted. Here’s how to disable it.

Android 9 Patch images for custom controls

Design custom shaped corners Edittexts or TextViews, or any other kind of Android interface controls, using 9 patch images that keep their aspect when stretched.

Android Contacts – a simple Contact Selector

The Android Contacts tutorial part 5, here I show a robust solution for selecting a contact from a list. A filter/search mechanism is also implemented using the SimpleCursorAdapter.

Android Contacts – Searching for contacts

Part 4 of Android Contacts tutorial presents an easy way to programatically search and retrieve a contact and all the fields we are interested in such as Phone, Email, Web, Company, Address, etc.

Android Contacts – Invoke the Edit Contact Intent

In Android Contacts tutorial part 3, I present a simple way of opening a contact in the System contact form using the ACTION_EDIT Intent .

Android Contacts – Custom Contact column to get the LOOKUPKEY

Part 2 of the Android Contacts tutorial, showing how to add a custom column to a contact, and how to use that to identify a newly added contact and read its LOOKUPKEY.

Android Contacts – Add a new Contact using ContentProvider

Part 1 of a tutorial on working with Android Contacts: add a new contact programatically, including name, email, company, phone but also a thumbnail contact image .

Android WebBrowser using WebView

A few easy steps for an Internet Web Browser for Android. Learn how to use a Webview, load pages, inject Javascript, read the HTML source code and more.

Android GUI with Header+Scrollable Content+Footer

Create an Android GUI with Header, middle scrollable content, and a footer.

Android PhotoPicker using Intents and Gallery

Learn how to Invoke the Android Gallery Intent to pick a photo and get the path in your application. This photo picker returns the image path directly in your application.

Android Custom Complex Listview with Header (no XML)

Create a dynamic (no XML) listview with header with all the bells and whistles. Learn how to use the item position to change its background and content for a complex result.

Android Unique Device ID

Learn to read an unique device ID from your Android phone or tablet. Use the ID to generate software security keys or for cryptography applications.

Developing for Android – the SDK – update 2011

Get started with Android Java development – a tutorial with detailed steps and lots of pictures to help you make your first android application. Use Eclipse and the Android SDK.

Android Vertical TextView / Custom Angle Text

Learn how to create a Custom TextView class that can draw vertical text or rotate the text to any given angle. Easy!

Android on HD2 (HTC Leo) INSTALL_FAILED_INSUFFICIENT_STORAGE

You can boot an Android image, from the SDCard of an Windows Mobile HTC HD2 Pocket PC, using Haret. Be careful to use a 2GB max SDCard!

Android NDK Cygwin make error 127

Android NDK Cygwin make error 127, but only on some computers. I suspect there’s a conflict with other development tools (based on PATH, etc).

Android Native Play Sound using /dev/msm_pcm_out

Directly interface the PCM device, using low level native C programming. Play sounds by sending data to /dev/msm_pcm_out

Android Native Screen capture application using the Framebuffer

Learn how to do a programmatic screen capture on Android, using the framebuffer and some native C code. See how to correctly save a BMP file.

Android C native development using the NDK under Windows

Learn how to compile your C code to native Android executables, using Windows, Cygwin and the Android NDK in just 3 easy steps.

Lenovo ReadyCom5 and WLAN AP Issues

Lenovo ReadyCom 5 can cause a wireless router to self-reboot, remotely.

Reinstalling Vending.apk (Market) on Android

Learn how to reinstall the Market application on your Android, using the Vending.apk installer.

Android controlled robot (via Bluetooth) – Part 1

Learn to connect a bluetooth module to an ATMega micro controller via the UART serial interface and even further, discover it using a bluetooth enabled Android phone. The 9600bps serial link established, can than be used to exchange data: read sensors or control the robot.

Android Dynamic (no xml) Custom Adapter Listview

A tutorial on how to build a custom adapter for an Android Listview control, and how to catch the onClick event correctly.
Includes source code.

Android NDK for Windows setup guide

See how to configure Android NDK with Windows and build your JNI project in a few easy steps.

Webcam Surveillance with motion detection algorithm

A homemade/DIY security system using a webcam, a low power server and a surveillance software.

WinCE Broadcom stack FindAttribute SDP_DISC_ATTTR_VAL 256Bytes limit

See the real limit for receiving a SDP bluetooth device attribute in the SDP_DISC_ATTTR_VAL structure for the Broadcom Bluetooth Stack.

Apache won’t start – Skype to blame!

Skype opens the TCP port 80 for unknown purposes. It doesn’t ask for user’s permission. This “feature” however creates problems when running legitimate software like an apache server. Think twice when installing “bells and whistles” software like Skype, Messengers, and others.

WinCE Bluetooth Broadcom stack ‘Not a valid Pocket PC application’ Error

Some details on the ‘Not a valid Pocket PC application’ error resulting from calling the IsStackServerUp API in Windows Mobile Bluetooth Broadcom stack applications.

Resizing Linux partition results in GRUB Error 17 fix

See how to fix Grub Error 17 on Ubuntu.

Android dynamic TAB Control

Learn to create a tab control on Android, without the XML layout. Add an image to the tab control in a few easy steps.

Linear Pseudorandom number generator (PRNG)

Understand what a random number is , how important the chaos is, and how to understand a sequence of numbers that seems to have no meaning.

CreateProcess, GetExitCodeProcess and application crash

When using CreateProcess win32 API make sure the lpCommandLine is not a constant or your application can crash.

First Atmega8 bot – (Arduino board)

An article about a differential Arduino robot by Rodrigo Nascimento Hernandez

ATmega8 and Hall Sensor A1302

Atmega8 and an A1302 Hall Sensor for sensing the magnetic fields in close proximity.

Apple iPhone 3G – introduction

This article shows a few basic things:
- How to connect your iPhone to your desktop PC and how to update the iPhone firmware
- How to downgrade the iPhone 3G from 3.1 to 3.0
- How to activate the iPhone 3G 3.0 (jailbreak)
- View iPhone filesystem in total commander
- Do screen captures of your iPhone 3G

Perseus 3 Advanced Robot (using Windows Mobile)

Perseus 3, a 4×4 advanced robot featuring an Atmega8 for sensor interfacing and motor control, and a I-mate SP5 smartphone (200MHz) running Windows Mobile 6.0 as robot’s brain. Small weight, powerful trust, and lots of features including WLAN, Bluetooth, Camera, Speaker, Phone-interface (GPRS, 3G), Microphone (for voice commands) and more.

Android tricks: Disable “No SIM card” screen

Disable the “No SIM card.” annoying Android message.

ARA – differential robot platform

A new differential robot platform, with strong gear motors and low power consumption.

Aspell word lists / dictionaries for several languages

How to extract huge word lists for most languages, using the Aspell dictionaries.

More on Android’s Bluetooth

See how to get more Bluetooth functionality on your Android device then the interface offers you. Discover nearby bluetooth devices, and see what interaction options you’ve got.

HCI Commands list

List of HCI commands.

Android adb error: “device not found” on Ubuntu

Hunting down some connectivity issues with the ADB command from the Android SDK.

Write on the Android Read-only file system

Hot news: You can change the android partitions to Read-Write so you can upload new file versions (eg. permissions.xml) .

Handle drawing in Symbian

Learn how to handle drawing on the Symbian platform. A step by step guide on how to draw images and polygonal shapes.

Developing for Symbian

Make the first HelloWorld application for Symbian

Android C native development – take full control!

An useful post on how to use gcc and the android toolchain to produce native C applications for the google android.

Developing for Google Android – the SDK

Get started with Android Java development – a tutorial with detailed steps and lots of pictures to help you make your first android application.

Developing for Google Android – update the OS version

A tutorial on how to unlock your Android G1, how to upgrade the ROM version and how to get Root on your embedded linux box.

Developing for Google Android – introduction

Learn:
- how to connect the Android to your Windows PC
- how to take screen captures from your Android
- how to install new software on your mobile device

Robo Evolution – how to build a better robot

A not-so-short article on various robot platforms I’ve experimented with. See my latest designs, and learn about my findings on robotics.

Win Mobile Tech Seminar in Lisbon, 11-12 March, 2009

A few words on the Windows Mobile Seminar held in Lisbon, Portugal, during 11-12 March 2009.
As a speaker at this seminar, I’ve presented a Voice Command Recognition system for Windows Mobile, in my topic named “Extending your Smartphone’s functionality”.

Developing for BlackBerry – introduction

My first contact with BlackBerry development: here’s an article on what you need to get started.

My 500GB (!) Storage PDA

A short review on the new possibilities a CF2USB card for Pocket PC can offer, including attaching an external USB Harddisk to the Mobile device.

Bluetooth BlueJacking

A short article on BlueJacking, which is sending unsolicited messages remotely to Bluetooth enabled devices.

Changing the Pocket PC screen resolution

A simple way of changing the resolution of your pocket pc. You only need a registry editor!

FingerTouch Pro – 5 keyoards in 1

This article is about an innovative keyboard for PocketPC’s that can help you type faster on that tiny screen.

Voice command recognition

A video presentation of a voice command recognition software.

Controlling the speakerphone

This article shows an efficient way of controlling the speakerphone status on WM4.0/5.0/6.0. It also includes a C++ code snippet for better understanding.

Controlling the Radio Devices

Introduction The number of mobile devices manufacturers is quite big at the moment, so for the developers there are many platforms out on the market and their software must function properly on each of them. Most of the programming aspects are covered by the available APIs. General things like drawing a fancy interface or having [...]

Hacking a Mesada GPS Unit

An article about adding extra bluetooth functionality on a gps unit running wince 5.0