I am new in cloud boost.
I am using cloud boost in my android application for chat feature.
We have integrated cloud boost SDK on our server.
Now I want to use cloud boost in my android app with my server URL but I am not able to init CloupApp with custom URL. I have also tried following method but it not work.
CloudSocket.init(cloudUrl);
CloudApp.init(appId, appKey);
Can someone help me with this?
The library does not support Java/Android and other languages - it only supports Javascript language.
Issue on GitHub: https://github.com/CloudBoost/JavaSDK/issues/9
Related
I made some website based on .NET Core MVC with Identity example in Visual Studio 2019 that uses SignalR and I want to make an app that connects to the same server and has similar functionality. How can I make a login system that works with Android? Do I have to make some kind of controller? Maybe just use WebView and use the cookie?
yes u have to learn something called API and build new controller or update your current one here links can help you 1- asp.net API Microsoft tutorial 2-Microsoft core first-web-API tutorials 3-simple API you tube videoafter that u have to learn how to connect your android app to this API i prepare to you to learn retrofit in android to connect to the API
I am slightly confused with the Firebase client library that is available for Java. In the documentation, it says that the library should be used on the server. Recently, I came across Google App Engine. A PaaS service that allows application code to be put in the cloud.
Could I write the server code using the Firebase client library and deploy that as application code on Google App Engine? That way my application could connect with Firebase through the App engine.
I am asking this questions from the perspective of creating a Java application; the same libraries available for Android are not available for Java desktop applications. The only library that can be used in Java is the server library.
Thank you.
That is possible with the firebase-server-sdk.
You find an example deploying a servlet to appengine and access firebase from within the servlet here: https://cloud.google.com/solutions/mobile/firebase-app-engine-android-studio
Just skip the android stuff and scroll down to MyServlet source code.
But be aware of the scaling setting you need to use firebase on app engine.
I want to use Google Cloud App Engine (Java) to integrate with Facebook from Server side.
I understand that the following Web SDKs are available which can be potentially used:
Javascipt SDK (https://developers.facebook.com/docs/javascript)
PHP SDK (https://developers.facebook.com/docs/reference/php)
But I can't find any native server side Java SDK for Facebook.
Or we can directly use Facebook Graph API:
https://developers.facebook.com/docs/graph-api
What would be the best way to implement this?
Further investigation on the lead provided by #mhasan, found the following third-party Java SDKs have been acknowledged (Not endorsed or recommended) by Facebook:
Java (Spring) by Spring Social
Java (Blackberry) by RIM
Kinvey by Kinvey
RestFB by Mark Allen
I have existing appengine application. I'm planning to develop android application with that existing app. I can only find examples on development of android app w/ new appengine application. Any reference for developing android app for existing appengine project?
There is nothing special about it. You have to add some sort of an API that your mobile apps can use and return data in an easily parsaeble format such as JSON or XML. You have think about whether you need authentication and how to do it (Google accounts are integrated in Android, but you need extra permissions to use them). Then you access them from Android using HttpClient or HTTPUrlConnection.
The 'new' way to do it would be to use Goggle Cloud Endpoints which takes care of authentication and generates an Android client for you automatically. However it is still in
'trusted beta', so you might not be able to use it.
http://endpoints-trusted-tester.appspot.com/
What is the best way to access Google Documents (documents, spreasheets etc from Google Apps or Gmail) using Java on Google App Engine. We are using GWT on the client side.
Thanks,
Carl
The Google Data Client for Java suppose to work on the Google App Engine.
It gives you access to must of Google Apps Services.
Google has Google Client API which probably has a better support for OAuth2, json and support for the API discovery, but still The old API should work.
Read about Migrating To Google Api Java Client this should resolve any confusion you might have.