Can I Use Google ML Kit for translation for my web app? - translation

I wan to know if there is a way, to use Google's ML Kit for Translation, to build translate API's for my web app. I am paying to use Google Translate API's now. Looking for a work around.

ML Kit does not support web apps today, it is designed for use in native Android and iOS apps. The recommended path for web apps that need translation between languages is indeed to use Google Cloud Translate API.

Related

How to use Google Tag Manager for iOS (swift) with GCP Recommendations AI?

We are planning to make a recommendations engine for the features in the app and we were thinking about using GCP Recommendations AI. Then, we ran into some unclear areas due to lack of examples.
Can we use Google Tag Manager for iOS (with Firebase Analytics) to send real-time event data to GCP Recommendations AI? Could you please provide some docs/examples/articles that explains how (We are using Swift to code the app)? It is possible for web sites, according to the docs.
You can not. Unless it's not a native app.
If it is a web-app, then sure you can use the power of JS to send whatever you need to any endpoint. We use Segment for real time personalization, but even that requires quite a lot of involvement from the app teams. And no, GTM is not helpful for native apps.
If you already have custom analytics tracking implemented in your app, then there's a high chance that the devs used a wrapper around the firebase/gtm sdk to send events in a more comfortable way or add adequate logging. In that wrapper then, the devs could implement the event streaming to your GCP recommendations AI in case it has the capability to store data.
If it does not, you can still set up a neat app engine (or a differnet endpoint) and stream data to it. The app engine would allow you to tweak, sanitize and debug the data, after which you can stream them to something like Big Query, which your Recommendation AI would likely to be happy to work with.
I'm talking about app engine and big query because there's a nice repo I've used a few years ago... Here: https://github.com/MarkEdmondson1234/ga-bq-stream
This repo is attempting to use front-end GTM to stream events, but you won't be able to use it (unless you're dealing with a web app). So instead, you stream them in a very similar way from your analytics wrapper.

Add map with list to Form for mobile app?

This is a very basic question, but I have no idea how to be begin, so please bear with me.
I'm a C# software developer, so I'm very familiar with the VS IDE and with Windows and Web development. But I have never developed a mobile application.
With that said, I came up with an idea which is essentially a screen with a map and a bunch of pins, and a list that represents each pin. It will run in an iphone and android phone. It will look something like below.
I decided to develop it in Xamarin because 1) I've worked with VS for many years so I understand how it works, 2) I can develop one app in Xamarin that can run both in ios and android.
I understand that it may be a very basic question, but I have no idea where to start. I also have experience with development, so I don't want to go thru the Hello World example. Finally, I also have a full-time job, so my limited free time would be used to completing this particular app.
So my question is: where do I start?
First thing first. You should get yourself familiar with Mobile Development(app life cycle, patterns etc.) by creating few sample applications (since you stated you were developing in Visual Studio using c# before it should be quick procedure for you). You can find documentation and sample codes on official Xamarin site:
Xamarin Website
Next get yourself familiar with MVVM pattern and MVVM frameworks to write applications using modern patterns and modern practises. I personally recommend MVVMCross or MVVMFresh.
Data Binding from Official site
FreshMVVM with Samples
Then get yourself familiar with Xamarin.Forms maps. It's a nice library that allows you to use one code and share them across 2 platforms. Google Maps official apis are also good but they are platform specific.
Xamarin Forms Maps
Enjoy and welcome to the Dark Side ;)

Making a swift app compatible with different operating systems

I want to make an app using swift that will accept credit card payments for physical goods. I want the app to be compatible with ios as well as android and others. Should I make a web app instead of going through app store and is there a secure way to do this (with respect to credit card processing)? Are there any straight forward tutorials? Please help me I'm stuck! Thanks!
It is not possible to port a Swift/Objective-C application to Java or vice versa without some additional work.
A hybrid application is written with HTML, CSS, and JavaScript but acts like a native application. Apache Cordova allows you to write one code base and then package the application for iOS, Android, and several other operating systems.
As for credit card processing, there are Cordova plug-ins like this one for PayPal.
If you want the widest range of options and greatest security when it comes to processing payments, a responsive web application would be a better choice.
If you want a cross platform language and development environment that supports the development of Android and iOS store apps and doesn't use Javascript or other web development tools, you can use Xamarin from Microsoft which supports C# (and F#). C# is derived from Java but provides some language features that Swift also supports but Java does not such as structs, properties, tuples and extension methods.

Google Cardboard on iOS without using Unity

It seems that all iOS applications using a google cardboard are based on Unity.
Is it possible to develop such an application without Unity?
Yes, however you would have to write your own engine. Unity is simply a game engine, so to do it without Unity (or any other game engine) means that you must gather the sensor data yourself and feed it into your own custom OpenGL engine for displaying your content. I am not familiar with iOS, but you may need to make your own Kalman filters for your sensor fusion. So, to make the app without any game engine is not an easy and quick task.
Developers usually use game engines because they spend less time troubleshooting bugs and more time developing the logic and other parts of the game, which require less skill, time, and knowledge than making a game engine.
just released yesterday
Google Cardboard SDK for iOS
https://developers.google.com/cardboard/ios/

How to develop for multiple platforms

I have made my first app in the Android platform. However this is not the only platform and I want to get my apps published on at least Android and iOS platforms.
I would like to have one developing platform for both platforms. What is the options?
I have now tried Flex, Air with Flash Builder. It seems quite promising but the future seems to be a bit uncertain and are also more expansive.
It would be interesting to have some suggestions about what developing tools to focus on if I would like to develop apps on both Android and iOS.
It depends what kind of apps you want to build (i.e. Games, Content Aggregators, etc.) because each 3rd party "App-Generator" that deploys to multiple platforms has their strengths and weaknesses.
Here's a (brief) list:
Appcelerator's Titanium SDK - leverages mobile-browser-based features, mostly for content-aggregators, simple or core feature list on platforms
Corona - leverages LUA-scripting language for 2d / more simple games and applications; has a growing user-base and community; possible to leverage for core-experience as well
Unity - 3d experience, games, usually for more high-end, premium experiences
If you're going to develop on the platform, I always recommend build to that platform's language since you'll never have to worry about what happens when the language is upgraded and your "app-generator" hasn't upgraded yet.
It will also help you to learn the language on that platform (Java, C#, Objective-C, etc.)
I know it's old topic but for those who are still looking for rapid mobile development there is also Kinetise that is code-less tool and offers also backend system/CMS.
You can use Sybase Unwired Platform. It has Device App Designer which can create applications for Blackberry ,Android and iOS.
If you are aiming for high quality, I don't think there is any other way than going native for each platform. Also keep in mind that different platforms have different UI guidelines and principles, and doing a multiplatform project is not a good enough reason to abandon those guidelines.
I recommend phonegap: http://www.phonegap.com

Resources