-
If you want to set it up to use the GPS to set the location, take a look here:
How To - Enable GPS capability in BlackBerry WebWo... - BlackBerry Support Community Forums
And here's some sample code for a swipe down menu in webworks:
Code:function showMenuBar() { document.getElementById("menuBar").className = "showMenuBar"; } function hideMenuBar() { document.getElementById("menuBar").className = "hideMenuBar"; } function doMenuAction(msg) { //Change the following alert() statement to whatever action you wish to invoke from the given menu item. alert(msg); hideMenuBar(); } function doMenuLink(link) { //Change the following alert() statement to whatever action you wish to invoke from the given menu item. alert(link); document.getElementById('ClipLink') window.location(link); hideMenuBar(); } function setHandlers() { blackberry.app.event.onSwipeDown(showMenuBar); showMenuBar(); }
07-16-11 01:31 PMLike 0 - Thanks for the info, I hadnt used any of this. This is my first crack at a webworks app so still getting used to the api, its much different than the AIR dev.
Only problems im running into is finding a weather API that provides hourly data 5/7 days out. Not sure if there is one.
Awesome! Here's some info that may help you out...
If you want to set it up to use the GPS to set the location, take a look here:
How To - Enable GPS capability in BlackBerry WebWo... - BlackBerry Support Community Forums
And here's some sample code for a swipe down menu in webworks:
Code:function showMenuBar() { document.getElementById("menuBar").className = "showMenuBar"; } function hideMenuBar() { document.getElementById("menuBar").className = "hideMenuBar"; } function doMenuAction(msg) { //Change the following alert() statement to whatever action you wish to invoke from the given menu item. alert(msg); hideMenuBar(); } function doMenuLink(link) { //Change the following alert() statement to whatever action you wish to invoke from the given menu item. alert(link); document.getElementById('ClipLink') window.location(link); hideMenuBar(); } function setHandlers() { blackberry.app.event.onSwipeDown(showMenuBar); showMenuBar(); }
07-16-11 02:54 PMLike 0 - Neat app but the demo was on Feb (MWC11 was in Feb, right?), it's July now and we still don't get an official release? This guy on the interview emphasizes quick development (He states that it took TAT a week to develop this demo app) yet no official release? It's been almost 5 months! What is wrong with this picture? Do the webworks development platform excel at producing demo-level apps but suck at producing production-level apps? A lot of promises on apps and RIM/Third-party failing to deliver on its promises (in a timely manner), perhaps it's just too damn hard to make apps for the Playbook? I am starting to give up hope...sayg likes this.07-16-11 05:20 PMLike 1
- I dont believe this app was ever actually said to be released as an app... Also developing a demo is irrelevant, as you can see demos can hardcode everything. They only have to function on the surface. So it has no real bearing on actual development times.
Posted from my CrackBerry at wapforums.crackberry.com07-16-11 11:28 PMLike 0 - They ought to release it as an app. I side loaded it and I will be using it to impress everyone who I come in contact with who's looking at tablets. I'll run the weather app, minimize it, open the camera, and rotate it side to side so the clouds swing and the camera moves. its a great way to demo the device.sayg likes this.07-17-11 11:52 AMLike 1
-
-
- Forum
- BlackBerry PlayBook Forums
- PlayBook Apps & Games
AURA Weather App DEMO from TAT available!!!
LINK TO POST COPIED TO CLIPBOARD