Notification - Getting Pending Notifications

by Siju » Thu, 01 Oct 2009 06:05:54 GMT


Sponsored Links
 Is there a way to access pending notification or the previous
notification that my application created?

When I use Notification manager and use its setLatestEventInfo()
method the last notification (with same intent) is updated. This is
exactly what I want but when I update the notification, I want to
access the existing notification's intent and get the key/value paris
(Extras) and use that information to update the notification.

For example in an SMS notification, I want to to get the current
message (key/value pair or message itself) and update that with the
new value. ( For giving the number of notifications, I can use the
Notification.number, but that I want to access more values).

One workaround that I am thinking is to put the data of first
notification in database or in preference and access it when the
second notification comes. But this is not exactly what I want, it is
easier to use the existing notification instead of storing in database
or preferences.

Related Question: What do you suggest I use, Database or Preferences?
Is there a best practise in terms of performance and elegance?

Thanks and regards
Siju Mathew

--~--~---------~--~----~------------~-------~--~----~



Notification - Getting Pending Notifications

by Siju » Sat, 03 Oct 2009 19:16:32 GMT


 Hi All,

Any ideas how to do this? Sorry for the reminder mail.

Regards,
Siju Mathew



--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. cPanel Web Hosting Controls Give End Users the Power of Reliable & Affordable Web Hosting Services

The challenges for web businesses trying to differentiate themselves
from the pack are great. Of course, finding cheap, reliable website
hosting providers isn always easy. But even with a solid business
web hosting provider and a great website, the issue of content
management continues to hamstring many small businesses. The
importance of simple content management is greater all the time now
that the SEO arms race is underway.

Often end users are forced to choose between affordable web hosting
services that make site maintenance and updating content difficult, or
high-end, old-platedEcommerce web hosting services that perform
well but require significant up-front capital or a large monthly fee
that many startups just can afford.

Fortunately for most web businesses, the playing field has been
leveled. Open-source content management systems like Joomla hosting
services offer ease of use in a free package that spells affordable
web hosting services for the end user. With Joomla, the level of
specialized knowledge necessary to upload content and make simple
changes to a website has become much more manageable. Website hosting
providers can now spend work hours assisting clients with more complex
coding issues and database management rather than as intermediaries
for content work clients would often rather do themselves.

Now cPanel web hosting control panel makes the content management
process even easier. The intuitive cPanel interface takes the Joomla
hosting services system and divides it into three tiers for different
levels of users, while providing everyone working on the same project
with access to the same information and content.

With the cPanel web hosting system, it works like this. Hosting
administrators have access to the most complex levels of cPanel
functionality. Resellers like secondary web-design services are able
to have complete creative control over the look and feel of the site
plus most of the basic functionality of the site features. End user
website owners have access to all content including text, images,
videos and Ecommerce products to change, add or delete as needed, but
without a dizzying array of options that are only relevant to site
administrators. Business web hosting providers can even communicate
and share content with their clients via message threads in the
control panel rather than through confusing email conversations.

Full-service business web hosting providers like Simple Source
Solutions that offer creative services like logo design services and
copywriting now have more time to generate creative content as well.
When youe in the market for affordable web hosting services, make
sure you choose cPanel web hosting functionality to give you more
control over your website with less technical hassle.

Simple Source Solutions (http://www.getsimple.net/ ) offers affordable
web hosting services, reliable Ecommerce webhosting services, joomla
hosting services and Cheap cPanel Web Hosting. Deal with Simple source
solutions and get exactly what you want.

-- 

2. File Downloads in Android Web Browser

For a little while now, I've been trying to figure out why I couldn't
download video files from the website i'm working with the Android OS
web browser, although I have found a work-around solution.  For some
reason, it seems as if the Android web browser (default OS web
browser) does not properly handle the "Content-Disposition:
attachment;" header from the webserver (in this case, Lighttpd).  When
attempting to download a file, all I was seeing with both HTC Dream
and HTC Magic (most recent OS version) was that it attempted to
download the file, but it couldn't detect the file name and the file
had no content.  Now after looking through the HTTP 1.1 RFC
documentation, I've noticed that they state that the "Content-
Disposition" directive is not part of the HTTP standard (Section 15.5
of RFC2616).

I thought that this issue was possibly due to the fact that no
attachment file name was being specified, but then I came across
another section in the Hypertext Transfer Protocol specification
(RFC2616) that states the following:

"RFC 1945 and RFC 2068 document protocol elements used by some
existing HTTP implementations, but not consistently and correctly
across most HTTP/1.1 applications. Implementors are advised to be
   aware of these features, but cannot rely upon their presence in, or
interoperability with, other HTTP/1.1 applications. Some of these
describe proposed experimental features, and some describe features
that experimental deployment found lacking that are now addressed in
the base HTTP/1.1 specification." (Section 19.5 RFC 2616)  As the
grammar for that directive shows (Section 19.5.1), there can be 0 or
more disposition parameters after the "Content-Disposition:
attachment" directive.  So basically, to remedy this issue, i've had
the "Content-Disposition: attachment" directive removed from the web
server, but what I'd really like to know is if this could possibly be
a bug with the Android web browser or if it's something the developers
purposely did because that directive is not officially part of the
HTTP standard?

If anyone could give me an answer on that, it would be greatly
appreciated!  Also, if I am getting any facts mixed up or if there is
something else i'm unaware of, please let me know.

Thanks

Al

--~--~---------~--~----~------------~-------~--~----~

3. how to add ImageButtons to the List elements

4. Google Maps - Traffic View

5. Tanpa unlimited card was Kepikiran

6. Fail to create a new file on a sdcard

7. Paging android user @ kelapa gading