[android-developers] Hover Event In InputReader

2012-06-09 Thread Rahul Garg
Hi All, I am facing one problem in my device, that sometimes it takes even genuine touch event as Hover Event. I checked kernel as well as logcat message, in kernel the co-ordinates are coming proper but in platform log it is reporting it as hover event, I am not getting any clue where could be a

[android-developers] Remove Contact from group ..

2012-06-09 Thread ala hammad
Hello Guys ... i want to delete contact from group via code .. i use this code but it delete contact from contacts and group and i need from group only . public static int _addToGroup(Context ctx, String personId, long groupId) { Uri

[android-developers] Re: need to remove contact from group ..

2012-06-09 Thread ala hammad
thanks for answers.. asheesh arya your code doesn't work with me :( Fred Niggle i can add contact to specific group but i need to delete contact from group .. please help me .. On Saturday, 2 June 2012 15:19:44 UTC+3, ala hammad wrote: Hi Guys , i need to remove an contact or more from

[android-developers] you-tube video in web view

2012-06-09 Thread vaibs malviya
any one know, how to code to play a youtube ifream link in webview -- 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

Re: [android-developers] Re: need to remove contact from group ..

2012-06-09 Thread Fred Niggle
Does this help? http://stackoverflow.com/questions/2353015/issue-using-contact-group-delete-on-android I'm suprised that you did not find this yourself IMO. Regards, Fred. On 9 June 2012 10:58, ala hammad 3la2.7am...@gmail.com wrote: thanks for answers.. asheesh arya your code doesn't work

Re: [android-developers] you-tube video in web view

2012-06-09 Thread Fred Niggle
If you post your code of what you have tried so far you'll get a better reception to your question. On 9 June 2012 11:36, vaibs malviya vaibs.malviy...@gmail.com wrote: any one know, how to code to play a youtube ifream link in webview -- You received this message because you are subscribed

[android-developers] Re: need to remove contact from group ..

2012-06-09 Thread ala hammad
thanks again for help but i got 0 why ?? i don't know ... any idea to remove contact ?? On Saturday, 2 June 2012 15:19:44 UTC+3, ala hammad wrote: Hi Guys , i need to remove an contact or more from specific group via coding .. any one can help me ?? thanks for your help .. -- You

Re: [android-developers] Re: need to remove contact from group ..

2012-06-09 Thread Fred Niggle
Its up to you, as much as it is up to me (and everyone else), to solve our own problems and facilitate our own learning. Myself and others here are willing to provide guidance but you have to demonstrate your efforts: In other words post your code and we can take a look. On 9 June 2012 12:14,

Re: [android-developers] you-tube video in web view

2012-06-09 Thread vaibs malviya
ok here is my code to opne a youtube video in webview plz have a look public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.youtubevedio); back=(Button) findViewById(R.id.back); myWebView = (WebView) findViewById(R.id.web);

[android-developers] Re: need to remove contact from group ..

2012-06-09 Thread ala hammad
ok mr this is my code but this remove contact from groups and from contact in other word it delete account .. and i need to remove just from group .. please i need your help .. public static int removeFromGroup(Context ctx, String personId, long groupId) { Uri

Re: [android-developers] Changing hosts file on an Android device

2012-06-09 Thread Francisco M. Marzoa Alonso
Hi Kristopher, It is just for development, but I do not want to root my own devices since, you know, I want to try my applications in devices closed to users ones, that are not rooted usually. Moreover, If I root my devices it may not work properly with services like Google Play, and I use them

Re: [android-developers] you-tube video in web view

2012-06-09 Thread Fred Niggle
Just an observation, but when I tested the URL in StringPlay, appears to be blank and of 0 seonds length. Try another URL (test on your pc first), and see if the issue remains. On 9 June 2012 12:32, vaibs malviya vaibs.malviy...@gmail.com wrote: ok here is my code to opne a youtube video in

Re: [android-developers] Re: need to remove contact from group ..

2012-06-09 Thread Fred Niggle
Ok, from http://stackoverflow.com/questions/8352843/i-want-to-delete-contact-groupcreated-at-installation-time-at-the-time-of-my-a?rq=1 ContentValues values = new ContentValues(); values.put(ContactsContract.Groups._ID, );

Re: [android-developers] you-tube video in web view

2012-06-09 Thread vaibs malviya
URL is correct i tested it in browser On Sat, Jun 9, 2012 at 5:25 PM, Fred Niggle fred.nig...@googlemail.comwrote: Just an observation, but when I tested the URL in StringPlay, appears to be blank and of 0 seonds length. Try another URL (test on your pc first), and see if the issue remains.

[android-developers] Re: need to remove contact from group ..

2012-06-09 Thread ala hammad
ok thanks for your answer but this delete all contact in group and delete group , and i need to delete one contact from group ?? and thanks for your time i know i have many many time for my question :) On Saturday, 2 June 2012 15:19:44 UTC+3, ala hammad wrote: Hi Guys , i need to remove an

