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.

Exectcute Program Event for android client to install .apk file

4 posts in General Last posting was on 2012-05-02 07:10:51.0Z
Shilpa K Posted on 2012-04-27 14:44:17.0Z
Sender: 433b.4f9aaf27.1804289383@sybase.com
From: Shilpa K
Newsgroups: ianywhere.public.afaria.general
Subject: Exectcute Program Event for android client to install .apk file
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4f9ab0c1.4391.1681692777@sybase.com>
NNTP-Posting-Host: 172.20.134.41
X-Original-NNTP-Posting-Host: 172.20.134.41
Date: 27 Apr 2012 07:44:17 -0700
X-Trace: forums-1-dub 1335537857 172.20.134.41 (27 Apr 2012 07:44:17 -0700)
X-Original-Trace: 27 Apr 2012 07:44:17 -0700, 172.20.134.41
Lines: 35
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.afaria.general:472
Article PK: 811

hi,

I am not able to execute the downloaded .apk file using
"session manager channel" on android device. Below is the
code written on Event section:
Set Variable <%source> C:\Android_Client
Set Variable <%Target> \mnt\sdcard
//Checking the download speed
Client Check Speed
Client Message ** Connection speed:<ConnectionSpeed>
Send <%source>\InsuranceSurvey.apk TO
<%target>\InsuranceSurvey.apk
If Previous Event TRUE
Client Message *** Download is done now executive
Client Execute <%target>\InsuranceSurvey.apk WAIT INFINITE
Client Message ***Execute is done
If <Result> = 0
Client Message ** Insurance POC sucessfully installed
Else
Server Raise Event APP INSTALL FAILED <ClientUserName>
InsurancePOC is failed
Client Message Failed to install
* Server End Session
End If
Else
Server Raise Event FILE DOWNLOAD ERROR <ClientUserName>
failed


by using the above code,i can able to download the file from
afaria sever into sdcard.But not able to install the same.

Can anyone please suggest the command to use in "Execute
Program Event" to install downloaded .apk file on android
device????


Mahendra Bhandari Posted on 2012-04-30 11:52:34.0Z
Sender: 7c40.4f9e7abb.1804289383@sybase.com
From: Mahendra Bhandari
Newsgroups: ianywhere.public.afaria.general
Subject: Re: Exectcute Program Event for android client to install .apk file
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4f9e7d02.7c97.1681692777@sybase.com>
References: <4f9ab0c1.4391.1681692777@sybase.com>
NNTP-Posting-Host: 172.20.134.41
X-Original-NNTP-Posting-Host: 172.20.134.41
Date: 30 Apr 2012 04:52:34 -0700
X-Trace: forums-1-dub 1335786754 172.20.134.41 (30 Apr 2012 04:52:34 -0700)
X-Original-Trace: 30 Apr 2012 04:52:34 -0700, 172.20.134.41
Lines: 47
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.afaria.general:473
Article PK: 812

Hi Shilpa,

Kindly go through the below KB,

http://frontline.sybase.com/support/resolutionDetails.aspx?KBID=7554

Hope this will help!!!

KR,
Mahendra Bhandari

> hi,
>
> I am not able to execute the downloaded .apk file using
> "session manager channel" on android device. Below is the
> code written on Event section:
> Set Variable <%source> C:\Android_Client
> Set Variable <%Target> \mnt\sdcard
> //Checking the download speed
> Client Check Speed
> Client Message ** Connection speed:<ConnectionSpeed>
> Send <%source>\InsuranceSurvey.apk TO
> <%target>\InsuranceSurvey.apk
> If Previous Event TRUE
> Client Message *** Download is done now executive
> Client Execute <%target>\InsuranceSurvey.apk WAIT INFINITE
> Client Message ***Execute is done
> If <Result> = 0
> Client Message ** Insurance POC sucessfully installed
> Else
> Server Raise Event APP INSTALL FAILED <ClientUserName>
> InsurancePOC is failed
> Client Message Failed to install
> * Server End Session
> End If
> Else
> Server Raise Event FILE DOWNLOAD ERROR <ClientUserName>
> failed
>
>
> by using the above code,i can able to download the file
> from afaria sever into sdcard.But not able to install the
> same.
>
> Can anyone please suggest the command to use in "Execute
> Program Event" to install downloaded .apk file on android
> device????


