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.

Operating system for mobile devices. Developed by Google and the Open Handset Alliance.

For non-developer questions, see the Android Enthusiasts Stack Exchange.

584 questions
69
votes
4 answers

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 implementation based on RxAndroid. WHAT I NOTICIED : In…
Rami Jemli
  • 791
  • 1
  • 6
  • 6
49
votes
3 answers

Android development using C and C++

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 does not have all functions as of Java kit. Should…
user4124
47
votes
3 answers

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. Is there any real advantage to using Java instead…
cgt
  • 1,881
  • 3
  • 14
  • 16
46
votes
5 answers

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

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 MonoDroid project. My understanding has always been that…
Dan Tao
  • 1,201
  • 2
  • 10
  • 16
41
votes
7 answers

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

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, wifi off...", depending on the location of the…
Lama
  • 521
  • 4
  • 7
35
votes
4 answers

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 between the entities (in datastores) and the…
35
votes
3 answers

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 view presenter just as Martin Fowler or Michael…
Gangnus
  • 2,805
  • 4
  • 21
  • 31
30
votes
8 answers

Should I spend time preventing piracy of my app?

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 again within minutes after I released it. But I'm…
Mike
  • 446
  • 4
  • 10
29
votes
3 answers

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 bugfixes. Nothing mandatory, the user updates it…
Pierre
  • 393
  • 1
  • 3
  • 4
28
votes
7 answers

What are the best strategies for selling Android apps?

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. I'm sure the brilliant minds here can give me…
Rob S.
  • 2,068
  • 2
  • 18
  • 23
27
votes
2 answers

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, and my first instinct (coming from a .net…
Heinzi
  • 9,646
  • 3
  • 46
  • 59
26
votes
2 answers

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 Entity package, including entity class. Any advice…
Basbous
  • 379
  • 1
  • 3
  • 7
25
votes
1 answer

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 licensed libraries for apps/programs/games that…
24
votes
6 answers

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 downloads the data from the network and stores in the…
Rasmus
  • 823
  • 2
  • 7
  • 15
20
votes
7 answers

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

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 skills ? The problem that I and, i think, many other…
angryITguy
  • 253
  • 2
  • 11
1
2 3
38 39