- Content browser now lets you long press to go into selection mode.
- Overscan demo has more options for controlling more window state.
Change-Id: I04cfb58f515882cc6dccd65cb68bc073e53dcad5
Improves the demo to use the new InputManager API for receiving
notifications when input devices are added, removed or changed.
For example, a game could listen for when new joysticks are
connected or disconnected.
Change-Id: I8ac35206d4f00011145d74c78e91d720aec8f21c
UI is now a set of check boxes to toggle the various modes.
Also add new API demos for two typical implementations using
system UI flags: a content browser and a video player.
Change-Id: If93659343cfc42b903b18997a5a0a04ee10e8343
o Remove NFCDemo sample app. It's janky and is mostly parsing code
that isn't needed anymore.
o Use new NDEF APIs for parsing and creating records
o Use nicer setNdefPushMessage() API
o Delete helper NDEF code that is not needed any more
o Use URL instead of Text for the foreground push demo
o Mark AndroidBeamDemo a test so it gets installed in data not system
Change-Id: I75eda84019c2075956688e26f2598f126d5659a2
Lots of clean up on the messaging notification sample to show the real
correct way to do things. Also mark up a bunch of the sample for use
in the documentation.
Change-Id: I3a29a944c2971e142c33b29aff94b1ba0b40ae0e
This vses the trve seqvence, svch that vsers can be
vnderstood vpon revsing this data, thvs bypassing
svrprising qvestions.
Change-Id: I1741d0c4072ab43975981799f602a6a6cda25088
This avoids everything breaking on pre-ICS platforms.
Also get rid of pref initialization in Application. I hate that. Hate
hate hate. Hate. Totally hate.
Totally.
Change-Id: Idb3526a96eb2dff49f9de8e5ae71149cb4ed6e96
1. Moving Accerssibility Service sample into ApiDemos since
we are putting all accessibility samples there.
2. Fixed regressions (mainly due to adding new event types)
in the Accessibility Service sample.
3. Updated the Query Window Content sample to have some
instructions and to work with touch exploration.
Change-Id: I226ac4130f7f8cae47bb52cbdeab9f104cfaba40
This activity was accidentally added to the Api Demos manifest
in an earlier checkin.
Because the corresponding Java classes were never checked in,
the activity never actually worked.
Change-Id: I7a7c8c90e8e6b9689f87720fc7f4d53556c2f227
In API level 13 the android:configChanges property was changed incompatably.
In API level 12 and below, an activity that wanted to handle screen size and orientation changes
could achieve that by specifying
android:configChanges="orientation"
Starting with API level 13 the activity must specify
android:configChanges="orientation|screenLayout|screenSize|smallestScreenSize"
This change updates all the activities in ApiDemos that want to handle screen size and orientation
changes themselves.
Fixes b/5522551 ApiDemos OpenGL ES rotation-without-restarting-Activity broken for API levels 13+
Change-Id: Ibc8b2b77eab9be279b56c026d76787d7185c62c9