[android-beginners] Moving the first gallery item to left

2010-03-26 Thread Shyam M
Hi,
Looking at the Gallery example in the link
http://developer.android.com/guide/tutorials/views/hello-gallery.html
I see that the first item in the gallery is placed at Center Is there a way
to move the first gallery item to left??

any thoughts would be of help.

Thanks,
Shyam

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-beginners] Query contact number with URI

2010-02-11 Thread Shyam
HI Gurus,

I have used the action below to pick specific number from contacts:

Intent intent1 = new Intent(Intent.ACTION_PICK,
ContactsContract.CommonDataKinds.Phone.CONTENT_URI);
startActivityForResult(intent1, REQUEST_GET_PHONE);

which returns a content://***/contact/3 type of URI to me. How do I
query the contact database using this URI to get the tel:// uri?

Thanks
Shyam

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] java.awt.font error when opening Android Layout editor

2010-01-21 Thread Shyam
Hi All, I have just started learning Android application programming.
When I try to edit project/res/main.xml using android layout editor I
get the error Could not initialize java.awt.font. Below is the
config.

OS: Linux X64 Ubuntu Lucid Lynx with ia32 libraries
Eclipse: 3.5.1
Android ADT Plugin 0.9.5
Android SDK 2.1
Sun Java JDK 1.6.0.16
Sun Java JRE 1.6.0.16
also has the OpenJDK and OpenJRE but changed this setting to use Sun
Java in Window-Preferences-Java-Installed JREs.

I am able to open this file using normal xml editor but not with
default layout editor.

Please help.

Thanks
Shyam
-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en