>
> 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
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
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.
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
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
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
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
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
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,
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
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
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 "
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
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
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
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
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
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,
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+
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.
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
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
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
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.
--
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
25 matches
Mail list logo