Profile

Cover photo
Mattias Isegran Bergander
Works at Consat Telematics
Attended Chalmers University of Technology
398 followers|379,021 views
AboutPostsPhotosVideos+1'sReviews

Stream

 
Todays android dev tip:

Drawables are cached and if you tint (#setColorFilter) one drawable all instances, including future and past ones, fetched or referenced by resource id in a layout will be tinted too. Use mutate() to get your own non-cached copy.

#anddev   #android   #androiddev  
1
Hugo Visser's profile photoMattias Isegran Bergander's profile photo
2 comments
 
Indeed, same here +Hugo Visser  . I recon that will happen more and more as tinting dynamically with material design, and Palette stuff gets more common. 
Add a comment...
 
And so it begins... Prepare for your new overlords
3
Add a comment...
 
Bought and donated, it/he is just that good. A highly recommended Launcher replacement for your android phone. Supports Google Now etc and everything you like from the standard launcher and improves it, a lot.

#android   #androidapps  
 
Introducing Action Launcher 3

An entirely new take on Action Launcher. This release is both a complete re-write and and re-design. It takes everything people really loved about Action Launcher in the past, mixes it with Google Now Launcher, and infuses it with Material Design.

The Quickdrawer, Covers and Shutters are all better than ever. And the new Quicktheme feature, which extracts the colors from your wallpaper so you can theme items on your layout, adds a whole new category of customization.

The update is currently rolling out to the Play Store now! https://play.google.com/store/apps/details?id=com.actionlauncher.playstore
250 comments on original post
1
Chris Lacy's profile photo
 
Many thanks for the support :)
Add a comment...
 
Bye bye ListView! Hi there RecyclerView (and TwoWayView!). ListView was nice for basic... lists. Well doh. Everything else felt like a hack. With RecyclerView the separation of concerns seems well thought out and handy. 

#anddev   #androiddev  
 
Android L is around the corner and it's about time to learn a tiny bit about the changes in the API.

My newest post is about RecyclerView based on the L Developer preview and the sources of it in the SDK folder.

It's the start of a series about L stuff - especially about RecyclerView and its many inner classes.

#androiddev #recyclerview  
14 comments on original post
1
Add a comment...
 
Simple and genius new android app from +Chris Lacy . Set what happens when you single, double or triple click a link anywhere. On android devices (great power). For example single click for link bubble, double for chrome, and triple to pushbullet or just the normal share intent for you to choose whatever (experimenting with that last currently).  Not surprisingly it is great in combination with Link Bubble. https://play.google.com/store/apps/details?id=com.linkbubble.playstore
 
Introducing TapPath for Android

TapPath allows you to customize how clicking a web link in a 3rd party app behaves.

A single click will load your default browser as you're used to, but you can now specify different apps to use when double and triple tapping a link. I liken it somewhat to the extra functionality that can be gained by right-clicking links on a PC, but in a mobile-friendly way.

In my case, I have Link Bubble set as my default browser (no surprises there). A double tap sends a link to Chrome, and a triple tap will send the link to PushBullet. Which apps are loaded is of course entirely customizable by you.

Grab TapPath from the Play Store now:
https://play.google.com/store/apps/details?id=com.digitalashes.tappath.playstore
117 comments on original post
2
Chris Lacy's profile photo
 
Thanks for the kind words +Mattias Isegran Bergander :)
Add a comment...
 
Android "L" has a major great change. Kitten video links in emails are even easier to handle!

Activities that launches other apps via share, image editing, etc will not "lock" the current activity. For example opening a youtube link from within an email will allow both viewing that clip, pausing it, switch to email and reply to that email or send off a new one. Then return and play some more of that video clip with kittens. It doesn't launch "within" the email app, but keeps the interaction and back stack the same.

This is a transparent change too, no changes needed to current apps, thanks to the android app model.

Can also be used by developers to create multiple "documents" of their apps. Multiple images being edited, multiple word/sheets etc. As first class citizens of the OS, meaning showing up as separate entries in the recents list.

#androiddev #anddev #android
 
I noticed a few posts from people on the new document-centric recents in Android:

