Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

testing android application using perl

by Anonymous Monk
on Jun 04, 2012 at 10:13 UTC ( #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?????

Comment on testing android application using perl
Replies are listed 'Best First'.
Re: testing android application using perl
by marto (Bishop) 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

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

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (15)
As of 2015-10-13 15:05 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (309 votes), past polls