github twitter email rss
0001 Jun 1
2 minutes read

Android

http://developer.android.com/reference/android/content/Intent.html
http://developer.android.com/guide/components/intents-filters.html
http://developer.android.com/guide/components/activities.html
http://developer.android.com/guide/components/services.html
http://developer.android.com/reference/android/content/BroadcastReceiver.html

Service

A service is a component that runs in the background to perform long-running operations or to perform work for remote processes.

Activity

An activity represents a single screen with a user interface.

ContentProvider

A content provider manages a shared set of application data.

ContentResolver

The content resolver handles all direct transactions with the content provider so that the component that's performing transactions with the provider doesn't need to and instead calls methods on the ContentResolver object.

BroadcastReceiver

A broadcast receiver is a component that responds to system-wide broadcast announcements
they may create a status bar notification

Intent

activities, services, and broadcast receivers—are activated by an asynchronous message called an intent
  • You can start an activity (or give it something new to do) by passing an Intent to startActivity() or startActivityForResult() (when you want the activity to return a result).
  • You can start a service (or give new instructions to an ongoing service) by passing an Intent to startService(). Or you can bind to the service by passing an Intent to bindService().
  • You can initiate a broadcast by passing an Intent to methods like sendBroadcast(), sendOrderedBroadcast(), or sendStickyBroadcast().
  • You can perform a query to a content provider by calling query() on a ContentResolver.

The Manifest File

AndroidManifest.xml

<?xml version="1.0" encoding="utf-8"?>
<manifest ... >
    <application android:icon="@drawable/app_icon.png" ... >
        <activity android:name="com.example.project.ExampleActivity"
                  android:label="@string/example_label" ... >
        </activity>
        ...
    </application>
</manifest>

File system

┌─────────────┬───────────────────────────┐
| Partition | Explanation |
├─────────────┼───────────────────────────┤
| /boot | kernel & Co. |
| /cache | app cache |
| /data | user data partition¹ |
| /data/data | app data¹ |
| /dev | devices² |
| /mnt/asec | encrypted apps (App2SD) |
| /mnt/emmc | internal sdcard³ |
| /mnt/sdcard | external sdcard³ |
| /proc | process information² |
| /recovery | used in recovery mode |
| /system | system ROM (read-only) |
└─────────────┴───────────────────────────┘

adb install apk

adb install example.apk

adb push YOURROMZIP.zip /sdcard/

CyanogenMod

http://developer.android.com/guide/topics/data/data-storage.html

USB HOST

http://android.stackexchange.com/questions/51035/what-is-the-difference-between-usb-on-the-go-otg-and-usb-host-mode
http://android.stackexchange.com/questions/36887/how-can-i-determine-if-my-device-has-usb-host-mode-otg-support

http://www.androidcentral.com/android-advanced-usb-otg-nexus-4
http://forum.xda-developers.com/showthread.php?t=2181820

Root

http://autoroot.chainfire.eu/
SuperSU

SSH

https://wiki.cyanogenmod.org/w/Doc:_sshd


Back to posts


comments powered by Disqus