Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

retrieving client/device info from POD

3 posts in General Discussion Last posting was on 2005-03-10 07:23:32.0Z
user Posted on 2005-03-07 15:51:18.0Z
From: user@domain.invalid
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: ianywhere.public.mbusinessanywhere.general
Subject: retrieving client/device info from POD
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 62.173.81.130
X-Original-NNTP-Posting-Host: 62.173.81.130
Message-ID: <422c7876@forums-1-dub>
Date: 7 Mar 2005 07:51:18 -0800
X-Trace: forums-1-dub 1110210678 62.173.81.130 (7 Mar 2005 07:51:18 -0800)
X-Original-Trace: 7 Mar 2005 07:51:18 -0800, 62.173.81.130
Lines: 8
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.mbusinessanywhere.general:267
Article PK: 8803

Hi all,
I know that you can retrieve client/device info such as DeviceOS, user
id from the http request sent by a MBA client app during sync. But is
there a way to retrieve this same info directly from a POD using a
custom client app, if you can direct me to any articles or pdf's on this
issue that would be a great help.
Thanks,
Abbey


tony pigram Posted on 2005-03-08 12:21:00.0Z
Reply-To: "tony pigram" <tony.pigram@nospam.com>
From: "tony pigram" <tony.pigram@nospam.com>
Newsgroups: ianywhere.public.mbusinessanywhere.general
References: <422c7876@forums-1-dub>
Subject: Re: retrieving client/device info from POD
Lines: 38
Organization: iAnywhere Solutions
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478
NNTP-Posting-Host: host81-130-96-152.in-addr.btopenworld.com
X-Original-NNTP-Posting-Host: host81-130-96-152.in-addr.btopenworld.com
Message-ID: <422d98ac$1@forums-1-dub>
Date: 8 Mar 2005 04:21:00 -0800
X-Trace: forums-1-dub 1110284460 81.130.96.152 (8 Mar 2005 04:21:00 -0800)
X-Original-Trace: 8 Mar 2005 04:21:00 -0800, host81-130-96-152.in-addr.btopenworld.com
X-Authenticated-User: techsupp
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.mbusinessanywhere.general:273
Article PK: 8807

Hi Abbey,

You'd have to call the WinAPI functions from your eVC++ PODS code.

for example:
http://www.pocketpcdn.com/articles/serial_number2002.html
http://www.pocketpcdn.com/articles/serial_number.html

you'd have to be careful though as the PPC OS versions tend to change the
API calls, so 1 POD might not work for every OS platform.

For example, with the above code you could merge it into a PODS that
returned the value to JavaScript in a HTML Page running within the MBusiness
Client on the device.

For further information relating to MBusiness Anywhere, check out:
http://www.ianywhere.com/developer/product_manuals/mbusiness_anywhere/index.html

For further information relating specifically to PODS, check out:
http://www.ianywhere.com/developer/product_manuals/mbusiness_anywhere/57/en/pdf/developer_reference.pdf
http://www.ianywhere.com/developer/product_manuals/mbusiness_anywhere/57/en/zip/pods.zip

hth

thanks

tony pigram

<user@domain.invalid> wrote in message news:422c7876@forums-1-dub...
> Hi all,
> I know that you can retrieve client/device info such as DeviceOS, user
> id from the http request sent by a MBA client app during sync. But is
> there a way to retrieve this same info directly from a POD using a
> custom client app, if you can direct me to any articles or pdf's on this
> issue that would be a great help.
> Thanks,
> Abbey


Chris Grim Posted on 2005-03-10 07:23:32.0Z
User-Agent: Microsoft-Entourage/11.1.0.040913
Subject: Re: retrieving client/device info from POD
From: Chris Grim <chrisgrim@hotmail.com>
Newsgroups: ianywhere.public.mbusinessanywhere.general
Message-ID: <BE5535F2.1FF%chrisgrim@hotmail.com>
References: <422c7876@forums-1-dub>
Mime-version: 1.0
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
NNTP-Posting-Host: adsl-67-116-4-7.dsl.snfc21.pacbell.net
X-Original-NNTP-Posting-Host: adsl-67-116-4-7.dsl.snfc21.pacbell.net
Date: 9 Mar 2005 23:23:32 -0800
X-Trace: forums-1-dub 1110439412 67.116.4.7 (9 Mar 2005 23:23:32 -0800)
X-Original-Trace: 9 Mar 2005 23:23:32 -0800, adsl-67-116-4-7.dsl.snfc21.pacbell.net
Lines: 28
X-Authenticated-User: banff2003
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.mbusinessanywhere.general:279
Article PK: 8810

Whoa!! You don't need a pod for these. You should be able to get any of the
things that are in the http headers from JavaScript. For example,
JavaScript's Navigator object has a platform attribute:

navigator.platform (see page 465 of the JavaScript guide, but this is a
standard javascript object, not M-Business Anywhere specific).

You can get the current user from the avantgo preferences object:

avantgo.prefs.getStringValueForKey("LastServerUid")

Hopefully, that helps.

Chris...

On 3/7/05 7:51 AM, in article 422c7876@forums-1-dub, "user@domain.invalid"

<user@domain.invalid> wrote:

> Hi all,
> I know that you can retrieve client/device info such as DeviceOS, user
> id from the http request sent by a MBA client app during sync. But is
> there a way to retrieve this same info directly from a POD using a
> custom client app, if you can direct me to any articles or pdf's on this
> issue that would be a great help.
> Thanks,
> Abbey