Re: [android-developers] how to create button with one image background and one image inside and text

2013-10-02 Thread Piren
i'm saying that you should read the documentation and actually do the plethora of tutorials available on Android Developers before you go on a forum and ask other people for help. On Tuesday, October 1, 2013 9:45:43 PM UTC+3, Amit Mangal wrote: what are you saying i am unable to understand ?

[android-developers] Copy Image from Users Gallery to folder on SDCard

2013-10-02 Thread Steve Meier
Let me start off by saying I am new to programming. I am trying to create a Private Gallery and I have searched the web and gotten bits and pieces together to create this app I have the basic gallery down and it displays the images that I have in my private folder in a grid and I can pick an

[android-developers]  getRotationMatrixFromVector() broken on Note 3

2013-10-02 Thread String
I've been getting error reports from users of the Note 3 that boil down to the following: *java.lang.IllegalArgumentException: R array length must be 3 or 4* *at android.hardware.SensorManager.getRotationMatrixFromVector(SensorManager.java:1336) * This function,

[android-developers] Re:  getRotationMatrixFromVector() broken on Note 3

2013-10-02 Thread Nobu Games
As a temporary fix you could just copy-paste the original source code from the Android SDK as a drop-in replacement: public static void getRotationMatrixFromVector(float[] R, float[] rotationVector) { float q0; float q1 = rotationVector[0]; float q2 =

Re: [android-developers] how to create button with one image background and one image inside and text

2013-10-02 Thread Amit Mangal
U r not understanding problem again. I m not a student i am a developer if i will study company will hire some one else to work. I have to work i completed my study long before now i do development. Thanks On 02-Oct-2013 12:31 PM, Piren gpi...@gmail.com wrote: i'm saying that you should read the

[android-developers] Re: getRotationMatrixFromVector() broken on Note 3

2013-10-02 Thread String
I've already worked around the problem; I wasn't posting here looking for solutions, more to put this out there so that the next dev getting motion-sensor errors on a Note 3 (or similar) would be able to find it. Sorry I didn't make that clear. My solution looks like this: try {

[android-developers] Uri for accounts table in contacts db

2013-10-02 Thread Giles Ian
I tried with content://com.android.contacts/accounts but that does not work -- 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

Re: [android-developers] Uri for accounts table in contacts db

2013-10-02 Thread Douglas Drumond
Use ContactsContract.Contacts.CONTENT_URI or ContactsContract.Contacts.CONTENT_LOOKUP_URI instead of direct access. Also, don't forget to request permission uses-permission android:name=android.permission.READ_CONTACTS / See

Re: [android-developers] how to create button with one image background and one image inside and text

2013-10-02 Thread Krishna Mahadik
Hi, Extending Treking solution, You can use text view as button. Make a custom textview.Textview in android has click feature. Google for custom textview, you will infinite examples. Don't expect spoon feeding. Regards, Krishna. On 2 Oct 2013 22:36, Amit Mangal forum.amit.man...@gmail.com wrote: