i dont know how far i am right, but doesn't the context change when u
instantiate a new activity object?
myact maobj=new myact();
hence the exception.
jus move the code in open() to the line after dbhelper instatiation. it
should work fine. there is no need to create a new activity object.
On
i second saurav.. do this:
public class myact extends Activity {
public static final String KEY_ROWID = _id;
public static final String KEY_VEHICLE = vehicle;
public static final String KEY_ROUTE = route;
public static final String KEY_COUNTRY = country;
public static final
Thank You Brothers . It did solve the problem . Thank You Sourav ,
Thank you Kalyan
On Aug 5, 7:17 pm, kalyan simhan kalyansim...@gmail.com wrote:
i second saurav.. do this:
public class myact extends Activity {
public static final String KEY_ROWID = _id;
public static final String
3 matches
Mail list logo