[android-developers] Displaying data from database in table format

2011-04-07 Thread hari narayanan
Hi, i am trying to display the data from database in table format, but
it doesnt work. Pls take a look at the code here (I dont want to spam
this thread by posting a 2 page code here ...So, pls take a look at it
here):

http://pastebin.me/24d7e33ce334e56087dcb657081684e9

I will just post the XML part of the code here :

?xml version=1.0 encoding=utf-8?
LinearLayout xmlns:android=http://schemas.android.com/apk/res/
android
android:orientation=vertical
android:layout_width=fill_parent
android:layout_height=fill_parent

TextView
android:layout_width=fill_parent
android:layout_height=wrap_content
android:text=@string/hello
/
TableLayout
android:id=@+id/mytablelayout
android:layout_width=fill_parent
android:layout_height=wrap_content

/TableLayout
/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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Displaying data from database in table format

2011-04-07 Thread TreKing
On Thu, Apr 7, 2011 at 4:04 PM, hari narayanan hari.zla...@gmail.comwrote:

 Hi, i am trying to display the data from database in table format, but it
 doesnt work.


You might want to explain what it doesnt work means. It will be slightly
faster than everyone guessing.

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
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

Re: [android-developers] Displaying data from database in table format

2011-04-07 Thread Kapil Lokhande
Hey,
Use listview for displaying data by implementing custom adapter.

On Fri, Apr 8, 2011 at 9:46 AM, TreKing treking...@gmail.com wrote:

 On Thu, Apr 7, 2011 at 4:04 PM, hari narayanan hari.zla...@gmail.comwrote:

 Hi, i am trying to display the data from database in table format, but it
 doesnt work.


 You might want to explain what it doesnt work means. It will be slightly
 faster than everyone guessing.


 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices


  --
 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


-- 
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