go-life / gofit_sdk_android Goto Github PK
View Code? Open in Web Editor NEWGoFIT SDK for Android — GOLiFE 手環 App 介接 SDK
Home Page: https://www.goyourlife.com
License: Apache License 2.0
GoFIT SDK for Android — GOLiFE 手環 App 介接 SDK
Home Page: https://www.goyourlife.com
License: Apache License 2.0
你好,
我在使用doSyncFitnessData的api時出現onFailure: bind service timeout的錯誤errorCode=700
程式跟手環也有正常的連線
想請問有甚麼可能導致出現這個錯誤?
謝謝
申请sdk认证没有回复
該手環SDK是否有提供可以設定姓別、身高、體重等個人訊息的函數?
文档中说“可同步項目”为 步数 睡眠 心率,是不是说血压不支持同步?
下面这个产品叫Care 3支持SDK吗?
https://item.jd.com/17761274289.html#product-detail
Run Debug Configurations
平常這個是會自己有的
但匯入專案後想實機運行卻不能
Module的部分一直是 no module
麻煩您提供解決方法了感恩
依 https://github.com/GO-LiFE/GoFIT_SDK_Android
使用Android Studio 載入專案時會出現 lateinit property bundleFile has not been initialized
請問問題可能是?
想請問這個手環是否有鬧鐘功能?若有是如何呈現的,以及這個SDK的鬧鐘code該如何使用?
I need to buy some for my colleague in India and Dubai. I can only find the following one from amazon. Is it working with SDK? And do we have other channels to buy for them?
Many thanks!
我想获取手环惯性传感器中的数据,以便我可以进行一些课题上的研究,如果可以的话请回复一下我哦
A problem occurred configuring project ':app'.
Failed to notify project evaluation listener.
'org.gradle.api.file.RegularFileProperty org.gradle.api.file.ProjectLayout.fileProperty(org.gradle.api.provider.Provider)'
如題,想請問使用SDK時,需要注意手機Android版本最少要在幾以上嗎?
您好:我想制作的app需要用到心率以外的GPS信息。我想问一下SDK能不能和贵公司的GoWatch产品连接,并获取它的GPS信息?
想請問,當手環因距離太遠而斷線,重新靠近時想要重新配對,應當套用甚麼函式?是使用doConnectDevice嗎?(自己測試時執行到doConnectDevice就出現閃退問題)
你好,
我們想開發一個警訊系統,希望能雙擊下手環上的按鈕後讓手機收到一個訊號,對伺服器發出警訊
請問貴公司的 API 是否有支援偵測按鈕事件的功能?
謝謝
Dear Developers,
We managed to release the v1.4_2018-11-28 version. This release adds support new features such as find phone
, find smart-band
, incoming message notifications
, and remote shutters
(release notes here).
Kindly check it~
Many thanks.
-- GOLiFE GoFIT SDK Team.
接入改SDK后,编译出现如下报错,请问怎么解决处理呢?
AGPBI: {"kind":"error","text":"2 errors; aborting","sources":[{}]}
:app:transformClassesWithDexForOPPODebug FAILED
FAILURE: Build failed with an exception.
com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: Return code 1 for dex process
您好,我用GoFIT-SDK-Demo的Scan Device功能突然就掃描不到裝置(Care-X HR),用自己的iphone手機裡面的GoFIT也是連線不了裝置,不知道是不是手環的藍芽有問題?
我也試過手環接充電然後按一下右側按鈕,等2秒後,出現電池圖案,來reset,但還是掃描不到。
想請問這樣該怎麼解決,是手環出問題了嗎?
Dear Developers,
We're glad to announce that v1.2_2018-09-04 is out. Kindly check it~ (and its Release Notes as well, to see what's new, of course. :)
Many thanks.
-- GOLiFE GoFIT SDK Team.
Dear Developers,
We fixed some malfunctions regarding certain smart band devices (mainly the GOLiFE Care-X HR, Care-X, and Care) and release the v1.3_2018-09-19 version (release notes here).
Kindly check it~
Many thanks.
-- GOLiFE GoFIT SDK Team.
虽然可以调用doSyncFitnessData获取手环数据,但基本上每次都会导致APP卡死出现ANR的问题,怎么解决
目前嘗試只有顯示文字時會附加震動功能,想請問可以單獨讓手環震動嗎?有震動的函式嗎?
請問 Care-X HR SDK 中,取得心跳數據資料,是即時取得嗎?
I buy Care 3 from https://item.jd.com/6316412.html
From instructions in https://www.goyourlife.com/zh-TW/golifecare3/
The charging method is different with mine. For "Care 3" I buy from JD, it still needs extra line to charge. So which type of my "Care 3"? Where can I find the device info, for example, device Model.
I apply SDK certification for "Care Xe", "Care-X HR" and "Care-X".
I use the "Care 3" devices to test android demo. However, "Scan Device" always show "Device not found". I use "GoFIT app", I also cannot scan any device. But I use "WearHealth app", I can connect to my device.
What's the problem?
If my device is confirmed to be "Care 3", Which smart devices should I choose in
https://docs.google.com/forms/d/1WutpWDV6VlGUhq2RZs2takjcGKHctG2GYfNQr81CA-0/viewform?edit_requested=true
There is no Care 3, Should I choose "Care" ??
您好:我已依照以下網址操作
https://github.com/GO-LiFE/GoFIT_SDK_Android/wiki/Demo-App-(SDK-的安裝與-compile)
APP是可以啟動了,用來 initialize SDK,開啟 app 後須先執行此功能會發生error閃退錯誤狀況如下圖
錯誤訊息如下:
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.goyourlife.gofit_demo-jHue2eCjM08K_Fau2jVoiA==/base.apk"],nativeLibraryDirectories=[/data/app/com.goyourlife.gofit_demo-jHue2eCjM08K_Fau2jVoiA==/lib/x86, /system/lib]]] couldn't find "libsdk-lib.so"
at java.lang.Runtime.loadLibrary0(Runtime.java:1012)
再煩請協助,感謝!
想請問Care-X HR手環中的心跳及血氧是利用光學檢測的原理嗎,如過是的話能否藉由客製化的服務獲取光學偵測的資料(像是光學數值的變化)
謝謝
Dear Developers,
We managed to release the v1.5_2019-07-23 version. This release changes the way to read firmware configuration from "binary_list.json" file and fixes some bugs as well (release notes here).
Kindly check it~
Many thanks.
-- GOLiFE GoFIT SDK Team.
我買了壹個手環,但是好像不能已經適應SDK了,麻煩妳提供壹下能夠適配的手環型號?
我們正在尋求手環SDK,允許推送提醒,讓使用者及時查看手機上的訊息,貴司SDK是否支援此功能?感謝!
在文件中的 getSteps
public class TableStepRecord {
public Date getTimestamp() // Unix Time, i.e., number of milliseconds
that have elapsed since 00:00:00 UTC time, 1 January 1970
public int getSteps()
public int getCalories()
public int getDistance()
}
就我們的理解以及應用時,這是手環一段時間內的步數,而非手環顯示的總步數
我想在跑步时实施进行需要的监控心跳但是并没有找到相应的文档,请求帮助
Can the SDK support to output raw data?
2019-11-14 11:35:10.270 28039-28039/com.goyourlife.gofit_demo E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.goyourlife.gofit_demo, PID: 28039
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.goyourlife.gofit_demo-QvMKe1iKCCsuyHsONcvn_A==/base.apk"],nativeLibraryDirectories=[/data/app/com.goyourlife.gofit_demo-QvMKe1iKCCsuyHsONcvn_A==/lib/arm64, /system/lib64]]] couldn't find "libsdk-lib.so"
at java.lang.Runtime.loadLibrary0(Runtime.java:1012)
at java.lang.System.loadLibrary(System.java:1669)
at com.goyourlife.gofitsdk.GoFITSdk.<clinit>(GoFITSdk.java:53)
at com.goyourlife.gofitsdk.GoFITSdk.getInstance(Unknown Source:0)
at com.goyourlife.gofit_demo.MainActivity.onPreferenceClick(MainActivity.java:228)
at android.preference.Preference.performClick(Preference.java:1250)
at android.preference.PreferenceScreen.onItemClick(PreferenceScreen.java:262)
at android.widget.AdapterView.performItemClick(AdapterView.java:362)
at android.widget.AbsListView.performItemClick(AbsListView.java:1689)
at android.widget.AbsListView$PerformClick.run(AbsListView.java:4130)
at android.widget.AbsListView$7.run(AbsListView.java:6612)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7037)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)
我把demo code中sync 的部分 結合到我自己的專案 會出現error code 700 想知道這部分的錯誤是出在哪個環節ˊˋ
想請問 我在doSyncFitnessData 的SyncCallback的onFailure回傳的errorcode是29,這代表甚麼意思?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.