https://plus.google.com/107708120842840792570/posts/HA7Ck9NWAtA
https://plus.google.com/112218872649456413744/posts/5zjxJB2W4Sk

Might as well post my own thoughts. :)

I'm really excited about this feature in L -- it will probably significantly change the application experience on Android more than you may think from what you have seen so far.

If you have the developer preview running, you can get an idea for how this changes things through a few flows:

- Go to an app in Play Store, hit the share button, select Gmail: this will launch a Gmail compose activity as a separate task, instead of part of the Play Store task.  Any existing Gmail task is left as-is.  When you finish the compose (sending or backing out), the task goes away.  This currently works for sharing to any target as long as you go through a standard share dialog.

- Go to Play Movies, go in to one of your movies; scroll down to the shopping recommendations and tap one (or select shop in the side bar).  This will launch the play movies app for shopping as a separate task.  You can now use recents to switch back to your movie without losing what you were shopping for.

- Go to Gmail and look at an e-mail with a YouTube link; click on the link and launch the YouTube app.  The YouTube player activity for that video is now in its own task and you can use recents to return to your e-mail without closing the video.

Note that none of these flows have required any changes to the apps involved: they are being done by the platform introducing some new behavior when going through the platform's share UI, and re-interpreting the existing FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET flag.

The share flow is pretty straight-forward: we just tack on some new flags when launching the target activity, one to have it in a new document task and another to have the task go away (instead of remain in recents) when there are no more activities in it.  This is very safe for current applications, since they are already dealing with a case where one of their activities is running separately as another task.  It's just now that task is a dedicated task, instead of some other app's task.  The main compatibility issue is for apps that implement their own custom share UIs, which won't get this behavior.  So those will need to update or, ideally, please switch to using the platform's UI for this. :)

FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET is more interesting.  We had a lot of discussion about this, because there is some rightful concern that this is changing the semantic of the flag in ways that are problematic for apps.  But my argument is this: the meaning of the flag is, "hey system yeah I know I am launching this thing as part of my task, but to the user it isn't really part of my app, so if they re-launch me from home please get rid of it or the user is doing to be very confused."  In the new document-centric recents world, that situation is pretty much exactly the situation where the correct thing to do now is to create a new document task.  So that flag is now poof FLAG_ACTIVITY_NEW_DOCUMENT.  And as such, when you tap on a link in Gmail, or launch Play Store from Play Movies, these are now represented as new tasks instead of stacking on the existing task.  And the user experience for this really is not all that different: still, if they re-launch the base app from home, they will come back to where they expect.  They can just still get to the separate task they had launched from recents.  And now if they bring up recents to return to the app, they see that they can return either to the base app or the separate document they had launched from it.

For developers, a key thing will be to just make sure your apps are using FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET/FLAG_ACTIVITY_NEW_DOCUMENT in appropriate places.  This will actually give you the correct behavior on both L and previous versions of the platform.

And for the smaller set of apps that really are document-centric (office suites, web browsers, etc), in L we have a more extensive set of APIs for you to represent those documents in recents and manage what is shown to the user and what happens when they are launched.
33 comments on original post
1
1
Mattias Isegran Bergander's profile photo
Add a comment...
Have him in circles
398 people
Android Niceties's profile photo
Dev Bananaer's profile photo
Kashif Hashmi's profile photo
Diosdado Macapagal's profile photo
Rikard Thulin's profile photo
Daniel Rice's profile photo
Lars Andersson's profile photo
Wiebe Elsinga's profile photo
Thomas Höög's profile photo
 
Easy security checkup for your Google stuff, with a 2GB extra drive space bonus if you do it.
Though my google logins from my Nexus 6 shows up as from a Nexus One, unless from the browser on the phone, then it correctly says Nexus 6. Had me start looking for my Nexus One...
 
Just do it!
Two gig storage as reward, but most important, better security.
2 comments on original post
1
Add a comment...
 
Time to look into Kotlin more seriously? Excellent quick overview for android (and java) developers.
#androiddev   #anddev   #programminglanguages   #programming  
 
