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

Java Development

Reply
Developer
WesleyT
Posts: 206
Registered: ‎07-02-2010
My Device: 8320 Curve

Help with simple App development

Hello,

 

I am 100% new to java and phone apps. Could someone advise me on what the best Development enviroment can be to get started. Could you also give me a guide on how to set this enviroment up on my PC. I have an enviroment ready and can deploy to a simulator already i just want to see what other options are out there.

 

Now for the main issue. I need to develop an app that gets GPS Coordinates and realy them to a server via a webservice (I am not sure), Could someone help me with some simple sample code that can get me started.

 

Kind regards and thanks in advance for any help.

 

WesleyT

 

Developer
peter_strange
Posts: 19,609
Registered: ‎07-14-2008
My Device: Not Specified

Re: Help with simple App development

[ Edited ]

Welcome to the world of BlackBerry...

 

You need to do this a step at a time.  Sample code to do what you want would be incomprehensible to you now and would not help your learning.  So I would recommend this approach

 

1) Learn java.  Learn it in an environment you are familiar with, i.e. a PC.  Buy yourself a 'Teach yourself Java' book and work through it.  You will only need to do the first few chapters probably, and do nothing complicated with the UI or involving native functions.  You might like to check to see if a function is supported on the BlackBerry before learning about it.  But most of the documentation you will find around assumes that you can code a Java program on another platform, so you have to get yourself to that stage.

 

2) Once you have learnt java, start on the Tutorials and Videos and Labs you will find here.  You will need to understand the BlackBerry concepts like the Persistentstore,  Obviously you will want to skip some of these that you don't want to use , but work through as much as you can.

 

3) Once you have got to here, you will have reviewed the Video about GPS and you should be able to answer most of the questions yourself... Result!

 

Anyway, that is what I would suggest.

 

Good luck. 

Developer
WesleyT
Posts: 206
Registered: ‎07-02-2010
My Device: 8320 Curve

Re: Help with simple App development

Thank you for your advice Peter,

 

I am in the process of learning Java. I am not totally new to developing software though i just use a different language. Due to the requirements of our company i am required to explore the possibilities in blackberry apps. I will mainly be focusing on GIS solutions etc.

 

I am able to build and deploy simple apps like a hello world on the simulator using the Blackberry JDE. Where can a person find out what functions are supported on what models ?

 

I will how ever follow your advice in the mean time and get a better understanding of this new world.

 

Regards

 

WesleyT

Developer
peter_strange
Posts: 19,609
Registered: ‎07-14-2008
My Device: Not Specified

Re: Help with simple App development

"Where can a person find out what functions are supported on what models ?"

 

Good question.  There is KB article that talks about which phones do and don't have GPS.

 

Of course if you can do Google search on a specific phone, you should find somewhere that someone has documented its specifications, even if you can't find it on the RIM site. 

 

What specific functions do you want to know about?

Developer
WesleyT
Posts: 206
Registered: ‎07-02-2010
My Device: 8320 Curve

Re: Help with simple App development

Peter,

 

Looks like we are missing each other here :smileyhappy:

 

I thought you meant that there are certain functions in JAVA that are supported on certain Blackberry models. Finding out what the funtional capabilities of a certain Balckberry should be easy to find. I just missunderstood what you said.

 

This is rather exciting and new, so before i go off and chat about what i want to do let me first do some research and get to know what i am doing before i try implement an idea.

 

Thank you for you replies and support

 

Regards

 

WesleyT

Developer
Ted_Hopp
Posts: 1,305
Registered: ‎01-21-2009
My Device: Not Specified

Re: Help with simple App development

I would recommend installing Eclipse and the BlackBerry plugin for Eclipse. I think it's a much more productive development environment than the JDE. The latest Eclipse that RIM supports at this point is 3.5 (Galileo); you can find it under the "older versions" section of the eclipse.org downloads.

 

Unless you have a requirement to support older BlackBerry models, and particularly while learning, I would recommend the latest JDE (5.0) from RIM. (Be aware though, that applications built for a particular OS version will not run at all on devices running an earlier version.)




Solved? click "Accept as solution". Helpful? give kudos by clicking on the star.