[android-developers] Force close

2011-07-30 Thread saurabh kulkarni
My app gives me force close when I add one record to database and then returns to privious activity which shows me added record.So why force close? -- 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] Force close

2011-07-30 Thread saurabh kulkarni
My app gives me force close when I add one record to database and then returns to privious activity which shows me added record.So why force close? -- 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] Query

2011-07-28 Thread saurabh kulkarni
pl.suggest soln to this. My date column has date like:2011-07-25. final Calendar c = Calendar.getInstance(); int myMonth = (c.get(Calendar.MONTH)+1); int myDay = c.get(Calendar.DAY_OF_MONTH); String query =

[android-developers] Sql query not working

2011-07-25 Thread saurabh kulkarni
Why this query is not working?? My date column has date like:2011-07-25. final Calendar c = Calendar.getInstance(); int myMonth = (c.get(Calendar.MONTH)+1); int myDay = c.get(Calendar.DAY_OF_MONTH); String

[android-developers] Project Ideas

2011-07-24 Thread saurabh kulkarni
Hi everyone.I want do final year big project in android.I have done some small apps in android.So now I want to do some smart and comparitively big final year project.So does anybody has ideas please share. Thanx in advance.. -- You received this message because you are subscribed to the Google

[android-developers] Re: Sorting Sqlite data while display

2011-07-22 Thread saurabh kulkarni
On Jul 21, 11:22 pm, saurabh kulkarni funwit.saur...@gmail.com wrote: Hi I have date(TEXT) column in db.I want to display dates in ascending order(i.e. group by date).but according to current date. Sorry (order by) -- You received this message because you are subscribed to the Google

[android-developers] Sorting Sqlite data while display

2011-07-21 Thread saurabh kulkarni
Hi I have date(TEXT) column in db.I want to display dates in ascending order(i.e. group by date).but according to current date. i.e dates greator or equal than current date should be displayed first and past dates should get appended at last in listview automatically.I used SimpleCursorAdapter to

[android-developers] Context menu problem

2011-07-17 Thread saurabh kulkarni
Context Menu is returning me object how should I get text view(Name) which was their in list? HomeActivity is ListView like Name Date --- public void onCreateContextMenu(ContextMenu menu,View

[android-developers] Context menu problem

2011-07-17 Thread saurabh kulkarni
Context Menu is returning me object how should I get text view(Name) which was their in list? HomeActivity is ListView like Name Date --- public void onCreateContextMenu(ContextMenu menu,View

[android-developers] ListView Examples

2011-07-16 Thread saurabh kulkarni
Can anybody give me custom listview(having 2 or more textviews) examples with its listener also working??? -- 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

[android-developers] Context menu problem

2011-07-16 Thread saurabh kulkarni
1)Context Menu is not getting item required OR 2)onclick should work public class HomeActivity extends Activity { private static final int Id_Details = 0; private static final int Id_Email = 1; /** * @see android.app.Activity#onCreate(Bundle) */

[android-developers] Re: Listview listener

2011-07-12 Thread saurabh kulkarni
db = (new HomeActivitySqlOpenHelper(this)).getWritableDatabase(); HomeActivity = (ListView) findViewById(R.id.list); cursor= db.rawQuery(SELECT _id, name, date FROM table1, null); adapter = new SimpleCursorAdapter(HomeActivity.this,R.layout.list_item,cursor,new String[] {name,

[android-developers] Listview listener

2011-07-11 Thread saurabh kulkarni
I have Listview containing 2 textviews: Name,(below name) Date. I want to edit,view Details,Send Email(On click retrive email from db and then passing it to email app) options on click of it. I have implemented OnClick method but its nt working.not getting data which was clicked . I have also

[android-developers] BirthdayManagement Project Ideas

2011-06-30 Thread saurabh kulkarni
Hi everybody, I am a student and want to build an intermediate level birthday management app for practice.I figured out following requirement: 1)should give notifications on predefined days earlier than birthday. 2)user should be able to send sms,email,call on clicking any entry. But I am

[android-developers] BirthdayManagement Project Ideas

2011-06-30 Thread saurabh kulkarni
Hi everybody, I am a student and want to build an intermediate level birthday management app for practice.I figured out following requirement: 1)should give notifications on predefined days earlier than birthday. 2)user should be able to send sms,email,call on clicking any entry. But I am

[android-developers] ErrorThread detached

2011-06-23 Thread saurabh kulkarni
I am getting error in execution of following as Detached Thread *HomeAct.java* package com.zensar.app; import java.util.ArrayList; import android.app.Activity; import android.content.ContentValues; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import