Stream

Join this community to post or comment
Pinned by moderator

Ian Lake
moderator

Meta  - 
 
Community Guidelines
Welcome to the official Android Development community on Google+. This community is a place where all Android developers can help one another, share resources, and make us all better developers.

However, that means that this is not the appropriate place for certain types of posts:
- Spam
- Soliciting
- Recruiting
- Promotional posts
- ROM, theme, and icon pack development
- Posts about new devices, system updates, rooting devices, etc
- Posts without any text
Posts of this nature may be removed without warning or result in being banned from the community.

In addition, there are a number of other official communities for certain topics:
Android N: https://plus.google.com/communities/103655397235276743411
Android Beta: https://plus.google.com/communities/106765800802768335079
Android Studio: https://plus.google.com/communities/103491657963571270604
Developer Tools (Gradle, ProGuard, etc): https://plus.google.com/communities/114791428968349268860
Android M Developer Preview: https://plus.google.com/communities/107145370812485315862
Android Wear: https://plus.google.com/communities/113381227473021565406
Android TV: https://plus.google.com/communities/112881895888889393129
Android Auto: https://plus.google.com/communities/116320632775523824083
Google Cast: https://plus.google.com/communities/115742157569103585450
Google Fit: https://plus.google.com/communities/103314459667402704958

Here’s an overview of some of the specific categories available:

Help Center
Running into issues? Here’s where to post. If you’re having implementation problems, consider posting a link to a http://stackoverflow.com question with your code and any logcat errors. If you’re trying to find the right approach to a problem, consider searching for resources first: you’ll be a lot more successful saying “I’m looking at library Y to implement Z in my app. Is that the best way to do it?’ compared to “How do I do Z?”

Development Patterns
The various APIs give you the building blocks you need to build awesome apps. Development patterns are the instructions on how to assemble those building blocks. Guides, tips, and gotchas all belong here!

Tools and Libraries
Have a favorite tool or library that has saved you time and effort? Share it with the community!

Open Source Apps
One of the only things better than finding an awesome interaction pattern or functionality in an app is finding out exactly how they did it. Make sure you include a link to the source code when posting your favorite open source apps here.
655
60

Vincent Huang

General Discussion  - 
 
Hello, Does anybody know what is "ABS doze mode"? Is ABS meaning "absolute"? Thanks.
1
Add a comment...

Jo Rog

Help Center  - 
 
I have an app in the Play Store for years. It is always listed in the top 10 if I search with keywords. Today, I searched my app as usual but to find that my app has disappeared from the search results in the Google Play app on my phone. However, if I search with the same keywords it shows in the results in the play store web site, both on my phone and on a computer. My app is still available in the Play Store app if I search the full app name. Also, I can see my app listed if I browse the categories in the Play Store app on my phone. It's just not showing up in the keywords search. Not sure when this started, but I was able to see my app in the search results in Play Store app in the weekend. Any ideas on what's going on? Thanks.
1
Jo Rog's profile photo
14 comments
Jo Rog
 
+Daryl Reeves I checked my app around that time also this morning!!
Add a comment...

Bruno Zaranza

Help Center  - 
 
I am implementing a Widget (Home Screen) and I want animate the refresh button. When it clicked, I need to give feedback to the user to warn that the widget is being updated, the ideal would be to rotate the button while updates, similar to what happens in the Yahoo! Weather Widget. Can anyone help?
1
Mike Wolfson's profile photoOluwatobi Akinpelu's profile photo
2 comments
 
+Mike Wolfson​. I agree with u. Progress bar should do d work. 
Add a comment...
 
Create emulated sd card

For testing my apps on my own device (a samsung s6) I want to create a virtual sd card.

Does anyone know if this is possible and how? 
1
MFlisar Development's profile photoOluwatobi Akinpelu's profile photo
4 comments
 
+MFlisar Development​. Am not sure that's possible. Internal is built internal. By yet impossible is just a word. It might be possible to do d hack, bt I don't know how to presently 
Add a comment...

Frederico Braga

Help Center  - 
 
Hi guys,

I am developing an Android app that needs to scan , save , compare and show an image of the users fingerprint. Is this possible with the fingerprint api or should I look for an external hardware and API? any suggestions?

