11-24-2011 05:44 AM
i am building an application which will take photo and record video and save them in device memory or sd card and email them when i want. will i use java development or webworks develplment.
Solved! Go to Solution.
11-24-2011 01:27 PM
There are many different reasons to choose which platform to develop on. I generally reccomend people develop in the language they are most comfortable in. Technically anything that can be done in Java can be done in WebWorks so really its up to you.
Just to be aware WebWorks does not have a native API to send emails with attachments, but if you know how to code in Java you could build an extension to handle this.
11-24-2011 01:36 PM
thank you for your reply jeffheifetz. i tried to find out development guideline about webworks. i didn't find any useful resource other then their own. as i am new to blackberry, i am confused about tools and environment setup. i have installed eclipse and downloaded blackberry sdk 6.0. but how can i start developing in webwroks? can you suggest me any guideline?
11-26-2011 03:12 PM
You can't use Eclipse for WebWorks development. Start here.
You need to download the Ripple emulator and the WebWorks 2.2 SDK. Use your favourite text editor to edit and create the necessary files. Use the Ripple emulator to do basic app testing.
Create your first app:
Check out the sample applications:
Jeff is correct when he says everything is technically possible with WebWorks so it's up to you whether you use native Java or WebWorks depending on what you're comfortable with.
However, that's a big technically.
The native WebWorks API is useful, but somewhat limited. If you want to do everything a native Java app can do, you'll have to write your own WebWorks extentions -- in Java. So if you're not comfortable with Java, you should use WebWorks. But if you want to be able to use functions and features not included with WebWorks you'll need to know Java, in which case you'd probably just want to write the app in Java anyway to avoid tip-toeing around all the memory issues with WebWorks.
A more complex Facebook-like app would never make it in the WebWorks world. I spend most of my time working with and around the constraints of WebWorks rather than creating useful features.
11-26-2011 03:26 PM
11-26-2011 03:42 PM
I must admit, UI is something WebWorks makes nice and easy. Unfortunately, creating the UI in Java is indeed fairly complex (as most programmatic UI frameworks can be). The only way to get good at it is to practice, read these forums and check out some of the tutorials that come with the BB SDK.
WebWorks will make your UI development go very quickly.
11-26-2011 04:28 PM - edited 11-26-2011 04:30 PM
in that case, i must let go java ui development. as a matter of fact , is there anyway i can use java as logic library in webworks? in that way i can still handle the memory part of the app.
11-26-2011 04:42 PM
12-03-2011 01:10 PM
but is it woth to start developing in java? i thought that java apps won't run on BBX...and being OS7 the last in the java line i won't feel confident starting out development of a new app on an already dismissed platform...am i wrong?webworks seems to be the only choice...but man performance is a very big issue here