• Breaking News

    [Android][timeline][#f39c12]

    Thursday, March 1, 2018

    Kotlin 1.2.30 is out Android Dev

    Kotlin 1.2.30 is out Android Dev


    Kotlin 1.2.30 is out

    Posted: 01 Mar 2018 09:47 AM PST

    Long-Shadows : A library for efficient long shadows rendering in Android.

    Posted: 01 Mar 2018 05:56 AM PST

    Back button behavior in bottom navigation

    Posted: 01 Mar 2018 04:20 AM PST

    So I opened some Google apps to see how they handle back button in case of bottom navigation (tabs).

    • Google Photos - closes app on back press on any tab
    • Youtube, Kiosk - brings you to previous tab (retains tab history)
    • Google+, Books - pressing back takes you always to the first (default) tab, pressing again closes the app

    Pretty consistent, eh? :-/

    Material Design guidelines say:

    On Android, the Back button does not navigate between bottom navigation bar views. (https://material.io/guidelines/components/bottom-navigation.html#bottom-navigation-behavior)

    Also notice that some apps such as Youtube retain the history within the tabs, so if you press back then you first go back in the current tab and then in the tab history. Youtube also keeps the history for each tab. So switching between tabs does not reset it (e.g. you open a detail in one tab and then switch to another tab and return back => detail is still opened). Even though the spec doesn't not advise this: Navigation through the bottom navigation bar should reset the task. Google+ seems to be always opening a new activity with the "Up" arrow if you click on any button on the home screen, so they avoid this tab history issue.

    What is your opinion on this?

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

    MVI series: A pragmatic reactive architecture for Android

    Posted: 01 Mar 2018 10:57 AM PST

    Re-Architecting Applications (Without a Rewrite!) - Dan Lew

    Posted: 01 Mar 2018 08:04 AM PST

    A great beginners tutorial on MVP pattern to create simple calculator app.

    Posted: 01 Mar 2018 04:08 AM PST

    So I have been struggling to understand how to apply MVP pattern in android. After see playlist (linked below), I now understand what the fuss is all about.

    The tutorial is slow paced and the guy explain from beginners perspective. He also explain other pitfalls and how-tos. He also explains about: style, theme, layout, design process while creating a simple calculator application and the last 5 videos are on MVP design pattern. Overall it is a playlist for beginners. He also has many other useful videos for beginners and intermediates.

    It helped me a lot so I thought it was worth sharing here. Also, if anyone knows a "must watch" tutorial/screencast for MVP and design architecture, please share, it would help me and others a great deal.

    Playlist: https://www.youtube.com/playlist?list=PLBPO0k0kFkQ4WFz1RGTYPQVUOseKjGNy_

    Channel: https://www.youtube.com/user/gosuddr93/playlists

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

    Android Architecture Part 4: Applying Clean Architecture on Android, Hands on (source code…

    Posted: 01 Mar 2018 05:06 AM PST

    Simple MVI Architecture for Android - Etienne Caron

    Posted: 01 Mar 2018 08:07 AM PST

    Malformed syncadapter.xml results in broken system

    Posted: 01 Mar 2018 04:09 AM PST

    A while back when I started developing a new application I quickly implemented the structure for using the SyncAdapter framework. I left some of the information needed to properly setup the SyncAdapter out because I wanted to add them at a later point.

    Doing so resulted, after installing the .apk, in an immediate reboot of the system, a subsequent boot-loop and thus in a broken system where neither an emulator nor one actual phone could boot up again.

    I broke everything down into a sample project which you can find on GitHub [0] and submitted a bug report [1], but since no one commented on that issue I thought I'd gather feedback from you.

    What do you all think? Is this a security relevant issue for Android?

    [0] https://github.com/degill/BrickAccount

    [1] https://issuetracker.google.com/issues/37140128

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

    Android Continuous Integration using Fastlane and CircleCI 2.0 — Part II

    Posted: 01 Mar 2018 02:12 PM PST

    What are our thoughts on flutter?

    Posted: 01 Mar 2018 05:36 AM PST

    I played with it last night and it's pretty cool and really fast to write a app in. However, my biggest quip right now is unless I'm missing something key, from my initial glance at it it seems really limited in how much you can do versus the Android sdk. Such as building abstract widgets, overriding the default way of doing things for your own, etc.

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

    Android Device Monitor, Emulator, and AMD chips

    Posted: 01 Mar 2018 01:05 PM PST

    Hi all. So I have a Windows machine with an AMD chip. The virtual devices via Android Studio seem to be a no-go because of this. I got AS to recognize the Nox emulator for testing and deployment. However, I cannot get the Android Device Monitor to find it. I need it to help with SQLite databases. I have a DB browser, I just can't get the DB files off of the virtual device.

    Thanks in advance!

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

    Using TensorFlow in Android — step by step code explanation

    Posted: 28 Feb 2018 11:21 PM PST

    [NOOB Q] how much time spent fighting the tools?

    Posted: 01 Mar 2018 10:37 AM PST

    Im in the midst of developing an app as a part of a uni course, and I seem to fight the Android Studio more than I get to actually do code atm.

    Like right now i tried to run the utmost basic app, and on the 10th run it finally worked, the other 9 runs were different stuff like "HAXM not installed", some syntax error filling the terminal with paths, alot of stuff mentioning "gradle". i didnt even change the code.

    So im wondering, is this how it is to work on app development? Just battling like this? Or is this something that I learn to properly handle in the future?

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

    The CommonsBlog — The @hide Penny Drops

    Posted: 01 Mar 2018 09:28 AM PST

    How best to update a parent view with deeply nested children?

    Posted: 01 Mar 2018 02:55 PM PST

    I have an activity with a fragment that has a viewpager that has a vertical reyclerview with horiztonal recyclerview items. Think like Google Play.

    If I would like to update the hosting activity to reflect that one of the items is on sale (change the toolbar for example). What is the best way to communicate to the toolbar / hosting activity that one of the deeply nested items is on sale? Thank you!

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

    Am I not understanding the concept of database or something ?

    Posted: 01 Mar 2018 04:24 AM PST

    I want to retrieve the existing data from the firebase database but I see nothing related to such thing. All I find is added, changed, removed or moved events. But I don't have anything for just simply retrieving the children. My question is how can I retrieve the value even if there is no event. Can anyone help me ?

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

    ViroCore and ARCore 1.0 — Enabling AR development for Android

    Posted: 01 Mar 2018 01:51 PM PST

    HotSwap: Bringing hot code reloading to Buck

    Posted: 01 Mar 2018 03:45 AM PST

    Question about migrating from native app to PWA

    Posted: 01 Mar 2018 06:59 AM PST

    A client of mine has a native Android app deployed on the market.

    My client wants to stop maintaining and supporting the native app and instead provide only a PWA.

    Are there mechanisms to perform such migration?

    Or how can I make this seamless (or simple as possible) for users?

    I don't want to simply remove the app from the market and leave confused users with a dead-end app.

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

    KotlinConf 2018 registration is now open!

    Posted: 01 Mar 2018 12:51 PM PST

    Xamarin requires new sdk + jdk

    Posted: 01 Mar 2018 12:38 PM PST

    I want to give xamarin a try, but for some reason it doesn't let me download without a complete new copy of Android sdk and java. I already have both installed and don't want to download new ones. Anyway around this? Using visual studio 2017

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

    Creating Music Player

    Posted: 01 Mar 2018 12:33 PM PST

    I'm currently trying to create a music player. How hard could it be ... boy was i wrong. I've managed to get the songs from the phone and show it in RecyclerView, and play a song, based on what he selected. But not to show in bottom the player and then when pressed open a new one with a list of playlist+ notifications and now to sync everything... I don't know I'm trying to create it but don't know where can I learn step by step, in sense you need this this and this for something else. Because Apps like Timber, Phonographic are HUGE, and can't pinpoint what calls what, or if I manage to find oh here it gets called that. Now i managed to somehow make player synced and so you can stop and play the song, but still it's not clear to me how i did that it just works...Anyways... any idea how to learn better, and how to create a freaking music player, because this is getting me nowhere :( This is how it currently looks: ScreenShoot

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

    Making Android DialogFragments reusable.

    Posted: 01 Mar 2018 12:31 PM PST

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel