Hi, I want to use SVG and bitmap graphics together in my application. I followed the Scalable UI guide line document (from Forum Nokia).
I create the MIF, MBM and MBG using the MK file (copy from the Icons_aif_scalable_dc.mk from helloworldbasic).
Case 1:
I put MIF and MBM under \\resource\\apps\\. My application can use the SVG icons on a list box. However, it cannot load bitmap from MBM.
Load SVG:
Load Bitmap:Code:CFbsBitmap *bitmap, *mask; AknIconUtils::CreateIconLC( bitmap, mask, aFileName, aBitmapId, aMaskId ); CGulIcon* icon = CGulIcon::NewL( bitmap, mask ); // ownership transferred CleanupStack::Pop( 2 ); // bitmap, mask
Case 2:Code:CFbsBitmap* bitmap = GetBitmapL( aFileName, aIndex )
I put MIF and MBM under \\private\\1000ABCD\\. My application cannot load bitmap from MBM. The icons on list box become empty too.
Case 3:
I give up the SVG and put START BITMAP in MMP file (same as the way in 2.x). I put the MBM under \\private\\1000ABCD\\. My application can load the bitmap from MBM. No SVG so I changed my graphics list box to simple list box.
Does anyone able to use bitmap and SVGT together? Can I put those files under \\private\\1000ABCD\\ instead of the public share folder \\resource\\apps\\?
thanks a lot in advance.
lukedau



