Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8602379
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T02:04:20+00:00 2026-06-12T02:04:20+00:00

I have created an accessibility service so I can get certain notifications and display

  • 0

I have created an accessibility service so I can get certain notifications and display them in my app. This works fine I use event.getPackageName() to determine if I want that event displayed or not (ie is it a gtalk msg etc).

However I also want to be able to get the intent of that notification so I can use it in my application so for example if it was a google talk message clicking on the notification normally will take me to the talk thread.

Is there anyway to get that intent from the notification? I have googled and looked on here but haven’t found anything similar, I’ve also looked through the options I have on event, getParceable looks like it could be what I need if its possible but I’m not sure how to handle that.

Any help would be appreciated. Thanks.

Rob

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T02:04:21+00:00Added an answer on June 12, 2026 at 2:04 am
    Notification n = (Notification) event.getParcelableData();
    n.contentIntent.send();
    

    Note with this example the event must be a Notification event, if you get any other then you will get a ClassCastException.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Have created a UIButton programmatically, all works as expected but how can I use
have created REST service using servicestack and in post request I have return object
How to add accessibility requirements to a swf created using mxml+flex sdk? I have
I have a navigation controller app. I created a RootViewController class with Xib file.
I have created a Facebook application that I don't want to use anymore. I
I have created an accessible keyboard for the blind, that works on finger gestures.
I have created a KPI and trend expression that works at the year level.
I have created a QWidget with a bunch of QToolButtons in it and I
I have created 3 classes as following Ext.mine.TextParent - Inherting from Textfield Ext.mine.child.TextChildA -
I have created some JQuery that will expand a div 'popup' on hover and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.