[android-developers] Can't copy and paste Eclipse(Helios) to Windows

2012-06-06 Thread Live Happy
Cannot copy and paste directories from Eclipse(Helios) to Windows.also cannot do drag and drop -- 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

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

2012-06-06 Thread abhijeet tomar
I think , the video tag is not supportedwhy are you not using VideoView for playing video? -- 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

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

2012-06-06 Thread Amit Gupta
I tried playing .swf video. video in http://www.in.com/videos/watchvideo-cnbc-awaaz-1626397.html plays well in browser but not in webview. On Thursday, 7 June 2012 13:55:58 UTC+8, Narendra Singh Rathore wrote: > > > Please clarify, which video format are you trying to display. > -- You recei

[android-developers] How i Download kSOAP 2 Android .jar files i need 2.5 or latest version please send me that jar file

2012-06-06 Thread shashi asanka
-- 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 options, visit

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

2012-06-06 Thread Narendra Singh Rathore
Please clarify, which video format are you trying to display. -- 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-dev

[android-developers] Re: Find path between 2 pairs of lat and long

2012-06-06 Thread Martin
There's an example of how to draw a great circle line here: http://compastic.blogspot.co.uk/2011/07/how-to-draw-great-circle-on-map-in.html Martin. On Jun 6, 3:38 pm, Kristopher Micinski wrote: > On Wed, Jun 6, 2012 at 3:15 AM, gjs wrote: > > Hi, > > > The path is just a straight line between

Re: [android-developers] Non Repeating random number btw 1 to 1000

2012-06-06 Thread Kristopher Micinski
This is a fairly easy thing to do ... http://stackoverflow.com/questions/196017/unique-random-numbers-in-o1 kris On Thu, Jun 7, 2012 at 12:48 AM, Todd Grigsby wrote: > Its highly unlikely that anyone here is going to help you with your > homework.  Don't cheat. > > On Jun 6, 2012 9:01 PM, "

Re: [android-developers] Non Repeating random number btw 1 to 1000

2012-06-06 Thread Todd Grigsby
Its highly unlikely that anyone here is going to help you with your homework. Don't cheat. On Jun 6, 2012 9:01 PM, "Hemant Chaudhari" wrote: > > Hello, > > I want to generate non Repeating random number between 1 to 1000. > If possible efficiently without any look up. > Any pointers to solution

[android-developers] Non Repeating random number btw 1 to 1000

2012-06-06 Thread Hemant Chaudhari
Hello, I want to generate non Repeating random number between 1 to 1000. If possible efficiently without any look up. Any pointers to solution will be helpful. -Thanks Hemant -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to thi

Re: [android-developers] Re: How to retrieve Intents used by installed apps on the phone

