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
12 views

Using a code library for Android with Apache 2.0 license

If: I want to create an app (e.g. for a business who wants all its employees to download the app from Google Play freely) I do not have an "about" button in the app. The app is closed source. How ...
-4
votes
0answers
21 views

Cross platform application framework [on hold]

I am planning to develop a cross platform application that will run on all operating systems mainly windows desktop, Mac desktop, android and Apple mobile devices. What are the cross platform ...
0
votes
0answers
5 views

android: Replacing service with mockup in certain build config

So I'm using Android Studio, and I have an interface, Potato, and PotatoImpl that talks to a remote server. For development I want to use PotatoMockup, but i don't want the choice between the real ...
-4
votes
1answer
52 views

Read key pressed by dialer on receivers phone <Android> [on hold]

Read this before downvote : I have tried a lot of search queries but could not pin point anything related. That is why, I have not posted any research. I am looking for some guidance here so I can ...
-2
votes
0answers
31 views

Reducing the text database for using in android apps [on hold]

I have a text (UTF8) data that should be used in android (ebook like) app. How I should convert this text data (>20MB) to some other type of data that have minimum size on memory and can be used in ...
0
votes
0answers
30 views

What could possibly be a Mysql database structure for an web app say like Flurry?

Simply say, I'm working on a web App say like Flurry (http://www.flurry.com/), that would communicate with a Smartphone App trough API. Right now I'm designing the database structure, and I guess ...
4
votes
1answer
4k views

Using DBUS on Android

I would like to know if it is possible to use DBUS on Android using Java. From what I have been searching till now it appears like there isn't any DBUS programming support on Android. However, ...
-4
votes
0answers
37 views

Advice about specialized skill of a developer in creating a YouTube,Vine like app [closed]

As new to android development, i have zero clue on creating an app from developers. I need advice in developing a YouTube, Vine like app from Freelancers. First of all, what all kind of specialized ...
0
votes
1answer
43 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 ...
1
vote
0answers
28 views

Individual methods or parameters for Google Analytics abstraction on Android

A coworker and I are having a discussion around the best way to build our abstraction on top of Google Analytics for an Android application. A couple of data points. We have auto-tracking enabled ...
-3
votes
0answers
34 views

Unity: CommandInvokationFailure: Failed to re-package resources [closed]

Everytime I try to build my Unity Android game I get this error, I have asked it many times before but it has not been fixed. The issue occured after I installed Google play services I think, I ...
7
votes
1answer
1k views

Useful design patterns for working with FragmentManager on Android

When working with fragments, I have been using a class composed of static methods that define actions on fragments. For any given project, I might have a class called FragmentActions, which contains ...
-3
votes
1answer
48 views

How to start developing android app? [closed]

I want to start developing an android app. From where should I start? I have knowledge of Rest based web-service and I want to integrate it with my android app. I have a very clear picture of what I ...
0
votes
1answer
56 views

Data Sync between Android apps in LAN

I am looking at developing an app which has quite an extensive database. This app will be installed on multiple devices in a LAN and all users can update the data and other users will see the data as ...
0
votes
3answers
127 views

Should I be extracting strings from source in core java the way android does?

I just started doing android development stuff after getting pretty comfortable with Java. Android apps tend to do this weird thing where they have all strings for their program held in an XML file ...
-4
votes
2answers
51 views

Converting Web Apps to Smartphone Apps [closed]

