06-11-2011 12:19 AM
I am working on a Tablet App.
1: How do I get my icon to show up, i specifies the icon in the config.xml but It doesnt work.
2: I get a white screen flashing when I run my app on device after my splash/loading screen, how to fix?
3: Sometimes my menu does not drop down on swipedown .. any ideas?
4: The following code does not work on Playbook, works in browser and other tablets that I develop for, should I uses touches??
onMouseDown: function(e)
{
captured = this;
this.startX = e.clientX - this.note.offsetLeft;
this.startY = e.clientY - this.note.offsetTop;
this.zIndex = ++highestZ;
var self = this;
if (!("mouseMoveHandler" in this)) {
this.mouseMoveHandler = function(e) { return self.onMouseMove(e) }
this.mouseUpHandler = function(e) { return self.onMouseUp(e) }
}
document.addEventListener('mousemove', this.mouseMoveHandler, true);
document.addEventListener('mouseup', this.mouseUpHandler, true);
return false;
},
onMouseMove: function(e)
{
if (this != captured)
return true;
this.left = e.clientX - this.startX + 'px';
this.top = e.clientY - this.startY + 'px';
return false;
},
Solved! Go to Solution.
06-11-2011 07:57 AM
Hi bobbydharrell,
1) Make sure your icon is 86x86 if it is a different size it just may not appear
2) This is something that we are working on. I'm working on an update from the development team to see where we are with this issue
3) I'm not sure. I haven't heard of this issue before. Do you have some sample code that we can try and reproduce?
4) You will likely want to stick with touch events. Some good information on touch events can be found here and you can find our documentation here
06-11-2011 10:07 AM
I think the menu thing was me, I have not had it happen since I wrote the question.
I had my icon set for 86x86 but it still gave me the default .. I will play with it some more
Let me know what they say about the white screen if it something I will need to change, if it winds up being a playbook update then I just wont worry about it
I am looking into the Touches now .. Thank you
06-11-2011 03:50 PM
There is nothing you can do about the white screen at this time. The ball is in RIM's camp.
06-14-2011 05:06 PM
bobbydharrell wrote:I think the menu thing was me, I have not had it happen since I wrote the question.
Did you do something to fix the menu not appearing all the time? I am currently having this problem. Mine only appears after I have focused a textarea.
06-14-2011 10:31 PM
08-31-2011 01:58 PM
FYI: we're tracking this issue here, and Tim has added updates about the resolution https://github.com/blackberry/WebWorks-TabletOS/is
I saw a preview of the fix the other day - its coming along well. Going to try and get more info for you about when this fix will be available for developers to use.