[android-developers] camera preview problem

2012-01-21 Thread sktniran
Hi friends, i have to take picture from my application and need to store it database. i used following preview code in my app class Preview extends SurfaceView implements SurfaceHolder.Callback { // 1 private static final String TAG = Preview; SurfaceHolder mHolder; // 2 public

[android-developers] Re: Problem in Asynctask Execution in standby mode

2012-01-20 Thread sktniran
Thanks Guys.. i solved this problem. the solution is we need to dismiss the progressDialog and set this to null in onPause method. And in onPostExecute method we have to check progressDialog!=null before dismiss this dialog... Thnak you for your response -- You received this message because

[android-developers] Problem in Asynctask Execution in standby mode

2012-01-19 Thread sktniran
Hi friends, I am using AsyncTask concept to download data from server. private class DownloadTask extends AsyncTaskVoid,Void,String { private ProgressDialog progressDialog; @Override protected void onPreExecute() {

[android-developers] android application gets killed in stand by mode

2011-12-16 Thread sktniran
Hi friends, When the device screen blanks or goes to stand by mode (or they turn it off) my app gets killed and sometimes forces closed as well . but the app should keep running and show up as soon as they turn on and unlock the screen after it has gone blank. how to get this please help me.

[android-developers] Re: need help on menu in android

2011-11-25 Thread sktniran
Thank you so much TreKing and JonFHancock... it's worked for me.. -- 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 unsubscribe from this group, send email to

[android-developers] need help on menu in android

2011-11-23 Thread sktniran
Hi friends, i have two spinner and three edit text fields in my form at top row. now i want to move these fields into menu which only pops up when you hit the menu button. is it there any way to get this? please help me. Thanks, -- You received this message because you are subscribed to the

[android-developers] need help on spinner

2011-09-22 Thread sktniran
Hi friends, i dont want to show spinner items while i touch (onTouch) on spinner. it will shows the spinner item only on onitemseleted. in touch event just i want to do some calculation only no need to select item from spinner. how can i get this? is it possible? thanks --

[android-developers] need help on spinner

2011-09-22 Thread sktniran
Hi friends, i dont want to show spinner items while i touch (onTouch) on spinner. it will shows the spinner item only on onitemseleted. in touch event just i want to do some calculation only no need to select item from spinner. how can i get this? is it possible? thanks --

[android-developers] need help on spinner

2011-09-22 Thread sktniran
Hi friends, i dont want to show spinner items while i touch (onTouch) on spinner. it will shows the spinner item only on onitemseleted. in touch event just i want to do some calculation only no need to select item from spinner. how can i get this? is it possible? thanks --

[android-developers] pass date into .net webservice

2011-09-05 Thread sktniran
Hi friends, can anyone know how to pass the date from android application into .net webservice? i want to pass date from android into .net via webservice. this is my code... SimpleDateFormat dateFormater = new SimpleDateFormat(MM/dd/); Date myDate =

[android-developers] application has stopped unexpectedly in camera previewmmode

2011-08-29 Thread sktniran
hi friends, Am using camera to take snap in my application.While am in a camera preview mode if any interruption occurs like lock mode, go to back the application has stopped unexpectedly. Any one tell me suggestions what to do so that the application does not gets close. -- You received this

[android-developers] application has stopped unexpectedly in camera preview mode

2011-08-29 Thread sktniran
hi friends, Am using camera to take snap in my application.While am in a camera preview mode if any interruption occurs like lock mode, go to back the application has stopped unexpectedly. Any one tell me suggestions what to do so that the application does not gets close. -- You received this

[android-developers] need help on take snapshot and save

2011-08-22 Thread sktniran
Hi friends, i want to take snapshot and save it in database in android.i dont have any idea about this. i need some information related to this. can anyone please help to start this application? Thanks. -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: need help on take snapshot and save

2011-08-22 Thread sktniran
oh sorry.. i want to take snapshot from camera and save it in sqllite db. thanks On Aug 22, 3:12 pm, Appaholics raghavs...@appaholics.in wrote: Snapshot of the screen or through the camera? You will need to provide a lot more information. On Mon, Aug 22, 2011 at 3:15 PM, sktniran

[android-developers] Re: pass hashtable from one activity to another activity

2011-08-10 Thread sktniran
thanks worked for me On Aug 9, 7:25 pm, Streets Of Boston flyingdutc...@gmail.com wrote: Use a Bundle instead of a Map (HashMap/Hashtable). *Bundle bundle = new Bundle();* *...* *... // copy contents of hash map into bundle * *...* *intent.putExtra(myhashmap, bundle);* *...* In other

[android-developers] key from value in hash table

2011-08-10 Thread sktniran
Hi is it there any way to retrive key from value in hashtable? -- 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 unsubscribe from this group, send email to

[android-developers] relative layout

2011-08-09 Thread sktniran
hi friends, i want to add spinner1,btn1,btn2,spinner2 in single row dynamically. likewise i have to add 'n' no of rows. i am using Relative Layout. the problem is when i am adding these controls dynamically the height of btn and spinner will differ. the two btns slightly moved up. any

[android-developers] pass hashtable from one activity to another activity

2011-08-09 Thread sktniran
hi how to pass hash table from one activity to another using intent.putExtra? -- 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 unsubscribe from this group,