[android-developers] code for opening mobile version of a website

2012-06-09 Thread prudhvi p n v
hi guyss.. i am new to android can anyone please provide me the code for irctc indian railways app or any app code that opens a mobile site thanks in advance -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Data interchange with a PHP server

2012-06-09 Thread Chris Mawata
The built in http client is the usual Apache HttpClient so it can handle the passing of a cookies for you. I would suggest you make the program actually work and produce correct results before worrying about speed. First worry about what you need. For example do you need validation against a

[android-developers] where do I get Java EE 6 JDK for Mac OS X Lion?

2012-06-09 Thread Jim Graham
Finally got my new Mac to replace that POS windoze laptop...now I'm trying to get setup again to continue working on my current app, and I've run into a bit of a snag I looked on the Oracle/Java site, and all they have for Java 6 is for various versions of Linux, Solaris (aka Slowaris), and

Re: [android-developers] where do I get Java EE 6 JDK for Mac OS X Lion?

2012-06-09 Thread Kristopher Micinski
On Sat, Jun 9, 2012 at 9:46 AM, Jim Graham spooky1...@gmail.com wrote: Finally got my new Mac to replace that POS windoze laptop...now I'm trying to get setup again to continue working on my current app, and I've run into a bit of a snag I looked on the Oracle/Java site, and all they have

Re: [android-developers] where do I get Java EE 6 JDK for Mac OS X Lion?

2012-06-09 Thread Jim Graham
On Sat, Jun 09, 2012 at 10:13:41AM -0400, Kristopher Micinski wrote: Try googling Java for mac? Close...very close. I used Java 6 SE JDK for Mac :-) http://java.com/en/download/faq/java_mac.xml OpenJDK will *technically* work, iirc, but in my experiences it's just been a lot better to

Re: [android-developers] where do I get Java EE 6 JDK for Mac OS X Lion?

2012-06-09 Thread Kristopher Micinski
You shouldn't need macports to get it, as far as I remember. I set up the ecosystem on the platform yesterday, and everything seemed to work. http://stackoverflow.com/questions/1577014/how-install-a-specific-jdk-on-mac-os-x I.e., it should just be there. On Sat, Jun 9, 2012 at 10:44 AM, Jim

Re: [android-developers] where do I get Java EE 6 JDK for Mac OS X Lion?

2012-06-09 Thread Jim Graham
On Sat, Jun 09, 2012 at 12:13:58PM -0400, Kristopher Micinski wrote: You shouldn't need macports to get it, as far as I remember. I set up the ecosystem on the platform yesterday, and everything seemed to work.

Re: [android-developers] where do I get Java EE 6 JDK for Mac OS X Lion?

2012-06-09 Thread Kristopher Micinski
On Sat, Jun 9, 2012 at 12:19 PM, Jim Graham spooky1...@gmail.com wrote: On Sat, Jun 09, 2012 at 12:13:58PM -0400, Kristopher Micinski wrote: You shouldn't need macports to get it, as far as I remember.  I set up the ecosystem on the platform yesterday, and everything seemed to work.

Re: [android-developers] where do I get Java EE 6 JDK for Mac OS X Lion?

2012-06-09 Thread Kostya Vasilyev
Regarding the Java compiler version -- FWIW, I'm using Java 1.6.0_26 on my dev system (Debian Wheezy), which is older than you've got installed (1.6.0_31). Works fine. -- K 2012/6/9 Jim Graham spooky1...@gmail.com On Sat, Jun 09, 2012 at 12:13:58PM -0400, Kristopher Micinski wrote: You

