[android-developers] Re: Avoid app force closed issue.

2013-12-02 Thread Sourav Howlader
> > Hi Sree, Most important thing is, you should do all of your long running processes in child thread. If you do your web services operations in main thread, then you will get ANR as its a time consuming process and may not complete the operation in time. Regards, Sourav -- You received t

[android-developers] Re: layout problem

2012-12-23 Thread Sourav Howlader
Just mention android:gravity="center" to your Root LinearLayout -- 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-d

[android-developers] Re: layout problem

2012-12-23 Thread Sourav Howlader
Just mention android:gravity="center" to your Root LinearLayout On Sunday, 23 December 2012 07:04:16 UTC+5:30, dashman wrote: > > I've got 3 View elements that i'd like to display at the center > of the page - centered vertically and horizontally. > > for the life of me - i can't get it to work.

[android-developers] Re: XMLParsing

2012-12-23 Thread Sourav Howlader
Hi Sadhana, If you are getting huge data from your server you can use SAX Parser 1. http://www.jondev.net/articles/Android_XML_SAX_Parser_Example 2. http://www.mysamplecode.com/2011/11/android-parse-xml-file-example-using.html If you are getting small data with very few tags, you can use DOM

Re: [android-developers] Custom alarm for calendar events

2012-06-21 Thread Sourav Howlader
Thanks Michael. -- 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] Custom alarm for calendar events

2012-06-20 Thread Sourav Howlader
Hi All, I am trying to create events in default Calendar and set alarm for it. This much is fine, I am able to set events and alarm for the events using Intent. Now instead of playing default calendar alert sound I want to play different different sound for the events which I have added. This is

[android-developers] Re: Android Audio framework

2011-12-01 Thread Sourav Howlader
Check the below links: http://developer.android.com/reference/android/media/MediaPlayer.html http://developer.android.com/guide/topics/media/mediaplayer.html I think these will help. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post

[android-developers] Re: C2DM - phone send data back to Google Cloud (in addition to normal Cloud to Phone)?

2011-09-21 Thread Sourav Howlader
Hi NickL, What Streets said is correct. Check this C2DM documentation http://code.google.com/android/c2dm/ Regards, Sourav -- 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@googlegroup

[android-developers] Re: want some more information about ImageView

2011-08-16 Thread Sourav Howlader
Check this link http://developer.android.com/guide/topics/graphics/view-animation.html -- 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: Android Application Development

2011-08-10 Thread Sourav Howlader
Hi Lakshmi , I think you are looking for this: startActivity(new Intent("android.intent.action.VIEW", Uri.parse("http://google.com";)); Regards, Sourav -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to a

[android-developers] Re: How to get current Activity?

2011-08-08 Thread Sourav Howlader
Hi gkvoelkl, Try this Context context = pass_some_context; ActivityManager activityManager = (ActivityManager) context.getSystemService(Activity.ACTIVITY_SERVICE); String packageName = activityManager.getRunningTasks(1).get(0).topActivity.getPackageName(); String className = activityManager.getRu

[android-developers] Re: Problem sending message to facebook wall

2011-08-08 Thread Sourav Howlader
Hi Sd, Check this link. http://groups.google.com/group/android-developers/browse_thread/thread/7b1592ddbe8e60dc/04c5ccb537ae8153?lnk=gst&q=Integrating+Facebook+in+Android+application#04c5ccb537ae8153 Regards, Sourav -- You received this message because you are subscribed to the Google Groups "

[android-developers] Re: null pointer exception

2011-07-05 Thread Sourav Howlader
Hi vani, connectivity.getActiveNetworkInfo() returns null if there is no connection. Hence when you call .isConnected() on that, it throws null pointer exception. Regards, Sourav -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to

[android-developers] Re: Integrating Facebook in Android application

2011-06-06 Thread Sourav Howlader
Hi Goutom, Check this link. http://developers.facebook.com/docs/guides/mobile/#android Regards, Sourav -- 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: Bitmap Distortion

2011-05-11 Thread Sourav Howlader
Hi neuromit, Try this, hope it will solve your problem. Paint mPaint = new Paint(); mPaint.setAntiAlias(true); mPaint.setFilterBitmap(true); mPaint.setDither(true); Regards, Sourav -- You received this message because you are subscribed to the G

[android-developers] Re: How do I remove the background of a image button?

2011-04-26 Thread Sourav Howlader
in xml declare android:background="@null" this will solve your problem -- 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: Problem with ListView

2011-04-20 Thread Sourav Howlader
can you post the stack trace as well as your main.xml ? -- 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-developer

[android-developers] Re: onConfigurationChanged not getting called.

2011-04-19 Thread Sourav Howlader
You need to fix your orientation either in portrait or in landscape mode. Try this. -- 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: Display large html content page wise in WebView

2011-04-19 Thread Sourav Howlader
Thanks for your support. I will go through this link. -- 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+

[android-developers] Re: Display large html content page wise in WebView

2011-04-19 Thread Sourav Howlader
My html is basically a static one, which I will read from resource. It will contain header, and other text, similar to basic html pages of eBook. Regarding target device, it need to be for all resolution devices. Now can you explain your suggestion using any example ? Thanks for your suggestion.

[android-developers] Re: Display large html content page wise in WebView

2011-04-19 Thread Sourav Howlader
So I need to extract content from html and then write into a file. But while displaying how I will come to know about the number of words and formatting I need for creating page1.htm, page2.htm etc. ? Can you explain using an working example ? Thanks. -- You received this message because you ar

[android-developers] Re: Display large html content page wise in WebView

2011-04-18 Thread Sourav Howlader
If I extract data from HTML, then how to maintain the formatting ? Not getting any clue, can you elaborate a little or show some example ? Thanks for your reply. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send

[android-developers] Display large html content page wise in WebView

2011-04-15 Thread Sourav Howlader
Hi All, I have a large HTML which contents huge number of lines. But I want to show content of the HTML file that fits a single screen. I want to provide a " > " button to show the next contents of the same HTML file. I want to only display the HTML contents that fits the screen similar to eBoo

[android-developers] Re: rotating a bitmap

2011-03-18 Thread Sourav Howlader
In Paint class there are three methods: setAntiAlias(); // For enabling anti alias effect. setFilterBitmap(); // When you create a bitmap, filter will be used to make the images fine. setDither(); // will handle the gradient of your image set these values as true. I think this will help you. --

[android-developers] Re: Disable Button after click

2011-03-11 Thread Sourav Howlader
As soon as the button is clicked, set button.setEnable(false); This will disable the button and will avoid from double clicking it. On Mar 11, 11:54 pm, pabbot wrote: > Hi all, > > In my application, when I click on a button that inserts a record on > the database and closes the Activity, some