BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 11-07-2012, 12:37 AM   #1
sssharma
New Member
 
Join Date: Nov 2012
Model: 9320
PIN: N/A
Carrier: airtel
Posts: 3
Default Pulling device data from device to server

Please Login to Remove!

Hi

I am new to blackberry development. I have searched forum and docs but could not figure out the solution so I am posting this.
My requirement is to pull device data from device to server. Using DeviceInfo API I am able to display data on device UI but I am not able to push it back to server.

Explored push notification as well but it'll just return the status not any other detail.

Can any one help me with the flow, or point me to tutorial on how to achieve it.

Thanks in advance
Saurabh
Offline  
Old 11-07-2012, 09:31 AM   #2
Dougsg38p
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Default Re: Pulling device data from device to server

The big question is: what application is on the server to catch the data, and what is it expecting?
Offline  
Old 11-08-2012, 12:08 AM   #3
sssharma
New Member
 
Join Date: Nov 2012
Model: 9320
PIN: N/A
Carrier: airtel
Posts: 3
Default Re: Pulling device data from device to server

Servlet is what which will try to catch the data from device. Application is expecting model, battery level , OS details, if wifi is set or not etc from device.
Offline  
Old 11-08-2012, 10:45 AM   #4
Dougsg38p
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Default Re: Pulling device data from device to server

OK, so what is the question? Seems pretty straight forward. What is the servlet expecting in terms of format? Are you using some type of web service wrapper?

The model, OS level, etc are typically stored in the HTTP User-Agent (normal practice - you'll see this data if you hit your URL from the BB Browser).

If it were me, I'd have a simple XML document that contains the data. This document would be the payload for an HTTP POST request to the servlet. The servlet would crack the XML and extract the data.
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads for: Pulling device data from device to server
Thread Thread Starter Forum Replies Last Post
so let me get this straight - as i havent slept yet bagofhammers General BlackBerry Discussion 9 10-25-2010 07:06 AM
BES users are unable to send attachments Simplicity Trevor BES Admin Corner 0 04-29-2009 06:26 PM
Perform a cutover to another BlackBerry Enterprise Server in IBM Lotus Domino hdawg BES Admin Corner 3 04-25-2008 09:47 AM
BES 4.1 SP2 for Microsoft Exchange - Now Available jibi BES Admin Corner 51 01-10-2007 10:30 AM
Bluetooth connect to PC Paul in San Diego RIM Software 30 12-20-2006 04:23 AM


Processor Tray LGA2011 for Intel Xeon E5 E7 E3 CPU - Lot of 2 6 12 30 & 50 - New picture

Processor Tray LGA2011 for Intel Xeon E5 E7 E3 CPU - Lot of 2 6 12 30 & 50 - New

$15.85



Xeon E5 E7 Processor Packaging for Tray LGA2011  52.5 x 45 mm - Lot of 2 6 12 30 picture

Xeon E5 E7 Processor Packaging for Tray LGA2011 52.5 x 45 mm - Lot of 2 6 12 30

$15.85



100 - Processor Packaging Case for LGA2011 v2 v3 v4 Xeon CPU + Anti Static Foam  picture

100 - Processor Packaging Case for LGA2011 v2 v3 v4 Xeon CPU + Anti Static Foam

$98.88



Xeon Socket LGA2066 Processor Tray for W2100 & W2200 CPU's Lot of 2 6 12 30 & 50 picture

Xeon Socket LGA2066 Processor Tray for W2100 & W2200 CPU's Lot of 2 6 12 30 & 50

$14.85



Socket LGA2011 CPU Tray for Packaging Shiping Xeon E5 & i7 Processor - 4 fits 40 picture

Socket LGA2011 CPU Tray for Packaging Shiping Xeon E5 & i7 Processor - 4 fits 40

$24.78



LENOVO 5458AC1 X3250 INTEL XEON 120 V3 3.1GHZ 8GB RAM NO HDD 1U RACK SERVER  picture

LENOVO 5458AC1 X3250 INTEL XEON 120 V3 3.1GHZ 8GB RAM NO HDD 1U RACK SERVER

$1095.00







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