Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development

Reply
Developer
shawnblais
Posts: 439
Registered: ‎10-25-2010
My Device: Not Specified

Re: Unable to start developing with the new Tablet WebOS

 


sblantipodi wrote:

sincerely I thought to something more interesting that developing in flash or javascript, good toy for kids :smileyhappy:

where is Java?


 

Sure beats having:

- Java project built on Android SDK

- Java project built on Blackberry SDK

- C# Project build with WP7 SDK

- Objective-C project build for iOS

 

... ya, I think I like AIR :smileyhappy:

Please use plain text.
New Developer
cybrown
Posts: 17
Registered: ‎07-29-2010
My Device: 9800
My Carrier: AT&T

Re: Unable to start developing with the new Tablet WebOS

[ Edited ]

 


shawnblais wrote:

The AIR SDK needs to be overlayed over an existing Flex SDK, ie copy and paste the AIR SDK into the Flex SDK, and overwrite all files (on OSX you need to use terminal)


I've never used AIR before - until today I was a happy Java developer. I'd like to start developing for the Playbook. I'm not sure what your comment means. What is this Flex? I'm trying to follow RIM's directions to get started, which claim that I simply need to extract the AIR 2.5 SDK. However, during the Blackberry SDK install, I point the installer to my AIR folder, and it claims that I don't have the right version, even though I do have the right version...don't I? I feel like an **bleep** and that this shouldn't be as difficult as getting the eclipse java plugin up and running, but somehow my install keeps failing. Could it be because I tried to run the installer once earlier with the 2.0.2 AIR SDK which was originally linked? I deleted all the folders that bad install created before I tried again, but it's still not working. I'm dismayed!

 

Please use plain text.
Developer
Ebscer
Posts: 843
Registered: ‎08-31-2009
My Device: 9530, 9630, 9800, 8530, 9900, 9810, 9930, PlayBook, Dev Alpha
My Carrier: Verizon

Re: Unable to start developing with the new Tablet WebOS

Except that Java, C#, and Objective-C are all more powerful languages. (and I already know them, and know better than to trust any write once, run anywhere pipe dream that never works out in practice)...


Read my thoughts on BlackBerry Development at news.ebscer.com
Please use plain text.
New Developer
cybrown
Posts: 17
Registered: ‎07-29-2010
My Device: 9800
My Carrier: AT&T

Re: Unable to start developing with the new Tablet WebOS


Ebscer wrote:

Except that Java, C#, and Objective-C are all more powerful languages. (and I already know them, and know better than to trust any write once, run anywhere pipe dream that never works out in practice)...


Agreed. I'm pretty disappointed that I'll have to learn a whole new platform to develop for the tablet. I liked Java quite well. I'm willing to give AIR the benefit of the doubt, but until today I barely knew what AIR was. Hopefully I will not have to buy some expensive Flash Builder version to actually be a dev!

Please use plain text.
Developer
shawnblais
Posts: 439
Registered: ‎10-25-2010
My Device: Not Specified

Re: Unable to start developing with the new Tablet WebOS

More powerful in some ways, much more limiting in others. Visually you can do stuff in F:ash that would take 2-3x as long in Java or ObjC. 

 

Native will always be the best, granted, but these days it's getting harder and harder to keep up. AIR is positioned ideally IMO.

Please use plain text.
BlackBerry Development Advisor (Retired)
andyjin
Posts: 35
Registered: ‎10-25-2010
My Device: Not Specified

Re: Unable to start developing with the new Tablet WebOS

cybrown,

 

Open a command prompt, and type in:

 

java -jar <you_AIR_sdk_folder>\lib\adt.jar -version

 

What is the output? It has to say something like "adt version 2.5.0.*". do you see that?

Please use plain text.
Developer
sblantipodi
Posts: 1,178
Registered: ‎02-19-2009
My Device: Not Specified

Re: Unable to start developing with the new Tablet WebOS

 


shawnblais wrote:

 


sblantipodi wrote:

sincerely I thought to something more interesting that developing in flash or javascript, good toy for kids :smileyhappy:

where is Java?


 

Sure beats having:

- Java project built on Android SDK

- Java project built on Blackberry SDK

- C# Project build with WP7 SDK

- Objective-C project build for iOS

 

... ya, I think I like AIR :smileyhappy:


 

for this there is just JavaME, much more powerful than AIR.

I wrote a small UI Toolkit for my software and I port my software around Blackberry, Android, Feature phone and Windows Phone in a minute. All I need to do is to rewrite the socket layer.

 

Personally I don't think that AIR will be the answer to the extreme portability. Don't joke.

Please use plain text.
New Developer
cybrown
Posts: 17
Registered: ‎07-29-2010
My Device: 9800
My Carrier: AT&T

Re: Unable to start developing with the new Tablet WebOS

 


andyjin wrote:

cybrown,

 

Open a command prompt, and type in:

 

java -jar <you_AIR_sdk_folder>\lib\adt.jar -version

 

What is the output? It has to say something like "adt version 2.5.0.*". do you see that?


 

When I try this, I get the following error message:

 

 

Exception in thread "main" java.lang.UnsupportedClassVersionError: com/adobe/air/ADT
(Unsupported major.minor version 49.0)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$100(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)

 

 

I'm pretty clueless as to what's going on right now. Any ideas?

Please use plain text.
BlackBerry Development Advisor (Retired)
andyjin
Posts: 35
Registered: ‎10-25-2010
My Device: Not Specified

Re: Unable to start developing with the new Tablet WebOS

Your Java runtime is too old. Can you upgrade it to the current version of 1.6 and try again?

 

 

Please use plain text.