Using Project Kotlin for Android

I've been watching and playing with Kotlin for about two years now. It's gotten to the point where I think it's really viable for Android app development. I decided to take a few nights and dig into a bunch of details about the language and why it's a good candidate.

This is a slightly modified copy of a document I presented internally at Square. We're not going to turn around and write everything in Kotlin. That wouldn't make sense. This was a sell on the language, features, and its implementation such that we can start experimenting.

Since I'm not interested in hearing people yell things that I already know about their favorite non-Java languages, comments are off and closed on this post. I've used Groovy and Scala a bunch, but thanks. I haven't used Xtend or Ceylon at all (hence their omission). If you're interested in discussing those, make your own post.

#AndroidDev #Kotlin #NotScala
Drive
Using Project Kotlin for AndroidUsing Project Kotlin for Android Statically-typed, highly-interoperable augmentation to the Java language. Author: jakewharton@gmail.com Created: 2015-01-20 Updated: 2015-01-26 Table of Contents Introduction Features Interoperability Lambas Null Safety Extension Methods Data Classes Other Awesome...
View original post
1
Add a comment...
 
So a youtube clip exceeded a signed(!) 32bit value for the number of views, forcing youtube to update. :)
 
We never thought a video would be watched in numbers greater than a 32-bit integer (=2,147,483,647 views), but that was before we met PSY. "Gangnam Style" has been viewed so many times we have to upgrade!

Hover over the counter in PSY's video to see a little math magic and stay tuned for bigger and bigger numbers on YouTube. 
500 comments on original post
1
Add a comment...
 
This is how to properly market a space mission. Ambition.
 
This is a great short film set in the future about +European Space Agency, ESA's Rosetta mission. 
4 comments on original post
1
Add a comment...
 
PSA: Not much talk about this, and still discussions/frustration about it. Especially with the play services taking up so much of those 64k. The 64k method limit is officially going away. Including support library for older releases and before a Dex format revision, which is awaiting even further improvements (the reason the Dex format haven't yet been updated just for this it seems).

Maybe +Juhani Lehtimäki , +Erik Hellman, +Reto Meier etc or other people with a better reach can help spread the good news.

About 27:55 in if you are only interested in that:

http://androidbackstage.blogspot.se/2014/08/android-developers-backstage-episode-11.html?m=1

#anddev #android #androiddevelopers
14
23
E John Feig's profile photoDianna M's profile photoSebastian Mauer's profile photoHasan Hosgel's profile photo
4 comments
 
They censor out reason number one!
silent from 28:51 to 28:55!
Add a comment...
 
Android "L" has a major great change. Kitten video links in emails are even easier to handle!

Activities that launches other apps via share, image editing, etc will not "lock" the current activity. For example opening a youtube link from within an email will allow both viewing that clip, pausing it, switch to email and reply to that email or send off a new one. Then return and play some more of that video clip with kittens. It doesn't launch "within" the email app, but keeps the interaction and back stack the same.

This is a transparent change too, no changes needed to current apps, thanks to the android app model.

Can also be used by developers to create multiple "documents" of their apps. Multiple images being edited, multiple word/sheets etc. As first class citizens of the OS, meaning showing up as separate entries in the recents list.

#androiddev #anddev #android
 
I noticed a few posts from people on the new document-centric recents in Android:

https://plus.google.com/107708120842840792570/posts/HA7Ck9NWAtA
https://plus.google.com/112218872649456413744/posts/5zjxJB2W4Sk

Might as well post my own thoughts. :)

I'm really excited about this feature in L -- it will probably significantly change the application experience on Android more than you may think from what you have seen so far.

If you have the developer preview running, you can get an idea for how this changes things through a few flows:

- Go to an app in Play Store, hit the share button, select Gmail: this will launch a Gmail compose activity as a separate task, instead of part of the Play Store task.  Any existing Gmail task is left as-is.  When you finish the compose (sending or backing out), the task goes away.  This currently works for sharing to any target as long as you go through a standard share dialog.

