[android-developers] Image download problem
Hi. I have some question regarding image downloading from the server. In my application i had to continually call one method in which image download code is placed But java.net.MalformedURLException is there when i call image download method continually so any suggestion why i get java.net.MalformedURLException in my code. try { URL aURL = new URL(url); URLConnection conn = aURL.openConnection(); conn.connect(); InputStream is = conn.getInputStream(); BufferedInputStream bis = new BufferedInputStream(is); int i = bis.available(); if(i!=0) { bm = BitmapFactory.decodeStream(bis); setOriginalImage(bm); bm = resizeBitmap(bm, 30, 30); } /* bm = BitmapFactory.decodeStream(bis); setOriginalImage(bm); bm = resizeBitmap(bm, 30, 30);*/ bis.close(); is.close(); } catch (IOException e) { Log.e("TAG", "Error getting bitmap", e); } catch(Exception e) { e.printStackTrace(); } retrun bm; here is my code -- 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 this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Paypal integration in my Application
Hi. In my application i need to integrate paypal payment gateway. But My main concerned is can Android market approved my application with PAYPAL gateway ? Because In Android market uses Google Checkout for Payment Gateway So can i use Paypal payment gateway in my application ? can Android market approved my application with Paypal payment gateway? please do needful. Regards jaimin. -- 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 this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: skype ,gtalk intent
hi jeff. Uri imUri = new Uri.Builder().scheme("imto").authority("aim").appendPath ("u...@example.com").build(); Intent intent = new Intent(Intent.ACTION_SENDTO, imUri); i have try above code that u have gave me for chatscreen intent but i am not successful to do the task to open the chatscreen of gtalk and skype so can u plz give me the code of gtalk and skype. thanks jaimin. On Nov 3, 3:51 am, Jeff Sharkey wrote: > You should really avoid specifying direct ComponentNames, as they can > change in the future, or the user may install a different client to > handle those protocols. > > Here's a quick example of how to launch a chat with someone using AIM > when a client is installed: > > Uri imUri = new > Uri.Builder().scheme("imto").authority("aim").appendPath("u...@example.com").build();Intentintent= > newIntent(Intent.ACTION_SENDTO, imUri); > > You can substitute "gtalk" or "msn" for launching other clients. > > j > > > > On Sun, Nov 1, 2009 at 8:53 PM, jaimin mehta wrote: > > hi. > > i have some problem regardingskypeandgtalkintent > > i have application in which i display a list of onlineskype,gtalk > > contacts. > > Now when ever i click my onlineskypeorgtalkcontacts it should > > display a defaultskypeorgtalkchat window with that Contacts > > > So basically i want to know is there anyintentto call Chat screen of > >SkypeandGtalkonline Contacts > > > Right now i haveintentto callskypeandgtalkdefault application > > login screen > > >GTALK- > >Intenti = newIntent(Intent.ACTION_MAIN); > > i.setComponent(new > > ComponentName("com.google.android.talk", > > "com.google.android.talk.SigningInActivity")); > > startActivity(i); > > >SKYPE- > >Intenti = newIntent(Intent.ACTION_MAIN); > > i.setComponent( > > new ComponentName( > > > > "com.skype.android.lite", > > > > "com.skype.android.lite.SkypeActivity" > > ) > > > ); > > startActivity(i); > > > but i want to display chat screen of bothSkypeandGtalk > > can any body help me in my issue > > > plz its urgent > > > thanks > > jaimin. > > > -- > > 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 this group at > >http://groups.google.com/group/android-developers?hl=en > > -- > Jeff Sharkey > jshar...@android.com -- 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 this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: skype ,gtalk intent
Thanks for the help. Let me try that option and tell u if it is working for me or not Thanks jaimin. On Nov 3, 3:51 am, Jeff Sharkey wrote: > You should really avoid specifying direct ComponentNames, as they can > change in the future, or the user may install a different client to > handle those protocols. > > Here's a quick example of how to launch a chat with someone using AIM > when a client is installed: > > Uri imUri = new > Uri.Builder().scheme("imto").authority("aim").appendPath("u...@example.com").build();Intentintent= > newIntent(Intent.ACTION_SENDTO, imUri); > > You can substitute "gtalk" or "msn" for launching other clients. > > j > > > > On Sun, Nov 1, 2009 at 8:53 PM, jaimin mehta wrote: > > hi. > > i have some problem regardingskypeandgtalkintent > > i have application in which i display a list of onlineskype,gtalk > > contacts. > > Now when ever i click my onlineskypeorgtalkcontacts it should > > display a defaultskypeorgtalkchat window with that Contacts > > > So basically i want to know is there anyintentto call Chat screen of > >SkypeandGtalkonline Contacts > > > Right now i haveintentto callskypeandgtalkdefault application > > login screen > > >GTALK- > >Intenti = newIntent(Intent.ACTION_MAIN); > > i.setComponent(new > > ComponentName("com.google.android.talk", > > "com.google.android.talk.SigningInActivity")); > > startActivity(i); > > >SKYPE- > >Intenti = newIntent(Intent.ACTION_MAIN); > > i.setComponent( > > new ComponentName( > > > > "com.skype.android.lite", > > > > "com.skype.android.lite.SkypeActivity" > > ) > > > ); > > startActivity(i); > > > but i want to display chat screen of bothSkypeandGtalk > > can any body help me in my issue > > > plz its urgent > > > thanks > > jaimin. > > > -- > > 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 this group at > >http://groups.google.com/group/android-developers?hl=en > > -- > Jeff Sharkey > jshar...@android.com -- 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 this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] skype ,gtalk intent
hi. i have some problem regarding skype and gtalk intent i have application in which i display a list of online skype,gtalk contacts. Now when ever i click my online skype or gtalk contacts it should display a default skype or gtalk chat window with that Contacts So basically i want to know is there any intent to call Chat screen of Skype and Gtalk online Contacts Right now i have intent to call skype and gtalk default application login screen GTALK - Intent i = new Intent(Intent.ACTION_MAIN); i.setComponent(new ComponentName("com.google.android.talk", "com.google.android.talk.SigningInActivity")); startActivity(i); SKYPE - Intent i = new Intent(Intent.ACTION_MAIN); i.setComponent( new ComponentName( "com.skype.android.lite", "com.skype.android.lite.SkypeActivity" ) ); startActivity(i); but i want to display chat screen of both Skype and Gtalk can any body help me in my issue plz its urgent thanks jaimin. -- 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 this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: lucene api
Thanx for the reply but i want to search in my xml file and it contains 90 chapters.when i type word or text to search i want to search in all the 90 chapters in my xml file and display chapters which contain match word or text . so can i use lucene for that task to index my xml file? or any other sugestion? plz its urgent and i couldn't find any solution. thanks jaimin. On Sep 18, 2:18 am, "Yusuf Saib (T-Mobile USA)" wrote: > What do you mean by "global search"? Do you want to search all your > app's local files? Files on the SD card? The internet? Suspicious > characters at the airport? > > Yusuf Saib > Android > ·T· · ·Mobile· stick together > The views, opinions and statements in this email are those of the > author solely in their individual capacity, and do not necessarily > represent those of T-Mobile USA, Inc. > > On Sep 16, 11:45 pm, jaimin mehta wrote: > > > hi i am new to android . > > i have developed a application > > in that application i want a feature of global search in xml file > > now i want to use Lucene api for global search > > can i use in android? > > > if yes than plz tell me how can i implements that in my android code > > > thanx > > jaimin. --~--~-~--~~~---~--~~ 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 this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] lucene api
hi i am new to android . i have developed a application in that application i want a feature of global search in xml file now i want to use Lucene api for global search can i use in android? if yes than plz tell me how can i implements that in my android code thanx jaimin. --~--~-~--~~~---~--~~ 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 this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Jaimin's Birthday Calendar
Hi I'm setting up a birthday calendar and need your help. Just click on the link below and enter your birthday details. (It's quick, easy, and you can keep your age a secret.) http://www.birthdayalarm.com/bd2/85580695a218396311b1478139796c627209871d1386 Thanks Jaimin --~--~-~--~~~---~--~~ 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 this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: restart the phone to view the captured images in gallary
thanks for your help On Thu, Jun 4, 2009 at 4:59 PM, Mark Murphy wrote: > > > > > > hi. > > i am new to android > > i have devloped a camera application . > > it takes the the images and saved in gallary and later u upload a > > images into the web > > > > but when i take captured a images through my application the images is > > not shown in the > > gallary although it saved in gallary .But when i restart the phone > > than all the images i captrued > > is visibly in the gallary. > > > > so i have to restart the phone every time to seen images which i > > captured so > > plz help me on this its urgent. > > If it's urgent, then you probably should be hiring a consultant. Support > on these lists is on a volunteer basis and does not necessarily fit an > "urgent" timetable. > > Here is one possible solution to your issue: > > > http://groups.google.com/group/android-developers/browse_thread/thread/cf41cc88b6eb4393/a628ce0a1e9cd3cd > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com > _The Busy Coder's Guide to Android Development_ Version 2.0 Available! > > > > > > --~--~-~--~~~---~--~~ 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 this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: playing video file
thanks for the suggestion but i have solve that with multiply by 16 to my 320*480px and it runs in full screen On Thu, Apr 2, 2009 at 11:26 AM, Dave Sparks wrote: > > Have you looked at the VideoView widget? > > On Apr 1, 2:41 am, jaimin wrote: > > hi, > > i have problem in playing video file. Video file is playing nice but i > > want to play video file in the whole emulator (size).Right now video > > file is playing but in small size. > > so any suggestion or solution plz help me. > > > > thanks. > > jaimin. > > > --~--~-~--~~~---~--~~ 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 this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---