Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

testing android application using perl

by Anonymous Monk
on Jun 04, 2012 at 10:13 UTC ( [id://974257]=perlquestion: print w/replies, xml ) Need Help??

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi friends i am new to android can u please help me how can we check the status of mobile (Airplain mode on or off ,Wifi on or off) .... any modules in perl which help us to check these settings?????

Replies are listed 'Best First'.
Re: testing android application using perl
by marto (Cardinal) on Jun 04, 2012 at 10:32 UTC
      Thanks for the links ... if possible pls do suggest me how can i proceed with writing perl scripts which uses adb commands ? is that possible or any module which helps to write few test scripts ?

        You can issue adb commands using system, and you can also connect to the qemu console/Android emulator using TCP. I haven't used either method, but I seem to remember that you can also send inputs using the TCP console to simulate user input.

Re: testing android application using perl
by Anonymous Monk on Jun 04, 2012 at 10:16 UTC

    What I know of android is that you can't run perl on it, so there is no checking to be done

      To run perl on android check out SL4A, either in the Android Market (Google Play) or at http://code.google.com/p/android-scripting

      The SL4A perl distribution has a limited number of XS perl modules, but there is an included Android.pm module to do many thins in perl that you can do with a java .apk written using the Android SDK.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://974257]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (10)
As of 2024-04-18 08:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found