BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 09-30-2010, 08:43 AM   #1 (permalink)
New Member
 
Join Date: Sep 2010
Location: Peru
Model: 9800
OS: 6.0
PIN: N/A
Carrier: System Manager
Posts: 9
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default How to start! (Enterprise app)

Please Login to Remove!

Hi everyone, I am new developing BlackBerry app (peruvian java programmer, JDE 6.0)
I check almost all the files giving in the blackBerry page, but is not helping me.

I want to develop an application for the enterprise that i work in, they have BES, so i need help =(

I do not know what is the best way to start...

I want to develop an application that connects to a database and see, first objective, data (String or dataSet) from a table.
I tried using JDE 6.0.0 and KSoap2 (Open Source) to consume .Net web services, but this is the right way? is there another (like ...)?
should i use web services for that? or not?

Should i use JDE plugin for eclipse or JDE 6.0?

I will appreciate very much your answers
__________________
-------------------------
"Impossible is really just someone's opinion."
from Hacking BlackBerry written by Glenn Bachmann
Offline  
Old 10-01-2010, 02:36 AM   #2 (permalink)
Spam Reporter
 
dc/dc's Avatar
 
Join Date: Oct 2005
Location: IAD
Model: 6230
Carrier: Voicestream
Posts: 14,530
Post Thanks: 220
Thanked 345 Times in 311 Posts
Default

Please check the Developer section.
__________________
I h8 txtspk.
Offline  
Old 10-01-2010, 06:35 AM   #3 (permalink)
Appleinator
 
Dubdub's Avatar
 
Join Date: Nov 2005
Location: New Hampshire
Model: App5
OS: AJBR549
PIN: Ask
Carrier: ATT & Verizon
Posts: 20,020
Post Thanks: 54
Thanked 778 Times in 740 Posts
Default

Moved to the Developer Forum.
__________________
-->>BB FAQ

-->>Stinsonddog's Tip Site!

-->>Twitter


If someone helps, tell them by clicking the Thanks button.!!
Offline  
Old 10-05-2010, 11:50 AM   #4 (permalink)
New Member
 
Join Date: Sep 2010
Location: Peru
Model: 9800
OS: 6.0
PIN: N/A
Carrier: System Manager
Posts: 9
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi, I'm glad to tell you that i consume a .Net web service that return a String, however i would like to know how to work when the return type is a DataTable, i check some examples but niether of them is with a DATATABLE.

I'm using Ksoap2 with JDE plug-in for eclipse (BlackBerry 9550 Simulator)

--

If someone have work with BES (experience) and knows how to deploy an application that connects to a web service (i read the docs in BlackBerry page) i will appreciate =D
__________________
-------------------------
"Impossible is really just someone's opinion."
from Hacking BlackBerry written by Glenn Bachmann
Offline  
Old 10-06-2010, 11:33 AM   #5 (permalink)
New Member
 
Join Date: Sep 2010
Model: 9650
PIN: N/A
Carrier: verizon
Posts: 5
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

ooh. I was just about to say that I think a datatable is one of the objects that is native to .NET. I don't think you can your java app is going to be able to recognize it. Can you convert it to an xml doc?

Jared
Offline  
Old 10-06-2010, 11:50 AM   #6 (permalink)
New Member
 
Join Date: Sep 2010
Location: Peru
Model: 9800
OS: 6.0
PIN: N/A
Carrier: System Manager
Posts: 9
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

How do i do that =S ?
__________________
-------------------------
"Impossible is really just someone's opinion."
from Hacking BlackBerry written by Glenn Bachmann
Offline  
Old 10-06-2010, 12:16 PM   #7 (permalink)
New Member
 
Join Date: Sep 2010
Location: Peru
Model: 9800
OS: 6.0
PIN: N/A
Carrier: System Manager
Posts: 9
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I use the same example (.Net web service that return a String) for the method that return DATATABLE, i convert the respone in a SOAPOBJECT and the TEXTFIELD shows me all the data (DATATABLE). How can i work with that? is possible?

Code:
obj = (SoapObject)envelope.getResponse();
txt2.setText(obj.getProperty(1).toString());
Response
anyType{NewDataSet=anyType
{
Table=anyType{fecha=2004-03-09; total=5.5;zona=4;};
Table=anyType{fecha=2006-03-10; total=4.5;zona=2;};
};
}

Another question, is about BES, with a real device. I download myapp (consume a .Net web service) and Shows me as response: Error Trying to resolve, DO i have to configure BES or myapp to go to the server(access the web service)? =S
__________________
-------------------------
"Impossible is really just someone's opinion."
from Hacking BlackBerry written by Glenn Bachmann
Offline  
Old 10-06-2010, 12:28 PM   #8 (permalink)
New Member
 
Join Date: Sep 2010
Location: Peru
Model: 9800
OS: 6.0
PIN: N/A
Carrier: System Manager
Posts: 9
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Another thing is that, in the real device, users can access the web service in the browser, because this is in BES, but when they use myapp that use KSoap2 to access the web service shows error =( .
DO i have to do some configuration?
__________________
-------------------------
"Impossible is really just someone's opinion."
from Hacking BlackBerry written by Glenn Bachmann
Offline  
Old 10-06-2010, 01:24 PM   #9 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

"Imposible" is really just a spelling error.

Offline  
Old 10-07-2010, 08:21 AM   #10 (permalink)
New Member
 
Join Date: Sep 2010
Location: Peru
Model: 9800
OS: 6.0
PIN: N/A
Carrier: System Manager
Posts: 9
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Dougsg38p View Post
"Imposible" is really just a spelling error.

Jaja
lo puse en español :P
Spanish
__________________
-------------------------
"Impossible is really just someone's opinion."
from Hacking BlackBerry written by Glenn Bachmann
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright © 2004-2014 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.