Activity Recognition API for Android wear or other Java open source API - google-play-services

We are using Google Activity Recognition tools, i.e. Google Play Services and Google Fit for our Android Wear app.
Google changes its API frequently, with no backward compatibility, every couple of months we should change our code.
I would like to know if there is an "open source" activity recognition available, either as Android Library or pure Java ?

Related

Can Google barcode reader be used without play services installed on a phone?

I have an embedded phone application where the phone is running Android 7 without any GMS apps, including play services, since it is not a GMS certified device.
Can I use the Google barcode reading SDK on this device, or does it require Google Play Services to run?
There will be two options here:
Route 1 - Using Google Bar Code Reader
If you will be going to this route, one prerequisite will be: you have to use Google Play Services since you'll be using a service from Google (Google Mobile Vision SDK). Try checking their codelab, you'll see all the prerequisite libraries you have to use.
Route 2 - Not using Google Play Services (GPS)
As the route says, this will be using external or 3rd party libraries.
References:
Scan QR code without using google play services
How to install the barcode scanning library without a google account?

Device tells us we need Google Play Services to Use Maps on Android device

we've been working with a 3rd party Android device that uses API 17. We want to make a native Google API app so that we can map data for our customers. What happens is the app crashes and it says "Google Play Services required". Is there a workaround to this? can we somehow embed or package a file that is good enough to use Maps? We've spoken with the hardware company and they made a decision to not allow google play services. We are partnering with them to release the device with a couple of apps we offer with the device. Any help is appreciated
Google Play services enables Maps to run on your Android devices, as per Google statement:
With Google Play services, your app can take advantage of the latest,
Google-powered features such as Maps, Google+, and more, with
automatic platform updates distributed as an APK through the Google
Play store. This makes it faster for your users to receive updates and
easier for you to integrate the newest that Google has to offer.
That means you need Google Play services to make Google Maps work.
Download it here.

Roku with Instant TV Channel and BrightScript Differences

I am a beginner for developing an app for Roku platform. I had few queries on instant tv channel and the BrightScript.
I tried installing the BrightScript plugin in eclipse to start with the Roku app development. I have CDN which provides set of web services which i can consume to show the videos or the content.
I have also created the account in Instant tv channel which takes inputs as URLs and easily I can create the channel and upload to the Roku app dev store.
Here my question is that
whether I should go ahead with BrightScript programming language for app development ?
Or Instant tv channel setup is better for creating my channels ?
Why people choose BrightScript instead of Instant TV Channel ? would like to know the Pros and cons of these two ways..
I might be wrong in understanding the usage of these. How can I develop the app for Roku Platform?
I have referred : http://forums.roku.com/ forums , http://www.instanttvchannel.com/roku/quick to understand the differences between these two techniques of developing the Roku app. I have also followed https://www.youtube.com/watch?v=eQzk_Iq9dYI&feature=youtu.be to understand the app development and created the app.
Also Eclipse+ BrightScript plugin integration i did by following the http://sdkdocs.roku.com/display/sdkdoc/Eclipse+Plugin+Guide link
I've never used instant tv, but basically Brightscript means that you have full control (relatively) over your app.

What can we do with UCWA API (Lync)? and What can we not do with UCWA API?

Please explain what are features available in UCWA API (Lync)? I'm interested in the following:
Screen Sharing?
Video Chatting?
Voice Chatting?
Send a file?
I want to access UCWA API in android code, is it possible?
As per the About link of UCWA, API helps you to do the following things,
-Anonymous Web Chat.
-Support audio conferencing
-Light up IM & Presence in your Line-Of-Business app, including Windows 8, iPad, and others
-Inline Instant Messaging into your application (Contextual Communications)
-Search for Skype and/or business contacts
-Better together with UCMA Customer Care family of apps
Also you can refer this site UCWA Capabilities
A good wealth of information surrounding UCWA is available at http://ucwa.lync.com paying specific attention to the Documentation menu. A good rundown of features can be found at Core-Features which do not currently (CU3+) include screen sharing, video, voice, data collaboration (sending a file).
It is possible to place a audio call using a feature named Call-Via-Work which requires the user provide a callback number that Lync will use to connect you with the remote party, but it is not exactly the same as an audio call between two parties.
I want to access UCWA API in android code, is it possible?
There are sample libraries available (UCWA Helper Libraries) in JavaScript, but it is quite possible to use the libraries to construct code to run on an Android platform (Java, etc).

How to develop apps using PhoneGap or AdobeAir?

I'm trying to understand how programs like PhoneGap and Adobe Air work, that allow you to 'write once and run anywhere' on mobile platforms. The way I understand it now is that you build your application as a web app using either HTML5, or flash, or I don't know what, and it takes in those files and converts them to the proper types for each mobile OS. Assuming this is correct, what I would like to know is, what the options for developing web apps that are able to be converted into apps are; and what the most popular platforms to use/learn flash, or html5, or JavaScript, or I have no idea what are.
I want to build a web app to deploy across multiple phone platforms, but I don't know where to start. Thanks for the help!
You use tools like PhoneGap to access native device API's through JavaScript. If you don't need access to these API's you can write a HTML5 app and install it using "Add to home screen" etc.
As HTML5 matures, more and more of the device API's are actually directly available through HTML5 (for instance GPS), so depending on what you want to do access it might be in/scheduled to be part of the Device API.
Write once and run anywhere
There are different frameworks that lets you deploy to multiple platforms through the device specific install process. These tools usually work in 2 ways. Run in an embedded browser, or compile to native code.
PhoneGap runs the HTML5 part of your app in an embedded browser. Other tools like MonoTouch actually cross-compiles to native code, so they run on the bare metal.
Cross platform using HTML5
There are plenty of frameworks you can use to make mobile apps with HTML5. These usually help make the app "feel native", and includes abstractions over device specific idioms that differ between the different devices.
Popular frameworks includes Sencha Touch, JQuery Mobile and a bunch of others.
If you want the users to install the app through the AppStore/Market etc. then a solution like PhoneGap is a good option. If you don't care about that you can write your app and add a meta tag like
<meta name="apple-mobile-web-app-capable" content="yes">
and when you add it to the home screen it'll look just like any other app and run in an embedded browser without the browser window etc. You can add offline capabilities using HTML5 and synch when users go on-line etc. all just using HTML5.
Have a look at the Sencha touch app gallery to see what is possible with this technology.