10-11-2012 02:43 AM
First off, good work to the developers helping out with the initiative. I am having a hard time using it though with the Dev Alpha device. It works great on Ripple,but has issues with the actual device.
I got everything coded up and tested fine on Ripple. Deployed it, and got the viewport bug with it where it looks super zoomed in, not too scale. I tried the "target-densitydpi" fix but it didn't work. So I tried the latest 0.9.4 branch, it fixed the view. The touch sensitivity went way down. It takes 2-3 hard taps to even move between screens.
Any tips here? The app worked fine on the Playbook, but switching from jQuery to BBUI seems to be tougher than I thought.
Solved! Go to Solution.
10-11-2012 03:04 AM
OK... I was able to get better results by going back to BBUI-0.9.3 and removing the META tag for the ViewPort.
On the example on the GitHub site for tool kit initialization it has:
However on the BBUI sample applications, there is no reference to that line.
I took it that line out. It is much faster then before and looks right. However touch, still feels a bit off (will work 75% of the time). Need multiple taps to actually get it working.
10-11-2012 03:09 PM - edited 10-11-2012 03:10 PM
If you want to use the current 0.9.3 version, then you could set your meta tag like this. It's the preferred way of doing it for now.
<script> var meta = document.createElement("meta"); meta.setAttribute('name','viewport'); meta.setAttribute('content','initial-scale='+ (1/window.devicePixelRatio) + ',user-scalable=no'); document.getElementsByTagName('head').appendChi
10-14-2012 11:00 AM - edited 10-14-2012 11:00 AM
The onclick for the buttons/elements is a touch sensitivity issue wih the browser that we're still working on refining
v0.9.4 in the next branch handles all the meta tag stuff for you.. it should be getting pushed down into master soon