hi there,
i can get a auth token from AccountManager.get(context).getAuthToken
method, what's the value for authTokenType should be if i want to get
Google contacts?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, s
if i can, What is this value for authtokentype suppose to be for Google
OAuth token using AccountManager.getAuthToken?
--
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
any help?
--
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
android-developers+unsubscr...@googlegroups.com
For more option
hi there, i can get user Account token from Android AccountManager API, how
can i get the related email info from this AuthSub token? i've found no
appropriate GData API so far
Why should i do this? i need to make sure the token and email are paired to
avoid a fake token which not related to the
i almost missing this great thread, Mark & Dirk, thank you
--
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
android-develo
On Mon, May 24, 2010 at 7:41 AM, Mark Murphy wrote:
> schwiz wrote:
> > So I just watched the talk at Google I/O where they showed how to use
> > sqlite3 in ADB to help debug your database. I didn't know you could
> > do that way cool. So I was doing it on my nexus which is rooted and
> > it was
On May 24, 7:41 am, Mark Murphy wrote:
> schwiz wrote:
> > So I just watched the talk at Google I/O where they showed how to use
> >sqlite3in ADB to help debug your database. I didn't know you could
> > do that way cool. So I was doing it on my nexus which is rooted and
> > it was working fine
, one general speaking, use holder item to fill in
GridView, then make those holder items invisiable:
[image: 3.png]
Finnaly, that's working!
Sigh~~, a weird requirement and a really tricky solution :)
On Thu, May 27, 2010 at 12:00 AM, Mark Murphy wrote:
> Vincent Tsao wrote:
> &g
i have four item in a GridView, named One, Two, Three, and Four. All these
items set into a GridView will be looked like this:
[image: 1.png]
but, i wish these items display as blow: One placed in the First row. Two,
Three and Four item placed in the Second row
[image: 2.png]
any idea how to i
i found Chrometophone here: http://code.google.com/p/chrometophone/.
I'm trying to setup this project in Android 2.2 Emulator, but i can't setup
a Google Account in Emulator, so i can't Resister Device. anybody run this
project in emulator successfully? Any instructions?
--
You received this mes
well , i see what' happens, render "ListView with CursorAdapter" cost too
much time, i need improve the performance of Activity B, that's all
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-devel
hi, Anzi, any progress here? i have the same problem
--
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
android-developers+
i'm start a new Activity B from Activity A, and find launch Activiy B is
very slow, cost over 3000 Milliseconds, and when i click "back" to Activity
A, then i found this log below:
*05-11 15:19:30.201: WARN/ActivityManager(79): Activity pause timeout for
HistoryRecord{43aaedc8 com.example.android/
May 8, 2010 at 12:53 AM, Vincent Tsao wrote:
>
>> @Soical Hub: thanks for your help, your suggestion inspired me a lot
>>
>> i finally find this way to get padding: *getCompoundPaddingTop()*, and it
>> works fine now
>>
>> what' more, i find another &quo
@Soical Hub: thanks for your help, your suggestion inspired me a lot
i finally find this way to get padding: *getCompoundPaddingTop()*, and it
works fine now
what' more, i find another "tricky" way to meet my requirement:
*Step 1: fill in the EditText with 18 'empty' line rows*
StringB
It remind me of considering some margin space, so i change my code as below:
protected void onDraw(Canvas canvas) {
canvas.drawColor(paperColor);
int count = getLineCount();
int height = this.getMeasuredHeight();
int line_height = this.getLineHeight();
int
On Fri, May 7, 2010 at 9:45 PM, social hub wrote:
> I believe you should include the height of your title bar and status bar as
> well. If you account for one of them i guess it will look right
>
>
hi, thanks for your reply.
so getMeasuredHeight() return me the whole view height, which means
get
any help?
>
--
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
android-developers+unsubscr...@googlegroups.com
For more opt
i have a customized LinkedEditText extends from EditText, and override the
onDraw method as below:
protected void onDraw(Canvas canvas) {
canvas.drawColor(paperColor);
int count = getLineCount();
int height = this.getMeasuredHeight();
int line_height = this.getLine
one more question, why mFootView.setOnClickListener not working? am i doing
sth wrong?
On Thu, May 6, 2010 at 2:13 PM, Second Dancer wrote:
> That is the right way and still the smart way, unless you don't use
> listview
>
> On May 6, 2010 3:58 AM, "Vincent Tsao&quo
i have add a footview in listview with this code:
mListView.addFooterView(mFootView);
and also Register a callback to be invoked when this mFootView is clicked
with code below:
mFootView.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
On Mon, May 3, 2010 at 9:55 PM, Streets Of Boston
wrote:
> "create a thumbnail by myself?"
> Yes.
> I found that thumbnails are not always generated.
>
>
hi, thanks for your reply
"generate thumbnail by myself" this action will cost more time comparing
with get thumbnail by using API, i think thi
any help?
--
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
android-developers+unsubscr...@googlegroups.com
For more option
i'm trying to fetch a thumbnail with picture URI using these code below:
long id = ContentUris.parseId(selectedImageURI);
String[] projection = { MediaStore.Images.Thumbnails.DATA };
Cursor c =
Images.Thumbnails.queryMiniThumbnail(getContentResolver(),
id,
On Wed, Apr 28, 2010 at 3:57 PM, String wrote:
> On Apr 28, 7:31 am, Vincent Tsao wrote:
>
> > As you know, i can use System.currentTimeMillis() to fetch current local
> > time, but how to convert local time to UTC time?
>
> Are you sure that currentTimeMillis() gi
hi, noid, this article may help you,
Separating Lists with Headers in Android 0.9: http://diigo.com/0anhm
--
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 unsubscri
As you know, i can use System.currentTimeMillis() to fetch current local
time, but how to convert local time to UTC time?
the code below, i can get the timezone, utc_bias also can be got
Time mSavedTime = new Time();
mSavedTime.set(System.currentTimeMillis());
TimeZone mMy
>
> android:name=".provider.myProvider"
> android:permission="com.example.project.permission">
>
> More info can be found here
> http://developer.android.com/guide/topics/manifest/provider-element.html
>
> On Tue, Mar 16, 2010 at 10:43 AM,
; You can find out more info here
> http://developer.android.com/guide/topics/security/security.html.
>
> Makas
>
> On Mar 15, 10:25 pm, Vincent Tsao wrote:
> > hi there, how should i use content provider without share app data
> between
> > other app?
>
> --
>
hi there, how should i use content provider without share app data between
other app?
--
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, s
hi, this sample tutorial may help you
http://stackoverflow.com/questions/459729/how-to-display-list-of-images-in-listview-in-android/892643#892643
On Thu, May 21, 2009 at 11:36 PM, Morelli Giuseppe
wrote:
>
> Hi guys,
> I'm trying to create a simple list for my app extending the
> ListActivity Cl
nevermind, i have found the solution, here is a good example to bind the
SimpleCursorAdapter to a ListView :
http://ambiguiti.es/2009/04/making-custom-rows-in-android-listviews/
On Thu, May 21, 2009 at 5:01 PM, Vincent Tsao wrote:
> i'd like to create a new adapter which
i'd like to create a new adapter which extends SimpleCursorAdapter, any
sample code to help?
On Thu, May 21, 2009 at 4:57 PM, Vincent Tsao wrote:
>
> i would be retrieving values from sqlite database and have to display
> it in a list view...So how should i pass the image
i would be retrieving values from sqlite database and have to display
it in a list view...So how should i pass the images out from the
database into the list view(in fact, i only save the image uri in
db).. I am able to save and retrieve images individually and display
it on the screen.But how do
hi, there is native app in G1 named "Camera" , after i take a photo,
there is a prompt menu pop-up. Would somebody tell me how to implement
this prompt ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Devel
35 matches
Mail list logo