Android Dialogs w/ Eugenio Marletti: Clue and Highly Custom/Performant Components

Android Dialogs w/ Eugenio Marletti: Clue and Highly Custom/Performant Components


Android Dialogs w/ Eugenio Marletti: Clue and Highly Custom/Performant Components

Posted: 09 Sep 2016 03:59 PM PDT

All ad traffic is about to be disabled for v6.4.1 and lower

Posted: 09 Sep 2016 10:44 PM PDT

Just got this email

Hi AdMob Publisher,

In early July, we sent out a notice to AdMob Publishers who have apps running on SDK version 6.4.1 and lower, to inform them about deprecating SDK versions and the need to upgrade by September 15, 2016.

We apologize for any inconvenience or unclarity that the email may have caused to some developers. To ensure that you have sufficient time to make the changes, we have extended the deprecation date to October 17, 2016. We also reevaluated the SDK versions being deprecated, so here is the updated information. What will happen starting on October 17, 2016:

• All support for non-Google Play Services supported SDKs and Google Mobile Ads SDK version listed here will be deprecated.

This means that all traffic from these SDKs will be disabled. What you will need to do:

In order to ensure that your AdMob ads continue to serve after October 17, 2016, please upgrade your apps to run on the minimum SDK versions listed here. If you are using a Google Mobile Ads SDK version from Play Services that is listed on this link, you are not required to take any action.

If you have any questions, please contact us on the developer forum. Thank you, and stay tuned for more updates and tips. Cheers, The AdMob Team

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

Just starting using Kotlin

Posted: 09 Sep 2016 07:36 AM PDT

Not sure how I ever lived with java.

Only part about Java I miss is that multiple constructors seems to be a little more friendly, but that's just my lack of comfort with kotlin class construction.

null safety

It's impossible (as far as I know) to use @Nullable in a generic, like Observable<@Nullable String> in Java. So if your observables emit nulls in Java, you're gonna have a bad time.

Extension methods on interfaces

I have a lot of database interfaces, and implementations of those with methods like Observable<User> observe(String userId) . I will also have a single version of it like Single<User> get(String userId), which just calls the observe(userId).first().toSingle(). Managing test mocks of that single is a PIA in java because I would have to reimplement the single methods for every mock. Whereas in kotlin, I just redefine the few observe(XXX) methods I need to.

Retrolambda, bye bye

I often have issues with android studio not being able to debug correctly because it's expected java 8 code when it's retrolambda java 7. (cannot find class 'this', etc). no problems in kotlin!

Kotlin, thank you for bringing us into the future.

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

Debugging without a stacktrace: Using Android Studio’s Performance Monitors

Posted: 09 Sep 2016 04:52 AM PDT

Getting a sudden surge in downloads, how can I determine where they are coming from?

Posted: 09 Sep 2016 01:16 PM PDT

My app is suddenly getting a huge spike in downloads(huge at least compared to my previous amounts anyway) and I have no idea why.

The User Acquisition page really only shows that my downloads are coming from "Play Store (organic)". Does this mean downloads are just coming "naturally" from the play store or is this just the default that downloads get recorded as?

I have tried searching on Google possible videos or articles posted about my app and found a few, but they appear to be a result of this surge and not the cause.

I would appreciate any hints on this as I want to capitalize on this if I can in anyway. Thank you. :)

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

Vertical Alphabetical Index

Posted: 09 Sep 2016 10:47 AM PDT

What does Android have ready-made like this, i.e. a list with a vertical, alphabetical index. The iOS guy says this is built-in for the component he uses.

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

Android Studio 2.2 RC 2 is now available

Posted: 09 Sep 2016 12:40 AM PDT

Uptick in aggressive recruiting

Posted: 09 Sep 2016 05:37 PM PDT

I've had way more recruiters contact me lately and be much more aggressive in their messages. Has anyone else experienced this? Anyone know the reason. One of my friends suspects that since the Yahoo! acquisition, the bottom is falling out of the startup market, so startups are having more trouble hiring.

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

Are there any reasons to use Fragments for ViewPagers if it's also possible to use Layoutinflaters instead?

Posted: 09 Sep 2016 10:12 AM PDT

As far as I see a Layoutinflater won't add any new lifecycle to the view and it is much easier to interact with the activity, considering you don't have to add a new, completely encapsulated file to the app.

Are there any advantages of fragments in this situation?

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

Questions Thread - September 09, 2016

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

Can't Wrap my Head around BLE.

Posted: 09 Sep 2016 04:19 PM PDT

So I have a project right now where I'm provided with a device that is compatible with BLE and I'm trying to develop an app where it communicates specific data to the app.

Sounds simple right?

Nope.

There's complex APIs, UUIDs, GATTs, calls, etc.

It's a lot to take in without any prior knowledge and I'm in a bit of a short deadline.

If anyone is proficient with BLE, how did you build a steady understanding of how everything works? Because I've been playing around with peoples codes and I'm able to get the device to show up, but no clue how to get the simplest data(temperature data from a UUID for example) to show up. How is the data even stored there? I have no clue. I've been reading articles and tutorials, but it just sounds like gibberish to me.

Cheers.

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

SettingsActivity and Navigation Drawer

Posted: 09 Sep 2016 06:31 AM PDT

I've seen that most apps put the SettingsActivity separately from the rest of the app, i.e. apps with Nav drawer dont include it in Settings. Is this a design guideline by Google?

I looked in https://material.google.com/patterns/settings.html#settings-placement and although the screens reflect what Im saying theres no statement saying this explicitly.

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

Welcome to Flutter!

Posted: 09 Sep 2016 12:55 AM PDT

How to choose the best Parse Alternative for a smooth transition

Posted: 09 Sep 2016 04:41 PM PDT

Looking for a library that allows a user to draw to a canvas (or other view), takes that as input and attempts to map it to text available in a String

Posted: 09 Sep 2016 04:24 PM PDT

I don't need anything too fancy, just enough to get a few letters and 0-9. Any suggestions?

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

Weekly "anything goes" thread!

Posted: 09 Sep 2016 06:08 AM PDT

Here's your chance to talk about whatever!

Although if you're thinking about getting feedback on an app, you might want to wait until tomorrow's App Feedback thread.

Remember that while you can talk about any topic, being a jerk is still not allowed.

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

3D (OpenGL?) watch face for android wear.

Posted: 09 Sep 2016 12:41 PM PDT

I think this is possible. But is there a good tutorial how to make this work?

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

Learn to Manage Permissions on Android Marshmallow

Posted: 08 Sep 2016 11:57 PM PDT

FantasySlide - A peculiar drawer layout library

Posted: 08 Sep 2016 11:56 PM PDT

Thanks for reading my news about Android Dialogs w/ Eugenio Marletti: Clue and Highly Custom/Performant Components 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.