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.

Mobile or desktop

2 posts in Pocket PowerBuilder Last posting was on 2011-02-18 15:11:35.0Z
Danny Posted on 2011-02-18 13:05:16.0Z
From: Danny <pigexpert@agrisyst.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; nl; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7
MIME-Version: 1.0
Newsgroups: sybase.public.pocketpowerbuilder
Subject: Mobile or desktop
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4d5e6e8c$1@forums-1-dub>
Date: 18 Feb 2011 05:05:16 -0800
X-Trace: forums-1-dub 1298034316 10.22.241.152 (18 Feb 2011 05:05:16 -0800)
X-Original-Trace: 18 Feb 2011 05:05:16 -0800, vip152.sybase.com
Lines: 2
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.pocketpowerbuilder:12422
Article PK: 262288

Is there a way to check if the application is running on the desktop or
on a mobile device?


Chris Werner Posted on 2011-02-18 15:11:35.0Z
From: "Chris Werner" <cw@f-s.de>
Newsgroups: sybase.public.pocketpowerbuilder
References: <4d5e6e8c$1@forums-1-dub>
In-Reply-To: <4d5e6e8c$1@forums-1-dub>
Subject: Re: Mobile or desktop
Lines: 1
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
Importance: Normal
X-Newsreader: Microsoft Windows Live Mail 14.0.8089.726
X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8089.726
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4d5e8c27@forums-1-dub>
Date: 18 Feb 2011 07:11:35 -0800
X-Trace: forums-1-dub 1298041895 10.22.241.152 (18 Feb 2011 07:11:35 -0800)
X-Original-Trace: 18 Feb 2011 07:11:35 -0800, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.pocketpowerbuilder:12423
Article PK: 262292

Hi Danny,

should be possible like follows:

environment le_env
getEnvironment(le_env)
choose case le_env.osType
case windowsCE!
// this is a mobile device
case else
// this is a desktop device
end choose

HTH
Chris Werner
f+s software gmbh

"Danny" <pigexpert@agrisyst.com> schrieb im Newsbeitrag
news:4d5e6e8c$1@forums-1-dub...

> Is there a way to check if the application is running on the desktop or on
> a mobile device?