Android is Google's open source OS and system for smart phones and tablets. For user questions, see http://android.stackexchange.com

learn more… | top users | synonyms

0
votes
0answers
28 views

How to manage state in MVP pattern?

I am currently using MVP pattern to develop an android application. I have to implement pagination (i.e. on scrolling to the bottom of the RecyclerView I need to fetch new data). So what is the best ...
-3
votes
0answers
30 views

Native or Cordova to teach beginners in Android development. [on hold]

So I have just been invited to tutor a couple of high school kids for summer camp on Android development, I work with both Native (java) and Cordova (I've been using Cordova more lately). Now being a ...
-5
votes
1answer
62 views

what to ask for from developer while delevering ios and android app? [on hold]

I am outsourcing a productivity app on android and IOS. however, I want to be able to maintain and update the app with an in house team after I receive the final version. what shall I ask from the ...
4
votes
1answer
83 views

If I develop a media player for mobile or desktop do I have to pay for a license if my player is able to read MP3 files?

I know MP3 is not open source format but proprietary and I found this website http://mp3licensing.com/help/developers.html that states that you need a license for basically everything that uses MP3. ...
1
vote
2answers
51 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
14 views

Best way to create integratable module for mobile apps

Let's say I want to build a mobile App which others can include/integrate in their app as a separtate module. The goal is that the customers can add the functinality of my app into theirs. Since the ...
-1
votes
0answers
37 views

Android - Information leakage flaw

I have developed an application in the Cordova Framework, and I have added a camera plugin for capture functionality. I am getting an Information Leakage flaw in the code below, using veracode to scan ...
0
votes
0answers
24 views

The best implementation for fromJson factory method and json-mappings with inheritance?

I have BaseComponent (with field "type") and it's subclasses TextComponent, ListComponent, etc. Some of them has same fields. I want to create them and init their fields from json. Some of possible ...
0
votes
0answers
38 views

How to keep user credentials between app updates in Android app built with Xamarin?

I'm building a cross-platform app using Xamarin. When I release a new version of the app to the Play store and users download the new release, they are no longer logged in. How do I solve this issue ...
-2
votes
0answers
23 views

Open Camera in fix Landscape mode - Android

I am calling camera via intent , my requirement is that camera should open and be fix in landscape mode only i.e camera in default landscape mode. Is it possible via intent camera or i have to write ...
-2
votes
1answer
57 views

compare learning curve for desktop/windows(by c#) vs mobile/android(by java)?

I have some knowledge of C# (60%) and not about java and I want to choose a programming platform between desktop/windows(by c#) vs mobile/android(by java). Which one have more difficult learning curve?...
-1
votes
0answers
21 views

What is the best practice for A/B testing prices for in-app purchpases in Android?

I want to monitize my Android app through in-app purchpases. I however don't know the optimal price that I should charge and want to find out that price with A/B testing. What's the best practice to ...
0
votes
0answers
11 views

RubyMotion deployments

I would like to start an application for iOS and Android and I'm considering the option of using RubyMotion for that. I know that you can write Ruby and then deploy to the desired platform. After ...
0
votes
1answer
75 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
131 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 ...
2
votes
1answer
217 views

Why are there no cross-platform mobile applications?

As a part of my master's thesis, I am carrying a research topic on why there are no cross platform mobile applications. As applications developed in Java can run on any operating system using the JVM,...
0
votes
0answers
42 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 ...
-2
votes
1answer
93 views

Duplicate code to avoid performance decrease due to function calls? [closed]

I have a simple list in Java that I need to search using one of two methods. The first method simply returns the position in the list of the first matching element. The second filters out any elements ...
4
votes
4answers
239 views

JSON API or Plain JSON

There is a debate in my company on whether we should use the JSON API specification or stick to plain JSON for developing APIs that will be consumed by mobile apps, mainly iOS and Android. One ...
1
vote
0answers
40 views

Building back end for iOS/Android app using Django and Heroku

Background: I'm currently building a music streaming app (many requests per second) for a friend and am second-guessing my approach to it. The plan is to have an iOS app and an Android app, though I ...
1
vote
1answer
31 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
44 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
118 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 ...
-1
votes
1answer
107 views

What is the proper or recommended way to save String[]'s, Array's, ArrayList's and int[]'s to Android?

I've looked up this question many many times but keep seeing different answers, what is the BEST way to save array's? It seems ludicrously infantile that there is no standard or easy way to save ...
-2
votes
1answer
48 views

Android Apps: How can I view an apps code/files?

I love taking apart applications, software, and websites to see how developers were able to create a feature or how a game handles AI. Something I'd like to be able to do is view an app's files (...
3
votes
0answers
90 views

Finger Paint path gets huge over time and slows the app

So I am writing a Finger paint app. I have multiple color which user can select. I save the path and paint information inside an array. ArrayList<PaintPath> arrayPaintPath = new ArrayList<...
3
votes
2answers
123 views

Can you charge for apps that use open source software?

I don't know where else to ask this. I have an Android app I want to release on the store, and I want to charge a low fee for it. But if part of my application uses code I did not write (i.e. code I'...
3
votes
1answer
98 views

Getting posts from users that are being followed: two different implementations

I have two different implementations for retrieving posts from the users someone is following and I want to know which one you would recommend using. First I'l show you the tables, and then the two ...
1
vote
1answer
42 views

Am I making use of REST if I have implemented an Android app that connects to a localhost?

Would I be using REST or would my app be considered RESTful if I was using the Google Volley library to connect to a database on localhost?
0
votes
1answer
42 views

Where to put peripheral use cases in android while using clean architecture

I'm trying to work myself into the Clean Architecture by Bob Martin with respect to android applications. It seems to me like there are Use Cases which do not encapsulate the Domain Layer, but belong ...
0
votes
0answers
13 views

How would I go about creating a dequeing system annotation system like Mapkit

I simply can't do anything animation based in Android maps. You can't animate markers as custom views like you can with Mapkit. How would I go about creating an overlay projection that dequeues ...
0
votes
0answers
33 views

interoperability between two independent platforms via HL7 FHIR

Mobile app: (Patient) I've developed an android mobile application which you can register, login, enter your personal information, enter your blood pressure factors, heart rate, and blood sugar. In ...
2
votes
3answers
134 views

What is the least bad way of knowing the type of a key from Json file

in our app we have a Json file that contains several properties used for menu configuration. One of the keys should tell us if a menu item should be displayed. The thing is that the value for this key,...
0
votes
3answers
106 views

Can the Linux kernel be described as a Server?

I am developping an Android application that is using NDK in order to access to data from the Linux kernel. As you may know, this is done using IPC (Inter Process Communication) through Android's ...
-3
votes
2answers
134 views

What is the difference between extending a class and instantiating an object of that class?

I frequently see people extending a class like this for example: public class Bananas extends Fruits { public void eatFruit(){ } } rather than public class Bananas { Fruits ...
7
votes
4answers
358 views

How to save a list of strings which might grow too large but old data is not useful

I am developing an application which sends certain notifications to the user as read from a read-only external service. The user might dismiss notifications, and those should not appear again. I ...
0
votes
0answers
65 views

Displaying DXF file on android

I have been working on solution for displaying autoCAD files on mobile phones. I will be focusing on Android but iOS support, and eventually the web, is planned too. The main format for autoCAD is DWG ...
3
votes
1answer
184 views

In MVP pattern should the View instantiate a Model object based on UI contents, or just pass these contents as parameters to the Presenter?

I'm using MVP pattern in an android app that I'm developing. I have basically 4 elements: The AddUserView where a new user can be added: The AddUserPresenter The UserInfo (the pojo) The ...
-3
votes
1answer
86 views

How to save strings and integers permanently to a users device?

I'm building an app that requires the user to purchase content and sign to a User Agreement Contract. However, I'm not too sure where to start with in-app purchases and saving data types to the users ...
2
votes
2answers
147 views

Design for an Android app (pharmacy duties)

I am creating an android app for pharmacy duties for different cities. My approach: I created an Interface with method getDuties, and for every cities I create a class named with name of the city ...
2
votes
1answer
140 views

How to deprecate an entire mobile application? [closed]

Six months ago I launched a free app that I developed and self-funded. From peak usage of a few thousand users, it has now bottomed out at a few hundred. It was an interesting project, from which I ...
2
votes
1answer
152 views

Understanding MVP pattern usage in Android

In my current android projects I'm using a sqlite db to store my collections of structured data. The database is accessed by a ContentProvider called by a Loader which updates the UI. It looks like ...
1
vote
1answer
127 views

Let Xamarin clients listen when server send an API

My situation I will make a Xamarin application for Android that can access an ASP.NET MVC webserver with API's. The problem is when I'll send an API to the server, all the connected clients must ...
0
votes
1answer
91 views

Android continually checking Internet, Bluetooth and GPS status?

In my app I want the ability to continually check for Internet, Bluetooth and GPS status (if one is off/on). I need each of these to be on at all times for my application to work effectively. For ...
0
votes
0answers
12 views

How to improve navigation on various Animators in an acitivity

I have various Animations going on simultaneously in my Android Activity, in MainActivity (like with Fragment pop-up, my Toolbar and some other views Animate Synchronously). How can I manage all such ...
1
vote
0answers
145 views

Handling multiple rest api versions within Android Java client

Actual architecture I have an app where a model is attached to every activity. The model ask a repository for information that can come from server or local db depending on many factors. When it asks ...
0
votes
1answer
204 views

Can Qt desktop programs be recompiled for Android/iOS as-is?

One of the advantages of open-source programs is that they can be ported easily to any platform simply by recompiling. Qt is also a cross-platform toolkit that can work on several platforms simply by ...
0
votes
0answers
64 views

Libgdx texture and sound disposing

I'm writing a game and in the game, I use an asset manager that is in a singleton class, which holds my textures and sounds. If I create several enemies (lets say 4) which call upon my asset manager, ...
0
votes
0answers
43 views

How to get dual UI for an ionic app?

I would like to get some suggestions for building a new app. This app has two faces/UI to it, buyer/seller. Users would have same account, and it would be seller and buyer. Its something similar to ...
2
votes
1answer
159 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 ...