Wear OS, how to get brand/model and os version? - wear-os

I need to know a little information about the device to ensure to see where things are working and where they are not. Is there any way to return the device brand/model and os version in wear-os?

Same as on any other Android device.
Brand/model: Build.MANUFACTURER and Build.MODEL
OS version: Build.VERSION.SDK_INT

Related

CBPeripheralManager startAdvertising not working on OS X yosemite

does anyone notice any issues when using your mac (running OS X 10.10 yosemite DP 6) as an iBeacon? I tried several tools and I also developed it myself (using the CBPeripheralManager startAdvertising) but without any luck.
When running those apps (+ the the code I developed myself) on a mac running OS X 10.9 Mavericks, it works like a charm.
Is there anything specific required for OS X 10.10 yosemite or is this a bug?
Any help is appreciated!
EDIT: Radius Networks has confirmed this issue has shown up on subsequent pre-releases of Yosemite. This OS veesion blocks sending an iBeacon transmission with the internal interface, but allows it with external interfaces. So you can add an external Bluetooth dongle like the GBU521 and transmission works again.
It's gotta be a bug in the code or something specific to your machine. We have tested our MacBeacon OSX app on Yosemite and have not noticed any problems.
In fact you can indeed advertise your Mac running Yosemite as an iBeacon with an external compatible Bluetooth 4.0 (USB).
I wrote a simple iBeacon transmitter for Yosemite written in Swift, look here https://updatemycode.com/2014/11/29/yosemite-as-an-ibeacon-swift/.
This does seem to be a problem with Yosemite 10.10. This is acknowledged now on the radius network website: http://www.radiusnetworks.com/ibeacon/macbeacon/
I'm having to buy usb beacons that I can easily power on and off for testing because of this issue.
I didn't test this with 10.10, but I'm able to use 10.11.3 to advertise as a beacon (at least with the project from #mgigirey). Perhaps Apple opened this again?

Does OS X supports HID over Gatt?

We are developing a hardware device that implements BTLE profiles and already works fine with iOS.
Now, we are implementing HID over Gatt profile so that it can communicate with OS X. The final purpose is changing PowerPoint slides and that such of things.
My iMAC does not detect the device using Bluetooth assistant, but I can connect to it with LightBlue app, although I get no keyboard effect. That makes me think I would need drivers/code, even develop an app.
I would appreciate any point to start with.
I answer myself in case it could be useful for anybody. I've updated my iMAC to Mavericks 10.9.4 and the first quick test has worked properly. I previously had Mountain Lion and it did not work as I posted before.
#Paulw11, thanks for the link. I watched the video and if I'm not wrong, there is a statement that HID over Gatt profile (HOGP) is available from iOS7 and OSX Mavericks.

Mac requirement for Delphi XE4 Professional + Mobile Add-On

I can't find information on what are the system requirements for Mac for the mobile add-on for Delphi XE4 (Professional).
My understanding is that XCode is still required to sign the app binary and to deploy it on a test device and/or App Store.
Our Mac is so old that the minimum requirement of OSX for the latest XCode won't even install.
I'd like to know if we need to have the Mac upgraded to accomodate this.
Ok - found the answer: https://www.embarcadero.com/products/rad-studio/rad-studio-data-sheet.pdf second page:
PC running Windows connected with an Intel-based Mac, with 2 GB RAM
or more, running OS X
10.8 (Mountain Lion) or 10.7 (Lion) over a local area network using a SSH, VNC or Windows file sharing solution
Apologies & much appreciated if you've attempted to help me:
XCode will still be required, so of course your Mac system will have to be updated to be able to support it.
The documentation for XE3 will give you the minimums requirements for that version, and you should require XE4 to at least require those minimum requirements. As it doesn't seem your existing system meets those, you can probably be sure it won't support the requirements for XE4.
You can also contact Embarcadero Sales with pre-sales question, with the email address you'd expect (Sales at the companyname.com).

Simulate run on older OS X version

How can simulate a run on a older OS X version ?
Right now my app works on 10.7 and 10.8 but I want to make it compatible with 10.6. Since I'm using some new apis I'm still compiling with the 10.8 base SDK, I can only change the deployment target.
So on my OS X 10.8, how can I simulate a run on OS X 10.6 ? (If it's possible)
Thanks
TheZ mentions virtual machines. Lots of hoops to jump through with licensing.
My personal "path of least resistance" was to use an old PPC Mac Mini and an almost-as-old intel-based. PPC runs 10.4 for old app testing; Intel mini boots various OS versions with which to test. All install images are disposable and can be restored from a network volume for a clean environment no matter what I do to it.
If you don't care about PPC, then just get a used Intel Mac Mini, partition it for the older OS versions and use it exclusively as a test environment.
2022 Update: Apple has relaxed their stance on virtualization. Today I use VMWare (Parallels works too).

ATI OpenCL SDK on OSX

I am owning new MPB with ATI-GK. I'am curios, whether i can download the sdk, special the example collection and profiler, for OSX or I have to run Windows/Linux nativelly, because i have found only versions for windows and linux?
Thanks in advance.
As long as you have Mac OSX 10.6 or above (which you do if you have a new Macbook Pro), you already have OpenCL installed, under something like /Developer/GPU Computing/OpenCL.

Resources