Closed GoogleCodeExporter closed 8 years ago
As I understand, this are some seconds of blank screen?!
I think this is some memory swapping delay. - I don't have it on N1.
I don't think it's worth spending time on this issue... But of course we may
try to get rid of that additional OAuthActivity - moving everything to
PreferencesActivity...
So I propose to set this isuue to "Priority-Low", because "The best is the
enemy of the good" :-)
Anyway solving this issue may be a good start for any developer-volunteer ;-)
Original comment by yvo...@gmail.com
on 19 Jul 2010 at 11:28
I have begun work on a new Activity, called AuthenticateActivity which will
house the entire process. That way we do not need to use the settings screen at
all. I was thinking something very simple, an Authenticate button, and two
graphics indicating where in the process the user is, a Twitter icon, and an
AndTweet icon, they light up when the application has processed the information
accordingly.
What do you think? I can send you a demo of it if you want?
Original comment by torgny.b...@gmail.com
on 19 Jul 2010 at 2:25
I think it would be good if you create not "Authentication Activity", but
rather activity to manage User Accounts, so it may be used to:
- add/edit/delete Account (it may be OAuth or not... maybe in the future - not
only Twitter.com)
- list, select/switch current User account
...and I will add methods to TwitterUser to list/add/delete accounts ?
By the way, GoogleMail in Froyo has that small clickable email that brings you
to the list of accounts, where you can switch current mail account ...
Implemented:
In Ra0710a97b9 I've added methods to the TwitterUser to list existing accounts,
delete account. (New accounts are being added automatically).
Original comment by yvo...@gmail.com
on 20 Jul 2010 at 9:30
As an addition to my previous comment about Managing user accounts:
Hi, as soon as I could express my wish :-) I was able to find a way
and an example of how to do this: "Acconts & sync settings".
1. Sample Sync Adapter:
http://developer.android.com/resources/samples/SampleSyncAdapter/inde...
"This sample demonstrates how an application can communicate with a
cloud-based service and synchronize its data with data stored locally
in a content provider. The sample uses two related parts of the
Android framework — the account manager (http://developer.android.com/
reference/android/accounts/AccountManager.html) and the
synchronization manager (through a sync adapter)."
AndTweet have both it's "authenticator" and "syncronization service",
we need "only" :-)
to integrate them here!
2. One related answer: "Android - How to Create Intent to open the
activity that displays the “Accounts & Sync settings” screen":
http://stackoverflow.com/questions/3010103/android-how-to-create-inte...
Original comment by yvo...@gmail.com
on 25 Feb 2011 at 7:23
Having the same issue. Probably copy the working authentication procedure from
nanotweeter ;) ?
Original comment by tableYou...@gmail.com
on 18 Mar 2011 at 11:36
You may try to do this ;-)
We're open :-)
Original comment by yvo...@gmail.com
on 18 Mar 2011 at 1:17
Hi, I've inspected the code once more and found a bug that caused this black
blank screen. This "bug" is a result of not very correct integration of other
project's OAuth code into AndTweet :-)
Now I'm in the process of refactoring the code in order to make it simpler and
clearer... and I hope to publish it soon...
Original comment by yvo...@gmail.com
on 22 Mar 2011 at 2:49
Awesome news, yvolk1!
Original comment by torgny.b...@gmail.com
on 23 Mar 2011 at 1:23
The problem was fixed in Revision: eaf3685f5001
Today I've tried to look up any new version of OAuth library that we're
using(http://code.google.com/p/oauth-signpost/) and was disappointed to see
that it was not updated more than a year and that project "is currently
unmaintained" :-(
I found another interesting "OAuth" library (see the article "OAuth in Android
using the Google APIs Client Library for Java",
http://blog.doityourselfandroid.com/2011/04/12/oauth-android-google-apis-client-
library-java/ ) but it's in Alpha state yet plus there are no ready to use
Twitter examples for it... so I guess we will stay with the Signpost OAuth
library for some time...
Original comment by yvo...@gmail.com
on 16 Apr 2011 at 6:47
Original issue reported on code.google.com by
torgny.b...@gmail.com
on 16 Jul 2010 at 7:31