slightech / mynt-sdk-android Goto Github PK
View Code? Open in Web Editor NEWMYNT SDK Android library, document, demo, etc.
MYNT SDK Android library, document, demo, etc.
Hello,
Thank you for your answer. I was not into it anymore between the time I asked the question and received the answer.
Now I try to get back at it.
I don't find the mentioned method: setAllowConnectSysHID. It's in the API documentation and it's doesn't compile when I'm tring to use it.
From the DEMO apk, I tried to modified use the class ControlActivity who already implement EventCallback.
When the DEMO start, I see the traces from ControlActivity. However, I don't see none of the traces from the event methods. (eventActionChanged, eventInfoChanged, eventFired.) I tried click, double click, long hold the Mynt,
As you suggested, I tried to add: mMyntManager.setEventCallback(this);. I tried to put it in intObjects(), keyStored() and connect() method of the class ControlActivity. (Because I see the trace from those method).
Still, nothing happening when I click on the device.
As you can see in the screenshot below, the connection works:
I do see the eventBatteryChange after a while...
Can you please help me to figure out why I don't see the traces in the “evenFired” method?
Thank you,
你好,我运行了你们的demo,也自己做了一个demo,发现MYNT与手机超出可连接距离之后,没有回调监听到手机蓝牙与MYNT的连接已断开。请帮助解决这个问题,望尽快回复,谢谢!
Hello,
I bought my MYNT thinking it would be easy to chose what application to launch when a button is clicked.
How can I tell MYNT to launch let say Google Map when I do a single click? Do I need to work with the SKD for that?
Thank you,
Vincent;
In the provided demo, the callbacks for ClickEvents are never called. The expected behavior is that when the Mynt button is clicked, the eventFired function would be triggered with the ClickeEvent that was performed on the device.
public void eventFired(Device device, ClickEvent event)
Hello,
The Mynt application come with a list of actions that can be associated to click:
Take Picture, Burst shot, Next song, Next page, Flash light, etc...
(See screenshot below)
I would like to know if I can add actions in that list... Like:
-Open camera app, Start filming
-Open sound app, Start recording
-etc...
Is there a way to simply do that?
Can we list them in a xml file and have them load by the Mynt app?
Can we have the Mynt app to modify it and add the actions we want?
Thank you,
Vincent;
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.