- Go to Play Movies, go in to one of your movies; scroll down to the shopping recommendations and tap one (or select shop in the side bar).  This will launch the play movies app for shopping as a separate task.  You can now use recents to switch back to your movie without losing what you were shopping for.

- Go to Gmail and look at an e-mail with a YouTube link; click on the link and launch the YouTube app.  The YouTube player activity for that video is now in its own task and you can use recents to return to your e-mail without closing the video.

Note that none of these flows have required any changes to the apps involved: they are being done by the platform introducing some new behavior when going through the platform's share UI, and re-interpreting the existing FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET flag.

The share flow is pretty straight-forward: we just tack on some new flags when launching the target activity, one to have it in a new document task and another to have the task go away (instead of remain in recents) when there are no more activities in it.  This is very safe for current applications, since they are already dealing with a case where one of their activities is running separately as another task.  It's just now that task is a dedicated task, instead of some other app's task.  The main compatibility issue is for apps that implement their own custom share UIs, which won't get this behavior.  So those will need to update or, ideally, please switch to using the platform's UI for this. :)

FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET is more interesting.  We had a lot of discussion about this, because there is some rightful concern that this is changing the semantic of the flag in ways that are problematic for apps.  But my argument is this: the meaning of the flag is, "hey system yeah I know I am launching this thing as part of my task, but to the user it isn't really part of my app, so if they re-launch me from home please get rid of it or the user is doing to be very confused."  In the new document-centric recents world, that situation is pretty much exactly the situation where the correct thing to do now is to create a new document task.  So that flag is now poof FLAG_ACTIVITY_NEW_DOCUMENT.  And as such, when you tap on a link in Gmail, or launch Play Store from Play Movies, these are now represented as new tasks instead of stacking on the existing task.  And the user experience for this really is not all that different: still, if they re-launch the base app from home, they will come back to where they expect.  They can just still get to the separate task they had launched from recents.  And now if they bring up recents to return to the app, they see that they can return either to the base app or the separate document they had launched from it.

For developers, a key thing will be to just make sure your apps are using FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET/FLAG_ACTIVITY_NEW_DOCUMENT in appropriate places.  This will actually give you the correct behavior on both L and previous versions of the platform.

And for the smaller set of apps that really are document-centric (office suites, web browsers, etc), in L we have a more extensive set of APIs for you to represent those documents in recents and manage what is shown to the user and what happens when they are launched.
33 comments on original post
4
Add a comment...
People
Have him in circles
398 people
Android Niceties's profile photo
Dev Bananaer's profile photo
Kashif Hashmi's profile photo
Diosdado Macapagal's profile photo
Rikard Thulin's profile photo
Daniel Rice's profile photo
Lars Andersson's profile photo
Wiebe Elsinga's profile photo
Thomas Höög's profile photo
Work
Occupation
MSc CS&E, System Architect/Developer
Employment
  • Consat Telematics
    MSc CS&E, System Architect/Developer, 2009 - present
  • Consat Engineering
    2005 - 2009
  • Pilotfish Networks
    1999 - 2005
Basic Information
Gender
Male
Relationship
Married
Other names
Bergander
Apps with Google+ Sign-in
Story
Tagline
Programmer by day & night and the family in between!
Introduction
A runner and a computer and programming geek, currently mostly Java, Android, C++, C#, ... Black belt 2 Dan martial arts (Bujinkan). Trail ultra-marathon 45km finisher.

My own Android apps:
  • Timer Flow -One timer leads to the next, can repeat groups of them, for workouts etc
  • Yoga Timer -Specialized yoga version of Timer Flow
  • House alarm -Home alarm remote for certain home alarm models
Android apps in development:
  • Unannounced "secret" RTS Game
Bragging rights
2 Dan Bujinkan black belt. Committed code to Java 6. Best customer praise about delivered software: "Euphoric chock". Was in the Robocode top 3. Trail ultra-marathon 45k finisher.
Education
  • Chalmers University of Technology
    M.Sc. Computer Science & Engineering, 1996 - 2000
Mattias Isegran Bergander's +1's are the things they like, agree with, or want to recommend.
Google's Latest Android Commercial Reaches Cute Factor 11 By Mixing Ador...
www.androidpolice.com

