Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [android-development]

Used to tag questions related to Android programming and new development features. Android is a platform and complete development stack from the Operating System to the APIs. developer.android.com is the official site for information about Android development.

-2
votes
1answer
25 views

Connecting android app(android studio) to myphpadmin database(already on the server)

I have a website for admin and a mobile app for normal user. Both of them share a same database which is now on the cloud(The website for admin is already deployed with the database on the server). ...
1
vote
1answer
47 views

Android application to RTL (Arabic)

I have an Android application (E-commerce) in English, Now I want to change language to Arabic and RTL(Right to Left) I am new in that, where and how much efforts it take? What specific problems ...
1
vote
1answer
56 views

Some questions on mobile push notification?

I need to work on android mobile push notification. I have recently gone through some of the tutorial on google. I would like to summarize the my understanding first Developer registers the app with ...
0
votes
0answers
8 views

Implemetation options for Android services handling requests, polling data and sending data

I need to create a Service app, Requirements 1 a request handler accepts request when it is sent from the other in house apps installed on the same device, saves the data to SQLite, 2 another ...
2
votes
1answer
37 views

Best practices for app-cloud synchronization of database representation

I'm planning a cookbook-like Android app that would let users store/add/edit their e-juice recipes, keep track of the ingredients, etc. Internally, I'll be storing the data in a database on the user's ...
2
votes
1answer
28 views

Preloaded/Starter Data in an Android App when installing?

I'm working on my first android app. It's a companion app for a video game, and it should come with preloaded data. I'm not entirely sure how to best go about this. I apologize if this has been asked ...
-2
votes
3answers
112 views

Is there any rule of thumb regarding which version of Android you should target, minus the current version?

I am working on an Android app, and trying to figure out which version I should target. The current version is 28, so I figure that targeting any version of that minus 3 (ie >= 25) seems reasonable, ...
0
votes
1answer
64 views

Android Clean Architecture - Seperate Usecases, Single Usecase, or not a Usecase at all?

I'm working on refactoring an older project of mine to follow the Clean Architecture paradigm (and loving it so far) and one of my components is causing me a bit of confusion in relation to whether or ...
1
vote
0answers
26 views

ExecutorService Doubles Memory in API<26 Android [closed]

My app downloads data from a PHP Server using threads from an ExecutorService with ThreadPool size 4. In API 27, the app runs perfectly without causing any OOM exception from the Heap memory. But all ...
0
votes
1answer
69 views

Handling Networking on Android

While doing android development. There is really no clear way of doing network operations, Sending and receiving data. Currently I am handing it using HttpsURLConnection and having streams to build a ...
0
votes
1answer
68 views

Watermark on Video implementation , Server or Client

Below is the context, Right now i'm developing an android application, which will allow the user to upload the video and image to the server. I want to allow the users(his friends) to download the ...
0
votes
0answers
18 views

Better Approach for Expanded RecylerView

I want to make below-mentioned expanding Layout inside RecylerView. This is how it looks when it is not expanded. You can find the source code of Expandable RecyclerView in my GitHub repo here. Now ...
-4
votes
1answer
244 views

Create an apk that's a slideshow of images? (Android)

Non-developer UI / UX designer here. Looking at ways to show android prototypes on some dev tablets that are locked down. Locked down in a sense that they can't get to android market they only have ...
-1
votes
1answer
51 views

Avoiding extra parameters through API or device (Android, iOS)

What is the best practice for REST API call from and device (Android, iOS). I am getting extra parameters/fields in JSON response, while calling an API. Throughout the the application there are ...
0
votes
2answers
180 views

Version control locally on Android

I am trying to make some version control locally on my Android project. It is just to have control about my changes, but I do not want to upload them to any external repository. Neither I want to ...
1
vote
1answer
223 views

Unicode Telugu language characters

