Skip to content Skip to sidebar Skip to footer
Showing posts with the label Android 5.0 Lollipop

Adding A Terminate Playback Button Using Android L Notification.mediastyle

I want to create a Media Playback notification using the new Android L MediaStyle template. Now, I … Read more Adding A Terminate Playback Button Using Android L Notification.mediastyle

Android 5.0 Lollipop And 4.4 Kitkat Ignores My Wifi Network, Enablenetwork() Is Useless

My app connect directly to a hardware device that act as an access point (with no access to interne… Read more Android 5.0 Lollipop And 4.4 Kitkat Ignores My Wifi Network, Enablenetwork() Is Useless

Can't Call Void Android.view.view.setelevation(float) On Null Object In Lapism/searchview

I am using library lapism/SearchView (https://github.com/lapism/SearchView) in my project but I get… Read more Can't Call Void Android.view.view.setelevation(float) On Null Object In Lapism/searchview

Using Sliding Tabs With Toolbar

I've started to change from using ActionBarActivity to AppCompatActivity, but I've also sta… Read more Using Sliding Tabs With Toolbar

Android Design Support Library With Theme.material

I would like to use the new design support library in my application beginning with the API 21. I w… Read more Android Design Support Library With Theme.material

Media_projection_service Not Valid In Call To Getsystemservice()

I am trying to develop an application that requires the ability to capture screen content. I'm … Read more Media_projection_service Not Valid In Call To Getsystemservice()

Jodatime Issues On Android 5.0

My app has been working for some time, but after the release of Android 5.0 it crashes on devices r… Read more Jodatime Issues On Android 5.0

Align-center Slidingtablayout

After I moved my app to 5.0, I had to move from the basic tabs to the slidingTabLayout that a googl… Read more Align-center Slidingtablayout

How To Mimic The Listview Stickey-items Like On Lollipop's Contacts App?

Background Google has recently published a new version of Android, which has a contact app that loo… Read more How To Mimic The Listview Stickey-items Like On Lollipop's Contacts App?

How Can I Send A String Through Nfc While Screen-pinning?

I am trying to send a String through NFC while my app is using screen pinning. It does not work: Th… Read more How Can I Send A String Through Nfc While Screen-pinning?

Navigation Drawer Below Tool Bar In Material Design

I want my drawer to open from the left below the tool bar. But, according to Material Design aspect… Read more Navigation Drawer Below Tool Bar In Material Design

Setcolorfilter() Broken On Android 4, Working On Android 5

I am trying to flash different colours onto the screen at regular intervals (a few times per second… Read more Setcolorfilter() Broken On Android 4, Working On Android 5

Onclick Event On Textview Stops Rippleeffect On Cardview

I have a TextView inside a CardView. When enabling the ripple effect for Lollipop on the CardView b… Read more Onclick Event On Textview Stops Rippleeffect On Cardview

Install Updates For A Device-owner App

Does anyone know what is the behavior in production of a device-owner App, distributed thru Google … Read more Install Updates For A Device-owner App

Android L Is Ignoring Shapes As Drawable Background

I'm testing Android L Preview on my Nexus 5. I've got problem with my app. I've got som… Read more Android L Is Ignoring Shapes As Drawable Background

Count How Many Times Every App Is Used In One Day Using Usageevents, Usageevents.event And Move_to_foreground

With UsageStatsManager and UsageStats I'm able to obtain the daily usage (in hours, minutes and… Read more Count How Many Times Every App Is Used In One Day Using Usageevents, Usageevents.event And Move_to_foreground

Wificonfiguration Enable Network In Lollipop

I was working on Wifi project, there is a module that enable user to join wifi programatically. In … Read more Wificonfiguration Enable Network In Lollipop

How To Customize Edittext Field In Android Using Appcompat V7:21

I'm using the Appcompatv7 21 and trying to customize the editText field. Weird thing is that it… Read more How To Customize Edittext Field In Android Using Appcompat V7:21

Adding Two Appcompat Toolbars With Different Themes

I would like to have two different android.support.v7.widget.Toolbars in my app, one dark, one ligh… Read more Adding Two Appcompat Toolbars With Different Themes

How To Get Running Application Activity Name In Android 5.0(l)?

I am using the following code to get the current running activity name in android. ActivityManager … Read more How To Get Running Application Activity Name In Android 5.0(l)?