2012-06-06 Thread Kristopher Micinski
Right, you're necessarily making an approximation, and a potentially very unsound one. But, who knows, maybe for what the OP wants, knowing the list of possible intents is enough, he hasn't said anything about that. I still think that what the more sensible thing (and also off topic for this list

[android-developers] Re: App talking to native ARM binary via sockets

2012-06-06 Thread galapogos
Thanks. Seems like 127.0.0.1 works. I also tried 0.0.0.0 and that worked too. I would also like to use unix domain sockets, since I really only want the 2 processes talking to each other rather than any external devices talking to my device. However, when I change AF_INET to AF_UNIX in the sock

Re: [android-developers] Re: How to retrieve Intents used by installed apps on the phone

2012-06-06 Thread Dianne Hackborn
Any web browser can generate an infinite number of intents, especially since web pages can use the intent: scheme to provide a detailed intent specification for a link. On Tue, Jun 5, 2012 at 10:44 PM, Kristopher Micinski wrote: > Of potential interest along this same line is Stowaway, > > http

Re: [android-developers] Re: Contact Bubble EditText

2012-06-06 Thread Kostya Vasilyev
Gmail version 4 has something similar in its address entry fields (when composing email). The code for this can be found in Android sources, under frameworks/ex/chips (they called it "chips" UI). It can ported to run on Android 2.*, and it's not too difficult. -- K 2012/6/7 Etienne > This has

[android-developers] Re: Contact Bubble EditText

2012-06-06 Thread Etienne
> > This has been solved HERE > http://stackoverflow.com/questions/10812316/contact-bubble-edittext/10815184#10815184 -- 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

Re: [android-developers] View contact based on contact id - not always shows the right contact

2012-06-06 Thread Balint
Thank you for shedding a light the deprecation. It was the root of the problem. The correct line is: Intent intent_contacts = new Intent(Intent.ACTION_VIEW, Uri.withAppendedPath(ContactsContract.Contacts.CONTENT_URI, String.valueOf(contactid26))); Thanks again! Balint On Wednesday, June 6, 20

Re: [android-developers] Manifest settings to distinct phones from tablets

2012-06-06 Thread Mark Murphy
On Wed, Jun 6, 2012 at 1:57 PM, Александр Куликовский wrote: > I'm sorry for so long answer. I found out that all phones have "normal" > screen size and they do not differ due to real screen density. There are many phones that are -small screens (e.g,. Sony Ericsson X10 mini, Motorola CHARM). The

Re: [android-developers] Manifest settings to distinct phones from tablets

2012-06-06 Thread Александр Куликовский
I'm sorry for so long answer. I found out that all phones have "normal" screen size and they do not differ due to real screen density. So, even Google Galaxy Nexus is normal with xhdpi. So the solution is just to make one apk for slarge and large screens (to support all tablets), and antother apk j

Re: [android-developers] Send Json array object to WCF Service

2012-06-06 Thread James Black
I just put my objects into a List and then called toJson on that. My model has @SerializedName for each attribute. You may want to give it a shot and see where you get stuck. On Jun 6, 2012 9:02 AM, "Heladio Benicio" wrote: > Hello all, > > Someone will can to post a sample code to convert list

[android-developers] get intent filter action of installed services

2012-06-06 Thread Ubuntu guy
Hi, I found this API to get the ResolveInfo (having the intent filter) for an installed service via this API of Package Manager, public abstract List queryIntentServices (Intent intent, int flags) However, in my case, i want to get the ResolveInfo of all installed services on the device

Re: [android-developers] View contact based on contact id - not always shows the right contact

2012-06-06 Thread Gergely Juhász
Contact ids are not stable. To address a contact you need a contact lookup uri. Your can build one or example with this function: http://developer.android.com/reference/android/provider/ContactsContract.Contacts.html#getLookupUri(long, java.lang.String) After you can pass it to the contacts app. B

Re: [android-developers] Re: Is there a way to get a WAN IP address from a phone based on its phone number?

2012-06-06 Thread Akshay Kumar
Well Thanx, everyone for resolving my doubts. Following your suggestions I am now trying to do this by asmack library and an XMPP server like Openfire. Hope that would work. On We

Re: [android-developers] TabHost Problem

2012-06-06 Thread Justin Anderson
Have you verified that? Have you tried debugging your code to make sure that you are refreshing properly? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, Jun 6, 2012 at 12:12 AM, naseem Rafique wrote: > Hi Justin, > > Thanks for sparing some time.

[android-developers] Re: Is there a way to get a WAN IP address from a phone based on its phone number?

2012-06-06 Thread Chris Stratton
On Jun 6, 2:49 am, Akki wrote: > Is there any way by which I can get the IP address of > the other device by just using the phone no. No. Not only is there no way to obtain such information by lookup from the phone number, in most cases the information doesn't exist. Most consumers use little r

[android-developers] Re: App talking to native ARM binary via sockets

2012-06-06 Thread Chris Stratton
On Jun 6, 8:34 am, Tony Houghton wrote: > 10.0.2.2 is a special address so that apps in an emulator can connect to > services on the host running the emulator. AIUI your service is running > on the same Android device as the client so I think you want 127.0.0.1. Yes. Not only is the special add

Re: [android-developers] Problem refreshing a fragment edittext view from a dialogFragment after rotation

2012-06-06 Thread Bluemercury
Also, there's 2 factors: 1- my DateTimePickerDialogFragment is being included in a different library project, so it will not know the sub type of Fragment being passed. 2- in one target fragment i will need, i have two edittexts in the same fragment so the DateTimePickerDialogFragment must someho

Re: [android-developers] Re: Find path between 2 pairs of lat and long

2012-06-06 Thread Kristopher Micinski
On Wed, Jun 6, 2012 at 3:15 AM, gjs wrote: > Hi, > > The path is just a straight line between the two points. > > Perhaps you need a better question. > > Regards That's not true at all... The path is just a straight line on a flat surface... The earth isn't flat... http://en.wikipedia.org/wiki

Re: [android-developers]

2012-06-06 Thread David Olsson
>From the error you got you are not compiling it against the needed version, try again. Also http://www.catb.org/~esr/faqs/smart-questions.html On Wed, Jun 6, 2012 at 3:40 PM, Vijay Krishnan wrote: > Hi all, > How to get clear picture? > > Thanks, > vijay.k > > -- > You received this

[android-developers]

2012-06-06 Thread Vijay Krishnan
Hi all, How to get clear picture? Thanks, vijay.k -- 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-deve

Re: [android-developers] Problem refreshing a fragment edittext view from a dialogFragment after rotation

2012-06-06 Thread Bluemercury
Hi al! i've read the answer from Dianne, and it seems i can declare an interface in one fragment and then implement it on another. But for this i need the pointer to the fragment in question, she said: " take advantage of the FragmentManager APIs to save a fragment "pointer" in a bundle and la

[android-developers] Issue with TabHost Without Tab activity

2012-06-06 Thread Subin Sebastian
I have an activity named *One *and the layout xml for that activity is here :* *https://gist.github.com/2881650 And the code for this activity class is here : https://gist.github.com/2881736 In the tabhost, I have added a tab and another activity *Two *is running inside the tab. The weird problem i

[android-developers] Send Json array object to WCF Service

2012-06-06 Thread Heladio Benicio
Hello all, Someone will can to post a sample code to convert list of objects to json (using Gson) and sending this json to WCF Rest WebService. Thank you all! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send em

[android-developers] Re: App talking to native ARM binary via sockets

2012-06-06 Thread JP
> so I think you want 127.0.0.1. That'll work as well; 127.0.0.0 to 127.0.0.255 should -- 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

[android-developers] Re: Convert from Byte array to Pdf format

2012-06-06 Thread JP
Michael points in the right direction. You need write permission to / sdcard, which is known as external storage. Here's the documentation: http://developer.android.com/guide/topics/data/data-storage.html#filesExternal You also need to add the WRITE_EXTERNAL_STORAGE permission to the app manifest.

[android-developers] Re: App talking to native ARM binary via sockets

2012-06-06 Thread JP
I've done this the other direction only, native to Dalvik. Difficult to say much with what you've provided, and in principle. At any rate, one thing of note is the server address 10.0.2.2 that you use. I use localhost, to remove any uncertainty about where the network address might be known, or not

Re: [android-developers] App talking to native ARM binary via sockets

2012-06-06 Thread Tony Houghton
On Tue, 5 Jun 2012 23:17:50 -0700 (PDT) galapogos wrote: > socket = new Socket("10.0.2.2", ); > > When I run the app, it hangs and times out when I click the button. Turns > out it hangs on the socket connection. Is this because I have the wrong > address, or because there's no se

Re: [android-developers] Convert from Byte array to Pdf format

2012-06-06 Thread Michael Banzon
It is not possible for anyone to answer that question unless they/we know what is in the array. This question seems to be a bit out of scope for this mailing list - it is not an Android SDK specific question/answer. On Wed, Jun 6, 2012 at 12:49 PM, RAJESH RAJARAM wrote: > Hi > > Ok..How i conve

Re: [android-developers] Convert from Byte array to Pdf format

2012-06-06 Thread RAJESH RAJARAM
Hi Ok..How i convert byte array to pdf format??? Rajesh Rajaram -- 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 andro

Re: [android-developers] Convert from Byte array to Pdf format

2012-06-06 Thread Michael Banzon
If the "new FileOutputStream(filepath)" statement fails (throws an exception) you might not have write access to the path "/sdcard/test.pdf". On Wed, Jun 6, 2012 at 12:35 PM, RAJESH RAJARAM wrote: > Convert the byte array data to the PDF Format. I'm getting the error in the > line of > > "FileOu

[android-developers] Convert from Byte array to Pdf format

2012-06-06 Thread RAJESH RAJARAM
Convert the byte array data to the PDF Format. I'm getting the error in the line of "FileOutputStream pdffos = new FileOutputStream(filepath);" My code is like this bytes = Base64.decode(temp.toString(),Base64.DEFAULT); String filepath = "/sdcard/test.pdf"; FileOutputStream pdffos = new FileOut

[android-developers] Re: Running camera preview while recording video at the same time

2012-06-06 Thread DeveloperbyChoice
I am still loking for the solution ? any solution yet ? On Tuesday, March 27, 2012 12:09:08 PM UTC-4, Qianqian Fang wrote: > > hi > > I am working on a real-time video processing project. I used > setPreviewCallbackWithBuffer() and display both the preview image and > the processed image on Sur

Re: [android-developers] data base insert err !!table record has no column named blood_type

2012-06-06 Thread shengJie
> > OH!!! i found my problem!!! my create statments +UserSchema.CARE_ID+"text not null," should be add space before text like +UserSchema.CARE_ID+" text not null , " tks a lot -- You received this message because you are subscribed to the Google Groups "Android Developers" gro

[android-developers] Re: Is there a way to get a WAN IP address from a phone based on its phone number?

2012-06-06 Thread Jxn
On 6 Juni, 08:49, Akki wrote: > I am trying to develop an android application, through I could share some > files or other applications in real time(can be thought as a miniature > version of remote desktop sharing). So I am thinking of trying to set up a * > P2P *connection between 2 phones, fo

[android-developers] View contact based on contact id - not always shows the right contact

2012-06-06 Thread Balint
I query the phone's calllog into a ListView. So when the user long clicks an item, a dialog comes up with options, including "View contact". To be able to view the contact the intent needs the contact id. From the calllog I get the contact id by the phone number. My problem is that I not alway

[android-developers] Re: App talking to native ARM binary via sockets

2012-06-06 Thread galapogos
I managed to find some sample code for a simple unix server over at http://www.tutorialspoint.com/unix_sockets/socket_server_example.htm and cross compiled and run it in my rooted device. However, my client app doesn't seem to be sending anything to the server. Is there something I'm doing wron

Re: [android-developers] data base insert err !!table record has no column named blood_type

2012-06-06 Thread David Olsson
Your column names are wrong. Check your create statement, I reckon "nametext not null" should be "name text not null". On Wed, Jun 6, 2012 at 10:13 AM, shengJie wrote: > when i insert some data to my table named record ,but it can't be insert > it say it has no column named *** > i pull out my d

[android-developers] Re: Is there a way to get a WAN IP address from a phone based on its phone number?

2012-06-06 Thread Eric Wong (hdmp4.com)
On Jun 6, 4:49 pm, Akki wrote: > I am trying to develop an android application, through I could share some > files or other applications in real time(can be thought as a miniature > version of remote desktop sharing). So I am thinking of trying to set up a * > P2P *connection between 2 phones, for

[android-developers] data base insert err !!table record has no column named blood_type

2012-06-06 Thread shengJie
when i insert some data to my table named record ,but it can't be insert it say it has no column named *** i pull out my database SQLite version 3.7.12.1 2012-05-22 02:45:53 Enter ".help" for instructions E

Re: [android-developers] Find path between 2 pairs of lat and long

2012-06-06 Thread Fabien R
On 04/06/12 13:45, Mini agrawal wrote: > HI, > > I have a 2 sets of latitude and longitude pairs. I want to find > path between these 2 pairs of lat and long and then show it on Google map. > How can I find the path for android? > > Thanks in advance ! > > This is an algorithm problem. It looks

Re: [android-developers] Problem refreshing a fragment edittext view from a dialogFragment after rotation

2012-06-06 Thread al
Ok, I assumed that text field was part of the activity. In your case https://groups.google.com/forum/?fromgroups#!topic/android-developers/NBlMJnMaGbo should help, especially the answer of Dianne. In short: you might just do "dialogfragment.setTargetFragment(textfieldfragment)" in the activity

[android-developers] Re: Find path between 2 pairs of lat and long

2012-06-06 Thread gjs
Hi, The path is just a straight line between the two points. Perhaps you need a better question. Regards On Jun 4, 9:45 pm, Mini agrawal wrote: > HI, > > I have a 2 sets of latitude and longitude pairs. I want to find > path between these 2 pairs of lat and long and then show it on Google map.