Re: [android-developers] where do I get Java EE 6 JDK for Mac OS X Lion?

2012-06-09 Thread Jim Graham
On Sat, Jun 09, 2012 at 12:28:40PM -0400, Kristopher Micinski wrote: I thought the first answer to that SO question would point at how to ascertain which JDK you were using, in the example given it was 1.6. I was expecting 6 or 7but maybe 1.6 IS Java 6. Or maybe I'm just confused

Re: [android-developers] where do I get Java EE 6 JDK for Mac OS X Lion?

2012-06-09 Thread Kristopher Micinski
On Sat, Jun 9, 2012 at 12:35 PM, Jim Graham spooky1...@gmail.com wrote: On Sat, Jun 09, 2012 at 12:28:40PM -0400, Kristopher Micinski wrote: I thought the first answer to that SO question would point at how to ascertain which JDK you were using, in the example given it was 1.6. I was

Re: [android-developers] where do I get Java EE 6 JDK for Mac OS X Lion?

2012-06-09 Thread Jim Graham
On Sat, Jun 09, 2012 at 12:39:30PM -0400, Kristopher Micinski wrote: On Sat, Jun 9, 2012 at 12:35 PM, Jim Graham spooky1...@gmail.com wrote: On Sat, Jun 09, 2012 at 12:28:40PM -0400, Kristopher Micinski wrote: I thought the first answer to that SO question would point at how to ascertain

Re: [android-developers] Re: Data interchange with a PHP server

2012-06-09 Thread Francisco M. Marzoa Alonso
Hi, Thanks by your advices. I do not need validation against schema nor XML structure neither, so I will start directly with JSON. Thanks a lot, On 09/06/12 15:25, Chris Mawata wrote: The built in http client is the usual Apache HttpClient so it can handle the passing of a cookies for you. I

Re: [android-developers] Changing hosts file on an Android device

2012-06-09 Thread Francisco M. Marzoa Alonso
I finally ending just using my hosting provider DNS and creating there subdomains of actual domains for development, using internal IP addresses of my network instead of public ones. It works perfectly and I do not need to set up and keep running my own DNS server. Best regards, On 08/06/12

Re: [android-developers] Problem with video in WebView

2012-06-09 Thread Angélica Oliveira
I tried playing .mp4 video, from my internal storage. I saw something about implement onShowCustomView but I didn't realize what I have to do, can you (Deniz) give me an example? I already searched it on google, but I didn't find anything, I would like to watch the video on the webview, not in a

[android-developers] Re: Eclipse dev/debug on different machine than where Android device is connected?

2012-06-09 Thread SChaser
Thanks for that link. However, the non-rooted version is not working for me. Any clues? Here is what I get on the Windows XP machine the device (Droid-X) is plugged into: 14:46 /home/John:adb tcpip restarting in TCP mode port: 14:46 /home/John:adb devices List of devices attached

[android-developers] Re: Eclipse dev/debug on different machine than where Android device is connected?

2012-06-09 Thread SChaser
Thanks for that link. However, the non-rooted version is not working for me. Any clues? Here is what I get on the Windows XP machine the device (Droid-X) is plugged into: 14:46 /home/John:adb tcpip restarting in TCP mode port: 14:46 /home/John:adb devices List of devices attached

[android-developers] Re: Eclipse dev/debug on different machine than where Android device is connected?

2012-06-09 Thread SChaser
Another clue: The procedure works with everything the same except using a Xoom rather than a Droid-X! Anyone have an idea why my Droid-X is being piggy? Droid-X info: System 4.5.621.MB810 Verizon Android 2.3.4 Kernel 2.6.32.9-g1282440 Build 4.5.1_57_DX8-5.1 On Jun 9, 2:56 pm, SChaser

Re: [android-developers] Problem with video in WebView

2012-06-09 Thread vaibs malviya
hy Deniz is correct, u should create your on custom view of web-view let me explain u ,see my code implement this code and check it out. *public class TestYoutubeVedio extends Activity * *{* * * *HtmlvVido mWebView;* * * * * * * * * * * * * *@Override* *public void