Suppose I have an open source web app like this one (it's an IRC web chat client written entirely in javascript). Would it generally be an easy process to convert this into an iOS/android app without ...
26
votes
8answers
4k views

Should I spend time preventing piracy of my app? [duplicate]

The title says it all, the more I do research about piracy and the tools used to crack an app the more I think it is just wasted time. My biggest threat is that my app is being cracked and uploaded ...
1
vote
2answers
83 views

JUnit3 and JUnit4 in the same project (but different module)? [closed]

I have an Android project with a Gradle build. We've decided to commit to writing a vanilla Java implementation of our business logic (since we took care to keep that divorced form the Android ...
0
votes
1answer
203 views

String[] args vs (String . . . args)

When programming for android, whenever I use an AsyncTask the doInBackground method looks like this. protected String doInBackground(String... args) But when using the arguments anywhere in that ...
7
votes
1answer
542 views

Why does the new ADT create a static inner class Fragment by default?

Honestly, I can't help but feel that this is done merely to confuse newcomers. Most of the errors on Stack Overflow by complete Android newbies mostly stem from that they have a static inner class ...
1
vote
3answers
118 views

How to check in website/url have been updated or not?

I am trying to make a Android application which will take your URL and if there is new update on that website then it will show the user that this link have been updated. I am working on the project ...
0
votes
0answers
67 views

Library in open source app [on hold]

I am about to release free open source app on Google Play, which uses some classes from danielnadeau's HoloGraphLibrary (bitbucket.org/danielnadeau/holographlibrary/wiki/Home). Library is under Apache ...
8
votes
1answer
6k views

What have my fellow Delphi programmers done to make Eclipse/Java more like Delphi?

I am a veteran Delphi programmer working on my first real Android app. I am using Eclipse and Java as my development environment. The thing I miss the most of course is Delphi's VCL components and ...
2
votes
1answer
1k views

Android Application(Client) and Server(C#.Net) Communication

I am confused which approach to choose - Poll (which waste battery), GCM or any other approach which suits best? Scenario is: my client is Android and server is C#.Net. Server sends Invitation to ...
1
vote
1answer
72 views

More than 20 Records Inserted in a Span of 1 Sec

Well, this is not specific to any programming languages. I came across this situation in Android, iOS, PHP and .NET. The problem is many times I come across a situation while building IoT apps, where ...
1
vote
2answers
229 views

Should CountDownLatch be used for waiting for an event?

I have a situation here, where I have a loop that loops x amount of times. The value x is determined by the user. Everytime it loops, I want it to wait for a button click before continuing the loop. ...
1
vote
2answers
116 views

Running an HTML/JS/CSS only app on Android without external Phonegap/Cordova etc

Is it possible to run a small and simple game on android using only CSS/JS/HTML? E.g I have built a small game using the all too known 3 folder stucture and I was wondering if there is any easy way ...
0
votes
1answer
80 views

offline application development for mobile devices

I am looking to develop an application whereby field staff can complete forms in an offline capacity (when onsite I`m assuming no internet connection) on an Apple or Android device and post the ...
1
vote
0answers
36 views

Use Android App Icons for Sharing

I got a question about licensing of android app icons. At the moment I am developing an app and I implemented a share function. The user can select a prefered app to share a text message in a popup ...
1
vote
2answers
160 views

Why doesn't Android use shared libraries?

In Android if you use a library in your app (such as the Support Library) the code for the library is duplicated on the device for each app that uses it. Why can't android use the linux "shared ...
3
votes
1answer
1k views

Iphone/Android app – chatroom development – what framework & hosting needs? [closed]

I have some experience regarding IPhone and Android development but I am now struggling to solve a new class of problem: apps that involve a client/server chatroom feature. That is, an app when people ...
3
votes
2answers
378 views

Dalvik + Java licensing question

This is a licensing question about the Dalvik and J2SE core libraries. In particular the license governing java.util.concurrent.SynchronousQueue. The license header of the class in the JDK source ...
2
votes
1answer
265 views

Unit test storage on Android apps

I've been experimenting recently with Android applications. I've developed the convention (which I've seen used elsewhere) of placing my unit tests in a parallel source folder within an Eclipse ...
0
votes
1answer
111 views

Same android app connecting to multiple database -concept

I am looking for best method to create application which are connected to different databases based on client So basically it is a multi tenancy model for an android app (enterprise use) Deploy the ...
0
votes
0answers
56 views

Syncing structured data and files in Android App with an ORM?

I am developing an Android App which I have developed for iOS before. The app requires that structured data and files are synced across android devices. In iOS, I was using Core Data and synced to ...
7
votes
3answers
921 views

How do people deal with Android fragmentation?

I've spent the past few years working on iOS apps, and I'm now giving some serious consideration to creating an Android port of one of my apps. I'm sure that complaints about fragmentation are a ...
1
vote
1answer
559 views

Guidance on android type app to connect to sql-server

Excuse my ignorance but we've got an application that we'd like to sample out on a mobile app The app is a C#/asp.net application connected to our sql server database. If we are going to write an ...
0
votes
1answer
122 views

Could we drop support for Android native browser on our web site? [closed]

I work with an interactive web portal that has a few single-page apps and complex html structure. The aim is to support all browsers that our customers use. We have implemented responsive web design ...
10
votes
3answers
3k views

Android, OpenGL and extending GLSurfaceView?

This question is part-technical, part-meta, part-subjective and very specific: I'm an indie game dev working on android, and for the past 6 months I've struggled and finally succeeded in making my ...
-4
votes
1answer
120 views

Is it bad to feel guilty using lots of libraries? [duplicate]

So I'm an android programmer,have been programming for about 3 years,but it wasn't until 5 months ago that I started really taking it seriously. Recently I got my first internship,and I'm happy with ...
0
votes
2answers
121 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 ...
0
votes
1answer
138 views

How can one presenter be used for multiple views in MVP

I am using MVP for creating an android application, which takes data from server and sets to activity. I am forced to create one presenter for each view. Each view is unique because each view has ...
0
votes
0answers
37 views

Java API initialization step

I am developing an Android Library which involves both Network and Bluetooth communication. In order to start using the library it must be configured. In other words a request to the backend must be ...
0
votes
1answer
148 views

Android, using a Fragment to hold/edit complex object, accesible from any Activity

I'll do my best to describe the problem, but I'm still very new to several concepts that I think this problem requires to be solved (namely interfaces and threads). I should preface this by saying ...
4
votes
2answers
172 views

Does having many duplicated methods and deep inheritance hierarchies in GUI APIs (Java Swing, Android SDK) violate the SOLID design principles?

For those unfamiliar with the SOLID principles you can start reading here: Wikipedia article. However, most of my understanding comes from: http://www.objectmentor.com/resources/publishedArticles.html ...
1
vote
4answers
263 views

How to ensure multiple clients don't poll the server at the same time?

I am making an android app which will talk to a web service to get data. The web service has a rate limit of 100 calls per minute. Is there a way, recommended method to ensure that the app across ...
0
votes
1answer
79 views

Android: Is root absolutely required to re-link libs in Play Store APKs?

This question pertains to the re-link clause of the LGPL specifically on the Play Store. There's lots of unclear information about this topic. Assuming there's an application on the Play Store that ...
0
votes
1answer
107 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 ...
0
votes
0answers
44 views

Is this synchronization required in service onCreate method?

Below is a sample code i captured from android doc Per service instance onCreate will be called only once. Ref: here and here The synchronization and singleton doesn't make any sense to me in this ...
0
votes
2answers
1k views

How to connect Android App to MongoDB deployed on Google Cloud

Currently I am working on a simple app which will be able to connect to MongoDB which is deployed in Google Cloud. I have set it up MongoDB ocaly on my computer and I have made a little JAVA console ...