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.

learn more… | top users | synonyms

18
votes
2answers
7k views

Does it make sense to use ORM in Android development?

Does it make sense to use an ORM in Android development or is the framework optimized for a tighter coupling between the UI and the DB layer? Background: I've just started with Android development, ...
8
votes
4answers
545 views

Is there a sequence to read through the Android developer site for a user new to Android?

To summarize: I can buy a book, people say "Just read the developer site", I like to be spoon-fed the early learning piece for a technology, what path through the developer site will give me that ...
8
votes
2answers
250 views

Strategies to troubleshoot an error that only happens on a specific device

As an Android developer, the target market I create apps for is very fragmented. While I can specify certain requirements - e.g. my app only supports Android version x.x or above, sometimes errors may ...
7
votes
4answers
4k views

Design pattern for syncing data in android

I have been seeing two implementations for syncing data between the server and the client on majority of the apps. This assumes no GCM is set up:- Running an intent service periodically which ...
7
votes
3answers
912 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 ...
5
votes
1answer
465 views
+50

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 ...
4
votes
5answers
37k views

What skills does it take to develop an Android app? [closed]

What knowledge does it take to develop an Android app? How easy is it to publish one in the app market? I was thinking of trying one once I have a more firm grasp on Java. What skills should I ...
4
votes
2answers
2k views

Benefits to using fragments in Android projects

I am learning Android programming and right now and i'm reading about fragments. I understand what fragments are, but either the tutorial is missing some steps or i'm missing something. So my question ...
4
votes
1answer
103 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 ...
3
votes
2answers
2k views

What to do when request is sent to server and while waiting for response internet connectivity lost?

I am sending a huge amount of data to server. Now while I have sent the data and waiting for server response, suddenly my android device gets internet connection lost. So what I used to do is, showing ...
3
votes
1answer
1k views

Why does Android's Bundle API accept ArrayLists rather than Lists

I'm new to Android and while going through a tutorial on saving Activity state to a Bundle, I noticed that instead of accepting the more generic List interface, Bundle's put methods are expecting ...
2
votes
2answers
1k views

Is it required to start a business to sell Android Apps (US)?

I know you can sell apps using your own personal tax information, but what if there are several people working on the app? Our plan is to just have one of us register for the Google Merchant account ...
2
votes
2answers
373 views

Android: Not able to experiment on own? [closed]

I have just started learning Android App Development a few days ago, with prior knowledge of C/C++, HTML and CSS. This is the situation I am facing Repeatedly: I am learning from a Video Tutorial ...
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 ...
2
votes
1answer
520 views

Can you help me understand this design pattern made by Java expert?

I inherited the project from a very experienced Java developer. The project is Android app and the guy who coded is is very experienced in coding regular Java apps. He introduced some file structures ...
2
votes
0answers
188 views

Are Calls to a WCF Service via JSONP Secure?

I am looking at developing a complete HTML5/JS mobile app that can be deployed to Android, iOS and Windows platforms. I am using DevExtreme tools to help me do that. I already have a WCF service that ...
1
vote
1answer
1k views

setSoftInputMode versus InputMethodManager

I have seen and used both of the methods to hide the on screen keyboard while coding Android: getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN); and: ...
1
vote
1answer
212 views

OnClickListener good practice

Which one of the ways has better performance, or is a good programming practice, making the holder activity extend OnClickListener and make a Switch() clause for getItemId() or making one ...
1
vote
1answer
2k views

how much memory should android app use [closed]

We are planning to develop an android application. the application will use API and data transfer will be via SSL. I should write documentation and set functional and system requirements for the ...
1
vote
1answer
321 views

Android design advice - services & broadcast receivers

I'm in the process of learning the Android SDK and creating some projects to get a grasp on the system. The current project I'm working with works just fine but I'd like to get some advice about ...
1
vote
0answers
40 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 ...
1
vote
0answers
71 views

