Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Progress bar while fetching data

Progress bar while fetching data

Put your problem here if it does not fit any of the other categories.

Progress bar while fetching data

Postby AndreS » Fri Jul 31, 2009 11:36 am

Hi......
I am trying to show progress bar while I am fetching data from web.
can any body tell me how this can be done. Or can give link to
any related code snippet.


Thanx n Regards,
AndreS
Junior Developer
Junior Developer
 
Posts: 15
Joined: Tue Jul 21, 2009 11:28 am

Top

Postby desuvinodkumar » Fri Jul 31, 2009 2:53 pm

HI

U can add this thing your layout and instantiate in java code

<include
android:id="@+id/progress"
layout="@layout/shared_progress"

android:visibility="gone" />
Vinod...
User avatar
desuvinodkumar
Senior Developer
Senior Developer
 
Posts: 102
Joined: Mon Mar 23, 2009 6:51 am
Location: India

Postby desuvinodkumar » Fri Jul 31, 2009 2:57 pm

Hi

shared progress layout i forget to paste....

<ProgressBar xmlns:android="http://schemas.android.com/apk/res/android"
style="?android:attr/progressBarStyleHorizontal"

android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dip"
android:layout_marginRight="10dip"
android:layout_marginBottom="2dip"
android:layout_gravity="bottom|right"

android:indeterminate="true" />
Vinod...
User avatar
desuvinodkumar
Senior Developer
Senior Developer
 
Posts: 102
Joined: Mon Mar 23, 2009 6:51 am
Location: India

Postby AndreS » Mon Aug 03, 2009 6:22 am

Hi Vinod.....
Thanx for help. I am able to use progress bar.
I want to do some background task like fetching data from server.
Also I want to show its update in horizontal bar.
How can I do this?





Thanks n Regards,
Sandeep
AndreS
Junior Developer
Junior Developer
 
Posts: 15
Joined: Tue Jul 21, 2009 11:28 am

Postby desuvinodkumar » Mon Aug 03, 2009 6:34 am

Hi

Go through this file ....
it may be useful .....
Attachments
FeedImageViewer.java
(8.94 KiB) Downloaded 602 times
Vinod...
User avatar
desuvinodkumar
Senior Developer
Senior Developer
 
Posts: 102
Joined: Mon Mar 23, 2009 6:51 am
Location: India

Postby desuvinodkumar » Wed Aug 12, 2009 8:10 am

HI

go through this link ...

when a background any process running int hat ulike this we can use progress bar

http://developer.android.com/reference/ ... ssBar.html
Vinod...
User avatar
desuvinodkumar
Senior Developer
Senior Developer
 
Posts: 102
Joined: Mon Mar 23, 2009 6:51 am
Location: India

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 14 guests