Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 123788

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.

7 votes

JSON API or Plain JSON

I'm not interested in JSON, I'm interested in the objects that are created from JSON. Like in your example, turning plain JSON into objects is easy. How difficult is it for new developers? Mostly they …
gnasher729's user avatar
  • 47.5k
6 votes

Can you modify the front-end source code of a mobile app?

modifying an iPhone app, by just using Xcode to write a Mac app that connects to your server, pretends that it is a client app, and asks your server to do things that it shouldn't do. iOS security or Android … On your server, don't even try to detect that your front-end is your genuine, unmodified iOS or Android app. …
gnasher729's user avatar
  • 47.5k
4 votes

Switch case for one condition

There are situations where today I have one case, but I know I'm going to add more cases tomorrow. There are situations where many functions follow the same pattern, some ending with a dozen cases, …
gnasher729's user avatar
  • 47.5k
4 votes

Is it ethical for an android application to check if its rival application is also installed...

It seems that the security of the operating system is broken. An app should not be able to find out what other applications are running on your device.
gnasher729's user avatar
  • 47.5k
4 votes

Why local database should be the only source of truth for mobile application?

You need a single source of truth. Having a single source of truth that is always available is very handy. It really makes life easier if you use an always available database as single source of tru …
gnasher729's user avatar
  • 47.5k
3 votes

How useful is JNI in android?

Assume it is not just an Android application. Assume your company needs applications for Android, iOS, Windows, MacOS and Linux. And there is shared functionality. …
gnasher729's user avatar
  • 47.5k
2 votes
Accepted

Best practice for feature flagging in mobile apps while avoiding incomplete functionality?

The old client version can’t handle weather data. Therefore it mustn’t even try, whatever the server says. So If you want most of the code present but not operational, your client itself must contain …
gnasher729's user avatar
  • 47.5k
2 votes

How do I prove an app is mine?

You either are the owner, or you’re not. It only matters if someone else claims to be the owner and complains. Like if I complained to Apple or Google that the app is really mine, then I and you would …
gnasher729's user avatar
  • 47.5k
1 vote

How Should I Design JSON Serializable Data Classes To Respect Future @NonNull Fields

You are looking at the technological solution, but really you need to look at the data. If you expect a field ABC with a string value, then in your JSON data you can have: Nothing (the field isn't t …
gnasher729's user avatar
  • 47.5k
1 vote

Should I provide as less optional size app icons as possible?

Only talking about iOS (but I suppose it's similar for Android): There is a huge number of icon sizes. …
gnasher729's user avatar
  • 47.5k
1 vote

How to approach creating musical instrument sounds?

Well, my rather old piano has high quality recordings of every single note, at 8 different volume levels each (because a loud not isn't just louder, it also sounds different). Recording every fifth no …
gnasher729's user avatar
  • 47.5k
0 votes

What is the difference between extending a class and instantiating an object of that class?

You were taught to use the second example? That's totally weird. You should examine what you need in a particular situation, and use the thing that is appropriate in that situation. And be very, ver …
gnasher729's user avatar
  • 47.5k
0 votes

IOS/Android Push notifications

On iOS there is no time limit imposed by Apple. Note that any push notifications will lead to a notification shown on the screen (under control of the app), so it wouldn’t matter whether the app is ru …
gnasher729's user avatar
  • 47.5k
0 votes

GPS application targeting mobile devices

The ten hours is a bit pushing it. On iOS you would likely us an “Enterprise account” instead of the usual developer account. The app can only be used within your company, but doesn’t have privacy r …
gnasher729's user avatar
  • 47.5k
0 votes

Should I wrap all codes into runOnUiThread even some code doesn't need to run on UI thread?

Never, ever, ever wait for anything on a UI thread. You call an asynchronous method to read data from the internet, which might take some time, pass a callback method, and that method runs the rest of …
gnasher729's user avatar
  • 47.5k

15 30 50 per page