Thanks!
1
Ian Lake's profile photo
 
The Fingerprint API doesn't take a picture of your finger, not does it offer any way to distinguish fingers. You'd need to use something else.
Add a comment...

Paul Danyliuk

Tools and Libraries  - 
 
Rhythm v0.9.6

Hi, I just rolled a new update to my Rhythm library. Although it's still an unstable version, this is a milestone release that marks a change in the library's mission. From now on, Rhythm doesn't try to be a keyline tool itself (there's Material Cue [1] for that) — instead it will focus on being the swiftest and smartest design overlay rendering engine.

Release highlights
• The library is now split in two parts, separating reusable core from all that legacy in-app notification control mechanism.
Variable support! This one is huge!
• A new columns layer for rendering overlays for responsive UI grids.
ratio-keyline has been experimentally backported from Material Cue.
• Significant inner refactoring and bugfixes.
Docs are getting much better!

Get it here:
https://github.com/Actinarium/Rhythm

Also stay tuned for Material Cue update later this week, with all new Rhythm goodness, custom overlays going totally free, and exciting overlay editor improvements [2].

Rhythm vs Material Cue: [3]

---
[1] - https://play.google.com/store/apps/details?id=com.actinarium.materialcue
[2] - https://plus.google.com/+PaulDanyliuk/posts/VCB4A529JgF
[3] - https://github.com/Actinarium/Rhythm/wiki/Comparison-of-Rhythm-and-Material-Cue
1
kevin le perf's profile photoPaul Danyliuk's profile photo
8 comments
 
+kevin le perf But the panel will also hide a piece of UI, and be far less discoverable. The flow is the same: swipe the notification drawer down, tip-tap, then swipe up.

This said, I'm actually putting this thought into consideration, but with the direction I want mcue to take (free tool for casual keyline checking / pro tool for developers with optimized workflow), I'd rather put effort into AS integration and autoswitching/selecting, coding and sending overlays from AS/and there I spoiled my plans for 1.0...
Add a comment...

Jarry Doestein

Help Center  - 
 
Hi all,

I am looking to customize the actionbar overflow menu, I am pretty sure there is a way to customize it but am unable to find good resources/examples on how to do so. If anybody can have some references that could help me would be great. Thanks in advance.

 -J
2
Jarry Doestein's profile photo
3 comments
 
kind of app bar dropdown menu
Add a comment...

Alvar Lagerlof

Tools and Libraries  - 
 
How do I set the peek height of my BottomSheetDialogFragment?

The peek height right now is really bad, I can scroll a litlle bit, but to little (Look at the images).

I need to use either BottomSheetDialog och BottomSheetDialogFragment because i need the Dark background.
1
Ian Lake's profile photo
 
You can do it as part of your theme: http://stackoverflow.com/a/35634293/1676363
Add a comment...

Sittiphol Phanvilai

Tools and Libraries  - 
 
Eliminate all findViewById boilerplate codes and replace it with just a single line of code no matter how many Views you have in the layout.

Goodbye findViewById. We will miss you. And Long Live Data Binding Library !

#android #androiddev
findViewById is one of the most annoying boilerplate code in Android application development. This part of code unnecessarily requires bunch of line of codes and can easily cause an expected beha
32
20
Add a comment...

About this community

Welcome to the official Android Development community. This community is a place where all Android developers can help one another, share resources, and make us all better developers. Please read the community guidelines before posting: https://plus.google.com/+IanLake/posts/Rqtqo4x7hv6

Sanjay Bhowmick

Help Center  - 
 
I tried to install cordova and android sdk in my linux mint computers for the last few months but all my attempt did not succeed. I followed lots of guide and documentation but nothing worked. Every time it shows errors while run cordova like permission issues,SPAWN ACCESS error, or ANDROID_HOME path is not found, SDK is not found while I set all the variables properly in .bashrc file. Please help me providing any simple guide to achieve this. 
1
Add a comment...
 
ArgbEvaluator not implementing TypeEvaluator<Integer>

While browsing through the AOSP source code, I went to the ArgbEvaluator class [1]. Is there any reason for which it implements the TypeEvaluator interface (without generics) ?

