[android-developers] Re: Hi friends

2013-06-26 Thread Lew
Ibrahim wrote: Friends I Am trying to connect server on pc and client on android device.. Warning: I am not your friend. My server is working fine... but my client is not working ... Here is my sever and client code... Server Code... public class Server_tcp { Please follow the

Re: [android-developers] Re: hi friends

2013-01-16 Thread bob
I believe this is the relevant code where the real toast delay is set: private void scheduleTimeoutLocked(ToastRecord r, boolean immediate) { Message m = Message.obtain(mHandler, MESSAGE_TIMEOUT, r); long delay = immediate ? 0 : (r.duration == Toast.LENGTH_LONG ? LONG_DELAY : SHORT_DELAY);

Re: [android-developers] Re: hi friends

2013-01-09 Thread bob
Well, it seems like if you pass 3000 for the duration, it does show. But the docs don't seem to condone this. On Tuesday, January 8, 2013 9:21:33 AM UTC-6, bob wrote: *duration* How long to display the message. Either

Re: [android-developers] Re: hi friends

2013-01-09 Thread Lew
bob wrote: Well, it seems like if you pass 3000 for the duration, it does show. But the docs don't seem to condone this. And the docs make quite clear that the unit is not milly seconds [sic]. Or do we think 1 millisecond is a long time? bob wrote: *duration* How long to display the

Re: [android-developers] Re: hi friends

2013-01-08 Thread bob
*duration* How long to display the message. Either LENGTH_SHORThttp://developer.android.com/reference/android/widget/Toast.html#LENGTH_SHORT or LENGTH_LONGhttp://developer.android.com/reference/android/widget/Toast.html#LENGTH_LONG On Monday, January 7, 2013 10:19:24 PM UTC-6, sree wrote:

[android-developers] Re: hi friends

2013-01-07 Thread Juned Khan
check for internet connection by this method if its returns true then eecute your code. public boolean isNetworkAvailable() { ConnectivityManager connectivityManager = (ConnectivityManager) getSystemService (Context.CONNECTIVITY_SERVICE);

[android-developers] Re: hi friends

2013-01-07 Thread bob
Please make sure the second parameter to Toast.makeText is correct. Hint: it should not be 3000. On Monday, January 7, 2013 2:19:48 AM UTC-6, sree wrote: Hi friends, Please see above attachments, In image one i am using imageview,button,textview. when i click button text is

Re: [android-developers] Re: hi friends

2013-01-07 Thread sree android
3000 meand 3 milly seconds(1000 seconds for 1ms).It is correct. -- 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] Re: hi friends

2013-01-04 Thread bob
Try connecting to a socket where there is a server listening. On Friday, January 4, 2013 7:49:38 AM UTC-6, sree wrote: How can i fix SocketTimeoutException: Connection timed out give me any suggession. -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: hi friends

2013-01-04 Thread Nobu Games
In addition to what bob says: SocketTimeoutException is an IOException. There's a whole bunch of stuff that can go wrong when it comes to IO. The Internet connection could be down, the server you want to contact could be down, the response from the server could be faulty, etc. etc. Your code

[android-developers] Re: hi friends

2013-01-04 Thread Lew
sree wrote: i [sic] am reading date value from webservices (DD/MM/) and set these date to textview.After Displaying the values is show like DD/MM/.Here i can store reading date value in one array and these array is bind to textview. But i want to display DD/MM only how. plz

Re: [android-developers] Re: hi friends

2013-01-03 Thread sree android
thank you friend. -- 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

[android-developers] Re: hi friends

2013-01-03 Thread sree android
TEXTVIEW (TEXTVIEW | TEXTVIEW | TEXTVIEW) -- 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] Re: hi friends

2013-01-03 Thread sree android
I Got solution for this,Thank you no need to explain it. TEXTVIEW (TEXTVIEW | TEXTVIEW | TEXTVIEW) -- 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

[android-developers] Re: hi friends

2013-01-03 Thread Lew
sree wrote: I Got solution for this,Thank you no need to explain it. Yes, there is. Please do. TEXTVIEW (TEXTVIEW | TEXTVIEW | TEXTVIEW) -- Lew -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: hi friends

2013-01-03 Thread skink
sree android wrote: Hi friends i am reading date value from webservices (DD/MM/) and set these date to textview.After Displaying the values is show like DD/MM/.Here i can store reading date value in one array and these array is bind to textview. But i want to display DD/MM only

[android-developers] Re: hi friends

2013-01-02 Thread skink
sree android wrote: Hi friends, The above attachment i prepared ListView with Sections,Here i need to call Custom Listview inside sections.It is posible or not. If it is possible how can i do.please give me stepts or any code links. thank you in advance. what do you mean by need to call

[android-developers] Re: hi friends

2013-01-02 Thread sree android
I am asking customlistview inside customlistview.It is possible or not.If it is possible How. The above attachements are implemented with customlistview using webservices. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: hi friends

2013-01-02 Thread skink
sree android wrote: I am asking customlistview inside customlistview.It is possible or not.If it is possible How. you can't add a listview inside another listview, you can add only non scrollable views pskink -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: hi friends

2013-01-01 Thread Mariusz Fik
sree android wrote: Happy New Year to One And All. Please suggest me, The above attached image,How can i display that items.How can i add items particularly in Today or Tomarrow Textviews and also the line below of Today textview. Please send me replay with which concept is used and

[android-developers] Re: hi friends

2012-12-04 Thread bob
Please see this page: http://developer.android.com/guide/topics/ui/layout/gridview.html It describes what you want to do using resources. You just need to modify it to use the SD card. On Tuesday, December 4, 2012 4:06:17 AM UTC-6, sree wrote: help me.i would like to display images in

[android-developers] Re: hi friends

2012-11-29 Thread sree android
Thank you bro. -- 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