Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Toast(Pythonscript) disappears, but unable to scroll the menu screen
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
archana  
View profile  
 More options Nov 1 2012, 3:54 am
From: archana <ramalingam.arch...@gmail.com>
Date: Thu, 1 Nov 2012 00:54:32 -0700 (PDT)
Local: Thurs, Nov 1 2012 3:54 am
Subject: Re: Toast(Pythonscript) disappears, but unable to scroll the menu screen

Hi, should I set focus to the application again in the script, so that I am
able to operate? Please help me in this regard.

Thanks!

On Wednesday, October 31, 2012 12:48:26 PM UTC+2, archana wrote:

> Hi, I am testing the execution of Python script on real device(Samsung
> Galaxy S3). However, after a toast message appears, I am unable to scroll
> the screen, even after the toast disappears.(I am able to do normal
> operations only after I press the back button).

> My Python script is:

> import android <br/>
> droid = android.Android() <br/>
> score1 = 10 <br/>
> score2 = 20<br/>
> score3 = 30<br/>
> average = (score1 + score2 + score3)/3 <br/>
> droid.makeToast('Average:'+str(average))<br/>

> f=open('/data/data/com.example.devicecommunication/files/result.txt','w')<b r/>
> f.write(str(r))<br/>
> f.close()

> Can anyone let me know why this is happening or how do I solve it?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.