Design Introduction “Air” Styles Mobile Design Principles Styles UX Overview Design Patterns UI Components for Tizen App Design 2.3 TV Design Principles Styles UX Overview Patterns UI Components Wearable Development Tizen Studio Overview Download Tizen Extensions for Visual Studio Family IoT extension SDK Docs Blog Blog Announcing the Tizen Studio 3.7 Release Announcing the Tizen Studio 3.1 Release Community Forums General Support Tizen .NET Web Application Development Native Application Development SDK & IDE Design Introduction “Air” Styles Mobile Design Principles Styles UX Overview Design Patterns UI Components for Tizen App Design 2.3 TV Design Principles Styles UX Overview Patterns UI Components Wearable Development Tizen Studio Overview Download Tizen Extensions for Visual Studio Family IoT extension SDK Docs Blog Blog Announcing the Tizen Studio 3.7 Release Announcing the Tizen Studio 3.1 Release Community Forums General Support Tizen .NET Web Application Development Native Application Development SDK & IDE
Changing Bitmap image of a footerItem when pressed
Hi all
i am working on an application and need to implement a bitmap change when footer item is pressed.
actually i am playing a file and want to change the bitmap from play to pause.
functionally it is working fine,,,but the bitmap of footeritem is not getting changed
hope i am clear
in On_Initialising() i am setting bitmap of footerItem like this:
Bitmap* pBitmapNormal = pAppResource->GetBitmapN(L”Pause.jpg”);
footerItemPlayPause.SetBackgroundBitmap(FOOTER_ITEM_STATUS_NORMAL,pBitmapNormal);
isplaying = false; //isplaying is the flag i am checking in on_actionperformed()
in On_ActionPerformed() under this case i am changing it like this but it is not working.
if(!isplaying)
{
AppResource *pAppResource = Application::GetInstance()->GetAppResource();
Bitmap* pBitmapPressed = pAppResource->GetBitmapN(L”Play.jpg”);
footerItemPlayPause.SetBackgroundBitmap(FOOTER_ITEM_STATUS_NORMAL,pBitmapPressed);
StartAudio(ID_NEW_FOOTER_ITEM_PLAY_PAUSE);
isplaying = true;
}
else
{
AppResource *pAppResource = Application::GetInstance()->GetAppResource();
Bitmap* pBitmapPressed = pAppResource->GetBitmapN(L”Pause.jpg”);
footerItemPlayPause.SetBackgroundBitmap(FOOTER_ITEM_STATUS_NORMAL,pBitmapPressed);
Draw();
Stop(ID_NEW_FOOTER_ITEM_PLAY_PAUSE);
isplaying = false;
}
the functionality is working fine,,,from play to pause,,,,,,but bitmap image is not getting changed…
Please help….!!!!
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio