Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [android]

Android is Google's open source OS and system for smart phones and tablets. Use this tag for software engineering questions about Android; for user questions, visit our sister site Android Enthusiasts Stack Exchange.

46
votes
5answers
17k views

As a C# developer, would you learn Java to develop for Android or use MonoDroid instead? [closed]

I'd consider myself pretty well versed in C#. It's my language of choice at the moment, and it's where basically all my professional experience lies. Still, I'm puzzled by the existence of the ...
46
votes
3answers
179k views

Android development using C and C++ [closed]

I am a C, C++ developer. I am interested in mobile development. I want to know how can I develop Android apps using C and C++, I have read that they are providing a kit for C, C++ developers but it ...
45
votes
3answers
27k views

Why was Java chosen for Android?

Why was Java chosen for Android, instead of something like C++? I have heard that Java uses quite a lot of memory and I would presume that low memory usage would be quite important on mobile devices. ...
41
votes
7answers
5k views

I want to publish an android app, but I'm afraid of software patents [closed]

I wrote an application that helps you to save energy. Actually it is very simple. I check the current location of the phone and I make some changes to the configuration like "sound off, dark display, ...
34
votes
3answers
20k views

Is Model-View-Presenter (MVP) scheme useful for Android?

How to separate View and Presenter in Android, while the reactions on the user actions (Presenter part of MVP) are set into the same activities that shows GUI elements (View part of MVP). "In model ...
33
votes
3answers
30k views

Uncle Bob's clean architecture - An entity/model class for each layer?

BACKGROUND : I'm trying to use Uncle Bob's clean architecture in my android app. I studied many open source projects that are trying to show the right way to do it, and I found an interesting ...
31
votes
8answers
8k 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 ...
27
votes
2answers
14k 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, ...
27
votes
7answers
11k views

What are the best strategies for selling Android apps? [closed]

I'm a young developer hoping to sell my apps I made for Android soon. My applications are basically 99% finished so I'm investigating what would be the best marketing strategy to use to sell my apps. ...
26
votes
2answers
22k views

What is the best way to structure an Android application?

I am starting a new Android application. What is the best structure to use? I am planning to make it a multi-package design as follows: Main package, including the Activity Service and data layer ...
25
votes
3answers
40k views

Force users to update to the latest version of my app on the Google Play Store

Is there a way to have a "critical update" for my app on the Google Play Store that would require the user to update the app to keep using it? For instance, let say I push an update that brings a few ...
25
votes
1answer
16k views

What to keep in mind when releasing an app which uses libraries licensed under the Apache 2.0 License?

I'm creating an Android app which is soon ready for release. I'm just going to implement a tab system using this library. I read that it is licensed under the Apache 2.0 License. I've never used any ...
23
votes
6answers
19k views

Design 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 ...
21
votes
7answers
4k views

what should a developer know/address to build commercial Android Apps? [closed]

Android and mobile development is an exciting area of development. As it is a new discipline, what would be expected of an android developer to build commercially robust applications in terms of ...
20
votes
8answers
2k views

“Public APIs are forever: Only one chance to get it right”?

In an OS book I just read that, "Public APIs are forever: Only one chance to get it right". Is it true? Is it applicable only in APIs of Operating Systems or other APIs too? For example, will this be ...
17
votes
3answers
28k views

Why to use web services instead of direct access to a relational database for an android app?

I searched on the web how to access in an efficient manner to a central database at a remote location and I met suggestions to use web services instead direct access (i.e. JDBC etc ) to a database.I ...
17
votes
9answers
15k views

How is Sencha Touch performing on Android in practice? [closed]

I'm just about to start a project using Sencha Touch, and just done some minor testing on my HTC desire device. All tutorial videos at Vimeo seems to be using an iPhone emulator running on a Mac. Im ...
16
votes
5answers
5k views

Functional Languages that compile to Android's Dalvik VM? [closed]

I have a software problem that fits the functional approach to programming, but the target market will be on the Android OS. I ask because there are functional languages that compile to Java's VM, ...
15
votes
6answers
41k views

Jump into Android or learn Java basics first? [closed]

I am quite proficient in C and know some C++, but never touched Java. Recently I got an idea for an app which I think has potential, and I want to develop it. I am planning to go Android first, ...
15
votes
2answers
4k views

I'm porting my app from iOS to Android: what do I need to know? [closed]

What pitfalls should I avoid? What Java language paradigms do Objective-C developers consistently misunderstand? I learned to program in Java, but I have worked in nothing but Objective-C for years ...
15
votes
5answers
9k views

Proper workaround for multiple inheritence in Java (Android)

I have a conceptual problem with a proper implementation of code which seems require multiple inheritance, that would not be a problem in many OO languages, but as the project is for Android, there ...
15
votes
4answers
9k views

Do Android developers have to pay sales taxes? [closed]

According to blog post by RetroDreamer Android developers have to pay sales taxes for their App sales in countries with have sales taxes while Apple developers don't as Apple pays the taxes directly. ...
14
votes
3answers
13k views

Why use Android Fragments?

I have read the documentation and some other questions' threads about this topic and I don't really feel convinced; I don't see clearly the limits of use of this technique. Fragments are now seen as ...
13
votes
5answers
24k views

Is Android a language or a framework/platform?

I know that Android uses the Java language with a limited Java SDK and that Google claims it isn't Java. But is it right to say that Android is a Programming language? Or is it more right to say that ...
13
votes
3answers
6k views

How can I find contract Android work?

