- I made this app for myself, and figured I might as well put it out there for other people who want to develop using WebWorks apps.
All this app does is run the .html code for your WebWorks apps off of the Playbook internal memory.
Here's the description from App World:
READ THIS OR THIS APP WILL NOT WORK FOR YOU!
THIS APP IS INTENDED FOR PLAYBOOK DEVELOPERS WHO DEVELOP USING WEBWORKS!
In order for this app to work, you MUST create a folder called "Testing" (spelled exactly like that, with a capital T) in the misc folder of your PlayBook internal storage. The .html source code for your app is then placed into the Testing folder; the main .html document MUST be named "index.html" or it will NOT work! Not all webworks functions will necessarily work using this app, because not all permissions are enabled.
I made this app because I wanted to use it myself for beta testing my WebWorks apps - mostly to make sure the UI was fluid.
I just submitted it to App World, but if any devs want to sideload and use it before it's approved for distribution, you can get it from http://scrapps.tk/blackberry/apps/pl...rksTesting.bar
Some pics:
The source for this app is attached to this post, if you'd like to modify it to point to your own personal server just open the config.xml and change file:///accounts/1000/shared/misc/Testing/index.html to your web location/IP Address. You could also point the url to a dropbox url (which would look something like http://dl.dropbox.com/u/9610464/TestBB/index.html - make sure you include the html document name if you use dropbox!).
I guess this is released under a GPL license (http://www.gnu.org/licenses/gpl-3.0.txt) - there's no reason for me to release it at all if people can't modify and redistribute it, but please don't try to sell it (it's so simple that there's absolutely no justification for selling it).Last edited by SCrid2000; 04-06-12 at 10:30 AM.
04-05-12 01:54 PMLike 4 -
- so in the misc folder you just add the index.html file. how does it get access to the css or javascript files if the html asks for those files??? does that mean all those things should just be in the html file for your app to work??
thanks a lot by the way this is quite awesome of you to do
a small request though can you add all the permissions so people can access everything for more tests on different type of apps that may require access to that.
If it work as u say it would save a lot of time when testing thanks again!!04-05-12 10:01 PMLike 0 - so in the misc folder you just add the index.html file. how does it get access to the css or javascript files if the html asks for those files??? does that mean all those things should just be in the html file for your app to work??
thanks a lot by the way this is quite awesome of you to do
a small request though can you add all the permissions so people can access everything for more tests on different type of apps that may require access to that.
If it work as u say it would save a lot of time when testing thanks again!!
If you send me a config doc with the permissions you want included I can add them and recompile the app04-05-12 10:06 PMLike 0 -
-
-
- Also, if you really wanted, you could create an index.html with:
Code:<html> <head> <meta HTTP-EQUIV="REFRESH" content="0; url=http://www.yourwebsite.com/"> </head> <body> <h1>Redirect</h1> <p>Redirecting to the testing URL.</p> </body> </html>
Alternatively, you could just create a single HTML page with a link to the websites you are testing. Handy. And for people who see gibberish when clicking on the .BAR, right click and select "Save As", in the popup dialog type "WebWorksTesting.Bar" *including the quotation marks*. This will force the file-extension to a .BAR format.
Ed.Last edited by KermEd; 04-05-12 at 11:49 PM.
04-05-12 11:45 PMLike 0 - @eblade I have a version set up like that for personal use, but unless everyone wants to just test my apps that won't be much help I've found Dropbox to be an excellent substitute for a server as well, which eliminates the need for ftp file transfers if your server is located remotely.
@KermEd you don't need to use the index.html, you can plug the url directly into the config.xml
Edit: totally misunderstood what you said KermEd, putting an html file like that into the Testing folder is an excellent suggestion!
I'll post the source code, such as it is (simplist source code ever) later.Last edited by SCrid2000; 04-06-12 at 09:19 AM.
04-06-12 09:14 AMLike 0 -
- This is a little off topic, but I didn't want to start a new topic for this one question, and it seems like the people in this thread are knowledgeable in WebWorks applications, so:
Is there a way to make a WebWorks app accept cookies? I want to make a simple WebWorks app to launch Facebook fullscreen, and it is "working" but when I try to sign in it tells me I need to enable cookies in my browser. Is there a way to fix this, or will this not be possible through this method?
EDIT: Ignore this, it is seemingly now working. Not 100% sure why though (as in, what changed to make it work).Last edited by SifJar; 04-07-12 at 01:51 PM.
04-07-12 01:47 PMLike 0 - This is a little off topic, but I didn't want to start a new topic for this one question, and it seems like the people in this thread are knowledgeable in WebWorks applications, so:
Is there a way to make a WebWorks app accept cookies? I want to make a simple WebWorks app to launch Facebook fullscreen, and it is "working" but when I try to sign in it tells me I need to enable cookies in my browser. Is there a way to fix this, or will this not be possible through this method?
EDIT: Ignore this, it is seemingly now working. Not 100% sure why though (as in, what changed to make it work).
Glad you got it working, I was about to build a 30 second facebook app to try and replicate the problem and send it to you if it didn't.
*pushes thread back on track*04-07-12 02:08 PMLike 0 - So this app was finally accepted to App World if anyone wants to download it from there rather than sideloading it:
https://appworld.blackberry.com/webs...ontent/103086/08-23-12 11:59 AMLike 0 -
- 4 months
So how long does it take for a person to approve the app?
Do the people at RIM actually test each app on their devices first and tries it out for a day or two, then allows it to show up in the App World?Last edited by rupam95; 08-23-12 at 02:55 PM.
08-23-12 02:50 PMLike 0 -
Yesterday I sent a message to @BlackBerryDev because a different app of mine got denied for a different (stupid) reason, and @BlackBerryDev approved both the WebWorks Testing app and the other app as well.08-23-12 04:40 PMLike 0
- Forum
- BlackBerry PlayBook Forums
- PlayBook Apps & Games
WebWorks Testing App
LINK TO POST COPIED TO CLIPBOARD