Course page: https://class.coursera.org/androidpart1-001/wiki/Module_1%3A_Android_Development_Environment
By Dr. Adam Porter
Source code available at: https://github.com/aporter/coursera-android
telnet locahhost 5554 # port is an example. # then: network speed egde #or network speed full power capacity 5 power status not-charging geo fix 0.00 40.00 # Emulate incomming sms: sms send 301555555 "This is a text message"
ACTION_DIAL,
ACTION_EDIT,
ACTION_SYNC,
ACTION_MAIN, etc…
Action can be set on construction or with the setAction method.
URI can be parsed with for instance:
Uri.parse("tel:+155555555");
Data can be set on construction or with the setData method.
new Intent(LoginScreen.this, HelloAndroid.class);
<activity ...> <intent-filter ...> <action android:name="actionName" /> </intent-filter> </activity>
adb shell dumpsys package
<uses-permission> tag
<permission android:name="course.example.permission.BOOM_PERM" android:description="@string/boom_perm_string" android:label="@string/boom_permission_label_string"> </permission>
<application ... android:permission="course.example.permission.BOOM_PERM" ...> </application>