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.
Related
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.
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 3 years ago.
Improve this question
I want to create a java program that sends mails from my java app. I am using Gmail as the email provider and their servers.
My code works there are no errors or bugs, but Google security wont allow me to run it. It blocks the process.
Here is what I get when I visit my Google account after I run my java app:
Does anyone know if I can change that anywhere in my Google account settings?
Thank you in advance!
Your emailing service is being blocked because google thinks it not secure(which it isnt)
In order to allow request to go through you must turn on "Let less secure apps access my account" in your gmail settings.
here are 2 articles on this.
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 6 years ago.
Improve this question
I'm rather clueless how you connect your android app to a java program.
I have coded a java application on my computer and i'd like to make an android application which calls e.g. a button press in the pc java application by the click of a button in the android app.I am slightly familiar with android studio, but not connecting devices like this.
How do i do this?
I'm rather clueless how you connect your android app to a java program
Though there are multiple ways of doing it but you can always connect any two Applications no matter what the platform is to each other using Sockets.
But For Java and Android First check out .
Sockets programming in java here
Socket programming in android here
Then you can execute specific tasks on both sides of your application depending on the data send by each application.
Happy coding :)
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'am wondering if there is a way to make a peer-to-peer or phone to phone connection, lets say is a chat room or a game online, it is required to have a server that accepts socket connections or is there an easy way to do this? I'am talking about android phone-to-phone application via sockets, cause I don't know where can I get a free java server to make this possible
You could probably host a server instance on one of the phones, have that phone connect to itself, and have the other phone connect to the hosting phone. This way would also allow for multiple phones to connect to eachother.
Although I haven't done any android programming i've been playing a game that does this through either wifi, or bluetooth...
I can't help you with code or anything but here's a link to the designer's blog
http://www.sleepingbeastgames.com/blog/
I answered in an answer because I can't comment yet :(
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 8 years ago.
Improve this question
Hello people I'm a web developer who wants to write some Android apps. I have some experience in object oriented programming concepts and it won't be difficult to get familiar with Java. Anyways the application I want to write has two parts. One is a mobile client that has read permissions from the database, the other is a desktop client that will update and modify data in database. The database itself shall be contained in a server (just another desktop) proper to the office. Each office will have this configuration and the databases from each office will be collected to update the main database (collection of databases from all offices) which would be stored on a remote server.
My questions are:
Is it possible?
If it is possible, can you provide some guidance for a fellow code writer?
Yes it is possible. What you need is Volley to handle your API calls. Check here to get started.