Shilpa K Posted on 2012-05-02 06:22:50.0Z
Sender: 5265.4fa0bf39.1804289383@sybase.com
From: Shilpa K
Newsgroups: ianywhere.public.afaria.general
Subject: Re: Exectcute Program Event for android client to install .apk file
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4fa0d2ba.55f4.1681692777@sybase.com>
References: <4f9e7d02.7c97.1681692777@sybase.com>
NNTP-Posting-Host: 172.20.134.41
X-Original-NNTP-Posting-Host: 172.20.134.41
Date: 1 May 2012 23:22:50 -0700
X-Trace: forums-1-dub 1335939770 172.20.134.41 (1 May 2012 23:22:50 -0700)
X-Original-Trace: 1 May 2012 23:22:50 -0700, 172.20.134.41
Lines: 57
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.afaria.general:474
Article PK: 813

hi Mahendra,

your info was very very Helpful.Now we can able to install
the downloaded .apk file using configuration channel.
Thank you very much for your response.

Regards,
Shilpa K

> Hi Shilpa,
>
> Kindly go through the below KB,
>
>
http://frontline.sybase.com/support/resolutionDetails.aspx?KBID=7554
>
> Hope this will help!!!
>
> KR,
> Mahendra Bhandari
>
> > hi,
> >
> > I am not able to execute the downloaded .apk file using
> > "session manager channel" on android device. Below is
> > the code written on Event section:
> > Set Variable <%source> C:\Android_Client
> > Set Variable <%Target> \mnt\sdcard
> > //Checking the download speed
> > Client Check Speed
> > Client Message ** Connection speed:<ConnectionSpeed>
> > Send <%source>\InsuranceSurvey.apk TO
> > <%target>\InsuranceSurvey.apk
> > If Previous Event TRUE
> > Client Message *** Download is done now executive
> > Client Execute <%target>\InsuranceSurvey.apk WAIT
> > INFINITE Client Message ***Execute is done
> > If <Result> = 0
> > Client Message ** Insurance POC sucessfully installed
> > Else
> > Server Raise Event APP INSTALL FAILED <ClientUserName>
> > InsurancePOC is failed
> > Client Message Failed to install
> > * Server End Session
> > End If
> > Else
> > Server Raise Event FILE DOWNLOAD ERROR <ClientUserName>
> > failed
> >
> >
> > by using the above code,i can able to download the file
> > from afaria sever into sdcard.But not able to install
> > the same.
> >
> > Can anyone please suggest the command to use in "Execute
> > Program Event" to install downloaded .apk file on
> > android device????


Santosh Kumar Tripathy Posted on 2012-05-02 07:10:51.0Z
Sender: 52c9.4fa0c116.1804289383@sybase.com
From: Santosh Kumar Tripathy
Newsgroups: ianywhere.public.afaria.general
Subject: Re: Exectcute Program Event for android client to install .apk file
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4fa0ddfb.57de.1681692777@sybase.com>
References: <4f9e7d02.7c97.1681692777@sybase.com>
NNTP-Posting-Host: 172.20.134.41
X-Original-NNTP-Posting-Host: 172.20.134.41
Date: 2 May 2012 00:10:51 -0700
X-Trace: forums-1-dub 1335942651 172.20.134.41 (2 May 2012 00:10:51 -0700)
X-Original-Trace: 2 May 2012 00:10:51 -0700, 172.20.134.41
Lines: 50
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.afaria.general:475
Article PK: 818

Thanks a lot for help Mahendra. It Really works Great

> Hi Shilpa,
>
> Kindly go through the below KB,
>
>
http://frontline.sybase.com/support/resolutionDetails.aspx?KBID=7554
>
> Hope this will help!!!
>
> KR,
> Mahendra Bhandari
>
> > hi,
> >
> > I am not able to execute the downloaded .apk file using
> > "session manager channel" on android device. Below is
> > the code written on Event section:
> > Set Variable <%source> C:\Android_Client
> > Set Variable <%Target> \mnt\sdcard
> > //Checking the download speed
> > Client Check Speed
> > Client Message ** Connection speed:<ConnectionSpeed>
> > Send <%source>\InsuranceSurvey.apk TO
> > <%target>\InsuranceSurvey.apk
> > If Previous Event TRUE
> > Client Message *** Download is done now executive
> > Client Execute <%target>\InsuranceSurvey.apk WAIT
> > INFINITE Client Message ***Execute is done
> > If <Result> = 0
> > Client Message ** Insurance POC sucessfully installed
> > Else
> > Server Raise Event APP INSTALL FAILED <ClientUserName>
> > InsurancePOC is failed
> > Client Message Failed to install
> > * Server End Session
> > End If
> > Else
> > Server Raise Event FILE DOWNLOAD ERROR <ClientUserName>
> > failed
> >
> >
> > by using the above code,i can able to download the file
> > from afaria sever into sdcard.But not able to install
> > the same.
> >
> > Can anyone please suggest the command to use in "Execute
> > Program Event" to install downloaded .apk file on
> > android device????