I am developing a mobile app in android in which I use Telugu (Indian language) texts. On my mobile Telugu language alphabets are available. Therefore, I am not facing any problem for testing my app. ...
0
votes
0answers
168 views

Android development - changing View.OnClick to View.OnTouch

I am using a library to create an overlay in android, and I'd like to have it react to touches instead of clicks (clicks require the user to "untouch" the display to trigger). Most of my changes are ...
1
vote
2answers
847 views

Build a realtime chat app which stores messages in a MySQL database

I'm thinking of making a realtime chat app that would allow me to store user messages into a MySQL database. So far these are the two ideas I have. 1) Create and API which the message is sent to and ...
0
votes
0answers
118 views

Holding and freeing references to android views

I have a helper class (without base class) to handle an expandable layout (expand more/less) which holds references to the views. The references are needed to show/hide the layout and change ...
0
votes
1answer
384 views

Understanding application licenses when using third party libraries in an android project

I'm developing an app for the 2nd time but it's the first time i'm using third party libraries in my application. One of the libraries seems to have an MIT license and the other is the android ...
-1
votes
1answer
66 views

Which would be one easy,reliable and secure way (preferably the best one) to check that a date taken by an Android App is the real date?

By easy I mean easy to implement in code. By reliable I mean that it doesn't depend sources who might fail under which there is no good control. By secure I mean that it cannot be worked around or ...
0
votes
0answers
86 views

Mobile development and infinite List pattern