How to limit users of a service to a specific program

I have built an android game - I would like to add a "high score" leaderboard to it, such that people can show off how high they managed to score. How should I design it so that people can't "hack" it ...
1
vote
0answers
34 views

Android network Lib development

I have to develop an Android library that should frequently communicate with a server in the background. Access to the lib Object should be guaranteed everywhere in the Apps that will use it, so I ...
0
votes
1answer
134 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. ...
0
votes
1answer
410 views

Proxy to redirect DNS during development [closed]

I am using Genymotion to test an app. The app is basically a browser that connects to my website. I do not have the app's source. I do the development and testing of the website in a domain like this: ...
0
votes
1answer
73 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
2answers
156 views

Development on Android without using Java

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 ...
0
votes
2answers
89 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
2answers
325 views

Starting android Development [closed]

I am considering learning android development. I have some basic knowledge in C++. I downloaded the ADT plugin and eclipse. Now while starting from http://developers.android.com I see the codes were ...
0
votes
2answers
960 views

What could be used to get data from server to android as fast as it reaches server?

What is the best way to get data from server as fast as it gets to it? (Like instant message, or simple broadcast for example). I first thought about using miniature web server in android and get ...
0
votes
0answers
26 views

excute Vs excuteOnExecutor

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? ...
0
votes
0answers
53 views

Library in open source app

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 ...
0
votes
0answers
25 views

Uploading video to Google Drive programmatically (Android API) [migrated]

I have followed the Drive API guide (https://developer.android.com/google/play-services/drive.html) and my app now uploads photos smoothly, but I am now trying to upload videos (mp4) without success. ...
0
votes
1answer
25 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
0answers
114 views

What are the implications of the cache when using notifyDataSetChanged?

I use Volley to return JSON from an API. I parse this JSON and add StoreItem objects to a List, then use an adapter to display in a listview. I use the cache functionality in Volley, and I'm ...
0
votes
1answer
199 views

2D Game Data Structure in OpenGL ES 2.0

I'm trying to come up with some data structures for rendering my map on OpenGL. It is going to be ~ 100x100 blocks(squares) total, with each block being around 100 pixels. However, the screen will ...
0
votes
0answers
58 views

Publish an app on Google Play from Iran [duplicate]

I'm a high school student and I'm really into computers and programming, I mostly program in java and 3 months ago I started developing for Android. It was pretty easy and straight forward aside from ...
0
votes
0answers
35 views

Is there a good idiom for handling an in-line startActivityForResult

I have a bunch of Java code that looks something like this. //Global boolean something_result; Monitor something_monitor; // Some class on worker thread Intent intent = new ...
0
votes
0answers
137 views

what should I save in local android DB to be more efficient and to last more than one session (and shouldn't be stored in the server only)?

I write an android app. The user sends the server its location and get places relevant to him. He then can up-vote or down-vote any offer. I wonder if I should write to local DB and when? I ...
0
votes
0answers
102 views

How do International Call Rerouting Apps work?

Since DTMF seems impossible on Android devices, I really wonder how it is possible to setup a direct dail service like Jinggling (http://www.jinggling.com/how_it_works.html). I realize one registers ...
0
votes
0answers
3k views

Can I set the IMEI of a blustacks virtual device?

Using an app "Get My IMEI" I was able to retrieve an invalid IMEI for my bluestack emulator however I can't see how I can change it. The guys at XDA developers forum are talking about it, but it's an ...
-1
votes
1answer
1k views

Packaging PHP/Python files inside android .apk files?

I am developing an android app using HTML5. I want to make it work completely offline. I know that it is possible to package the .html, .css and .js files inside the .apk file itself in the ...
-2
votes
0answers
62 views

Best android strategy to store online/offline data [closed]

I am trying to develop an android application and am facing a problem concerning network access. It's clear that I have to manage data a bit differently than how I would for a website. EXPLANATION ...