Change initialize methods in sample apps

Have them return ints corresponding with the new API

Change-Id: Ic527bdff1b419ab1e7b0a1770f3a5b5d97356425
2 files changed