Questions Thread - September 08, 2016

Questions Thread - September 08, 2016


Questions Thread - September 08, 2016

Posted: 08 Sep 2016 05:06 AM PDT

This thread is for simple questions that don't warrant their own thread (although we suggest checking the sidebar, the wiki, or Stack Overflow before posting). Examples of questions:

  • How do I pass data between my Activities?
  • Does anyone have a link to the source for the AOSP messaging app?
  • Is it possible to programmatically change the color of the status bar without targeting API 21?

Important: Downvotes are strongly discouraged in this thread. Sorting by new is strongly encouraged.

Large code snippets don't read well on reddit and take up a lot of space, so please don't paste them in your comments. Consider linking Gists instead.

Have a question about the subreddit or otherwise for /r/androiddev mods? We welcome your mod mail!

Also, please don't link to Play Store pages or ask for feedback on this thread. Save those for the App Feedback threads we host on Saturdays.

Looking for all the Questions threads? Want an easy way to locate today's thread? Click this link!

submitted by /u/AutoModerator
[link] [comments]

Amazon caught scraping email addresses from Google Play

Posted: 08 Sep 2016 08:13 AM PDT

A year ago I posted a new app to Google Play using a new dedicated developer email address for it. This email address was never used for anything else, and I haven't touched anything Amazon in more than a year anyway, but today it received some developers news from an amazon.com email address. I can only conclude that Amazon scrapes developer email addresses from Google Play. I would have expected better from them. Have you experienced this too?

submitted by /u/Nicolas_Raoul
[link] [comments]

Kotlin vs Java: Compilation speed – Keepsafe Engineering

Posted: 08 Sep 2016 05:11 PM PDT

Simple example using Flutter, Google's new cross platform solution

Posted: 08 Sep 2016 02:35 PM PDT

New Games or Apps has disappeared in Top Charts of Google Play Store

Posted: 08 Sep 2016 10:26 PM PDT

Feedback Needed for Android Game: Cosmic Maneuver

Posted: 08 Sep 2016 09:18 PM PDT

Link: https://play.google.com/store/apps/details?id=com.anyconfusionhere.spaceshipgame

Source Code: https://github.com/ArsalaBangash/Cosmic-Maneuver

Promo Video: https://youtu.be/H9ABJj1gkEw

Hi Lads and Ladies! I'm a student at the University of Toronto and over the summer, my friend and I started from absolute square one when it came to developing for Android.

We came up with the idea for an accelerometer based arcade game, and we wanted to keep working on it until we had a solid finished product.

The game is fun to play, has Google Play Services functionality, and has AdMob functionality as well. We developed it using Android Studio and the LibGDX game development framework, and all of our code is available on the GitHub repository.

We welcome all feedback on both the app and the code running behind the app. We're going to be taking our first proper university course on Java programming this fall, and I'm sure we'll find a plethora of ways in which our code could be improved and optimised.

submitted by /u/CanadianCuler
[link] [comments]

Google Play Store alternatives - Distributing your Android app to the world

Posted: 08 Sep 2016 08:06 AM PDT

Conductor and MVP - How should it be done?

Posted: 08 Sep 2016 09:57 AM PDT

I'm working on a fairly large complex project - it was (unfortunately) my introduction to Android and as such it has become a really big mess, with god activities and poor layered architecture, and memory leaks everywhere. I'm planning to do a big refactor towards MVP (or MVVM), but I would also really like to get away from the headache of activities and fragments - Conductor looks really nice after playing with it for a little bit. Unfortunately there is not a wealth of information about Conductor so I have a few uncertainties.

What is the best practice for attaching and detaching the presenter with conductor? How can I safely save state during configuration change without leaking memory? Should I do MVP raw or work with a library such as Mosby/ThirtyInch/Nucleus etc?

submitted by /u/thehobojoe
[link] [comments]

Exploring Firebase on Android & iOS: Analytics

