I am building application that consists of two main parts:
Web application with rest API.
Mobile application(android, iPhone).
Web application has database that stores data about users (like posts, events and similar).
Mobile application uses web application's rest api to access that data, but to do that I need some kind of authentication (user must authenticate itself in order to access/mod
Is there any way to retrieve current google play logged user on an android device?
I want to make an application that takes this username or userid from android and send it to one of my servers and like this authentificate the user on my service.
I know there are multiple ways to auth trough facebook, twitter, google and many other providers, but i want to make it work without asking username an
Hi. I'm trying to create an application to make a login screen launch at boot. This application will *(hopefully)* force users to login using an username and a password before they are able to use the home, back, menu and search buttons. So far, I have done *MOST* of the coding and as far as I can see, the login app works.
I have an application that has a single screen with a "start logging" button, which starts a service. After it is pressed, the button changes to a "stop logging" button and stops the service onClick. This service essentially grabs some data every minute and writes it to a couple of SQLite tables.
The application is designed to be opened, start logging..
I'm developing an application which will consists only of a few services and no activities (i.e. no UI)
Basically I want to have 2 to 3 services to be running in the background right from when user installs the application on his/her device.
I have a few questions over this:
How will my services start after application installation? My BroadcastReceiver should be listening to which event?
I am working on an android application in which the data is fetched through JSONs using the web-service.
Our plan is to implement a web service using authentication from Facebook, we will have three instances: the web server, the facebook authentication server and the client. The web server can use the access_token to retrieve users' information on Facebook.
This works fine when the client is a web browser. Now, we want to implement the client on Android.
I am trying to program an Android application and made a test for the web service which allows you to send a message to the server and return a string such as ok, but there is a problem when sending the message and didn't find an answer.
My web service Android code:
String line = null;
try{
URL twitter = new URL("http://192.168.1.8:9090/younes_project/younesservices.php?action=001");
URLConne
I have problem with jax-rs services, service return HTTP Status 405 - Method Not Allowed.
I calling serice from android project.
Here is my code:
Service:
@GET
@Consumes(MediaType.TEXT_HTML)
@Produces(MediaType.APPLICATION_JSON)
@Path("login")
public Korisnici Login(@QueryParam("u") String username,@QueryParam("p") String password){
Korisnici exception = new Korisnici();
try {