Google Glass and BLE (Bluetooth 4.0, BluetoothSmart) - google-glass

Does Google Glass SDK (GDK) support BLE yet? I would like to connect and communicate with a Bluegiga BLE113 module.
Thanks.

Yup! It was added with the upgrade to Kit Kat in XE16.
The feature request was closed as fixed when that release was pushed out.

According to this article with the FCC filing, yes, it does. However, Android 4.0.4 does not natively support BLE, so unless the Glass Team built a BLE library for Glass, no, it doesn't. I'd suggest testing (if you have Glass). If not, I can test for you to check, if you have a way.

Actually, according to Android doc it is available from API Level 18 (4.3). I can't wait to see an Android update for Google Glass.

Related

Install Via USB not working - on 7.0 device

I have red mi note 4 devices after update device with miui version 9 attempt to enable installation via application via USB, it doesn't work and shows "This device is temporarily restricted". The solution I found didn't work.
Without that feature, I can't develop an application.
Model redmi note 4
miui version: 9.0.5.0
I faced the same issue. I was not able to enable Install Via USB option, however, I found a solution that actually worked.
Here are the steps to enable it.
Install PlexVPN app on your mobile phone
Open PlexVPN then set VPN to China (e.g China-Shanghai) and connect
Go to Developer Options and enable Install Via USB option
Enjoy :)
For me, the only solution that worked is to toggle on OEM unlocking
Only then I could enable Install via USB and other options that previously restricted
yes the solution is VPN you need chinese serevr for proxy , should is buy vpn or i can do it for free , follow the links below
i faced the problem before so here is answer

Android hacking no longer work on XE12 (Settings.apk and Launcher2.apk)

I got my glass around thanksgiving last year. I downloaded Settings.apk and Launcher2.apk from www.glassxe.com. My project needs to communication through Bluetooth data channel. With these two apks, it works fine.
This week, I connected the glass to my PC and it started auto upgrade, after the upgrade (XE12 firmware), the above two apks no longer work. I had to uninstall them.
I am wondering how can I make them work under XE12?
Or how can I downgrade back to early versions of firmware?
BTW, my platform is Win 7, and adb seems working, but fastboot not working after XE12 upgrade.
Thanks in advance,
Xd
It is worth noting that if your application includes the the Settings Intent filter and you have it on your Glass with XE12 it will break the Settings Bundle -- when you tap on Settings no apps will show up and you won't be able to go to the regular settings options such as Wifi, Bluetooth etc. This seems to be new behaviour in XE12 -- previously in XE11 this wasn't a problem.
The solution is to remove the Settings Intent filter from your application and launch your application only from the Voice Trigger method documented here:
https://developers.google.com/glass/develop/gdk/input/voice

How to generate SNMP events in .Net 2.0

Can anyone advise me how through an example, or whether it is possible to generate SNMP events in .Net using Framework 2.0 and for those events to be monitored using windows tools?
Thanks
SNMP protocol does not define anything called events. Do you mean by notifications? An SNMP engine/agent can raise notificates (TRAP or INFORM messages) over UDP to its dedicated SNMP managers, so that the managers know something happens.
If that's what you mean, you may use any SNMP library that supports .NET 2.
http://www.lextm.com/2007/12/product-review-snmp-libraries-for-net.html
But .NET 2 is too old, and even Microsoft no longer supports .NET 2 unless you are also installing .NET 3.5 SP1 on the same machine. Therefore, you may consider targeting .NET 3.5 directly instead of 2.0.

How to send stream data via Bluetooth from an iPhone/iPod Touch to a Windows C++ application?

I need to develop an iPhone/iPod Touch application that creates a server to send some data stream (characters or bytes) to a Windows C++ application via Bluetooth. I'm thinking of creating a TCP connection, but don't know where to start.
What iPhone API should I use do to something like this? Does anyone knows some code examples that i can use to do this?
And in Windows, what should I use to support this kind of communication?
Thanks
Yes. From what it looks like you can use the PAN bluetooth profile (the same profile used for tethering) with everything except the original iPhone.
Here's an article doing bluetooth over iPhone/iPad using GameKit. The article notes that you would need at least 2 iPhone/iPad devices running iPhone OS 3.0, but I wouldn't take that as an impossibility to talk to any other bluetooth capable device.
Update
This forum indicates that the iPhone is only capable of headset pairing. It could be that the iPhone is "picky" about what you can pair it with.
"The iPhone only recognizes the "headset" profile. Another well thought out idea from Apple. No A2DP profiles, no OBEX."
-sapporobaby
Update 2
As jamone as indicated iPhone 3.0 supports A2DP. How nice is that?
Here's a table listing of iPhone/iPad bluetooth supported profiles
I'm pretty sure third-party developers don't have sufficient access to the Bluetooth stack to do this via published APIs (i.e. via an app you publish to the App Store).
Is using WiFi an option? That's what most developers seem to be using for client/server communications. If that's the case, see if you can distribute Apple's Bonjour runtime with your app. If you search the developer site for Bonjour, they have code samples (though probably no Windows examples).

Getting game stats from XBox Live and PSN

Is it possible to get game stats (who's playing, who wins, etc) from games that are played on XBox Live and PSN? Are there any additional constraints, such as:
Does the game need to support some additional API?
Do I need to have direct access to the games servers (consoles)?
If Microsoft or Sony or even the game vendor provides the API's themselves that would be great too.
There doesn't seem to be a published public API for either service. You would have to be a registered developer with Microsoft or Sony to be able to use the APIs, but I would highly doubt that they would permit their use as an external service.
This is in the developer XDK/SDKs for these platforms. You need to be a registered developer to get access.
I've been workig on an API
you can check it here
www.trofeosps3.com.ar/API/Psn.asmx
and here
www.trofeosps3.com.ar/trophies.aspx