The foreground compatibility sample wouldn't actually work on an old platform because of a misplaced return statement in onCreate and the invokeMethod would ignore its arguments. Change-Id: Ic1d1a6d8579700215c7988cd603a6bb86f1346a4
Adding a new folder in development/samples is not enough to have it be packaged with the SDK. Make sure to edit development/build/sdk.atree to add the sample to the SDK build.