Converting a GWT web app on app engine to android app - android

I have a GWT App deployed on Google App Engine that makes use of RPC Calls to function.It uses Bigquery Cloud as a backend for database operations.How can i create an android app from existing google app or do i have to code again to build a native android app for this application.

You can use a combination of mgwt and GWT-Phonegap to create apps for Android and iOS.

if RPC is your problem, you can use GWT-P REST to change your RPC in REST-FULL service. You need to refactoring your GWT client code and Server code. I had ever use in project GWT-P rest with an SPRING-REST on server side, that's work well. This can solve the problem's of RPC and serialization policy from GWT.
If you want to use the client code from gwt and use this in android Application, your only choice is to use phonegap and MGWT to create responsive design, but you must separate you server code and client code in three differents module with maven (client - server - DTO).
In first if i was at your place, i will transform my RPC service in REST-FULL service.
After if your application is only to android and not too complexe, i advise to create an Native App android. MGWT + PHONEGAP + GWTP is more to create mobile cross-platform application.

Related

Android and Spring Cloud Eureka Service Registration

I'm writing an Android app that calls microservices written with Spring Boot. We're working to integrate Eureka for service discovery and move to a cloud native architecture.
I've read a lot of documentation about how to use Eureka in Spring client calls. However we're writing a native Android app without Spring.
What are my options to use service discovery? Do I need to use an API gateway or is there another way?

Embed a server within Android or iOS app that uses Python

I have a python library that I want to use for the core logic of an Android and iOS app. One solution would be to put the python logic into a server and interact with my app through HTTP. If the server is remote though, the user will have to remain online to use the app. Is there anyway I can embed a HTTP server within the apps so that the user doesn't have to be online?

Need to call Kurento Media Server opencv plugin in Android client

What i did:
I have installed the opencv-plugin-sample in the Kurento Media Server.
https://www.kurento.org/docs/6.0.0/installation_guide.html
https://github.com/Kurento/kms-opencv-plugin-sample
  
I have modified the kms-crowd detector client-js to call opencv plugin.
Run the following command and load the page in browser.
bower install
http-server
http://localhost:8080/index.html?ws_uri=ws://localhost:8888/kurento#
It works well.
What i have to do:
I want to replace the client-js to android mobile client.
I have tried to run the AppRTCDemo application. it works well.
https://github.com/apeunit/AppRTC-Kurento-Example
Now I want to call KMS and apply "opencv plugin" filter from android client.
I don't have any references to add the "opencv plugin" call form "android" client.
How to add apply the opencv plugin filter from android client?
There is no Android mobile client. My suggestion is to follow a different application architecture, and have your Android app connecting to an application server that acts as signaling server. This server will be the one controlling KMS, and your app will only need to communicate with your application server, following this schema
That will simplify your Android client development. You can check tutorials following both approaches: NodeJS and Java
EDIT 1
If you still decide that you want to directly control the media server from your Android app, you'll need to implement the Kurento Protocol: a JSON-RPC based protocol that controls the media server, through a websocket connection. The NodeJS, JS and JAVA clients are just implementations of this protocol, to ease the development process.
When you define your module in the .kmd file, you are declaring the interface for it. Whatever methods you have there, are to be invoked via the websocket control port.
I'm sure you are bound to find some Android client implementation of the Kurento Client in Github, but bear in mind that it is not officially supported.
EDIT 2
There's another option, which is to build your app using the Ionic Framework, which will allow you to use the Kurento Client for Javascript, and also the code generated by the module creator.

Xamarin : Authenticating Android application using Windows Authentication

I have a WCF Service hosted by an ASP.net web application where user is authenticated using windows authentication. Now I am trying to write an Android application to consume this WCF Service.
Any idea how to get my application windows-authenticated to be able to start consuming the service?
You won't be able to use Windows Integrated authentication (it's proprietary), but you could use either Basic auth (transport-layer encryption/SSL highly recommended) or OAuth combined with OWIN.
Out of the box, there is no support. But you could look into JCIFS (http://jcifs.samba.org/); a library that implements the CIFS/SMB networking protocol. That library coupled together with the documentation here on Apache's HTTP client (https://hc.apache.org/httpcomponents-client-ga/ntlm.html) should help you integrate Windows Authentication into your Android app.

Create webservice in drupal

Can we create webservices in Drupal? Our web development team is creating a website in Drupal and they want to build an android application for the same and for that I need to use webservices to access the database.
Have a look at the services module
A standardized solution of integrating external applications with
Drupal. Service callbacks may be used with multiple interfaces like
REST, XMLRPC, JSON, JSON-RPC, SOAP, AMF, etc. This allows a Drupal
site to provide web services via multiple interfaces while using the
same callback code.
It's build for this reason. Drupalize.me android app is built on the services module, so too for many android applications.
Hope this helps... Muhammad.
Can we create webservices in Drupal?
Yes, You can Do it.
I had done it via JSON webservices.

Categories

Resources