Ameet Sagar

Greenhorn
+ Follow
since Aug 17, 2012
Merit badge: grant badges
For More
Ahmedabad
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ameet Sagar

when you are using ListActivity by extending the ListActivity class you should not use the setContentView() method.

Try commenting out the setContentView() method. It will work fine... enjoy...!!!
10 years ago

you are not using the ViewHolder class for holding the views.

Try creating the custom view holder class like


and add in get view method use following code


on line 23 you are using

Your should change it to


now you can use the pi object to create the intent and nevigate to another screen.
10 years ago
you should add the code for unregistering the broadcast receiver in the OnDestroy method of the activity.

Override the onDestroy method and place the unregisterReceiver(batteryInfoReceiver); in it and there you go...!!!
10 years ago
the problem is with your table creation query.
it is


which should be



make the missing comma(,) after the primary key clause.
10 years ago
you can use request object to obtain the session object in spring controller.
for e.g.
HttpSession session = request.getSession();
session.setAttribute("message","howdy user...!!!") ;
10 years ago
This might help...
have you added @Repository("bookFormDao") in your BookFormDao implementation class(assuming that BookFormDao is your interface)???
10 years ago
This might help...
have you added @Repository("bookFormDao") in your BookFormDao class???
10 years ago