Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

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?????

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

      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
Domain Nodelet?
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 making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2021-12-05 22:11 GMT
Find Nodes?
    Voting Booth?
    R or B?

    Results (31 votes). Check out past polls.