1. Download our Official Android App: Forums for Android!

Apps Led notification app

Discussion in 'Android Development' started by ownage16, Feb 13, 2014.

  1. ownage16

    ownage16 Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    3
    Joined:
    Dec 15, 2012

    Dec 15, 2012
    3
    0
    5
    Hello,

    i'm trying to make an app that when you press the "Start Led" button, the Led from Nexus 5 phone will start beeping in a certain color.When i try using the app the notification appears in the top bar (Hello World) but after i turn off the screen the Led doesn't start. Can you please help me?

    Main activity:
    It says the contructor Notification is deprecated and
    The method SetLastestEventInfo is also deprecated
     

    Advertisement

Share This Page

Loading...