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

0
votes
0answers
42 views

How does the android JNI work [closed]

I am currently trying to create an iPhone/android app I have chosen to write the model of my program in C++ since it is supported by both platforms. I have been able to compile my C++ source into the ...
0
votes
0answers
23 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
0answers
107 views

Can I use Git from the command line to manage an Android Project? [migrated]

I know that Eclipse has built in Git integration, but I'm so used to quick, simple Git commands from the command line. Does Eclipse manage a git repository any differently than is done through the ...
0
votes
0answers
4 views

Android Library (CardsLib) - No resource identifier for attribute 'list_card_layout_resourceID' [migrated]

In my search for an easy way to display a Card UI in android I found "CardsLib". I have several days trying to test the demo they offer on github but I can not run it. This is the error I have: ...
-1
votes
0answers
24 views

Android GPS updates and power management

Since API9, the Android LocationManager have two type of functions to request a GPS update, requestLocationUpdates() and requestSingleUpdate(). In the case of my application, I do not need to play ...
-1
votes
1answer
151 views

Android Studio - ready for production? [closed]

I've just started programming for android devices. I'm using Eclipse at the moment. But i heared of Android Studio (based on IntelliJ?). Is the preview of Android Studio ready for production-use ...
0
votes
0answers
84 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
24 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 ...
8
votes
2answers
213 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 ...
0
votes
2answers
511 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 ...
2
votes
0answers
126 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 ...
0
votes
0answers
87 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 ...
1
vote
1answer
662 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 ...
0
votes
1answer
196 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
0answers
72 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 ...
6
votes
4answers
2k 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 ...
-1
votes
1answer
656 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 ...
0
votes
0answers
48 views

How to implement gestures to a toolbar made from custom view in Android or is it recommended approach?

I would like to develop a re-usable component of horizontal Slidable tool bar. I would like to try to develop a custom view instead of ActionBar. My Custom-View extends VieGroup contains and custom ...
3
votes
2answers
978 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 ...
2
votes
1answer
489 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 ...
3
votes
1answer
697 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 ...
0
votes
2answers
283 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 ...
3
votes
2answers
1k 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 ...
1
vote
1answer
898 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
288 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 ...
0
votes
0answers
2k 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 ...
6
votes
2answers
755 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
872 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
2answers
369 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
2answers
987 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 ...
14
votes
2answers
6k 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
529 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 ...
5
votes
7answers
6k views

Do I need an IDE to develop Android apps?

After reading some articles on Google, I decided to start working on Android apps since it's an open source platform from Google. So I wanted to create some apps.I have Android 2.2 Os So I just ...
5
votes
5answers
29k 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 ...