Widget

1 view
Skip to first unread message

John Bäckstrand

unread,
Dec 2, 2009, 5:03:33 AM12/2/09
to AndTweet
I am missing a widget from AndTweet. Although I am already using
newsrob for notifications from twitter, via GR (via FreeMyFeed, gah)
that one is also lacking a widget.

Has there been any plans for a widget?

yvolk

unread,
Dec 10, 2009, 11:58:38 AM12/10/09
to AndTweet
Hi,
I may try to implement a widget for AndTweet.
May you tell me your vision of what the widget should do, how it
should look? As detailed as you can.
It would be better if you may point me to some (close) example of such
widget,
open source example would be a plus :-).

Torgny

unread,
Dec 10, 2009, 2:07:02 PM12/10/09
to AndTweet
I would recommend using the artwork in the project and making
something similar. If you could post a mockup of your intended widget
so that we can discuss it, that would be awesome! If you need
developer access to the repository, I could grant that as well.

yvolk

unread,
Dec 11, 2009, 8:24:04 AM12/11/09
to AndTweet
> I would recommend using the artwork in the project and making
> something similar.
Do you mean any particular "the artwork"?
Or you mean I should use existing project "drawables" to have
consistent look of different parts of the AndTweet?

BTW, I will use the "Widget Design Guidelines" (http://
developer.android.com/guide/practices/ui_guidelines/
widget_design.html) and I will start from simple 1x1 cell widget
layout.

> If you could post a mockup of your intended widget
> so that we can discuss it, that would be awesome!
As long as I don't have any particular "requirements specification"
for now,
I will start from simple "tweet notifications" (something like Twitter
itself did for its WEb site http://bit.ly/3IWIcj )

> If you need developer access to the repository,
> I could grant that as well.
Yes, please. I think this is what will make our collaboration easier.
For the security reasons you may create new SVN branch for this task:
"widget" and I'll make changes there... (or I will do this myself)

BTW, my Eclipse environment gives me 4 Warnings about the AndTweet
code (all of them are "The import XXX.YYYYY.ZZZ is never used" plus 12
warnings in generated Java code...). IMHO these warnings should be
fixed in the trunk...

Torgny

unread,
Dec 22, 2009, 10:17:20 AM12/22/09
to AndTweet
Yvolk, I have added you as a committer to the project. Let me know
when you have something ready for the widget and we'll test it out
before releasing. I also need to address the wake lock issue in the
service to make sure it doesn't keep the CPU from sleeping.

Torgny

unread,
Dec 22, 2009, 10:19:39 AM12/22/09
to AndTweet
I think the 12 warnings stem from the auto-generated files, right?
Those are all generated by Eclipse. If you can make Eclipse generate
those files without the warnings, that would be awesome. As for the
import warnings, which imports in particular did give you a warning?

On Dec 11, 8:24 am, yvolk <yvo...@gmail.com> wrote:

yvolk

unread,
Jan 27, 2010, 3:50:06 PM1/27/10
to AndTweet
The 4 src warnings are all in the "/src/com/xorcode/andtweet/data/
DirectMessages.java" file:
---
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Calendar;

import com.xorcode.andtweet.data.AndTweetDatabase.Tweets;
---
I didn't find any information about possibility of getting rid of
warnings in autogenerated files...

> > fixed in the trunk...- Hide quoted text -
>
> - Show quoted text -

yvolk

unread,
Feb 6, 2010, 9:34:19 PM2/6/10
to AndTweet
I've created "widget" branch in the SNV repository for the Widget
development (see http://code.google.com/p/andtweet/source/detail?r=129
).
The AppWidget is in the place already:
- It may be clicked to open AndTweet "TimelineActivity"
- It shows the last notification about new new tweets etc. (same as in
the notification area). This is implemented with Intents being sent by
AndTweetService.
- It has very simple design: just enough to discuss what and how the
Widget should present to the User.

You may see the screenshot attached to the comment on the issue
"Create Widget for the AndTweet" that shows how several "AndTweet
Widgets" may live together each having it's own settings... (maybe we
will need this).
See that issue and attachment at
http://code.google.com/p/andtweet/issues/detail?id=32

Torgny Bjers

unread,
Feb 8, 2010, 1:39:55 PM2/8/10
to andt...@googlegroups.com
Sounds awesome! I'll take a look at the code later this week!


--
You received this message because you are subscribed to the Google Groups "AndTweet" group.
To post to this group, send email to andt...@googlegroups.com.
To unsubscribe from this group, send email to andtweet+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/andtweet?hl=en.


yvolk

unread,
Feb 14, 2010, 2:46:54 PM2/14/10
to AndTweet
Hi, I've just commited new version of the Widget (see the screenshot
at http://code.google.com/p/andtweet/issues/detail?id=32#c3 )
AppWidget layout was improved.
Now the AppWidget accumulates notifications (counts number of
tweets...) received since last time User opened the Timeline...

yvolk

unread,
Mar 9, 2010, 11:34:47 PM3/9/10
to AndTweet
I've commited new Revision r134 (http://code.google.com/p/andtweet/
source/detail?r=134).

1. Widget is quite informative and nice already.

2. Test project created, added tests for the Widget (may be run
directly from
Eclipse)

There are some issues with concurrency (of notification messages), but
I've already
found the widget very useful.

Please use and test it!

See the screenshot at http://code.google.com/p/andtweet/issues/detail?id=32#c4

Reply all
Reply to author
Forward
0 new messages