Questions Thread - May 21, 2016

Questions Thread - May 21, 2016


Questions Thread - May 21, 2016

Posted: 21 May 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!

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

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

Multi-Window in Android N: What Devs Need to Know to Make the Best of It

Posted: 21 May 2016 10:33 AM PDT

The 2 1/2 month process of writing my 19th Android app

Posted: 21 May 2016 02:01 PM PDT

New Android Studio video tutorials!

Posted: 21 May 2016 09:16 AM PDT

Hey, I've uploaded a couple new videos about using the Navigation Bar and Fragments in your Android Applications. Take a look and tell me what you guys think. If you like these kinds of videos [or don't :( ] let me know and I will cater to the largest groups! Don't forget to subscribe to the blog if you want to receive notifications when new tutorials are released. YouTube Link: https://www.youtube.com/channel/UCoNZZLhPuuRteu02rh7bzsw Blog: http://www.codingwithmitch.com/ Mitch

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

A problem with every MVP+Dagger implementation

Posted: 21 May 2016 10:27 AM PDT

I know it probably will be hard to understand for many but I don't have time to create a sample app just now.

I've reviewing all popular implementations of MVP+Dagger combo recently. I've checked google android blueprints, karumi's rosie and couple of others. It seems that there is a small problem with almost every one of them. Basically MVP says that View<->Presenter communication should be done using interfaces. So in Android case Activity/Fragment/ViewGroup implements View interface and keeps reference to the presenter interface (this is important). On the other side a class which implements Presenter interface also keeps a reference to the view interface. Almost every (except google samples) implementation violates this and keeps a concrete presenter implementation in the view. https://github.com/Karumi/Rosie/blob/master/sample/src/main/java/com/karumi/rosie/sample/characters/view/fragment/CharactersFragment.java#L54 here is an example of this in Karumi's sample. In a majority of the implementations a presenter is injected to a view and a view is passed to it by calling a method on a presenter. android blueprints does the opposite - in injects a view to the presenter and sets the presenter on the view by calling it's method. https://github.com/googlesamples/android-architecture/blob/todo-mvp-dagger/todoapp/app/src/main/java/com/example/android/architecture/blueprints/todoapp/taskdetail/TaskDetailPresenter.java#L69 None of these methods is ideal. I think that it's because in Dagger if you want to put an object to a graph you can do it in Module by writing provider method or you can use @Inject on object's constructor. The second option is simpler (less boilerplate) and used in many sample apps but there is a limitation. If a class which has @Inject on it's constructor implements some interface then Dagger doesn't care and it can inject only this exact class on which constructor's @Injects is. So basically if someone want's to inject a presenter to a view (for example Activity) and store an interface type of this presenter in Activity then a Module and provides method must be used. This leads to writing a lot of boilerplate code. Also if you want to inject some objects to the presenter then you have to do it by constructor params... Which is not the case if you use @Inject on presenter's constructor.

I would like to hear your experiences, opinions etc. Maybe there is something I don't know/understand about Dagger or something.

submitted by /u/michal-z
[link] [comments]

Need help/feedback on creating a project based resume

Posted: 21 May 2016 05:03 PM PDT

I'm about to graduate soon and start the job hunt. Right now I am creating a resume that will be showing off the projects I've created, since I don't have any relevant professional experience yet. I would really appreciate some help or feedback.

I'm having a hard time coming up with bullet points to describe my projects that will be enticing to recruiters and interviewers. I read an article that mentioned that the bullet points should sound good to people at all levels of technical experience, which seems quite difficult.

Here is how I wanted to list one of my projects on my resume:

Nosleep Reader

A reddit app for conveniently finding the top horror stories on the nosleep subreddit.

  • Designed the backend algorithm to efficiently retrieve and decipher JSON data from reddit's RESTful API

  • Implemented aynchronous data binding to provide a fluid user interface experience

  • On Google Play Store with 4.7 average rating, 1000+ downloads

According to what I've read, I know I should start each sentence with a verb. Each bullet point should quantify something, but I'm not sure what I could quantify for most of my apps since they are just personal apps, not for a company or client.

