Mega Code Archive
Search
.Net
ASP .Net
ASP .Net Tutorial
C#
C# Book
C# by API
C# Tutorial
VB.Net
VB.Net by API
VB.Net Tutorial
Visual C++ .Net
VisualBasic Script
Java
Java
Java Book
Java by API
Java Tutorial
Script
Flash ActionScript
Flex
JavaScript DHTML
JavaScript Reference
JavaScript Tutorial
Database
MSSQL
MSSQL Tutorial
MySQL
MySQL Tutorial
Oracle PLSQL
Oracle PLSQL Tutorial
PostgreSQL
Languages
Android
C
C Tutorial
C++
C++ Tutorial
Delphi
Perl
PHP
Python
Python Tutorial
Ruby
Silverlight
Office
MSOfficeExcel 2007 Tutorial
MSOfficePowerPoint 2007 Tutorial
MSOfficeWord 2007 Tutorial
Data
XML
XML Tutorial
Android
Hardware 127 codes
Home
Android
Hardware
1 A grid that displays a set of framed photos
2 A light pool of objects that can be resused to avoid allocation
3 A trivial joystick based physics game to demonstrate joystick handling
4 Accelero meter Sensor
5 Accelerometer API
6 Add Home Screen Shortcut
7 Android SDK version
8 Bluetooth Adapter Util
9 Bluetooth Chat
10 Byte value conversion
11 C
12 Calculates the free memory of the device This is based on an inspection of the filesystem, which in android devices is stored in
13 Calculates the total memory of the device This is based on an inspection of the filesystem, which in android devices is stored in
14 Camera Intent
15 Camera orientation
16 Camera preview
17 Camera Preview and Camera getNumberOfCameras()
18 Camera With Intent
19 Check Android build version
20 Check for intallation, app name, app version, app version code
21 Compass Activity
22 Compass sensor
23 Copy a file from one location to another
24 Create File In SDCard
25 Custom Location Overlay
26 Demonstrates android os Vibrator android os Vibrator class
27 Demonstrates the Tab scrolling when too many tabs are displayed to fit in the screen
28 Detect USB device
29 Display GEO location
30 Displays the values of the acceleration sensor graphically
31 Downloads and installs the latest version of our App
32 Export the current database to the SDcard
33 Extends android location Location
34 External Storage Directory
35 Geo location and Google Map
36 Get App Version Code
37 Get App Version Name
38 Get CPU Bogo Mips
39 Get CPU Frequency Current
40 Get CPU Frequency Max
41 Get CPU Frequency Max Scaling
42 Get CPU Frequency Min
43 Get CPU Frequency Min Scaling
44 Get CPU information
45 Get Disk information
46 Get Display Metrics
47 Get dmesg information
48 Get Free Memory Size
49 Get Memory Free
50 Get memory information
51 Get Memory Size Strings
52 Get Memory Total
53 Get MemoryInfo
54 Get mount information
55 Get my location
56 Get net conf information
57 Get Net stat information
58 Get Package Version Code and Name
59 Get Process information
60 Get running task information
61 Get screen Orientation
62 Get Sd card Path
63 Get SDCard Megs Free
64 Get system information
65 Get telephone information
66 Get the optimal preview size for the given screen size
67 Get the size of Default Display Screen
68 Get Total Memory Size
69 Get Used Memory Size
70 Get Version Code
71 Get version information
72 Get Version Name
73 Get Version Name with PackageManager
74 Get version number
75 Gps Helper
76 GpsUtils contains code snippets for GPS
77 Gravity sensor
78 Honeycomb version
79 Joystick View
80 Light Sensor
81 Load image from mounted sdcard
82 Location based service
83 Location service
84 Location service and LocationManager
85 Location Tracking
86 Location util
87 LocationManager GPS_PROVIDER
88 Media Store Camera Intent
89 Memory information
90 Methods for converting between the physics world coordinates and the screen coordinates
91 Multiscreen size
92 My location
93 My location and Google Map
94 Nested PreferenceScreen
95 PROXIMITY Sensor
96 Return the supported picture size that best fits on the device screen
97 Rows have different number of columns and content doesnt fit on screen
98 Screen Orientation
99 Screen Short
100 SDCard File Util
101 Sensor Changed event and information
102 Sensor Event Listener
103 Sensor List
104 Sensor Test
105 Sensor TYPE_GYROSCOPE
106 SensorManager Demo
107 Set full screen mode
108 Speed sensor
109 Splash Screen
110 Take a snapshot
111 Take and preview Photo
112 Temperature Sensor
113 Upload Data with Geo location
114 Uri for sdcard
115 USB device that supports the adb protocol
116 Using Intent to go to a geo location
117 Using location service for the weather
118 Using LocationManager
119 Using PowerManager
120 Using PreferenceScreen
121 Using Sensor
122 Using SensorManager to calculate acceleration and check if it is still
123 Using the accelerometer to integrate the devices acceleration to a position using the Verlet method
124 Using Timer to control Camera
125 Using VersionedGestureDetector
126 Using Vibrator
127 Utility class providing array to intlong conversion for data received from devices through adb