i have done one small coding in mainactivity.java and now i have to create another java in src folder in android eclipse but i am not able to do it
i want to create
You can do this also like following way.
Right click on your Package name that is com.redpot.stockquote
folder of your project then select new then select class you will get window like following images. (Please follow link as i don't have enough reputation to post images here)
http://share.pho.to/4tXRY
Here in Name just enter your activity name like StockInfiActivity. And then select Finish and you will see your Activity in your src folder.