BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 06-03-2009, 01:52 PM   #1 (permalink)
New Member
 
Join Date: Jun 2009
Model: 7100T
PIN: N/A
Carrier: ATT
Posts: 14
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Mobile Call Report

Please Login to Remove!

Hi Everyone,

I am new to this development platform. We have a need to create for our sales force a mobile call report form on their Black Berries. This will enable the sales force to submit their Sales call details to our server. I know we have to create the form in Visual Studio. We have VS 2008

Here are my requirements from the configuration side

1. What do I need to have on the VS Side?

2. What do I need to configure on the BB Enterprise server side?

3. What do I need to do if we want to use the push services?

4. Can we develop the application with C# ?

Here are my requirements from the development side

1. The form will have a drop down control for customers. This drop down need to be preloaded for the customer specific to the sales person not all the customers. In other words my BB should show only my customer list not customers belonging to other sales personal. How do I do this?

2. What is the best method to retrieve data from the source? Data source or web services ?

3. If the phone is out of signal range. How do I programmatically queue the form submission and send them when there signal strength is good.

4. The form is designed with header and details. The header has the date, customer and sales person name etc. The detail form will have the call details. When the user navigates from form to form, how do I retain the header details until the form is submitted? Do we have to cache the form until the data is submitted? If so how do I do this?



Appreciate any help



Thanks



Surkum
Offline  
Old 06-08-2009, 09:08 AM   #2 (permalink)
New Member
 
Join Date: Jun 2009
Model: 7100T
PIN: N/A
Carrier: ATT
Posts: 14
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Any help please???
Offline  
Old 06-08-2009, 01:21 PM   #3 (permalink)
Talking BlackBerry Encyclopedia
 
Join Date: Oct 2006
Model: 7103
Carrier: Verizon
Posts: 259
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

1. What do I need to have on the VS Side?
A page that accepts a http/https POST for data submitted from the BB application


2. What do I need to configure on the BB Enterprise server side?
Nothing really, unless you really want to use #3. Even then, little.

3. What do I need to do if we want to use the push services?
You'd need to first read this whitepaper

4. Can we develop the application with C# ?
no



1. The form will have a drop down control for customers. This drop down need to be preloaded for the customer specific to the sales person not all the customers. In other words my BB should show only my customer list not customers belonging to other sales personal. How do I do this?
either push out the information to selected users, or pull down the information for selected users



2. What is the best method to retrieve data from the source? Data source or web services ?
Not sure what a 'data source' is so I'd say a webservice.


3. If the phone is out of signal range. How do I programmatically queue the form submission and send them when there signal strength is good.
This Method is pretty useful for that sort of thing



4. The form is designed with header and details. The header has the date, customer and sales person name etc. The detail form will have the call details. When the user navigates from form to form, how do I retain the header details until the form is submitted? Do we have to cache the form until the data is submitted? If so how do I do this?
BB applications are developed with 'instance' characteristics, simply use those to persist information whilst the application is running, and then actual persistence for data storage when the app is not running
Offline  
Old 06-08-2009, 03:36 PM   #4 (permalink)
New Member
 
Join Date: Jun 2009
Model: 7100T
PIN: N/A
Carrier: ATT
Posts: 14
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

bemshaswing

Thanks a bunch for your reply. BTW I am trying to do the coding with Visual Studio. So the plug in is in Java Script. Do you any samples as to how I can create the web service call and the code to identify that the application is a push application?

Thanks

Surkum
Offline  
Old 06-09-2009, 09:16 AM   #5 (permalink)
Talking BlackBerry Encyclopedia
 
Join Date: Oct 2006
Model: 7103
Carrier: Verizon
Posts: 259
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'd suggest using the JDE as provided by RIM, and first study the samples and documentation. javascript and Visual studio won't get you far here
Offline  
Old 06-15-2009, 09:02 PM   #6 (permalink)
New Member
 
Join Date: Jun 2009
Model: 7100T
PIN: N/A
Carrier: ATT
Posts: 14
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

bemshaswing

Thanks for you reply. We are using Visual Studio to develop the application. The BB plug in is based on Java Script. I am not that conversant in Java per say. Java Script is something close to C#. That's what I was trying to ask you.

BTW do you know how I can retrieve the BB pin number inside the application. What we are trying to do is to store the customers relevant to each sale rep in the application. The back end database has columns for the pin number, salesman number and the customer ID. Do you happen to know the syntax for this?

Appreciate help.

Thanks

Surkum
Offline  
Old 06-18-2009, 01:51 PM   #7 (permalink)
Talking BlackBerry Encyclopedia
 
Join Date: Oct 2006
Model: 7103
Carrier: Verizon
Posts: 259
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

DeviceInfo.getDeviceId() should do it
Offline  
Old 06-18-2009, 08:54 PM   #8 (permalink)
New Member
 
Join Date: Jun 2009
Model: 7100T
PIN: N/A
Carrier: ATT
Posts: 14
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

bemshaswing

Thanks for this information. Sorry for the late reply. BTW how do I store the information to a variable and initiate a web service call with the PIN # as the parameter?

Thanks

Surkum
Offline  
Old 06-19-2009, 03:06 PM   #9 (permalink)
Talking BlackBerry Encyclopedia
 
Join Date: Oct 2006
Model: 7103
Carrier: Verizon
Posts: 259
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I think you'd be best served by looking at the making connections section of the blackberry developers guide. That document will answer this, the preceeding, and likely your followup questions
Offline  
Old 06-22-2009, 08:53 AM   #10 (permalink)
New Member
 
Join Date: Jun 2009
Model: 7100T
PIN: N/A
Carrier: ATT
Posts: 14
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

bemshaswing,

Thanks for getting back. Do you have a link to that page?.

Thanks

Surkum
Offline  
Old 06-22-2009, 10:06 AM   #11 (permalink)
Talking BlackBerry Encyclopedia
 
Join Date: Oct 2006
Model: 7103
Carrier: Verizon
Posts: 259
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

google gives me this.
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.