Notes I am making when I am devloping Android Applications
Package Name: See Java Package Names
Apps I have made:
Project Name | Application Name | Package Name |
---|---|---|
RJM Switches | RJM Switches | com.metcarob.switches |
Database Sync | Database Sync | com.metcarob.datasync |
RJM Test DB | RJM Test DB | com.metcarob.rjmtestdb |
Exporting Signed App to my Phone
- Right click app and select andriod tools
- Export unsigned App to c:\Android_dep
- Run sign.bat
- Upload apk file to this page
- Put apk file onto SD Card
- Run App Installer to install the app
JDBC and SQLite
My SQLite code might work simply by pointing to a different JDBC driver.
On Android use: SQLite.JDBCDriver
See https://groups.google.com/forum/?fromgroups#!topic/android-developers/zz3qlNL2JDw
and http://stackoverflow.com/questions/1728476/does-android-support-jdbc
https://github.com/SQLDroid/SQLDroid
Permissions
Activity Lifecycle
-
public class Activity {
-
protected void onCreate(Bundle savedInstanceState);
-
protected void onStart();
-
protected void onRestart();
-
protected void onResume();
-
protected void onPause();
-
protected void onStop();
-
protected void onDestroy();
-
}
Save in OnPause, load in OnResume
Feature Notes
API Level
http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels
Clipboard
- Clipboard service: This service is provided through the android.content.ClipboardManager class. It allows applications to place data in the system clipboard and retrieve it from the clipboard.
- USB service: This service is provided through the android.hardware.usb.UsbManager class. It allows applications to query the state of the USB and to communicate with devices through USB devices.
RJM Article Type
Quick Reference