All Questions

Tagged with
Filter by
Sorted by
Tagged with
34 votes
13 answers
37k views

java.lang.IllegalArgumentException: No suitable parent found from the given view. Please provide a valid view

my app crashes when trying to display server message and I think the problem could be with my getView(). below is the registerActivity were the crash occurs and my activity_register.xml import ...
Mani's user avatar
  • 445
24 votes
10 answers
82k views

Firebase Java Server to send push notification to all devices

I am trying to send a Push notification to my android device with the new Firebase service. I registered and setup an app, also I put all the code needed to receive notification in the android app. ...
user3907491's user avatar
18 votes
7 answers
48k views

Android Studio: Client not ready yet

While launching an app, I am getting a message " Client not ready yet". Also, my device is showing" Waiting for debugger to attach ", followed by "Unfortunately, android app has stopped working". I ...
Aashi's user avatar
  • 181
17 votes
9 answers
2k views

What is the best approach to upload 1000+ records to a server that also contains images for each record from an iOS/Android app?

I have a app working offline. It is assumed that 1000+ records are created with images in each record during this period and whenever connectivity is established. What should be the approach to send ...
Adnan's user avatar
  • 1,460
14 votes
1 answer
19k views

Posting form-data Parameters in the body using Volley

This is the Post Request done using postman The response I want to get is : { "result": "success", "reason": { "first_name": "aswath", "last_name": "AsH", "email": "selviragu09@...
Aswathaman Ragunathan's user avatar
14 votes
3 answers
664 views

Android Server Socket

I am unable to reach the Android Server on the emulator from a program on my desktop, how do I solve it? Some code (from How to find LAN ip address of android device?): public static ArrayList<...
theAnonymous's user avatar
  • 1,742
13 votes
4 answers
26k views

Intercepting/Logging requests and Responses in GRPC

I'm developing a chat app using GRPC in which the server receives information from the client and sends it back out to all the clients connected to it. For this, I've used Saturnism's chat-example as ...
Umer Farooq's user avatar
  • 7,446
13 votes
3 answers
14k views

How to make the server backend of a mobile app?

I am an Android developer and I want to make an app which shows users on a map and performs tasks based on their location. The whole model of the app has to run in the server. I need an API which: ...
Dan's user avatar
  • 1,182
13 votes
2 answers
5k views

Do I need my own server to use the Stripe API?

I want to implement payments in my app via Stripe. I'm reading their documentation and it keeps mentioning that i wll use my own server to charge someone after i retrieve a token from Stripe. (stripe ...
Izak's user avatar
  • 939
12 votes
5 answers
520 views

Proximity alert for locations saved at server

I did some search but could not find a suitable answer. My App should compare with multiple locations for proximity. This means I will not be able to save all the locations into my app to confirm the ...
Ham Dong Kyun's user avatar
12 votes
4 answers
10k views

push notifications with django and GCM

I have a android client app, and my server is in django. I want to implement push-notifications in the server, to notify the specific users when changes in data related to them are happening, for ...
Ofek Agmon's user avatar
  • 5,170
12 votes
6 answers
3k views

Connect to Android App's Socket from Internet: Possible?

I am trying to develop an Android (server) app that will accept TCP connections directly from the Internet. I tried this a couple of years ago with no joy. Is this even possible? I asked this ...
DontPanic's user avatar
  • 2,244
11 votes
2 answers
13k views

Backend framework choices for React Native

I want to develop an android app that is based on server-client system. I want to develop both backend and android client. It's 2020 and there has already many frameworks developed to provide server ...
Yusuf Altıparmak's user avatar
11 votes
2 answers
5k views

Android Push Notifications Without using Firebase Cloud Messaging or any other similar service

I am developing an android chat application for learning purposes that uses a server- client architecture. I wrote the server side myself in Java (because I am trying to learn) and the client side is ...
Evyatar Saias's user avatar
10 votes
3 answers
53k views

Fastest Way to Upload Multiple Image to Server in android

I've multiple images to upload in server and i've a method for upload single image to server. now I'm using this method to send multiple images by creating loop for each images. Is there any fastest ...
chellapandi k's user avatar
10 votes
3 answers
27k views

Run NodeJs server in Android

Is it possible to run NodeJs server in android device (like linux devices not android apps). If possible please help me to do it. And is it possible to start mongo server on Android device? My devices:...
Hossain Khademian's user avatar
10 votes
1 answer
22k views

Websocket server on Android

I am trying to implement simple websocket server on Android device. I would like to use https://github.com/TooTallNate/Java-WebSocket but connection fails after a long timeout. I see that it is more ...
sbx's user avatar
  • 189
9 votes
4 answers
64k views

How to Send push notifications using One Signal + PHP + Server API?

I am using one signal to send push notification for android app. My question is How Can I setup send push notifications using server rest api?
user3544256's user avatar
8 votes
1 answer
10k views

This site requires Javascript enabled in your browser

I Need to download some files from Server I use Retrofit ,Voelly and DownLoadManager which are some of ways to download files from server in android , but my response is not the things that I want . ...
Alireza Bideli's user avatar
7 votes
1 answer
1k views

Creating debug apk file using gradle on headless server error

I'm trying to create a debug apk file using gradle on Linux headless server using ./gradlew assembleDebug but I get following error java.io.IOException: Cannot run program "/usr/android/android-sdk-...
Mohamad Shaker's user avatar
7 votes
2 answers
6k views

How to use WebRTC + Pubnub Api for video chat client in Native android app

i am working on one android application with the functionality of p2p video chat just like Skype. while researching on google, i got some libraries but not getting anything for android native. i ...
Ajay's user avatar
  • 1,189
7 votes
3 answers
8k views

How to host a web server in React Native app which can respond to GET/POST requests?

I am building an app where I need to host a web server in my React Native app which can respond to GET/POST/PUT/DELETE requests. Use Case: I need to send some data from my PC to my mobile app(where ...
saberprashant's user avatar
6 votes
4 answers
7k views

Accessing to Laravel server from android phone at a port

Trying to access to Laravel server at localhost:8000 from android phone. What I did: Laptop & android phone is connected to same router. started Laravel server at localhost at port 8000 laptop's ...
Shafi's user avatar
  • 1,880
6 votes
2 answers
8k views

How to run Android Emulator from Shell on Ubuntu Server

I installed Android SDK and JDK on Ubuntu Server 14.04 x64. But when I run the AVD, I got error: 'SDL init failure, reason is: No available video device' I follow this https://stackoverflow.com/a/...
sumy's user avatar
  • 301
6 votes
3 answers
23k views

java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.net.Uri.getScheme()'

I am Trying To upload image to server from gallery and camera.When i Choose image from gallery to upload to server its Work Perfactly.But when i Select camera captured Image for upload to server Its ...
RushDroid's user avatar
  • 1,580
5 votes
2 answers
1k views

Why the openfire's user remains ONLINE even with no SESSION exists in sessions

I'm developing an android app contains "Messaging" using OpenFire as an XMPP server and using Smack for android client. All functions works fine, but when a user is online(as you can see it's state in ...
Mahdi Moqadasi's user avatar
5 votes
2 answers
327 views

How do popular Android apps connect to a server? [closed]

I usually connect to a remote MySQL database from an android device using a PHP script to manage the database, run this script using the HTTP protocol and code data in JSON format. I am now looking ...
DigiDude's user avatar
  • 103
5 votes
2 answers
1k views

Cannot receive messages through firebase after server reset

I have a mobile app that gets notifications from a server through firebase cloud messaging. When I'm launching the mobile app and doing the subscription, the mobile app received the notification from ...
Roni Koren Kurtberg's user avatar
5 votes
0 answers
328 views

Getting issue while loading image in push-notification Service :Unable to resolve host : No address associated with hostname

We are getting images in the notification payload. In notification payload we got AWS s3 URL like this: https://s3-ap-southeast-1.amazonaws.com/mybucketname/images/users/ce4f4bdf-3458-4fac-8faa-...
shivkanya kaile's user avatar
4 votes
1 answer
239 views

I received in my server a message that could be from a hacker [closed]

I have a Chess App Online made in Android. I monitor all messages the server receives after the client has called .accept() and I read the BufferedReader(). I recently got a very strange message ...
Andrés Fg's user avatar
4 votes
1 answer
12k views

NameValuePair, HttpParams, HttpConnection Params deprecated on server request class for login app

First time asking a question here, and new to android programming. I'm following an online youtube tutorial to create a login by user "Tonikami TV". Everything is fine with the app except when it ...
DarthVader's user avatar
4 votes
1 answer
837 views

can't able choose file in file manager by using OkHttp3

I'm try to create an application where i have to upload any file not more than 16-20 mb. I am using OkHttpClient3 but my main problem it will take file with simple names such as a.mp4,b.jpg etc etc. ...
Abhishek Singh's user avatar
4 votes
1 answer
2k views

ReCaptcha V2 response error 12008 in Android

Below is my implementation of ReCaptcha V2 in my Android app. When I run it, it returns: Error message: unknown status code: 12008 This means the following: public static final int ...
Christopher Mills's user avatar
4 votes
2 answers
5k views

XMPP server alternatives [closed]

I'm looking for a simple messaging server which I can run on my server which will be used to register clients when they are online so they can "talk" with each other (kind of WhatsApp service but much ...
rbd's user avatar
  • 187
4 votes
1 answer
16k views

How to connect or link to localhost server address in Android Studio

I am following a tutorial of making a login register for android by tonakami TV in youtube, I encountered a problem where the android app can't update or connect to the database via LOCALHOST XAMPP. ...
M. M. Human's user avatar
4 votes
4 answers
2k views

Android - Having problems managing server endpoints in app client

I have following server Urls: server-base-url/method1 server-base-url/method2 server-base-url/method3 ... server-base-url/method100 I am currently using a properties file to store the ...
Antonio's user avatar
  • 11.3k
4 votes
1 answer
3k views

gRPC server for Android

I'm new to Android. I need to build a gRPC server on the Android platform. I saw that people tried doing that, but did not succeed. It was stated that Netty was not supported on Android. Is there a ...
Lena's user avatar
  • 41
4 votes
3 answers
2k views

How to get string from PHP server to Android?

I create the application to send a text to the server and check if(text != null) return new text values. My code to do this like: In PHP Server: $text = $_POST["text1"]; if($text != null){ echo ...
Ave's user avatar
  • 4,368
4 votes
2 answers
8k views

Node.js Server Running on iOS/Android

I have found plenty of questions/aswers about using node.js to build a server and how the javascript (server side) code won't be accessible to people accessing the server via a browser as it is not ...
danabaillie's user avatar
4 votes
1 answer
2k views

Get data value from Fragment into Main activity?

I am trying to create a notification badge like Whatsapp (Near tabs) but unable to fetch data value which are stored in a fragment but as the badge would be in the main activity, I'm unable to get(...
Sandeep Singh's user avatar
4 votes
2 answers
1k views

Can FlatBuffers be used with PHP server side?

I'm writing applications for Android and iOS, until now we were using JSON to pass data between the server and the client apps. Our server is written in PHP. Now I was thinking to move our ...
Emil Adz's user avatar
  • 40.9k
4 votes
3 answers
5k views

Remote update app across multiple devices

I am currently investigating ways of remotely updating an Android app installed on a number of devices. The app in question is to be used on phones which we will provide to a number of demonstrators ...
user4433884's user avatar
3 votes
4 answers
4k views

Sending messages from Server to Android App

I have an app that displays messages stored in a MySQL database. Right now, the user has to press a button to trigger a download of the messages to his or her phone. I want to implement the feature ...
ManSe's user avatar
  • 81
3 votes
4 answers
185 views

Posting-a-photo usecase in android and server

I want to have the posting-a-photo usecase in my android app. This is the scenario I have implemented: 1. User posts a photo. 2. On the client side I scale the photo* , compress it and send it ...
Want's user avatar
  • 820
3 votes
1 answer
3k views

Send Push Notification to Android app upon the data update in the server, and open custom Activity

Needed a suggestion/idea. I have to send the push notification to the android app when the data is changed/updated in the server. I have got a news app, so whenever the news is being updated in the ...
aevin's user avatar
  • 167
3 votes
3 answers
3k views

notify iOS & Android on data change on server

I'm creating mobile application for iOS and Android. The problem is when any data has changed on server, I cannot notify mobile devices. I have found 3 solutions, each have minus and pluses. Use ...
Arda Oğul Üçpınar's user avatar
3 votes
1 answer
815 views

Raspberry Pi as MQTT broker as well as subscriber or publisher

scenario: I have a local network with some connected devices so I want to send commands from android app to Raspberry Pi which will control those connected devices by MQTT protocol so can I use ...
Surya's user avatar
  • 85
3 votes
1 answer
13k views

Bluetooth Server and Client in android

I'm trying to create a bluetooth server and client in android. The bluetooth server in android can view all the connected devices and create a data of connected devices and saved it in the sqlite db ...
Jah's user avatar
  • 223
3 votes
3 answers
7k views

failed to open URLConnection in android

I'm trying to get the response code by opening a URLConnection, It was successfully making URLConnection in java console program, but when I tried this code in android this function always returns a -...
tvshajeer's user avatar
  • 1,319
3 votes
2 answers
138 views

How to use server data in MaterialViewPager?

I use this library. com.github.florent37:materialviewpager:1.1.3@aar How to use data that come from server in MaterialViewPager? Here, Kitchen", "Pork", "Fish", "Soup" are static, I want to change ...
Pyae Phyo's user avatar
  • 127

1
2 3 4 5
24