Profile

Cover photo
Roy Solberg
Works at EVRY Consulting
108 followers|49,569 views
AboutPostsPhotosVideos+1's

Stream

Roy Solberg

Shared publicly  - 
 
Finally! :-) #nexus5 #unboxing
1
Add a comment...

Roy Solberg

Shared publicly  - 
 
 
Walking around Mobile World Congress and seeing the Android ecosystem at work is quite impressive. There are over 450,000 applications in Android Market. Some of the developers who built these apps are showing their latest and greatest in the Android stand. But the ecosystem doesn't sleep. Our partners have activated a total of 300 million Android phones! Currently they are activating over 850,000 phones and tablets per day.
1
Add a comment...

Roy Solberg

Shared publicly  - 
 
 
#androidprotip
Boolean tricks in the manifest

You can use boolean resources to selectively enable or disable manifest components.

Suppose you have an email app and want to provide a ListView-based app widget. Since ListViews weren't supported in app widgets until Android 3.0 (API 11), you should either provide an alternate view or disable the widget for earlier devices. While the former approach is preferred, the latter approach can be a good temporary solution to allow you to release new features early and often.

Let's look at how to enable the widget only for API 11+ devices using boolean resources:

res/values/bools.xml

<resources>
<bool name="hasHoneycomb">false</bool>
</resources>

res/values-v11/bools.xml

<resources>
<bool name="hasHoneycomb">true</bool>
</resources>

AndroidManifest.xml

<receiver android:name=".WidgetProvider" android:enabled="@bool/hasHoneycomb">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
<meta-data android:name="android.appwidget.provider"
android:resource="@xml/widgetinfo"/>
</receiver>

When you've updated your widget to support older devices, you can safely disable this conditional logic.

Note: this technique only works for the platform version qualifier; all other qualifiers could possibly change at runtime. doesn't work with all qualifiers; for example, screen size qualifiers such as -large or -sw600dp will not work.

This week's protip is from +Roman Nurik, got a tip you'd like to share? Let us know using the #androidprotip hashtag.
1
Add a comment...

Roy Solberg

Shared publicly  - 
 
Impressive! Watch how the app floats above the other apps.
Dagfinn Parnas originally shared:
 
Android app StickIt has some amazing tricks up it sleeves.

How is it even possible to have a floating window that is visible across all other apps?

Stick it! Free your Player! Android Tab App Review - DailyAppShow

https://market.android.com/details?id=com.myboyfriendisageek.stickit
1
Add a comment...
In his circles
118 people
Have him in circles
108 people
Lars-Helge Netland's profile photo
Andreas Berre's profile photo
Kristian Walle's profile photo
Christian Mohn's profile photo
Wenche Tollevsen's profile photo

Roy Solberg

Shared publicly  - 
 
Haven't seen this library before. Looking forward to using
@ProbablyIllegalIn(number= 17, region = STATES) :-D

RT +Remi Sture: http://code.google.com/p/gag/
1
1
Add a comment...

Roy Solberg

Shared publicly  - 
 
Why haven't anyone told me about this before? (Thanks +Håkon Nilsen!)
Had to download the image manually as it didn't show up in my list Android SDK Manager automatically. I did a quick test with two clean images with the same specs. Startup time for the ARM image was 01:23, while the Intel Atom image used only 00:44!
Just too bad the two emulators seem just as slugish in use. Guess I won't stop using the USB debugging yet..
1
Håkon Nilsen's profile photo
 
I'm beginning to think that they're emulating x86 on x86 as well. This is by no means better than the arm-emulator. I haven't yet tried manually starting emulator-x86.exe to force it into x86-mode, but I'm thinking it won't make a difference.
Add a comment...

Roy Solberg

Shared publicly  - 
 
Good ol' times. :)
1
Sondre Eikanger Kvalø's profile photo
 
