Yangi formatda davom etish uchun: https://uzfor.net/view.php?act=post&id=51555
Postga havola
NetLizard [1846] [ban]
Mana tez kunlarda DroidScript haqida batafsil ma'lumit va qo'llanma tayyor bo'ladi, uni dastur ko'rinishida shu mavzuga yuklayman yoki yuklash uchun link taqdim etaman.
Dastur o'z ichiga:
App
Sensor
Plugins
File operation
Graphics
Webview
Camera
Network
Sound & Videos
kabi buyruq va metodlar bo'yicha qo'llanmani tashkil qiladi.
Qisqasi bu dastur orqali tushunmagan narsalaringizni tushunib olasiz.
Diqqat! Dastur Rus tilida
Hazil dasturni O'zbek tilida qilyapman.
12 kun 18 soat 20 daqiqa 48 soniyadan keyin yozdi:
Smartfonni silkitish paytida scrinshot olish
*- No root
*- smartfonni silkitish orqali scrinshoot oliasiz, root kerak emas.
Dastur o'z ichiga:
App
Sensor
Plugins
File operation
Graphics
Webview
Camera
Network
Sound & Videos
kabi buyruq va metodlar bo'yicha qo'llanmani tashkil qiladi.
Qisqasi bu dastur orqali tushunmagan narsalaringizni tushunib olasiz.
Diqqat! Dastur Rus tilida
Hazil dasturni O'zbek tilida qilyapman.
12 kun 18 soat 20 daqiqa 48 soniyadan keyin yozdi:
Smartfonni silkitish paytida scrinshot olish
*- No root
var lastx,lasty,lastz,lastms function OnStart(){ var lay = app.CreateLayout( "Linear", "VCenter,FillXY" ); var txt = app.CreateText( "Shake test" ); lay.AddChild( txt ); app.AddLayout( lay ); var sns = app.CreateSensor("Accelerometer" ); sns.SetOnChange( sns_OnChange ); sns.Start(); } function sns_OnChange( x, y, z, time ){ try { var diffms,speed; if(lastx!==undefined) { diffms=time-lastms; speed = Math.abs(x y z-lastx-lasty-lastz) / diffms * 10000; if(speed>800) OnShake(speed/800); } lastx=x; lasty=y; lastz=z; lastms=time; } catch(e) {} } function OnShake(speed){ var msg = "Shake\n" speed.toFixed(2); app.ScreenShot("mnt/sdcard/test.png",90); app.ShowPopup(msg,"Short"); }
*- smartfonni silkitish orqali scrinshoot oliasiz, root kerak emas.