First thank you for this really great application.
Second, i'd like to explain an issue in the workflow that i
discovered. Here is the story on how to reproduce it :
- In the settings, tell newsrob to only show unread articles
- Go to an article, read it
- decide you wanna do something
-> follow a link from the article or decide you wanna see it in the
browser.
-> do something else, for example change the currently playing song
or open a new activity starting from a notification.
- Press the back button to go back to newsrob.
At this point, the logical thing a user would expect to see is the
last article he was currently reading. Instead, i get the next unread
article (or the previous, i'm not sure of which one !)
I think it has to do with the article being marked as read between its
first reading and the moment you come back to newsrob but that is
quite confusing.
Don't hesitate to ask if you have a question, i'll try my best to
answer :)
Thank you
--
You received this message because you are subscribed to the Google Groups "NewsRob User Group" group.
To post to this group, send email to new...@googlegroups.com.
To unsubscribe from this group, send email to newsrob+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/newsrob?hl=en.
thank you both for your input.
Your answer is cristal clear to me :)
And yes, it happens pretty often because my phone lacks ram (i blame
vodafone for making a version of the my touch 3g in europe with only
188mb of ram !) and i still haven't found a way to add new cheaps of
ram ;).
I'll try to think about the problem, and i'll tell you if i ever have
an idea popping, not so likely though as i neither know the Activity
code nor am i used to android programming (still thinking about an
idea before i start !)
Thank you !
Fabien
On 21 déc, 14:17, Henrik Heimbuerger <hheimbuer...@googlemail.com>
wrote:
> Can you tell whether the user has 'left behind' (sorry, I still haven't
> studied the Android activities terminology ;)) NR to a notification or to
> the home screen?
>
> In that case, I wonder if it would make sense to automatically flag the
> currently opened article as 'unread' when you're leaving to a notification
> *and* it was automatically flagged as read by NR due to opening it (i.e. it
> was *not* already flagged read and it was *not* manually marked read).
>
> The reasoning would be as follows: when you press 'back' to get back to the
> article list, when you select 'next/previous article' or if you press the
> home button, you intentionally left the article and/or NR to do something
> else. In this case, if the article has automatically been marked read, you
> were aware that this sticks.
> However, if you left to an incoming call or to a notification (e.g. SMS)
> which required your immediate attention, you were basically interrupted from
> reading, and NR should do what it can to preserve your state without
> requiring additional activity (i.e. remembering to mark the article as
> unread manually).
>
> Dunno, I'm not convinced yet. Just an idea.
>
> In pseudo code:
> ON EVENT userLeftNewsrob:
> IF articleWasFlaggedReadWhileOpeningView:
> IF userLeftForIncomingCall or userLeftForNotification:
> markArticleUnread()
>
> >> newsrob+u...@googlegroups.com<newsrob%2Bunsu...@googlegroups.com>
> >> .
> >> For more options, visit this group at
> >>http://groups.google.com/group/newsrob?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "NewsRob User Group" group.
> > To post to this group, send email to new...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > newsrob+u...@googlegroups.com<newsrob%2Bunsu...@googlegroups.com>
you are using an SQLiteCursor if i'm not mistaken ?
I guess you are doing subsequent sql calls to update the rows (if i'm
not mistaken i can't see any way to update the underlying data using
the cursor) so how about keeping the cursor request and all the update
in a transaction and rollbacking it when leaving in an unwanted way ?
Hmm... after some thinking, i guess the problem is more about how to
know if the user will come back to the activity or not and have a
consistent result depending on it. Because if it is even possible to
do what i suggested if the user quits newsrob because of a
notification and only come back later the articles he should have read
will be still marked as unread.
I think i'm also a little to vague on the Activity lifecycle notion.
Just for the record,
you are using an SQLiteCursor if i'm not mistaken ?
I guess you are doing subsequent sql calls to update the rows
(if i'm
not mistaken i can't see any way to update the underlying data using
the cursor)
so how about keeping the cursor request and all the update
in a transaction and rollbacking it when leaving in an unwanted way ?
Hmm... after some thinking, i guess the problem is more about how to
know if the user will come back to the activity or not and have a
consistent result depending on it.
Because if it is even possible to
do what i suggested if the user quits newsrob because of a
notification and only come back later the articles he should have read
will be still marked as unread.
I think i'm also a little to vague on the Activity lifecycle notion.
it seems pretty good to me :)
And the use case feels solid here so with some luck the framework
should be ok with you ;)
So what you will implement is only put the current article to unread
again, am i right ?
I think it is enough for the use case, if you really want to read back
other articles that you have read before in the same feed, you mark it
manually as unread (that's what i do).
Anyway, keep us posted about what you decided.
Glad if i could help you in any way.
> hheimbuer...@googlemail.com> wrote:
> > Can you tell whether the user has 'left behind' (sorry, I still haven't
> > studied the Android activities terminology ;)) NR to a notification or to
> > the home screen?
>
> > In that case, I wonder if it would make sense to automatically flag the
> > currently opened article as 'unread' when you're leaving to a notification
> > *and* it was automatically flagged as read by NR due to opening it (i.e. it
> > was *not* already flagged read and it was *not* manually marked read).
>
> > The reasoning would be as follows: when you press 'back' to get back to the
> > article list, when you select 'next/previous article' or if you press the
> > home button, you intentionally left the article and/or NR to do something
> > else. In this case, if the article has automatically been marked read, you
> > were aware that this sticks.
> > However, if you left to an incoming call or to a notification (e.g. SMS)
> > which required your immediate attention, you were basically interrupted from
> > reading, and NR should do what it can to preserve your state without
> > requiring additional activity (i.e. remembering to mark the article as
> > unread manually).
>
> > Dunno, I'm not convinced yet. Just an idea.
>
> > In pseudo code:
> > ON EVENT userLeftNewsrob:
> > IF articleWasFlaggedReadWhileOpeningView:
> > IF userLeftForIncomingCall or userLeftForNotification:
> > markArticleUnread()
>
> >>> newsrob+u...@googlegroups.com<newsrob%2Bunsu...@googlegroups.com>
> >>> .
> >>> For more options, visit this group at
> >>>http://groups.google.com/group/newsrob?hl=en.
>
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "NewsRob User Group" group.
> >> To post to this group, send email to new...@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >> newsrob+u...@googlegroups.com<newsrob%2Bunsu...@googlegroups.com>
> >> .
> >> For more options, visit this group at
> >>http://groups.google.com/group/newsrob?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "NewsRob User Group" group.
> > To post to this group, send email to new...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > newsrob+u...@googlegroups.com<newsrob%2Bunsu...@googlegroups.com>
To unsubscribe from this group, send email to newsrob+u...@googlegroups.com.
Oi, Mariano, forget about newsrob for today and go and enjoy your Christmas!
On 25 Dec 2009 12:36, "Mariano Kamp" <marian...@gmail.com> wrote:
I implemented this and found out that even API wise it looks like I could trap the HOME key, I cannot do that. And this makes sense, if you consider the case of UI consistency.Anyway, so now the rules are as follow:- An article is marked as read automatically when it is viewed in the article detail view- When the article detail view gets paused (thrown out/closed/covered 100% by another dialog) the article will be reset to unread when- the article was not already read when viewing the article- the user didn't leave the article detail view with BACK (i.e. HOME, open something from notification, incoming call, user "show in browser")
Is this easy enough? Even for somebody who didn't read the rules, but needs to explore them?!
On Wed, Dec 23, 2009 at 10:47 AM, Fabien Chaillou <fabien....@gmail.com> wrote: > > Hi, > > i...
-- You received this message because you are subscribed to the Google Groups "NewsRob User Group" g...