I m currently working on a React Native application which aims to provide à huge list of items, using infinite scroll and a local state (no matter the technology / plaform, it's stored in RAM) of the ...
5
votes
2answers
897 views

Pure Dependency Injection - How to implement it

I'm doing an Android project for an online course. I would like to use DI in that project, so I started to use dagger2, but now I started to have typical newbie problems that are holding me back. As ...
-1
votes
1answer
120 views

What are some ways to compare and contrast software architecture strategies?

I am currently working on an Android project that I have concluded needs refactoring done for a core part of the app experience. Let's call this part of the experience "Search". From looking at bug ...
-1
votes
1answer
67 views

Retro-engineering an application on Android

I'm trying to retrieve some personal data from an application that has completely disappeared from Google Play, and its author has answered none of my emails. (I'm namely trying to retrieve a private ...
0
votes
0answers
1k views

Building a Android app to run a Python Flask Server and load the page in one step

I need to get a python Flask server running on an android tablet, and then connect to it using the tablet's web browser. The difficult part is that I need something can be run in a single step. A ...
2
votes
0answers
482 views

Handling account roles in Android app

I'm building an Android app where different "types" of users can log in - lets say User and Admin are the two roles (there could be more than two). User can access some views in the app, by pressing ...
4
votes
0answers
573 views

Multithreading in Android

Looking for resources that teach multithreading in Android and list best practices. I want to do some image processing on the preview frame of the camera (already have this part set up) but want to ...
3
votes
3answers
525 views

How to keep Activity navigation logic generic enough to be reused in different workflows

I structure my Android application following Uncle Bob's Clean Architecture which basically comprise of at least following relevant layers:- Presentation - Using MVVM approach. This layer contains ...
6
votes
2answers
4k views

What's the best implementation for offline mobile app synchronization?

We have an Android app written as a Cordova AngularJS SPA which has now grown so that we need to add some work to it meaning we have to improve the synchronization part of the app. The app is mainly ...
3
votes
1answer
339 views

Architecture recommendation for Android

Recently I developed an Android application which is very difficult to maintain. We are stuck in a complicated situation. We developed Android Apps which contained 500k LOC and another team developed ...
0
votes
0answers
31 views

Android: Where to check availability of resources and correctness of parameters for starting an activity?

I have an android activity which requires few audio resources to be present on the mobile storage and few parameters which are passed through the Intent object for starting the activity. The question ...
0
votes
2answers
768 views

Class instance while retaining variables between activities

First: This is for a project that is already deployed, and requires a solution that isn't "rewrite how the whole thing works"! I have a "record detail" screen of sorts that is storing the ...
0
votes
0answers
128 views

Android with lifecycle and long-running operations

Before I start, I'd like to be clear that I am not asking about threading concerns. I understand threading, the various options, and not executing blocking work on the main thread. I'm looking for ...
1
vote
2answers
462 views

What should I do if I published an app with a wrong package name?

I found out that the package name should follow the web domain you own for this application / developer Id. I published an app starting with com.health... (example) because I didn't know better at ...
0
votes
0answers
45 views

Does Facebook Mobile Application call Graph API directly?

Does anyone know that Facebook mobile application is using their Graph API directly? or they create another layer specifically for handle their mobile application? Thanks.
0
votes
1answer
200 views

Android Studio, HTML and Java Correlation

I've recently started designing apps in Android Studio, and I've noticed that the same operations (for example, using a widget) can be completed by either going into the activityname_java file and ...
3
votes
2answers
986 views

How to check if app is offline

I am developing internal Android apps for the company I work for. In various places in the apps I need to connect to an internal server. This server is shutdown for maintenance for a period of time ...
0
votes
0answers
161 views

Concept analysis: using a Java ServerSocket to let an Android phone and server communicate?

I have an idea for an application that will not be published to the public Play Store. My friends will need to be able to log in from their Android phone to view certain data that cannot be viewed by ...
0
votes
1answer
157 views

Inheritance and Parcels

In Android development, we have Parcelable interface. Since I wish to build Data Models that will run on multiple apps and services (not just Android), I would like to add two jar libs that will share ...
5
votes
1answer
530 views

Android: Design for fetching update/syncing from server

I'm building a meeting app where users can create, join (by invite), and edit events like meetings, outings etc. Think What's app chat groups. So I'm looking into designing how the android app would ...
-1
votes
1answer
530 views

Synchronize local data with server data in an android application [closed]

I'm starting to develop an android application where I have to persist user data. For server data I want to use Google Cloud with noSQL but I don't know what to use to save data in local memory when ...
0
votes
0answers
67 views

Should I use a Service or Thread with my Android app? (specific example inside)

In my Android app I want to have a couple of demonstration functions (i.e., functions that are not yet implemented but I want to show what they would look like if they were). All that needs to be ...
1
vote
0answers
3k views

Can MVP be implemented in Android with Activities and Fragments as Presenters and Custom Views?

Lately my team has started considering the implementation of MVP pattern in some of our applications. We followed the several guides and tutorials out there, basically ending up with regular ...
3
votes
2answers
5k views

How to sync the data from the same user across multiple devices

I'm working on a small fitness app in which the user (whom is authenticated with the a server) could create their own workout plan which will be synced with a server. The problem with this is that ...
0
votes
2answers
562 views

Good design pattern to enable/disable certain functionality based on condition

I am working on a paint type application in android. I got toolbar on left contains tools like undoCut, redoCut, box, frame, cutting, coloring, next, previous etc. I wanted to know what is the best ...
1
vote
0answers
151 views

How to turn off third party app store and side loading except my app store

I want to prevent installing apps using third party app stores but except only one app store. This specific app store is in my control. I can change it's code to send a message to the mobile device ...
-3
votes
1answer
154 views

Android Studios: Unable to create a New File

I've been following The Complete Android Developer Course in Udemy. I followed the exact steps downloading the same files, I've already downloaded and saved JDK_HOME in the environmental variables ...
2
votes
1answer
586 views

Is IntentService an implementation of Command Pattern?

According to Wikipedia: In object-oriented programming, the command pattern is a behavioral design pattern in which an object is used to encapsulate all information needed to perform an action or ...
2
votes
3answers
4k views

Why use XML in Android?

From what I understand, isn't XML used for layouts and to setup how an activity looks? My book says that XML files are converted into Java code but then, why not just write everything in Java?