01-02-2013 01:43 PM
I'm running into the scaling issue as well.
What's worse is that I am using absolute positioning to place my ad and when I use scale, it completely changes where the "position" of the app is.
It's not an issue if the background is flat, but I'm placing this ad on an area with a design in which my placeholder banner is based upon to "hide" there if there is no service available.
Any updates from RIM themselves?
01-02-2013 07:12 PM - edited 01-02-2013 07:13 PM
If you are going to scale the ads, I'd recommend doing it based on the actual screen dimensions returned from DisplayInfo:
bb::device::DisplayInfo display; m_screenWidth = display.pixelSize().width();
Then, when setting up your ads:
// AD_WIDTH = 320.0, AD_HEIGHT = 50.0
qreal adScaleMultiplier = m_screenWidth / AD_WIDTH; Banner *banner = new Banner();
banner->setPreferredHeight(AD_HEIGHT); ... banner->setScale(adScaleMultiplier, adScaleMultiplier);
This works and scales beautifully for me on a portrait BB 10, but might have issues in landscape, or on large screens like the playbook, so modify it accordingly.
01-06-2013 11:32 PM
So I guess the official line is that, for release, the 320x50 ad size is the largest?
It doesn't look terribly bad when scaled up, but some official guidelines or additions to the docs here wouldn't hurt.
02-03-2013 10:03 PM
I have a problem, create my zoneid even a month ago and I still leave it.
This is the data that I enter.
There will be a mistake? data or bad record? I can do?