Posted: 08 Sep 2016 06:01 AM PDT

[Library] ResourcesPoet: Like JavaPoet, but for Android XML Resources

Posted: 08 Sep 2016 04:29 PM PDT

Dealing with the ExifInterface Security Flaw - The CommonsBlog

Posted: 08 Sep 2016 06:25 AM PDT

Can you use Firebase on Amazon Android devices? - Novoda

Posted: 08 Sep 2016 04:10 AM PDT

Build a range of apps demonstrating key aspects of the Android framework

Posted: 08 Sep 2016 11:09 AM PDT

Building Launcher3 from source in Android Studio using Gradle.

Posted: 08 Sep 2016 02:20 PM PDT

Has anyone found out how to convert the project to Gradle?

submitted by /u/1t2h3r4o5w6a7w8a9y0
[link] [comments]

Why do successful apps have ugly UIs?

Posted: 08 Sep 2016 08:06 PM PDT

If you look into Dribbble you'll find some amazing wonderful designs there. However when I look at Facebook, Whatsapp, Instagram, Snapchat, Uber, almost every billion dollar app is so simple to the point of being ugly. It's just content management. No beauty in the design.

Anyone have an idea why they do it this way? Is UI irrelevant and UX what really matters?

submitted by /u/fastgrowth
[link] [comments]

Support fragments implementation

Posted: 08 Sep 2016 06:30 AM PDT

Hey everyone! There is one question that is bothering me too long. I wanted to ask, Do you know how support fragments are implemented? How do they did that fragmentManager survives orientation changes, and even if there are retained fragments, all the objects are survives that changes. How they did that in lower api version, where there was no support for fragments at all? If they did it somehow, why did they do not told us how, so we could just use this method in order to survive activity changes? I hope you understand what my question is, if not, I will try to rewrite it more clearly, as English is not my foreign language.

submitted by /u/CrazySerega
[link] [comments]

What permissions trigger the need for manual update?

Posted: 08 Sep 2016 01:58 PM PDT

Adding some permissions don't make it necessary for the user to do a manual update in the play store. I'm trying to prevent this, but could not find a list of the permissions that can be added without requiring a manual update.

Thanks for the help!

submitted by /u/broswitch
[link] [comments]

Possibly making an app using firebase, but confused on how to hook it into a web based admin panel.

Posted: 08 Sep 2016 01:38 PM PDT

Pretty much need a way for admins to log into a site, check stats, and possibly update some info. The app will be using firebase, but my experience is limited in html.

Can anyone give me some search terms to research how to connect an app to an admin web page with firebase as the middle man? Are there any web templates/themes I can just upload to a hosting site and have it connect to my firebase relaying updates down to the listening apps? Thanks.

submitted by /u/Foogyfoggy
[link] [comments]

Best Place to start Learning?

Posted: 08 Sep 2016 11:54 AM PDT

I'm just starting with android development and was wondering where the best place to learn is?

submitted by /u/omos2731
[link] [comments]

Has Android redefined the meaning of a Linux process?

Posted: 08 Sep 2016 12:18 AM PDT

Wikipedia defines a process as a single instance of a program. Since I've started reading about android development I've learned that:

  • apps consist of components (4 categories). Some components seem more like a subroutine than a program to me.
  • multiple components and even multiple apps can run under the same process.

Does this mean a process is defined differently for Android? Or is the initial definition (used in many Linux guides) incomplete? Or maybe my definition of a program is lacking...

submitted by /u/jiggunjer
[link] [comments]

Developing for Android vs. iOS: Material vs. Flat Design

Posted: 08 Sep 2016 08:40 AM PDT

Thanks for reading my news about Questions Thread - September 08, 2016 at my blog Custom Droid Rom if you want too share this article, please put the resource, and if you think this article is very usefully dont forget to bookmark this site with CTRL + D on your keyboard to web browser.

New and Hot Article's :

Note: only a member of this blog may post a comment.