Android Programming and Technical Programming Technical

How to show SQLite Database table information in android application? What is the best way to do it?

Options
1) Use table layout with cursor
2) Use listView with cursor adapter
3) Use table layout with cursor adapter
4) use gridview with cursor adapter

Read Solution (Total 1)

Android Other Question

How to upgrade database tables?

Options
1) Pass different version number in incremental order, and put all upgrading code in onUpgrade() of helper class.
2) Pass different version number in incremental order, and put all upgrading code in onCreate() of helper class.
3) Pass different version number in any order, and put all upgrading code in onUpgrade() of helper class.
4) Pass different version number is decremental order, and put all upgrading code in onUpgrade() of helper class.
Which sensor is used to find gravitational force on each axes(x,y & z)

Options
1) GyroScope
2) Accelerometer
3) Proximity sensor
4) we can use any of the above 3 options for this requirement