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
2answers
29 views

Best Way To Store Images For Mobile Synchronization

The scenario is, I have a Web Dashboard (Developed using PHP + MySQL) and have Android and iOS Apps synchronizing data from the Web Dashboard (only one way i.e. Dashboard to Mobile Apps) Now the ...
-1
votes
0answers
18 views

Multi layer parallax live wallpaper

I'm just starting android programming, and I'm trying to make a live wallpaper with multiple images and a parallax effect. I load the bitmaps at startup. This is my code for offset changed: ...
-2
votes
0answers
22 views

Specific knowlege and skills for making android apps [on hold]

I know this question has probably been posted already but i couldn't find a sufficient answer. I'm interested in learning how to make android apps, i already know how to code in java and i know oop. ...
1
vote
1answer
54 views

Why is Android Runtime's AOT compilation more performant than Dalvik's JIT? [on hold]

With Android 5.0, Google has introduced the Android Runtime, or ART. ART "brings improvements in performance, garbage collection, applications debugging and profiling." However, it also replaces ...
-4
votes
0answers
19 views

Design Patterns in Android [on hold]

recently I have started coding in Android, I want to implement some design pattern in my practice project, cud u please provide some sample code in which any design pattern has been implemented.
-4
votes
0answers
17 views

IllegalStateException on mediarecorder.prepare - Android videostreaming over socket [on hold]

I am trying to stream video over socket. Here is the code snippet - serverSocket = new ServerSocket(serverPort); receiverSocket = new Socket(); receiverSocket.connect(new ...
2
votes
1answer
376 views

Capturing mobile device system (output) audio

I'm trying to figure out a way to capture the system audio of an Android and/or Windows Phone. The idea is to provide a stream based on the music I'm currently playing on my phone. What I'm not sure ...
-2
votes
0answers
36 views

Is the basic tutorial offered by android developement community of any real use_ [on hold]

As a total newbie to Android programming, I find this official Android community tutorial the worst I've ever seen as today, considering the size and the importance of the platform they offer and ...
-2
votes
0answers
25 views

How to handle the file more than 2G bytes when convert h264 raw stream to mp4 with MP4V2 lib on android platform? [on hold]

I convert a h.264 raw stream file more than 2G bytes(>0x80000000) to mp4 file, with mp4v2 lib , but it can not be played. But if I read the raw file less than 2G (<0x80000000) then convert to mp4v2 ...
-3
votes
0answers
30 views

onActivityResult() Android [closed]

I'm trying to get a basic Android application to start a new Activity on a button click, prompt the user to enter his/her name, and send the name back to the home screen. Currently, my enterName() ...
0
votes
0answers
19 views

What should a UI spec for mobile look like? [closed]

In my experience, I have yet to see a UI spec for mobile development which addresses all the common needs of the developer and supporting design team. This results in assets being improperly sized and ...
0
votes
1answer
53 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
324 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 ...
5
votes
2answers
920 views

Should I use mMember and sStatic naming convention in Android?

Android source code and many Android open-source apps and libs use m prefix for member fields and s prefix for static member fields: private static boolean sStarted; private long mTimestamp; I ...
0
votes
1answer
74 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 ...
-1
votes
2answers
894 views

Syncing chat on android device with web application

I am trying to make a chat application in android. Just a one on one chat. However I also want the chat to be synced with the web app that runs on the browser. I am confused about how to go about it. ...
0
votes
0answers
46 views

Multiple 1024x1024 texture pages or one 2048x2048 texture page?

I have a lot of textures around the size of 512x512, and the LibGDX texture packer can't find a way to put more than one of those on one page for some reason. So, I end up with fifteen or sixteen ...
3
votes
1answer
84 views

Should I rename package after Android app name change?

I have an Android app. I have changed the app's name from appname1 to appname2. I would like to know if I should also change my package name from com.myname.appname1 to com.myname.appname2 to reflect ...
0
votes
0answers
28 views

URI naming scheme for assets shared between Android app users

A feature of my Android application is to allow users to choose graphical assets from a gallery view. Each asset is physically defined by an individual JSON file on the file system. The application ...
0
votes
0answers
36 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 ...
0
votes
0answers
14 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 ...
0
votes
0answers
39 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, ...
1
vote
0answers
36 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 ...
8
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 ...
0
votes
3answers
140 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
75 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
93 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 ...
7
votes
1answer
586 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
149 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 ...
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
79 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
246 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
133 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
113 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
40 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
255 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
380 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
192 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
85 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
936 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
630 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
217 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
128 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
151 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 ...