I am looking for way to secure my apps in both Android and iOS.
Android
Noticed that there is this new api Play Integrity Api
I am looking for any example on usage Ideally in c# Xamarin , but I guess any example might be a starting point and see if can be ported to xamarin.
Any suggestions
I couldn't find Play Integrity Api sample for Xamarin, it seems that it is available only for Java, Kotlin, and Unity. I suggest that for now, you protect your app with Dotfuscator.
For android, you can also Protect against security threats with SafetyNet here is the Xamarin version Xamarin.GooglePlayServices.SafetyNet
Related
I am designing a product around a NXP Pico i.MX7D SOM, which is officially supported by Android Things. I need to be able to use Google services and would like to use a pre-certified solution to cut on certification/validation costs.
The latest Android developers post about Android Things (https://android-developers.googleblog.com/2019/02/an-update-on-android-things.html) makes me wonder whether Android Things is a viable solution for production.
The FAQ at https://developer.android.com/things/faq suggests that Android Things is either a commercial solution for OEM or a toy platform to play with as a developer.
Where can I find more information about the Android Things platform?
Is there an official place to ask for such information about Android Things?
I am developing an Android (and iOS) application for a client. The app is installed on devices with AirWatch, and I need to be able to read AppConfig parameters set by the AirWatch console.
I was able to do this on the iOS - quite simple. But not on Android.
Anyone knows how this is done?
Can you point me to sample code/tutorial/documentation?
See https://www.appconfig.org/android/ and https://developer.android.com/work/managed-configurations.html.
Implementation in Android is harder than on iOS, and the restrictions must be validated by updating the app on Google Play Store (or Android for work private store).
I have spent over 2 days reading over the documentation over at Google Cloud Platform to find out how to hook up my Android app to my Google Cloud Storage.
I don't know if it's just the documentation that's just bad or my lack of understanding but I have really not gotten any closer in implementing this. By contrast I remember it took me a couple of hours implementing Amazon S3 support in an earlier Android project so I'm not a complete idiot.
My requirement:
Upload images to my GCS account
Questions:
Is there a simple "Hello World" type of example for hooking up an Android app to GCS?
I don't need access to users data so does that mean that I don't need OAuth 2.0?
Thanks
You need to use app engine and can use cloud end points to build your application. Detail procedure for creating android app and using app engine as back-end are described here and here
In spotify web-api it is possible to preview track for 30 sec. So, I want to know, is it possible to implement this functionality using spotify android sdk. I was unable to find any Classes or methods related to that and also want to know if this functionality is available in spotify android sdk, then can we test it without spotify Premium account?
OR
Is it possible to use Spotify Web Api in android app?
Any help would be appreciated. Thanks in advance.
The Spotify native SDKs only use a "native" component for playback of full-length songs. The correct, officially-supported way of looking up metadata etc is to use the Web API. The iOS SDK provides a wrapper for this, but the Android SDK doesn't (yet).
Therefore, yes, you should use the Web API in your Android app. Since the Web API allows 30-second previews without authentication, you can do that in your app too.
Since the Android SDK doesn't include wrappers for the Web API at the moment, you'll need to build them yourself. The Spotify Web API is just a standard JSON/REST API - there's nothing special about it - so any Android JSON/REST library should be able to interact with it just fine.
I am looking into building an android app, which holds some simple data (probably stored in sqlite). I also have a app engine app which I intend to be an online data store for the information (the app engine app is wrote in python).
The question here is, what is the best way to authenticate a user with the app and how to get the data from the android app to the Google data store?
Thanks
Mike
You could use Google Account authentication and follow this useful post about Authenticating against App Engine from an Android app
You can also give a look at the SampleSyncAdapter sample from the SDK
If you want to authenticate using OAuth, you can do that. The only trick is that you need to launch the flow in an internal WebView, because App Engine's OAuth implementation doesn't allow custom protocols in the redirect. I recommend the Signpost library. If you'd like an example, the 2cloud Android client is licensed under the MIT license (full disclosure, I'm the lead dev for 2cloud). The benefit of this is it allows you to support Android 1.5 and higher. The Accounts API is only supported starting in 2.1.
Another option is the Accounts API. #systempuntoout has good links for that, so I won't reinvent the wheel here.
Finally, it might be worth taking a look at the App Engine-powered Android Eclipse project that was demo'd at I/O this year. It makes keeping code in sync and shared between the two simple. Only downsides are it requires Android 2.2 or higher, and it requires you to write in Java on the App Engine side and GWT for the client side.