In 1973 Disney released Robin Hood, a kid-friendly re-telling of the English outlaw legend with anthropomorphic animal characters. There was

HUD Watch Face
market.android.com

Only for Wear. HUD Watch Face allows you to monitor the battery, memory and disk usage with an animated radial interface at your wrist. Digi

Raymond E. Feist - Google Play
market.android.com

Raymond Elias Feist is an American author who primarily writes fantasy fiction. He is best known for The Riftwar Cycle series of novels and

Action Launcher
market.android.com

★★★ Featured by Engadget, Google Play, Lifehacker, MKBHD and Leo Laporte on TWiT ★★★ ★★★ "Action Launcher is something special." - Android P

Efter kundernas klagomål: Bindningstiderna slopas
www.dn.se

När Tele 2 granskade sina kundärenden visade det sig att missnöjet med mobilabonnemangen var kompakt. Nu avskaffar man alla bindningstider m

Google Fit
market.android.com

• Noś przy sobie telefon i śledź aktywność związaną z chodzeniem, bieganiem oraz jazdą na rowerze.Osiągaj swoje fitnessowe cele • Wyznaczaj

Pushbullet
market.android.com

Never miss another phone call or text message again while using your computer!Pushbullet automatically shows you all of your phone's notific

Prisjakt
market.android.com

Prisjaktappen ger dig möjligheten att göra en bra affär vid varje köp. En fullproppad app med bl.a. realtidssök, streckkodsskanning och pris

Sky Force 2014
market.android.com

Легендарная мобильная игра возвращается, чтобы отметить свою 10-летнюю годовщину в суперразрушающем стиле. Сочетая популярность классических

”Vegetariskt i skolan varannan dag mot livsstilssjukdomar”
www.dn.se

Vad vi äter under uppväxten har stor betydelse för vår framtida hälsa. Liten konsumtion av frukt och grönt bidrar till förkortad livslängd.

Några av de bästa nya funktionerna i Android 5.0 Lollipop - Swedroid
www.swedroid.se

Google beskriver Android 5.0 som det största och mest ambitiösa släppet i plattformens sexåriga historia. Android verkar till sist ha blivit

För SD finns bara en valuta
www.dn.se

Om nu 13 procent av väljarna har röstat på SD, om nu det parlamentariska läget omöjliggör traditionell blockpolitik, om nu en statsminister

Vad kan du om människan?
www.dn.se

De flesta är överens om att människan är släkt med aporna. Testa vad du kan om människans härkomst. ;

Android Developers Backstage: Episode 11: ART, pART 2 (Trash Talk)
androidbackstage.blogspot.com

In this continuation of the previous gripping and suspenseful episode known as Episode 10, Tor and Chet hear more from Anwar Ghuloum from th

Google Play services
market.android.com

Google Play services is used to update Google apps and apps from Google Play. This component provides core functionality like authentication

Link Bubble
market.android.com

★★★ "I’m tempted to call this something of a revelation." - The Next Web ★★★ ★★★ "This app may very well change the way I browse the web on

Yahoo Aviate Launcher
market.android.com

Yahoo Aviate Launcher is not your typical launcher. Unlike GO, Nova, Apex and other similar launchers, Aviate automatically simplifies and i

Boom Beach
market.android.com

Storm the beach and win the day! Boom Beach is a combat strategy game where you fight an epic war against the evil Blackguard. Take your exp

Great food with a chef who seems to love what he is doing. Great menu, nice interior, and excellent service. Went back many times.
Quality: ExcellentFacilities: ExcellentService: Excellent
Public - 2 years ago
reviewed 2 years ago
Public - 2 years ago
reviewed 2 years ago
Public - 2 years ago
reviewed 2 years ago
11 reviews
Map
Map
Map
Quality: ExcellentAppeal: ExcellentService: Excellent
Public - 2 years ago
reviewed 2 years ago
Quality: ExcellentAppeal: ExcellentService: Excellent
Public - 2 years ago
reviewed 2 years ago