Create a lightweight openvpn client on Android (server config already) [closed] - java

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I have a server which I install openvpn.
I have config some client and now I want to create an openvpn client to connect to it with the client config I've created.
I know there is an OpenVpn client on the market.
But, how can I do my own client with the VPN API (VpnService, ...)
Because I want to provide the client config with the app, so the client will just connect the android system

The source of the OpenVPN for Android client is available under http://github.com/schwabe/ics-openvpn/. The subset of files that is needed to have a working Android OpenVPN core is relatively small since the client has a relatively good control and UI separation.
There are already a number of clients on the Play using the ics-openvpn project as basis (often without proper copyright attribution and without providing source code as the GPL requires)

Related

Write a native code as background to get data from server [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I have created a Go server which communicate well with my flutter code and I can get messages from the server but only when my app is running
My problem is that if the app is not running I can’t get data from the server
So I went though the internet and asked some friends about the problem All I got
It’s I need to implement native code to my Go server so from native code I will create a channel to my dart file
But I don’t know how
You can use Services on Android side (read more here). It feature works only on Android because iOS limits background activity of the app. You need to create a service and do your work in him. Service can be running as separate process and live after user close your app.

How to connect the same database with web application and android app? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I am creating a complaint management system for my university final year project with two components
1-an android app through which the user launches a complaint.
2- web application for admin that can see and take action on complaints launched through the app
PROBLEM : I need to connect both of these application to a single database, how do I go about doing that ?
Should I use API PHPmyadmin ....I seriously do not know where to begin.
Neither should connect to the Database. You frontend / client / app should never talk to the DB directly.
You need to create an API in between, that API is hosted on your server and talks to the Database. The clients talk to the API and the API can manage who is allowed to do what, determine if they are authenticated, do some logging, etc.

What is the best way to connect my Android client with a Java app server? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 3 years ago.
Improve this question
I have recently begun learning Android development and have written a Spring Boot Java application with REST using Spring MVC.
I would like some advice on how to connect to my server with an android client? Do I hit the REST controller using my android client?
What would you suggest is the best practice and what API would you recommend I use?
Thanks for your time and help!
It depends on the requirement of application. There are several scenario where you want application & server communication.
HTTP API call
When front end application require some data from back end server or want to send some data to the server as part of application functionalities, then you can use any http client APIs like Retrofit or Volley
Websocket
If your application needs bidirectional continuos communication then you should pref to use websocket-client
In this case you need to create a socket end point at your back end server.
Push Notification
Push notification is very obvious now days, If your server wants to deliver some data to your application, It is besically one way communication from server to client.
This explanation may help you to understand all possible scenario.

Java and android socket server programming [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I am planning to create an android application that will communicate into a pc server. does java socket programming works with different internet to android mobile device? example is my android mobile device is using gprs while my pc server is connected to dsl/modem
Yes, they do work and there are many applications that are built on such a set-up. Try out simple client-server examples. Concentrate on creating the server first. You have to make sure that the firewall that your PC server is on, allows the server to accept connections and also that the IP address that you are connecting to is not a local IP. Check out the articles here, here etc

deciding language and server for the online back-end system [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I need to make an on-line system/webapp/server that connects to an mySQL Server. this web app/server must accept incoming communications from an android app and then make changes to the database. Also there needs to be an "Web Admin Console" to do manual data manipulation.
I was considering using Java with Tomcat for the web application the system needs to run on:
open source frameworks
be well documented technology
secure data transmission
are there any other software/languages i could use? how do i set up the web console? there needs to be an SSH access as well...
How do I start with making this online system?
You can develop complete system in JEE6. You can choose RESTful WebServices for integrating Android Application and Web Application too. For developing web application you can go with JSF if you want rich look and feel. Else you can stick with normal JSP and frameworks like jQuery and Twitter Bootstrap etc.

Categories