This could eventually lead to some ClassCastExceptions when using it in an application (since there are currently no checks at compile time), so I was curious to know if there was any special reason for which the ArgbEvalutor doesn't implement TypeEvaluator<Integer>, or if this was a small API issue.

[1] : https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/animation/ArgbEvaluator.java

Update
I created a feature request with the id #214546.
1
Ian Lake's profile photo
 
Generics are a compile-time only check, so you wouldn't get any runtime errors just by leaving out the template class.

Search for type erasure in Java for more details on generics.

With that said, I wouldn't be against you putting in a feature request to fix this at http://b.android.com
Add a comment...
 
Hi , I am trying to reference an element in a list , when including a layout, using the databinding api , but no luck. Here is the stackoverflow post . Any help would be appreciated. http://stackoverflow.com/questions/38082222/how-to-reference-an-element-in-an-array-when-including-a-layout-and-passing-vari
1
Add a comment...

Marco Marcellis

Development Patterns  - 
 
I am confused about MVC within Android. I have read so many different stories. What exactly does MVC mean in Android?
1
Christophe Beyls's profile photoDavy Leggieri's profile photo
5 comments
 
There is no MVC provided by the Android SDK. It's up to you to come up with the paradigm that you want. If you want to give a shot to MVC then you can find some sample code on github. Once again, as their is no MVC provided by Android SDK you will find multiple ways to implement MVC in Android.
Add a comment...

Marlon José López Meza

Tools and Libraries  - 
 
Some thoughts about developing an android library ...

For a long two weeks ago, i started to organize some of the features that i’ve used on many applications, mobile, web, desktop, any of them…
1
1
Add a comment...

Rafał Pawlak

Help Center  - 
 
Hi guys I run into a troible some time ago I started to port project game to android. I am having issue with libcurl linking which doesn't want to link itself even with -lcurl option set. More information is in link bellow.
Thanks for help in advice..
1
Add a comment...

Chris Parbey

Development Patterns  - 
 
Android Audio Recording app development
Material Record A simple app to record audio using our smartphones Time spent : 4 days Language : Java (Android SDK) using Android Studio A project for fun but also professional. Feedbacks in the chat box are welcomed ;)
3
Add a comment...

William J Plaud

Help Center  - 
 
Good morning all,

Question:
In the java field for android development, I usually run into a problem when I have "findViewbyId(R.id.blahblah)" the R is red (invalid and needs to be resolved), I just don't know what is the problem.

Do anyone have this problem and know how to solve it?

Thank you!
1
William J Plaud's profile photoOluwatobi Akinpelu's profile photo
3 comments
 
Lots of things can cause this.
1. Failed grade build.
2.xml layout error.
3. Need to manually import the R.
Etc. 
Add a comment...

Shirish Kulkarni

Help Center  - 
 
Hi
I am new to android app development.
I am doing an app which upload a word,excel,pdf file to sever but from internal and external storage i cant get a file uri in my onActivityResult(). Is there any additional permission for that.? I using Android Marshmallow.
1
Oluwatobi Akinpelu's profile photo
 
Yes of course... U need permission to access external storage. Check out. <uses-permission>. Add me on hangout if u nid Any further assistance 
Add a comment...

Joshua Chenault

Help Center  - 
 
Hello I'm looking at getting into Android app development. I have experience in electrical engineering and HMI development. I would guess that they are similar in coding and development, but I could be wrong.

I am looking for some help getting started.

Are there any free development software I can use? I'm not creating a business here so I'm not looking to spend big bucks on this thing. What are all the pieces that go into development? IDE? C#? Emulators? Licences?

Are there tutorials online for basic development tools, libraries, tips, etc?

Should I buy an old refurbished phone to do testing on?

Are there studies out there about what people want from their apps/games? So I'm not wasting time developing crap.

Do I need to have a server setup in my basement for running p2p multiplayer type games?


2
Oluwatobi Akinpelu's profile photo
 
All u nid is the passion, endurance, a laptop, Google, lots of stack overflow, an android beginners book and tutorial videos available on YouTube. +slidenerd​ is good at that. Add me up if u nid assistance 
Add a comment...