Questions Thread - September 17, 2016

Questions Thread - September 17, 2016


Questions Thread - September 17, 2016

Posted: 17 Sep 2016 05:05 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]

App Feedback Thread - September 17, 2016

Posted: 17 Sep 2016 05:05 AM PDT

This thread is for getting feedback on your own apps. Please adhere to the following rules:

Developers:

  • must make top level comment
  • must include Play Store, GitHub, or BitBucket link
  • must make effort to respond to questions and feedback from commenters
  • may be open or closed source

Commenters:

  • must give constructive feedback in replies to top level comments
  • must not include links to other apps

To cut down on spam, accounts who are too young or do not have enough karma to post may be filtered pending manual approval.

As always, the mod team is only a small group of people, and we rely on the readers to help us maintain this subreddit. Please report any rule breakers. Thank you.

- Da Mods

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

Not available for android as a selling point does this actually happen?

Posted: 17 Sep 2016 11:19 PM PDT

Play Store User Profiles

Posted: 17 Sep 2016 09:58 PM PDT

Hi Devs,

In Play Store, I used to be able to click on the name of a User in their rating/review of an app (any app not just mine) to go to their profile. It used to be a great help checking out if they were 5 star spammers or 1 star wreckers.

I don't seem to be able to do this any more for any User. Is it because of the G+ removal change, or some Play Store Privacy change or something I have done?

Seems a shame if this ability has been removed as fake reviewers are less open to scrutiny now.

Thanks - keep coding.

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

How do you distribute internal versions of your app for testing/QA?

Posted: 17 Sep 2016 03:43 PM PDT

I have 3x environments (dev, staging, production). And 2x build types (debug, release).

So there are six versions I wish to distribute.

  • prodRelease
  • prodDebug
  • stagingRelease
  • stagingDebug
  • devRelease
  • devDebug

Is it possible to release a dev/staging release version on the play store that isn't visible to the public, where it never gets promoted past the alpha/beta channel?

If that's possible, then I also have debug builds for each of the three environments that I would like to release as well.

How do you guys do it, other than manually sharing an .apk file? A quick googling lists a bunch of solutions, but I am interested in what you guys have had success (or failures) with.

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

RxJava2 An Early Preview

Posted: 17 Sep 2016 08:59 AM PDT

New sub for sharing Android apps banned by goo-bots

Posted: 17 Sep 2016 09:16 PM PDT

How to hide bluetooth mouse cursor?

Posted: 17 Sep 2016 07:34 PM PDT

I'm working on a VR app. Like all VR apps, it renders two side-by-side views. I would like to support using a bluetooth mouse in my app. So, I need to hide the normal mouse pointer and re-draw my own visual inside each of my eye views, in 3D space.

I've done a bit of searching, but can't seem to figure out how to do this. I did find something that says Android 7.0 is getting a new API for custom pointers:

http://www.androidpolice.com/2016/06/16/android-n-gets-support-custom-mouse-pointers-via-new-api-dev-preview-4/

That's great, and would probably allow me to make a blank custom pointer. But I need this to work on my current hardware with Android 6. And I know it's possible, because the GearVR device does hide the mouse pointer.

Any tips or tricks to achieve this would be most welcome!

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

Unit tests for Android volley requests

Posted: 17 Sep 2016 05:13 PM PDT

I am trying to write unit tests for my add and we use Android volley for network requests. My question is how to mock these requests or inject the callbacks. The blocker is that since volley uses request queue I cannot add the mock request to the actual queue.

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

App not searchable in PlayStore

Posted: 17 Sep 2016 01:44 PM PDT

This is the first app that has been accessible via search for me. It was published on Thursday, and I can only pull it up from the link Google gives me, but it doesn't show when I search the name in the store. There's no other app in the store with my name.

Has anyone else experience this issue? Google is normally pretty quick at having your app searchable.

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

Can you develop straight from your phone?

Posted: 17 Sep 2016 09:00 PM PDT

I'm coming from iOS for app development and I'm on the go most of the time.

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

Assisted Injection in Android

Posted: 17 Sep 2016 03:13 AM PDT

TransactionTooLargeException crashes on Nougat - Chiu-Ki Chan

Posted: 16 Sep 2016 11:59 PM PDT

Best approach for facial recognition with integration to a database

Posted: 17 Sep 2016 10:30 AM PDT

So my task (that I've given to myself) is to develop an app that uses facial recognition (not facial detection) to take a cropped image of an individuals' face and find a similar match in a database I have set up with many other cropped faces.

I haven't ever used facial recognition in android before so I'm not sure what the prefered way to do this is. Should I be using OpenCV or Snapdragon or something else?

Side note: this app doesn't have to work in real-time with the camera. I simply want to take a cropped photo of a face that's saved on my android device and compare it to a database of cropped faces to find a matching face. Its okay if it takes a bit of time to process.

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

Best architecture for a native android application?

Posted: 17 Sep 2016 10:46 AM PDT

---Summary:

1: Best architecture for native android application (Clean?)

2: Best ORM for native android application (Green dao?)

3: Best spring alternative for android applications?

4: Best way to structure files in the Android application? (Eg: image resources divided by page?)

5: Any other suggestions are very welcome!

--- More meaty:

Hello wonderful people of this board! I've been reading a ton of topics on this sub reddit and the amount of information is amazing. Thank you all for this resource!!

I am hoping I can get guidance on how to best set up the architecture of a native android application. I've been working out for years and want to make this personal project the best I possibly can. I plan to use this everyday at the gym and I want to make it the best I can, I know I will share this with friends and others too.

I have been in industry for a very humble amount of time (6 months) after getting my CS degree. My work is primarily in Java. But it isn't android development. So I have an appreciation for frameworks like Spring + Hibernate.

But I suppose this question unfortunately delves a bit deeper.

I have read a lot on the "clean architecture" and MVVP and a bunch of other styles. Unfortunately this has left me feeling a bit in the dust as I have had no experience with architecture until this point.

Then comes the ugly question of how to even arrange file structure. I see some amazing developers separate the layers of the clean architecture into different modules and then some equally talented developers say to avoid this.

I would VERY VERY MUCH appreciate any guidance on this topic.

Thank you all for your time! :)

submitted by /u/Healzmainz
[link] [comments]
Thanks for reading my news about Questions Thread - September 17, 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.