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 a best site to learn about android development.
-2
votes
0answers
49 views
How to decide what architecture use in Android isometric RPG?
I asked this question about what architecture should I use. As in every question about this, everyone says "the one that best suits you". But no one never explains how I know if a architecture suits ...
-2
votes
0answers
14 views
best way to change content of layout in android
I have many pages lets say pageA pageB pageC and user may go from pageA to PageB and then to PageC
I want to change content of a layout programmatically
for this I have two scenario
1- create a ...
0
votes
0answers
22 views
Multiple native android application distribution in single apk
I am working on a native android application having multiple business modules. As of date the application is tightly integrated with all the modules.
I plan to break these into separate applications ...
0
votes
0answers
39 views
How to prepare a database for a Google Maps App
I would like to develop an application which will use Google Maps (basically it will search for certain buildings and then show them on the map).
However, I don't know how these kind of applications ...
2
votes
0answers
68 views
Architecture recommendation for Android
Recently I developed Android application which is very difficult to maintain and We stuck in complicated situation. We developed Android Apps which contains 500k LOC and another team developed same ...
0
votes
0answers
15 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
62 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
33 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 ...
0
votes
0answers
24 views
How to empirically test inefficiency of exact alarm delivery in android?
I am currently using inexact alarms as recommended in the official docs of Alarm Manager. To quote
Beginning with API 19 (KITKAT) alarm delivery is inexact: the OS will
shift alarms in order to ...
0
votes
0answers
113 views
Volley with AsyncTask
I'm developing an Android library so that other apps would use, which is a kind of an API 'driver', to be used with an external services API and contains also UI components.
On most of the requests ...
1
vote
2answers
91 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
39 views
App store presence that can install variants of the app
We make an enterprise application which has a mobile component, an app for android and IOS, which provides functions for distributed workforces. For a variety of reasons, we build the app for each ...
0
votes
0answers
33 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
111 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
256 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
149 views
Should fragments register directly to an event bus or should only activites do so?
Please correct me if I'm wrong about any of the following. I understand that if a fragment wants to make a network call it tells it's activity then the activity makes the call and returns the answer ...
0
votes
0answers
49 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
80 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 ...
3
votes
1answer
153 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
128 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
35 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 ...
0
votes
0answers
901 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 ...
2
votes
2answers
1k 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
0answers
61 views
OpenCL Embedded Profile and Selecting a Binary
I am developing an app for Android phones that uses OpenCL 1.1. Since
The OpenCL Embedded Profile does not require the compiler to be available
The GPU's and CPU's vary between different Android ...
0
votes
2answers
249 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
45 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
73 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
299 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 ...
0
votes
2answers
941 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?
1
vote
1answer
38 views
Storing mutliple selected values in DB
In my Android app, there is a question like "Which of the following foods did you eat today?" (not the actual question), with a fixed list of foods (e.g. "Apples, Banana, Pizza, Burgers") from which ...
0
votes
1answer
93 views
How to associate images in SQLite
I'm a newbie and couldn't find anywhere, concise information regarding which approach I should be taking when working with images.
The thing is I'm developing an app whose main purpose is to keep ...
1
vote
2answers
104 views
Efficient 2d per pixel lighting on Android [closed]
I am trying to create a simple 2d game to learn on my own. My current task is creating a lighting scheme.
My goal is to make the screen appear dark except where I create lights. I have a light class ...
2
votes
0answers
168 views
Gradle Flavors vs. App Projects
I've inherited a pretty big and old project with a tiny bit of technical debt which is still under active development. A couple of months ago we made the jump from Eclipse+Ant to Android Studio+Gradle....
1
vote
1answer
215 views
Developing an Android application while dogfooding it
I started learning Java and Android development recently, and I'm learning by building a small app for myself. Nothing fancy, it's just a simple mileage tracker for my car. I know there are tons of ...
1
vote
1answer
249 views
Using JDK in Google Android Studio License Issues
I'm new to android developing and maybe my question is strange.
If I want to make commercial apps, libraries, or services for android and use Google Android Studio + Oracle JDK (not OpenJDK) is there ...
0
votes
1answer
291 views
Usage of github libraries
So far there had been a lot of external libraries provided for us to reduce our efforts on coding and utilising the time to provide quality apps to the play store. Now, I am keen to understand ...
1
vote
0answers
2k views
Android, PHP session and JSON object retrieval
I am working on an app in android studio.. it currently has a login and registration system that are linked to a database and both work perfectly.
I am now trying to carry over the user id value ...
0
votes
0answers
123 views
Is it possible to use Protocol Buffers natively for message passing between a Go web service and an Android app?
I want to connect an Android app to a Go web service (I have a small social network in mind) and would like to pass data to and from the web service using Protocol Buffers, since it recently seems to ...
0
votes
1answer
225 views
Project has become so complex and big that I am lost [closed]
Hello this has never happened with me before . I am making an online shopping android app which has become huge and complex . While developing the code I have followed all the clean naming conventions ...
0
votes
2answers
709 views
Ideal way of updating app's views when data changes [closed]
Okay this is not platform specific question. But any answer related to iOS,Android or Windows Phone will help. So I am building a chat application (yes another one) but I am really confused about how ...
0
votes
1answer
56 views
Restructure Service - Http - Notification communication
I am trying to restructure a project to make components reusable and clearer.
Consider the following scenario:
A WakefulBroadcastReceiver (in my case called SimpleWakefulReceiver) will start my ...
2
votes
1answer
422 views
Building a news app for both phones and tablets
I am building a news app. In phone mode it should have a navigation drawer which slides out when you tap on a hamburger button or slide your finger. That navigation drawer has a fragment with static ...
1
vote
1answer
104 views
excute Vs excuteOnExecutor [closed]
There are two ways to execute AsynTask, i.e., execute and executeOnExecutor. I already know that execute works serially and executeOnExecutor works in parallel. So my question is:
Which one to use?
...
6
votes
2answers
6k views
Development on Android without using Java [closed]
As the title of this question suggests, I am looking forward to develop app(s) on Android platform without using Java at all. It doesn't mean I have some kind of vendetta against this beautiful ...
1
vote
2answers
189 views
How to test android apps that depend on telecom provider connection?
I am planning to write an app that needs phone number and contact list. Is there any way that I can test my app without buying a telecom provider connection for my android phone. Without a sim the ...
0
votes
1answer
179 views
How to deal with product owner who refuses to follow UI design rules
We develop Android application. We base on old version of similar application developed in our company. This old application was designed by some noobs which didn't follow UI Android design rules.
...
2
votes
0answers
78 views
Android Development: Styling the application
How do you approach theme and styling of an Android application? I have all the functionality and I'm now styling and dealing with colors, etc. This is my first big time Android app, and it seems like ...
4
votes
1answer
260 views
Register user in mobile app without e-mail
We are currently developing an app for Android and iOS which requires the user to perform a registration. However we don't want the user to go through all this e-mail and password activation link ...
1
vote
2answers
551 views
Managing multiple versions of the same Android Library Project
I have an Android Library Project which I intensively used in a few projects. I started a new project in which I am also using this library. I want to improve some things in library (method signatures\...
0
votes
1answer
1k views
How can I test my camera-dependent android app on most devices? [duplicate]
We are developing an app for taking photos faster. We do this by actually taking videos instead of photos and processing the individual images in the video on the fly and combine them to create a high-...