Hydra5DX

Hydra5DX Free App

Rated 0.00/5 (0) —  Free Android application by (주)HawaiiFive

About Hydra5DX

이앱으로 html5 소프트웨어를 개발하기 위해서는 hydra5.js 파일이 필요합니다.
cafe.naver.com/goorume 에서 구하실 수 있습니다.

초기화면 에서 넣어주는 인자값들은 아래 코드와 같이 해서 받아보실수 있습니다.
var SysInfo;

Hydra5_Util.getSystemInfo(
function (evt) {
console.log(evt);

var elm = document.createElement('p');
elm.innerText = JSON.stringify(evt);

SysInfo = evt;

document.querySelector("#log").appendChild(elm);

//document.querySelector("#log").innerText = JSON.stringify(evt);

}
);


url : 런치 url
otg_dev_name : otg 디바이스 이름입니다.
bt_mac :블루투스 맥주소입니다.


-블루투스 접속 예제
Hydra5_Util.connectBt(
{
mac : SysInfo.bt_mac, // 접속할 블루투스 맥어드래스 예> "00:19:01:38:78:64",
OnConnect : function(evt) {//접속완료
console.log('connected ');
console.log(evt);

var elm = document.createElement('p');
elm.innerText = evt.device_name + ' connect success';

document.querySelector("#log").appendChild(elm);


},
OnStatus : function (statusCode) { //접속상태가 바뀔때 , 연결성립(3),연결끊김(1) 연결준비(2)
console.log(statusCode);

var elm = document.createElement('p');
elm.innerText = 'status code :' + statusCode

document.querySelector("#log").appendChild(elm);

},
OnReadData : function(evt) { //데이터를 받았을때 콜백됨
console.log(evt);

var elm = document.createElement('p');
elm.innerText = evt.data

document.querySelector("#log").appendChild(elm);
}
}

);



-시리얼 데이터 통신 예제 코드
Hydra5_Util.sendData({
type : 'bt',
code : JSON.parse(codes)
});
----
개발자 연락처 :
https://twitter.com/goorumefactory In order to develop a html5 software required yiaep hydra5.js files.
available at cafe.naver.com/goorume.

The parameters that are put on the home screen you are able to, as shown in the following code.
var SysInfo;

    Hydra5_Util.getSystemInfo (
            function (evt) {
                console.log (evt);

                var elm = document.createElement ('p');
                elm.innerText = JSON.stringify (evt);

                SysInfo = evt;

                . document.querySelector ("# log") appendChild (elm);

                //document.querySelector("#log").innerText = JSON.stringify (evt);

            }
    );


url: Lunch url
otg_dev_name: otg the device name.
bt_mac: Bluetooth MAC address.


- Bluetooth connection example
Hydra5_Util.connectBt (
                {
                    mac: SysInfo.bt_mac, // connect to Bluetooth maekeo Madras Yes> "00:19: 01: 38: 78: 64"
                    OnConnect: function (evt) {// complete access
                        console.log ('connected');
                        console.log (evt);

                        var elm = document.createElement ('p');
                        elm.innerText = evt.device_name + 'connect success';

                        . document.querySelector ("# log") appendChild (elm);


                    },
                    OnStatus: function (statusCode) {// when the connection state changes, connection establishment (3), disconnected (1) The preparation (2)
                        console.log (statusCode);

                        var elm = document.createElement ('p');
                        elm.innerText = 'status code:' + statusCode

                        . document.querySelector ("# log") appendChild (elm);

                    },
                    OnReadData: function (evt) {// Has a callback when it receives the data
                        console.log (evt);

                        var elm = document.createElement ('p');
                        elm.innerText = evt.data

                        . document.querySelector ("# log") appendChild (elm);
                    }
                }

        );



- Serial communication example code
Hydra5_Util.sendData ({
            type: 'bt',
            code: JSON.parse (codes)
});

How to Download / Install

Download and install Hydra5DX version 1.0 on your Android device!
Downloaded 10+ times, content rating: Not rated
Android package: com.gbox3d.hydra5_dx, download Hydra5DX.apk

All Application Badges

Free
downl.
Android
4.0+
n/a
Not
rated
Android app

App History & Updates

More downloads  Hydra5DX reached 10 - 50 downloads
More downloads  Hydra5DX reached 5 - 10 downloads

Oh snap! No comments are available for Hydra5DX at the moment. Be the first to leave one!

Share The Word!


Rating Distribution

RATING
0.05
0 users

5

4

3

2

1