native and library project migrated from samples