can I know how can I add AI recommendation feature to my Android Java App? My objectives is let the app to have the ability to recommend other related product based on user's preference.
For android app ML, I would recommend checking out Google ML Kit
I don't know much about android development, but their ML Kit seems like a good start.
EDIT: I found this as well, hopefully will help you can toggle from Kotlin and Java. Generate smart replies with ML Kit on Android
This task is usually performed on the backend side where all data and user search history is available.
Later this is exposed through some sort of HTTP / GraphQL / GRPC endpoint which the Android app queries using internet.
Finally the android app loops through the data received from the backend and displays a list of nice items
Related
I have been trying to learn how to create an app that allows people to upload images via the web or android.
I know that Android uses content providers to implement a mechanism for the sharing of data between applications. More specifically, Android uses the MediaStore API to make use of this functionality. However, that is limited to other Android devices.
I was wondering how I would go about connecting a web app made using reactjs to an Android app preferably using firebase. However, if it isn't possible in firebase that would be okay too,
I am a beginner in web app development, so I am not particularly sure about how the software's architecture will look like.
I have been struggling to find an updated concise solution online. Can anyone point me in the right direction and if not point me to some resources that will guide me in the right direction.
Thank you!
Attach/configure both of your application to use same database and storage bucket in firebase
As you can see I connected my android application as well as web administration application to same firebase project.
As you can see there is an add app option in firebase console where you can select platform. Register both of your application on same project and thats it.
I made an app where anyone can sell a product: you set its details and then I save it in Firebase.
On the client side (Android app) I want to be able to search for products using plain text.
I think the best way is by using Algolia but I really have no idea how to set-it up. Your help will be appreciated!
There are actually two topics in your question: how can one link Algolia to a Firebase database and how can one build an Android app with Algolia. I'll cover both in my answer.
How to link Algolia to Firebase
You will need to use a scripting language to import your existing data into Algolia and to sync the changes when your data is updated. Algolia has a guide to help you do so using Node.js.
You don't need to be experienced with Node.js to do it! Have a look at this question where an Android developer like you with no prior experience of Node.js just followed the guide:
In the first gathering of data, I just copied the integration code, did the necessary changes and ran it on Windows terminal: the data is now imported from Firebase to Algolia.
You simply need to:
Copy the code samples from Algolia's Firebase guide
Replace the credentials with yours
Run the scripts from your computer (if you never ran js scripts locally, search for a Node.js beginner's guide like this or this)
Once your data is imported in Algolia, you can move on to step 2:
How to use Algolia in your Android app
For building your search interface with Algolia, the recommended tool is InstantSearch Android. It's a toolbox that provides you plug-and-play components to build your search interface quickly: InstantSearch will handle all the network-related issues, the data-binding, and many other things so you can focus on what's specific to your app.
You can have a look at InstantSearch Android's demo apps which will show you examples what you could build using this tool, like this Media demo:
Algolia also provides an Android API Client for building apps. It lets you interact at a lower level with Algolia: you send the requests, get the results as JSONObject and decide what you want to do with it.
Most projects should use InstantSearch Android as it is built to make your development easier and faster (and it actually uses the Android API Client under the hood!)
We at Wishbook have a B2B mobile application (Android & iPhone), wherein we are looking to implement Text & photo communication - between users 1-to-1, or from a user to his group of buyers. We are keen on something that can get us upto speed ASAP, offers good support, is mature library / server, and is also battery friendly.
We are now comparing between Layer, Applozic, QuickBlox & SendBird. Anyone used them? What protocols (XMPP / MQTT / custom / other) are used by them? Experience using it - interms of stable code base, etc? Also - we prefer open-source & more pocket friendly product as well.
Thanks,
Arvind
I have recently just tested two of the solutions you have cited.
QuickBlox :
protocol xmpp
open source
documentated less clearly than applozic
easy set up
Applozic :
protocol mqtt
open source easy set up, if a bit laborious
well documented, and very easy API to use.
Very customizable.
Both programs:
have video call/audio call/groups
have code bases that are constantly being updated, and from their Github pages new version have been released in the past few months
I preferred Applozic as the user interface was nicer and easier to use, and the features and pricing clearer. I also preferred the API and the setup code was easier.
I also had similar question.
The following charts mentioned in the articles helped me finalise the chat api to be used.
Feature Comparison and
Pricing
Applozic has cross app communication and broadcast messaging as well. Support is very quick with Applozic.
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
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.