I have been trying to set background image in Tizen Native app but have not been successful so far. I have tried doing the same through Canvas and Bitmap but its not working,though i am not getting any error.
I am using the below code in the OnInitializing function of my form.
AppResource *pAppResource = Application::GetInstance()->GetAppResource();
Bitmap* pBitmap1 = pAppResource->GetBitmapN(L"image.png");
Canvas *pCanvas = new Canvas();
pCanvas->Construct();
pCanvas->DrawBitmap(Point(0,0), *pBitmap1);
pCanvas->Show();
Any idea what could be the issue or any other simpler way of doing the same?
Thanks,