Merge pull request #1 from viorelvesa/dev

sample app
fixed warnings