Two years ago, following 15+ years in Win32 and SymbianOS, I decided to intensively focus on Android. I took the best part of 2009 off work to learn the new platform thoroughly, and that seems to have ...
13
votes
2answers
2k views

What is the ideal learning path to building Android apps with Scala, without prior Java experience

Unfortunately, there are not currently any books on the subject of 'Learn Android Development with Scala', which would be the ideal solution. I'm guessing that I'll need to pick up at least 3 books ...
12
votes
3answers
4k 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 ...
11
votes
5answers
923 views

Is it necessary to have an Android device to learn programming for the Android?

Is it compulsory to have an Android device to learn programming for Android ? Currently, Java is my primary programming language.
11
votes
7answers
11k 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 ...
11
votes
3answers
1k views

Why don't mobile platforms support generational garbage collection?

Both Windows Phone/Xbox and Android lack support for generational garbage collection. This is frustrating for a lot of programmers. There seems to be a legitimate engineering reason to it, but I can't ...
11
votes
2answers
5k views

How to publish paid Android apps if you're not from US/UK

I was pretty excited while creating one of my apps but as it turns out you can't actually sign up for Google Checkout if you don't live either in the USA or in the UK. And since Google Checkout is the ...
11
votes
2answers
1k views

Developing Android apps for someone else

We have developed several apps and published them on Android Market. We are now writing an app that another company will brand and sell through their own publisher account. The other company has no ...
11
votes
1answer
462 views

Besides the IDE, libraries, and language, what are the main differences between iOS and Android development? [closed]

I'm coming from the iOS side. I'm particularly interested in knowing if there are similar hurdles on the Android side on these points: developer fee -- do you have to pay $99 a year to build for ...
10
votes
3answers
3k views

Any hard evidence on how much smart phone app developers have actually earned? [closed]

I am considering making a smart phone app. Before I start, I want to see whether it is worthwhile at all. Unfortunatelly, I find it very hard to find any hard evidence on how much the developers of ...
10
votes
1answer
11k views

What are the differences between AppMobi and PhoneGap?

I am new to the cross platform application development. I came across the very similar cross platform frameworks AppMobi and PhoneGap. I want to know Is there any differences between apk/ipa created ...
10
votes
5answers
16k views

How should I choose the right Android phone for testing my app?

I am looking to buy an Android phone to test my first Android app on. What things should I pay attention to to make sure I pick the most suitable device?
10
votes
3answers
1k views

Why was Android's ContentProvider created?

The title sums up my question, but to elaborate basically what I want to understand is why the Android designers want apps that need to work with shared data to use a Content Provider rather than just ...
10
votes
2answers
9k views

What is the proper way to implement the OnClickListener interface for many buttons

My Android Activity contains multiple buttons that all need an OnClickListener. I've seen lots of different ways of doing this such as:: Implementing the interface in activity class Creating a ...
10
votes
1answer
1k views

Why doesn't CharSequence define contains(CharSequence)?

This applies to to both Java SE & Android, as the contracts are identical. CharSequence documentation for Java SE CharSequence documentation for Android CharSequence does not define a contains(...
10
votes
1answer
2k 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 ...
9
votes
6answers
5k views

How to develop line-of-business tablet apps as a .NET developer? [closed]

My company has a lot of experience in .NET development, and one of our products in an ERP system. Recently, a customer asked us if we could provide a tablet interface to that system, i.e., a software ...
9
votes
4answers
2k views

Use my own GPL licensed code in a commercial product

I am developing a software project in Java/Swing licensed under GPL v3. Later, I want to create a Android application which uses the algorithms of the Java/Swing application. This Android app will be ...
9
votes
3answers
6k views

Continuous integration (with iOS and Android projects) [closed]

I'm trying to make some positive changes in my company and one of the changes is implementing continuous integration. We do mobile development (iOS/Android) so I need a CI that supports both types of ...
9
votes
2answers
1k views

Developing professionally for iOS, Android and web - an insight

This is not really a question on how to develop all three, I know various cross platform ways and so on. But I more want to know from developer standpoint how hard it is to basically develop iOS, ...
8
votes
4answers
11k views

What's meant by, “TODO Auto-generated method stub”? [closed]

I am using eclipse for android programming, and every here and there i see the statement, "TODO Auto-generated method stub." I understand that these methods were generated automatically by eclipse ...
8
votes
3answers
635 views

When learning Android, should I focus on the latest and greatest?

I'm a Java developer and I'm going to start working with Android to get familiar with mobile apps. I've worked with Ajax toolkits, but haven't done any mobile development. I've seen a huge change ...
8
votes
2answers
3k views

Clean Architecture - Too many Use Case Classes

I'm going into Clean Architecture and lift my Android level from MVC to MVP, introducing DI with Dagger 2, Reactivity with RxJava 2, and of course Java 8. In MVP clean architecture there is a layer ...
8
votes
5answers
3k views

How to keep Free/Paid version of the app separate in subversion

I have a paid application on the android marketplace, however, I want to release a free ad-supported version. The easiest way I thought to do this was to set up a branch on my subversion repository ...
8
votes
4answers
5k views

Is it important to know C/C++ for Android development?

Is it possible to use only Java (without C++ /NDK) for building good, fast, beautiful Android apps (including 3D development)? When I look for Android developer position requirements (vacancies), I ...
8
votes
2answers
494 views

Developing android on android

Is there currently a way of developing android apps on an android phone? In other words, write, compile, install and run regular android java on the phone without using a pc? If not, what would make ...