Search This Blog

Monday, December 24, 2012

Merry X'Mas 2012

Ho Ho ho .. Merry X'mas everyone



Thursday, December 20, 2012

Slim Clock version 1.0 released

Just in time before X'mas (and World ends)
Slim Clock version 1.0 (for girls or whoever wanna looks slim and pretty)
It helping you to motivate diet activity. Try it now !!


What's new ?
1.Add record sound function for making your own sound effect.
2.Improve graphics.
3.Add more template.
4.Fix bugs.

Download here->
https://play.google.com/store/apps/details?id=ataya.p.gadget.slimclock 


Monday, December 17, 2012

Muscle Clock version 3.5 released

Merry X'mas and Happy New Year !!
I just released Muscle Clock version 3.5
Enjoy !!


What's new ?
1.Add record sound function for making your own sound effect.
2.Improve graphics.
3.Add more template.
4.Fix bugs.

Download & Install here ->
https://play.google.com/store/apps/details?id=ataya.p.gadget.muscleclock

Thursday, December 13, 2012

FAY FTP Client version 1.0 released




Just released yesterday on Google Play.
FAY(Fast And easY) FTP Client application. You can connect your Android device with your local Linux base FTP server and transfer files easily than ever. 




1.Client functions
   1.1) Upload file
   1.2) Delete file
2.Server functions
   2.1) Download file
   2.2) Delete file

Download free here ->
 https://play.google.com/store/apps/details?id=ataya.p.utilities.fayftp

Monday, December 10, 2012

Trying Monkeyrunner

Testing is something we have to do but no one really want to do it. Fortunately, Android provides tool for doing automatic testing called "Monkeyrunner"

I just tried it and it works very well. First, we need to prepare all below files stored in the same folder...
 1. your application .apk file (ex: yourapplication.apk)
 2. your test python script (ex: testing.py)
 3. screen captured folder(ex: screenshot/)

In your test python script file, write down testing script ... Some kind like this one below.

# Imports the monkeyrunner modules used by this program
from com.android.monkeyrunner import MonkeyRunner, MonkeyDevice

# Connects to the current device, returning a MonkeyDevice object
device = MonkeyRunner.waitForConnection()

# Installs the Android package. Notice that this method returns a boolean, so you can test
# to see if the installation worked.
device.installPackage('yourapplication.apk')

# sets a variable with the package's internal name
package = 'your.application.package'

# sets a variable with the name of an Activity in the package
activity = 'your.application.package.MainActivity'

# sets the name of the component to start
runComponent = package + '/' + activity

# Runs the component
device.startActivity(component=runComponent)

#wait 2 sec
MonkeyRunner.sleep(2)

#touch some button
device.touch(65, 215, 'DOWN_AND_UP')

#wait 2 sec
MonkeyRunner.sleep(2)

# Takes a screenshot
result = device.takeSnapshot()

# Writes the screenshot to a file
result.writeToFile('screenshot/shot1.png','png')
Connect your device with your pc and execute testing.py with below shell command ...

     $/usr/local/android-sdk-linux_XXXXX/tools/monkeyrunner testing.py

If everything alright then your will have shot1.png file stored in screenshot folder.