Is there anything else I should be looking out for that I could work on? I'd really appreciate any feedback, and an example resume would be really helpful as well.

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

Android Code Generator - Android Studio Plugin - Generate Activity based on XML layout. (Works with Butterknife)

Posted: 21 May 2016 03:53 AM PDT

Using Kotlin to test Android applications

Posted: 21 May 2016 08:27 AM PDT

Adding tampered detection to an Android app

Posted: 21 May 2016 10:11 PM PDT

QT for android development?

Posted: 21 May 2016 09:39 PM PDT

Hello r/androiddev. I have been developing android apps natively for over a year now, however, I want to start iOS development as well. I was wondering to start learning qt, and for practice want to implement it in android. Does anyone here know how android apps developed in qt actually is, for both the dev and consumer side? Thanks ahead!

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

The only useful error message.

Posted: 21 May 2016 02:07 PM PDT

Build a nice UX to backup and sync your app data on Google Drive

Posted: 21 May 2016 10:15 AM PDT

What are the websites, forums, Reddit threads which allow Android app promo code distribution?

Posted: 21 May 2016 11:37 AM PDT

Hi Fellow Developers,

I would like to know what are the list of websites, forums, Sub Reddits which allow us to promote our apps and distribute promo code to users. As far as i know, /r/AndroidApps sub-reddit let us to do so. Apart from that, if you know any other website, forums , sub reddits which let us to promote the app and share promo codes to users, please share the details

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

How do people make Apps of all sort?

Posted: 21 May 2016 11:22 AM PDT

I'm an amateur Android developer and I can build simple things like an E-Commerce app, an app for a business, a calculator or some data driven apps. I look for work on UpWork occasionally and I mostly fail because people look for things like "Kernel Injection on mobile", "FFMpeg expert", "keyboard app", "video players", "Xposed developer" etc. I get that there are APIs and frameworks available for most of the things but a developer still needs to know the way around. How do they do it? I'm pretty sure things above needs a lot of low level knowledge. What do I need to learn so that I can build complex apps without following a tutorial on the internet or looking at stackoverflow for hints? I've been developing Android apps for a year now but subjects above still makes me scratch my head. My questions may sound senseless but I'm confused af.

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

Implementing Android Push Notification using GCM-A beginner's Guide

Posted: 21 May 2016 05:33 AM PDT

It there any apps in Google Play store top apps using ORM's?

Posted: 21 May 2016 10:02 AM PDT

If not is there any apps with a million plus downloads? I'm having a hard time finding an ORM currently in a big project.

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

Looking for light weight Image scanner SDK

Posted: 21 May 2016 01:21 PM PDT

any recommendation for a light weight 'image to text' converter sdk? looking to integrate it in Applozic https://github.com/AppLozic/Applozic-Android-SDK

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

RxJava wrapper for Firebase ValueEventListeners

Posted: 21 May 2016 01:08 AM PDT

How to create a multilevel listview

Posted: 21 May 2016 11:16 AM PDT

What I am looking for is how clicking on one item in a list view opens up a new list view with different items in it. Any help is appreciated thanks

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

Question about developer terms

Posted: 21 May 2016 02:45 AM PDT

Google has this on the developer console:

"Please provide a current, valid postal address where you may be contacted. If you offer apps or in-app items for sale, you are required to provide a postal address under our developer terms and consumer protection laws; failure to do so may result in the suspension of your account and/or sales of your apps. Please ensure that you keep these details up to date if they change. By providing your email or postal address information, you confirm that you consent to Google publicly displaying or disclosing that information in connection with your apps."

Does this mean Google can publicly display my postal address?

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

BrainPhaser: Open source Quiz App in Material Design

Posted: 21 May 2016 07:52 AM PDT

Introducing MAGiO one piece 2-in-1 charge and sync cable for Android and Apple devices now live on indiegogo

Posted: 21 May 2016 09:54 AM PDT

Thanks for reading my news about Questions Thread - May 21, 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.