Don't miss 56kbps speed though. Broadband FTW
Add a comment...
People
In his circles
118 people
Have him in circles
108 people
Lars-Helge Netland's profile photo
Andreas Berre's profile photo
Kristian Walle's profile photo
Christian Mohn's profile photo
Wenche Tollevsen's profile photo
Basic Information
Gender
Male
Work
Employment
  • EVRY Consulting
    Seniorkonsulent, 2011 - present
  • Bouvet
    Konsulent, 2007 - 2011
  • CoreTrek
    Systemutvikler/teknisk prosjektleder, 2005 - 2007
Links
Other profiles
Roy Solberg's +1's are the things they like, agree with, or want to recommend.
Toddler games: Fun touch
market.android.com

Toddler games: Fun touch er et superenkelt og veldig morsomt gratis barnespill. Bare trykk på skjermen for å se bilde og høre lyd. Hvis du h

The Room
market.android.com

Welcome to The Room, a physical puzzler, wrapped in a mystery game, inside a beautifully tactile 3D world.***************** Praise for The R

Google I/O 2014
www.google.com

Google I/O 2014 brings developers together for an immersive, two-day experience focused on exploring the next generation of technology. Join

Toddler games: Finger paint
market.android.com

Toddler games: Finger paint is a simple and fun painting app for kids.This game suits children from they're about 6 months old. If they are

Hokus Pokus Alfons Åberg FREE
market.android.com

Med denna app kan du prova spelet gratis, men för att få hela spelet måste du köpa den fulla versionen. I detta innehållsspäckade spel för s

ASTRO Gerenciador de Arquivos
market.android.com

ASTRO File Manager tem mais de 70 milhões de downloads. Top arquivo e gerente de cloud no Android. Organizar, pesquisar, visualizar e recupe

Chromecast
market.android.com

Chromecast is the easiest way to enjoy online video and anything from the web on your TV. Plug it into any HDTV and control it with your exi

Toddler games: Shape sorting
market.android.com

Toddler games: Shape sorting is a simple and fun game for kids. It learns the child to recognize shapes and put them into the correct place.

Skyss Reise
market.android.com

Denne appen gir deg oppdatert informasjon om når buss, båt og bybane går i Hordaland. Sanntid Avganger med sanntid er markert med rød farge,

Bunny's road trip
market.android.com

THIS GAME IS FOR YOUR YOUNG TODDLER (2-4 YEARS), AND THAT'S WHY IT'S SO EASY TO PLAY. :-)Help Bunny collect flowers, fruits and more on his

Google Analytics
market.android.com

Acesse todos os seus perfis de relatórios da Web e de aplicativos do Google Analytics em seu dispositivo móvel. O aplicativo tem uma aparênc

Clash of Clans
market.android.com

Lead your clan to victory! Clash of Clans is an epic combat strategy game. Build your village, train your troops and battle with thousands o

THE Hockey App
market.android.com

Based on the wildly successful football/soccer app, FotMob, we are now proud to present THE Hockey App giving you access to hockey scores fr

Waze Social GPS Maps &amp; Traffic
market.android.com

Waze is a fun, community based mapping, traffic &amp; navigation app, 50 million strong. Join forces with other drivers nearby to outsmart traff

Teclado SwiftKey
market.android.com

SWIFTKEY: EL TECLADO QUE ADIVINA LO QUE PIENSAS La aplicación número 1 en 58 países con Google Play, más de 200.000 comentarios de ***** “In

Wifi Analyzer
market.android.com

Tovert uw telefoon om in een WiFi analyse apparaat! Toont de WiFi kanalen om u heen en helpt u een minder bezet kanaal te vinden voor uw dra

Google 身份验证器
market.android.com

Google 身份验证器会在您的手机上生成两步验证码。为避免帐户遭盗用,您可以启用两步验证,为帐户多添加一道安全防线。采用两步验证后,登录时不仅需要输入您的帐户密码,还需要输入 Google 身份验证器应用生成的验证码。前往 accounts.google.com/SmsAuth

Soccer Scores - FotMob
market.android.com

Più di un milione di download per la migliore applicazione calcistica in circolazione. Disponibile la versione a pagamento senza pubblicità

bwip-js
code.google.com

Barcode Writer in Pure JavaScript