Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 5 of 5

Thread: Creating an app that allows customization for notifications such as led colors, vibrate ... ect.

  1. #1
    Junior Member
    Join Date
    May 2013
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Creating an app that allows customization for notifications such as led colors, vibrate ... ect.

    So I want to create an app where the user can adjust the colors of led, vibrate, and other notifications. I made a small app practicing working with the LED's but I don't know how to change the built in Android preferences. Any ideas of how to do this, where I should look for help? I've been reading the documentation but I have not been able to find out how Android stores these preferences.

    The app I am looking to create would be similar to light flow - LED Controller app.


  2. #2
    Super Moderator jps's Avatar
    Join Date
    Jul 2012
    Posts
    2,642
    My Mood
    Daring
    Thanks
    90
    Thanked 263 Times in 232 Posts

    Default Re: Creating an app that allows customization for notifications such as led colors, vibrate ... ect.

    Pick a search engine and keywords: android led
    See what the api has to say about controlling the light if available, there is plenty to read there.
    Any time java or android is involved, their respective API is always an excellent (if not the best) resource available to the public

  3. The Following User Says Thank You to jps For This Useful Post:

    gongshow20 (May 20th, 2013)

  4. #3
    Junior Member
    Join Date
    May 2013
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: Creating an app that allows customization for notifications such as led colors, vibrate ... ect.

    I have been messing around with a simple app where buttons would trigger led notifications using NotificationManager and Notification. My problems is I can't find any documentation or examples on Github that I could use for references. Looking through the Android API, I can't find any references on how I could change the notification preferences.

  5. #4
    Super Moderator jps's Avatar
    Join Date
    Jul 2012
    Posts
    2,642
    My Mood
    Daring
    Thanks
    90
    Thanked 263 Times in 232 Posts

    Default Re: Creating an app that allows customization for notifications such as led colors, vibrate ... ect.

    What do you mean by change notification preferences? ...what preferences?

  6. #5
    Junior Member
    Join Date
    May 2013
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: Creating an app that allows customization for notifications such as led colors, vibrate ... ect.

    Quote Originally Posted by jps View Post
    What do you mean by change notification preferences? ...what preferences?
    I want to create a user interface where the user can change what kind of notification (led color, vibrate ... etc) is used for certain event. Say someone receives a text, they can specify what color the led is when a text is received. I am assuming that is stored in android as some kind of preference, that is what I meant by notification preference.

Similar Threads

  1. Receive Server Sent Event Notifications in JAVA SERVER PAGE (JSP)
    By amritasenthilkumar in forum Web Frameworks
    Replies: 1
    Last Post: August 17th, 2012, 02:30 PM
  2. JTextArea customization
    By Bagzli in forum AWT / Java Swing
    Replies: 2
    Last Post: April 23rd, 2012, 08:08 AM
  3. My app audio sounds different when running the app?
    By TP-Oreilly in forum Android Development
    Replies: 1
    Last Post: January 29th, 2012, 08:23 AM
  4. Need some help changing the colors of a picture
    By Methos in forum What's Wrong With My Code?
    Replies: 1
    Last Post: January 25th, 2012, 04:49 PM
  5. Creating a java program to "Beat" Snake web app?
    By AkOndray in forum AWT / Java Swing
    Replies: 2
    Last Post: December 5th, 2010, 12:36 AM