The webpages about the dropbox api would explain it better than I. Here's
one page:
https://www.dropbox.com/developers-v1/sync/start/android
The nice thing is there are complete android app examples that you can use
as a starting point if you're willing to host your content on dropbox.
Good
Can you Elaborate
--
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to
I test some notifications and I supposed that wear's policy has been
changed.
Wear 1.3.X
notification w/o vib immediately, dim screen
vib{0,0} immediately, dim screen
vib{0,1} immediately, screen on, vib
Wear 1.4.X
notification w/o vib piggyback
vib{0,0}
Can you please post that XML and where I should put it?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
It's working as intended. It's conservative, in that it shows the
notification until the user dismisses it, regardless of the supposed
state of the actual messages.
You can submit a feature request if you want to set the behavior the way
you want it. Do you have a particular reason to change
Nothing happens if I set AUTO_CANCEL.
Sorry for the very late answer.
On febr. 29, 20:04, TreKing treking...@gmail.com wrote:
On Wed, Feb 29, 2012 at 7:52 AM, bt barta...@gmail.com wrote:
Is there any solution to close it automatically after click?
You have this flag
On Thu, Feb 23, 2012 at 12:59 AM, 涂涛 ttgdztu...@gmail.com wrote:
if you want to persist your data,you must use somthing like
database(SQLiteDatabase in android),or you can use SharedPreference.
Or regular old files, or cloud storage.
I won't argue that a setting in SharedPreferences won't work...
But at the same time, shouldn't it be possible to do this just with
the Intent itself? If you use the putExtra method on your intent and
add just a simple boolean that indicates that the button should be set
to on, I would think this
On Wed, Feb 22, 2012 at 9:12 AM, Kookamonga site...@yahoo.ca wrote:
But at the same time, shouldn't it be possible to do this just with the
Intent itself? If you use the putExtra method on your intent and add just a
simple boolean that indicates that the button should be set to on, I would
if you want to persist your data,you must use somthing like
database(SQLiteDatabase in android),or you can use SharedPreference.
On Wed, Feb 22, 2012 at 11:41 PM, TreKing treking...@gmail.com wrote:
On Wed, Feb 22, 2012 at 9:12 AM, Kookamonga site...@yahoo.ca wrote:
But at the same time,
Daniele Segato daniele.segato at gmail.com writes:
On 12/08/2011 09:49 AM, Daniele Segato wrote:
On 12/06/2011 01:41 PM, kilaka wrote:
Does NOT work for me as well. The text is white and looks bad on a
bright background.
I ended up using the guidelines for Android 2.3 and greater and
Thanks Mort for the find. I've written up a bug report:
http://code.google.com/p/android/issues/detail?id=23863thanks=23863ts=1325611036
As a work-around I've found you can set the background color on the
Layout in xml. So I use two separate layouts, one for 4.0.3 that sets
the background to a
On 31 Dez. 2011, 11:10, Zsolt Vasvari zvasv...@gmail.com wrote:
Maybe it's a 4.0.2 vs 4.0.3 problem. You could try it in an emulator
and if it's a regression in 4.0.3, create a bug report.
It seems to be a 4.0.3 bug. I've got the same bug both on the 4.0.3
emulators (4.0.0 don't work for me -
Maybe it's a 4.0.2 vs 4.0.3 problem. You could try it in an emulator
and if it's a regression in 4.0.3, create a bug report.
On Dec 31, 1:45 am, Brad Grimm sna...@gmail.com wrote:
Note: I just noticed this happens only on the Nexus S (upgraded to
Android 4.0). On the Galaxy Nexus the colors
I think this subject was discussed only some days ago. Take a look at
the following tutorial. It's comprehensive and explains everything you
need: http://mobiforge.com/developing/story/sms-messaging-android
-
Ali Chousein
Weather-Buddy
I'd like to know which is the intent android sends when it sends a message.
And how can I listen for this intent in my application. I wanted that, when
I send a message in native android messaging, my application listen this
intent, so it will know a new message has been sent.
So, which one is
Note: I just noticed this happens only on the Nexus S (upgraded to
Android 4.0). On the Galaxy Nexus the colors appear just fine.
On Dec 30, 10:41 am, Brad Grimm sna...@gmail.com wrote:
We have a custom notification that uses a linear layout through a
RemoteView. On Android 4.0 (Ice Cream
On 12/06/2011 01:41 PM, kilaka wrote:
Does NOT work for me as well. The text is white and looks bad on a
bright background.
I ended up using the guidelines for Android 2.3 and greater and set up
my custom colors for Android 2.2 and lower..
This is not the first time I found the Android
On 12/08/2011 09:49 AM, Daniele Segato wrote:
On 12/06/2011 01:41 PM, kilaka wrote:
Does NOT work for me as well. The text is white and looks bad on a
bright background.
I ended up using the guidelines for Android 2.3 and greater and set up
my custom colors for Android 2.2 and lower..
This
Does NOT work for me as well. The text is white and looks bad on a
bright background.
On Nov 25, 11:11 pm, Daniele Segato daniele.seg...@gmail.com wrote:
I was following this guide lines:
http://developer.android.com/guide/topics/ui/notifiers/notifications
which states:
[...]to use
Hi,
I play sound asynchronously (in a separate thread). The first thing I
do is query the duration of the sound clip ie how many miliseconds,
then I play the sound clip keep the thread running for at least the
duration of the clip. That way the sound is not 'cut off' before it
has finished
it is removed from the document, but it seems it is still used even in the
demo app. i guess it will still be available for a while :P
http://developer.android.com/resources/samples/ApiDemos/AndroidManifest.html
receiver android:name=.os.SmsMessageReceiver android:enabled=false
Thanks for the response, you are correct in that it does not have the
Android Market. However, there are apps that run full screen without
that bar, so there must be some way to turn it off.
On Apr 20, 1:56 pm, Mark Murphy mmur...@commonsware.com wrote:
If I had to guess, they do not have the
You would need to ask Viewsonic about how they allow it. If it doesn't have
Market, they may have modified the platform in pretty much any way
imaginable.
On Wed, Apr 20, 2011 at 3:05 PM, John Gaby jg...@gabysoft.com wrote:
Thanks for the response, you are correct in that it does not have the
you can use the buzzbox sdk here:
http://hub.buzzbox.com/android-sdk/
it uses the Alarm Manager and the standard notifications system
it also include the settings UI to choose days of the week, frequency
and hours...
On Mar 10, 8:01 am, TreKing treking...@gmail.com wrote:
On Thu, Mar 10, 2011
yes - you're correct.
i've studied that class and still haven't figured out how to get
notifications.
any tips and/or sample snippet appreciated.
On Feb 24, 3:23 pm, Marcin Orlowski webnet.andr...@gmail.com wrote:
On 24 February 2011 21:10, dashman erjdri...@gmail.com wrote:
is there a way
On 25 February 2011 01:23, dashman erjdri...@gmail.com wrote:
i've studied that class and still haven't figured out how to get
notifications.
Add this to your manifest:
uses-permission android:name=android.permission.ACCESS_NETWORK_STATE /
and this:
receiver android:name=.MyReceiver
does
'MyApplication.class' refer to your main activity, or to your
application class?
The MyApplication.class refers to my application class. My app has
multiple activities so which activity do I use because I want it to
load or restore whichever activity the user left.
Have you set up a
25.01.2011 22:00, Wall-E пишет:
does
'MyApplication.class' refer to your main activity, or to your
application class?
The MyApplication.class refers to my application class. My app has
multiple activities so which activity do I use because I want it to
load or restore whichever activity the
Ok so I changed my intent to using my LAUNCHER (main start up)
activity and it launches that activity but when the last activity is
something different, it doesn't restore/launch that one.
On Jan 25, 12:50 pm, Wall-E bashee...@gmail.com wrote:
I have created a notification when receiving an SMS
Ok I got it to work using the following as the Intent:
Intent openAppIntent = new Intent(Intent.ACTION_MAIN, null,
context,
StartUpActivity.class)
.addCategory(Intent.CATEGORY_LAUNCHER)
.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
Switching from my
On Sat, Dec 11, 2010 at 9:03 PM, DanH danhi...@ieee.org wrote:
In Android the same basic function is accomplished with intents.
Well. If this is all just in your app, I would generally just recommend
doing normal direct callbacks. There isn't a generic local callback
registry API in Android,
Hi Damien,
On Dec 12, 4:13 am, Damien Cooke cooke.dam...@gmail.com wrote:
In ios I can post notifications that can be listed for by other objects.
Write your own replacement. On iOS I use my own simple notification
system, because Apple's version is overcomplicated. For most cases
it's almost
In Android the same basic function is accomplished with intents.
On Dec 11, 10:13 pm, Damien Cooke cooke.dam...@gmail.com wrote:
Hi All,
I am crossing from iOS to Android development and am after a small amount of
help with a concept. In ios I can post notifications that can be listed for
Hi,
Sorry for mistaken..I want to store information in the
registry like installation time and date
based on that I want to display notifiation..!
Cheers,
Rubin
On Sep 15, 6:00 pm, TreKing treking...@gmail.com wrote:
On Wed, Sep 15, 2010 at 7:52 AM, Rubin jeff.rubi...@gmail.com
On Wed, Sep 15, 2010 at 8:48 AM, Rubin jeff.rubi...@gmail.com wrote:
I want to store information in the registry
What registry?
-
TreKing http://sites.google.com/site/rezmobileapps/treking -
I want to store information in the registry
What registry?
I think he wants to get married ?
Pent
p.s. Rubin, there is no central registry in Android
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
This:
http://developer.android.com/guide/topics/data/data-storage.html#pref
is as close as you can get to Windows Registry. Persistent storage for
small amounts of data, accessed by string keys.
-- Kostya
15.09.2010 20:07, Pent пишет:
I want to store information in the registry
What
As close as possible to a Windows Registry, and not very close, is it?
All it has in common with the Windows Registry is that it is a
searchable, editable list of properties, i.e., name-value pairs. No
system-wide standard for naming keys, no hierarchical organization, no
predefined root keys...
I have implemented the custom notification successfully. Thank you all
for your help.
/n was a typo :D
Cheers,
Alberto
On Sep 9, 8:30 am, Kostya Vasilyev kmans...@gmail.com wrote:
A custom notification view has already been suggested.
But it may work just as it is, if you use \n instead
Use a custom notification view. Check out Notification#remoteView.
Albert wrote:
Helllo there,
Is there any settings/flags to expand the summary text of a
notification to two lines instead of 1? The text I am trying to put is
too long and it goes over the visible area?
Will try something
Thanks for your quick answer. That looks like it could work. The only
issue is that, from what I have seen I can only set 1 TextView as I
pass it to the RemoteViews. Would it work if I define 2 textviews with
one of them with a static text and the other dynamic? Have you tried
something like that?
2010/7/28 steven 117096...@qq.com
Thank u,but you misunderstand me,it's not the Notification area,I want
to add views
above the Clear notification button,it's between status bar and the
Clear notificationbutton,
it's not the Notification with costom remote views,I think.
I'll send you an
Issue 2261 requests this feature:
http://code.google.com/p/android/issues/detail?id=2261
Given that the provider is accessible (if permissions are granted),
and there is already a change notification and broadcast on reception,
I wonder why there isn't a change notification or broadcast when a
Thank you all for your kind responses. I kinda knew about the broadcast for
reception, fact is that, I wanted something for sent sms. But, my bad.
Anyways, is there a log that is maintained by the android for all incomings
and outgoings of sms? I don't mean the inbox content provider!
Thanks
Could anyone enlighten me on this subject? Please!
Regards,
Saurav Mukherjee.
On Thu, Jul 1, 2010 at 11:09 PM, Saurav to.saurav.mukher...@gmail.comwrote:
hi all,
is there any way to be notified (using a broadcast receiver) after a sms is
sent? i want to get notified when a sms is sent
On Sun, Jul 4, 2010 at 3:28 AM, Saurav to.saurav.mukher...@gmail.com wrote:
Could anyone enlighten me on this subject? Please!
Send the SMS with SmsManager, and then you can register a
PendingIntent to be notified when it is sent.
--
Mark Murphy (a Commons Guy)
http://commonsware.com |
Thank you for ur reply! Indeed.
Point is i'm not sending the sms. the sms is sent by the user using
some other app or the default messaging app. So, basically, my hands
are tied. Like the sms_receive broadcast, is there something for sms
sent? i just need to know when a sms is sent.
On Jul 4,
On Sun, Jul 4, 2010 at 1:09 PM, Saurav to.saurav.mukher...@gmail.com wrote:
Thank you for ur reply! Indeed.
Point is i'm not sending the sms. the sms is sent by the user using
some other app or the default messaging app.
For privacy reasons, I am quite happy with other applications not
knowing
Correct. Just create a custom view, you can have whatever you want
there. E.g. an image and/or progress bar.
One thing that I however noted when I made my custom view was that the
view disappeared if I at runtime treid to hide one element in the
view. Don't know why. It looked like a bug. (I
I am very happy to see the new AudioManager.OnAudioFocusChangeListener
support that was added in Android 2.2. This will allow the playback
of audiobooks to be paused while navigation directions and other audio
notices are being played, providing a much nicer user experience.
In reading through
I can only specify the icon resource ID. I can not use Drawable
objects.
I need some way to (maybe) create a notification of a different
Context, or some how USE a Drawable object with Notification
On Apr 29, 11:18 pm, Nerdrow troybe...@gmail.com wrote:
I can't remember it exactly off-hand, but
I can't remember it exactly off-hand, but if you can get a ResolveInfo
for wherever you want to load the icon from, there's a loadIcon method
there; I THINK it's ResolveInfo.loadIcon(PackageManager
packageManager, Context context), where context = your current
context. Search the source for
http://developer.android.com/reference/android/app/AlarmManager.html
On Apr 19, 8:22 pm, ranjit R ranjitr...@gmail.com wrote:
h i want to create notification based on date (i.e) notification
should occur only on particular date.
example: birthday notification on mobile .it notifies
Hi TreKing/Mark,
In my scenario, after completion of one notification, another
notification should start
updateCompletedNotification {--1
notificationmgr.nofify(120,intent);
}
updateIncomingFileConfirmNotification { --2
notificationmgr.nofify(120,intent);
}
after
On Thu, Apr 1, 2010 at 5:46 AM, guru guru.nav...@gmail.com wrote:
after 2nd function notiifes, then 1st function should start... how
this can be handled? can I use same ID 120 for both functions?
if i update number field, it is not updating the status bar
I'm confused on what you're
Hi Treking,
I didnt same may as you and mark told.
first time it is not displaying number. if i restart my application
then it will display the number.
what i need to do to get desired behavior... without restarting...
Regards
gururaja B O
On Mar 30, 2:35 am, ~ TreKing treking...@gmail.com
guru wrote:
Hi Treking,
I didnt same may as you and mark told.
first time it is not displaying number. if i restart my application
then it will display the number.
what i need to do to get desired behavior... without restarting...
I pointed you to an app that does this.
On Wed, Mar 31, 2010 at 6:36 AM, guru guru.nav...@gmail.com wrote:
first time it is not displaying number. if i restart my application then it
will display the number.
To add to what Mark already posted, it's amazing what you can learn by
reading the official documentation:
Hi Mark,
I am facing problem in having single icon on status bar with number of
particular notification occurrence.
ex: ICON(3)... i made below changes... the number is coming but again
multiple icons are coming up.
What I have to need to achieve single icon and number of notification
on the
On Mon, Mar 29, 2010 at 4:37 AM, guru guru.nav...@gmail.com wrote:
What I have to need to achieve single icon and number of notification
on the status bar?
Make sure you use the same ID when you call NotificationManager.notifiy().
You should store your mp3 in res/raw and a quick and easy way to
reference it would be
notification.sound = Uri.parse(android.resource://
com.yourpackagename.appname/ +R.raw.your_sound_file);
On Jan 22, 3:01 pm, elpix1 elp...@gmail.com wrote:
Hi,
Is it possible to play a notification sound
Does anybody know how to add a notification without an icon into the
status bar but let the notification show up if the notifications
screen is viewed fullscreen (just like Quick Settings)?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To
A follow-up to this is that the current build of my test application
shows different behavior on the emulator as it does on the device
(notification bar doesn't get stuck on the device). Maybe something's
not right with my setup or emulator image? Anyone know what could be
causing this?
--
You
Pick another sound, one that doesn't loop.
On Mon, Oct 12, 2009 at 3:03 AM, Neil neilb...@gmail.com wrote:
I am setting Notification.sound to the URI of a ringtone and it plays
the ringtone. The problem is that the sound loops forever which I
understand is the correct behaviour. However
Hi All,
Any ideas how to do this? Sorry for the reminder mail.
Regards,
Siju Mathew
On Sep 30, 1:47 pm, Siju siju.mat...@gmail.com wrote:
Is there a way to accesspendingnotificationor the previousnotificationthat my
application created?
When I useNotificationmanager and use its
Any ideas how to do this? Sorry for the reminder mail.
There is no current API to do this AFAIK.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html
--~--~-~--~~~---~--~~
You received this
Hi Honest
hope this helps;
On Sep 7, 10:12 am, Honest honestsucc...@gmail.com wrote:
Hello,
can some one tell me how can i get notification when user send message
from mobile ?
You can you a broadcast intent to notify you when a new sms comes in,
you'll need to have the permission set in
I would like to get notification when user open browser and open any
web page.
http://en.wikipedia.org/wiki/Spyware
Even i would like to get notification when user send sms
from native application.
See above.
Is it feasible.
Without modifications to the firmware, I hope it is
bizack wrote:
Is it possible, without modifying the Android source, to query the
system for all current and pending notifications (system wide)?
Not that I am aware of. I'm also not certain what a pending
notification would be -- notifications are either there or not there.
--
Mark Murphy (a
bump?
On Jul 14, 5:24 pm, cvance383 cvance...@yahoo.com wrote:
Just trying to create a simplenotification, but keep getting an
illegalarguementexception contentIntent required. Which is weird
because I believe I am passing the content intent. Here is my code...
{
Your problem may be in the generic constructor new Intent(). I
recommend you do something like:
Intent i = new Intent (this, Cvance383Activity.class)
.setAction(Intent.ACTION_MAIN)
.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
PendingIntent contentIntent =
also i want to read notifications from other programs... (that run in bg,
obviously!).
I do not believe there is an SDK API for examining any existing
notifications, other than to cancel your own.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android
No.
On Tue, Feb 24, 2009 at 12:58 PM, androidRooke android.dou...@gmail.comwrote:
Hi All,
I would like to know, if i can register for an intent or a
notification that i could get every time android starts an
application.
thanks.
--
Dianne Hackborn
Android framework engineer
Hi!
I had the same problem. It works if you set an Action.
hilight.setAction(DUMMY);
Then the extras are transmitted to the receiving Activity.
HTH!
Regards,
Dirk
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups
May you should try printing the contents of extras before it goes to
onPause(). It is possible that extras exists but it's empty.
- Moazzam
http://moazzam-khan.com
On Jan 13, 7:09 pm, Al alcapw...@googlemail.com wrote:
Not yet :( I've tried putting the data in my intent in different ways,
The first thing that gets called in my app after I click on the
notification is onPause(), so that's the first place I put a
breakpoint in to have a poke around. Unless I put breakpoints in the
Android source code, I don't think I can find where it goes missing.
On Jan 14, 2:16 pm, moazzamk
Haven't you found solution for this issue?
On Dec 26 2008, 9:24 pm, Al alcapw...@googlemail.com wrote:
Not that I know of. I also tried using a Bundle instead, still no
luck.
On Dec 25, 5:46 am, JS yevm...@gmail.com wrote:
is there a way to see the actual extras from the logcat?
On Dec
Does anyone know? I'm really stuck on this. The logcat output says
'has extras', but the extras are non existent by the time it reaches
onPause().
On Dec 20, 8:51 pm, Al alcapw...@googlemail.com wrote:
I'm trying to make a notification so when I click it, it jumps to a
specific view inside my
is there a way to see the actual extras from the logcat?
On Dec 24, 3:55 pm, Al alcapw...@googlemail.com wrote:
Does anyone know? I'm really stuck on this. The logcat output says
'has extras', but the extras are non existent by the time it reaches
onPause().
On Dec 20, 8:51 pm, Al
Maybe FLAG_CANCEL_CURRENT does cancel the current intent if it has the same
uri, action but also the same request code (since it's part of the identity)
?
2008/12/5 Dianne Hackborn [EMAIL PROTECTED]
FLAG_CANCEL_CURRENT will almost certainly work. If you look at the code,
if you have the flag
Dianne,
On 5 Dez., 00:45, Dianne Hackborn [EMAIL PROTECTED] wrote:
FLAG_CANCEL_CURRENT will almost certainly work. If you look at the code, if
you have the flag set it just removes any existing intent and creates a
whole new pending intent with the intent you provide. The returned
I'm pretty sure I used FLAG_CANCEL_CURRENT to no avail... passing
different request codes each time was the only way to create a new
intent. I spent a whole day on this combining flags to no avail, until
I tried the workaround by Guillaume.
On 25 Nov., 19:24, Dianne Hackborn [EMAIL PROTECTED]
In the examples they use 16x16.
On Nov 27, 12:07 pm, for android [EMAIL PROTECTED] wrote:
What should be the typical size of the image that is used for the
notification bar?
Thanks for your time!
--~--~-~--~~~---~--~~
You received this message because you are
It may or may not be the right thing to do. If you are not going to use the
old intent, you should just use FLAG_CANCEL_CURRENT to first cancel the
existing one so it can be replaced with your new one.
On Tue, Nov 25, 2008 at 12:29 AM, Guillaume Perrot [EMAIL PROTECTED]
wrote:
Yes using
Yes using request codes is the right thing to do, this is just a
documentation bug in the end.
2008/11/25 alex [EMAIL PROTECTED]
Ok, so I ran into this exact issue too. I need to send different data
via the extras of the intent, but the old intent with the old extras
keeps getting delivered
Ok, so I ran into this exact issue too. I need to send different data
via the extras of the intent, but the old intent with the old extras
keeps getting delivered unless I pass unique values into the
mysterious requestCode parameter.
So this begs the question: is using the requestCode in this
Well, when /do/ PendingIntents match? All I can say is that calling
PendingActivity.getActivity() created a new PendingIntent each time I
called it (I checked the OID in the debugger), and in this new object,
I always store a new Intent object.
As Guillaume suggested, I solved the problem by
I retested my application, I can post two notifications with two pending
intents with the same action (but different extra args) and this works only
if put different request codes each time...
I tested to click them in different orders to check it this really works: it
works, the correct extra
And to further clear up my intentions:
I have a model class called Event. It represents user activity in my
system (such as rating items or writing messages). These events are
delivered to the user through NotificationManager. For every such
event, the NM calls Event.toNotification() and
that's exactly the behavior I am noticing, too.
On 21 Nov., 11:38, Guillaume Perrot [EMAIL PROTECTED]
wrote:
I retested my application, I can post two notifications with two pending
intents with the same action (but different extra args) and this works only
if put different request codes each
On Thu, Nov 20, 2008 at 11:31 PM, Guillaume Perrot [EMAIL PROTECTED]
wrote:
Will the SDK be improved to allow several matching pending intents ?
This isn't a limitation, it is a feature. It allows you to retrieve a
PendingIntent you had previously created, so you can cancel it or do other
On Fri, Nov 21, 2008 at 2:14 AM, Matthias [EMAIL PROTECTED] wrote:
Well, when /do/ PendingIntents match? All I can say is that calling
PendingActivity.getActivity() created a new PendingIntent each time I
called it (I checked the OID in the debugger), and in this new object,
I always store a
Ok, so there is a bug and we are exploiting it.
2008/11/21 Dianne Hackborn [EMAIL PROTECTED]
On Fri, Nov 21, 2008 at 2:14 AM, Matthias [EMAIL PROTECTED]wrote:
Well, when /do/ PendingIntents match? All I can say is that calling
PendingActivity.getActivity() created a new PendingIntent each
Ah you are right, the request code is also part of its identity.
For the nitty gritty details, this file defines a PendingIntent maintained
by the system and the full key used to match them:
Thanks for your answer, it eventually solves the mystery \o/
I quoted it in the Issue 863.
http://code.google.com/p/android/issues/detail?id=863
On 21 nov, 23:38, Dianne Hackborn [EMAIL PROTECTED] wrote:
Ah you are right, the request code is also part of its identity.
For the nitty gritty
I think this may be a bug in Android. I also tried following the
instructions from the docs under section Launch Modes and Launch
Flags with no success. That section suggested to declare any Activity
launched from NotificationManager to set the taskAffinitity to and
finishOnTaskLaunch to true,
This gets weirder every minute.
Just out of curiosity I just called setIntent(null) in onPause() to
make sure the Intent the Activity was started with is always reset. As
soon as I start the Activity again though, getIntent() will AGAIN
return the Intent I supposedly set to null before..
I have this bug too, It works better when I put a requestCode in the
PendingIntent, but according to the documentation, this parameter is
not used...
Strange...
Even by doing that it sometimes fail, but without that, it surely
fails as you both noticed.
Here is the way I post my notification:
Guillaume,
you're my hero. Thanks! Works like a champ now.
Curse Google and their terrible documentation, I spent the whole day
hunting down a bug that ain't there... great. Now I'll go home and
bang my head at the wall for the rest of the day.
On 20 Nov., 17:59, Guillaume Perrot [EMAIL
1 - 100 of 111 matches
Mail list logo