[android-developers] Re: prob in attaching txt file while email from internal package file storage

2010-06-08 Thread adag
other applications. A content provider (and content: URI) give your > application control over what information to make available, and to > whom. > > On Jun 7, 10:33 pm, adag wrote: > > > Hello, > > > I am successful in creating file using openFileOutput(). and can read > &

[android-developers] prob in attaching txt file while email from internal package file storage

2010-06-07 Thread adag
Hello, I am successful in creating file using openFileOutput(). and can read the file using openFileInput(). I am able attach file from external storage sdcard while emailing the same using getExternalStorageDirectory as sendIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse("file://"+Environment.getE

[android-developers] Re: Stop Application Catch

2010-05-25 Thread adag
am, Mark Murphy wrote: > adag wrote: > > Hello, > > > I have 5 screen in which I am encountering "Stop Application" error > > which makes my application to stop. Here I know that an exception > > which supposed to be addressed inside the code on which the erro

[android-developers] Stop Application Catch

2010-05-25 Thread adag
Hello, I have 5 screen in which I am encountering "Stop Application" error which makes my application to stop. Here I know that an exception which supposed to be addressed inside the code on which the error is occurring. The Stop Application System Message is forcing the next 3 screen to close unt

[android-developers] Stop Application Catch

2010-05-25 Thread adag
Hello All, I have five screen in my application. While in performing one action in fifth screen I encountered with Stop Application message. On which, I am getting 3 times "Stop Application" msg box, which covers 3 previous screen and comes back to the first screen. I understand I must have encou

[android-developers] How to narrow down the method that is involved in exception from the pid

2010-05-04 Thread adag
Hello, I was getting IllegalStateException caused by the cursor. The logcat is as follows: Ljava/lang/IllegalStateException;: Finalizing cursor android.database.sqlite.sqlitecur...@437c0e60 on null that has not been deactivated or closed I/dalvikvm( 585): at android.database.sqlite.SQLiteCursor.f

[android-developers] Re: how to lunch a activity from prefrence

2010-05-03 Thread adag
Hello Mohammad, If you are talking about the preference activated from the xml using activity please refer the api demos that is provided. developer.android.com/resources/samples/ApiDemos/res/xml/ advanced_preferences.html The example are quite self explanatory and covers all the possible usage of

[android-developers] Re: Always retrieve incomplete result from database

2010-05-03 Thread adag
Hello Monica, It seems the query is not correct. Missing quotes for WHERE_MONTH_YEAR The correct query needs to treat WHERE_MONTH_YEAR as variable. It should look like as follows: return mDb.rawQuery("select t_date from finance " + where t_month= +"\'" + selectedMonth + "\' and " + t_year = '"" +

[android-developers] Sqlite cursor closable problem

2010-05-03 Thread adag
Hello, I am receiving finalizing closable issues. the snippet from the logcat as follows: I/dalvikvm( 585): Ljava/lang/IllegalStateException;: Finalizing cursor android.database.sqlite.sqlitecur...@437c0e60 on null that has not been deactivated or closed I/dalvikvm( 585): at android.datab

[android-developers] Re: How to refer an attribute value to the other attribute in the same element of layout

2010-04-03 Thread adag
().setBackgroundResource(R.Color.light_blue); But I am affraid how to handle the cacheColorHint. getListView().setCacheColorHint is not working in this case. Other than using transparent with android:cacheColorHint. any light Mark would be wonderful. On Apr 4, 1:10 am, Mark Murphy wrote: > adag wrote: > &

[android-developers] How to refer an attribute value to the other attribute in the same element of layout

2010-04-03 Thread adag
Hello, I have problem to solve. I have listview in which android:background="#7W" value I would would like to put it in the android:cacheColorHint= "the value of the android:background". If anybody put some light how to refer the other attribute value to another attribute of the same element wo

[android-developers] Cursor Problem while handling

2009-12-15 Thread adag
Hello all, I have performed query and kept the data in cursor say mCur. cursor mCur has 9 column with 22 rows in it. mCur.moveToFist(); while(!mCur.isAfterLast()){ a) mNameCol[i] = cur.getString(cur.getColumnIndexOrThrow(CL_NAME)); b) mAddCol[i]= cur.getString(cur.getColumnIndexOrThrow(CL

[android-developers] Re: problem in aligning right column in the list

2009-12-02 Thread adag
Worked out with android:weightSum quite nice..!!! On Dec 2, 1:18 pm, adag wrote: > Hello All, > > I am having multiple choice list where I have three column like below > * > Col1           Col2 Col3 > * > Col2 and Col3 should

[android-developers] problem in aligning right column in the list

2009-12-02 Thread adag
as expected. Col1 and Col2 are coming next to Each other, But I can restrict Col3 to be right Aligned. Col1Col2 Col3 Any further suggestion to make it correct would be really appreciable. Regards, adag -- You received this message because you are subscribed to the Google Groups

[android-developers] Problem in retrieving EditText field from alertdialog

2009-11-16 Thread adag
Hello all, I am facing some not understandable error. Could anybody help to put light on it The variable edtTxt is returning null and encoutering nullpointer exception while I am trying to run and entered text in the txt_edit field. Here is the code. -- code --

[android-developers] Re: Problem with communicating Thread with progressBar

2009-11-14 Thread adag
hread, it doesn't need the looper calls because it > already has a message queue running. Looper#loop doesn't cause your > own code to loop anyway, it causes the code that gives out messages to > handlers to loop. > > On Nov 14, 5:22 am, adag wrote: > > > Hello, >

[android-developers] Problem with communicating Thread with progressBar

2009-11-14 Thread adag
Hello, Here is my code: -- final Handler mHandler = new Handler(){ public void handleMessage(Message msg) { if(location!=null){ Log.i(TAG, "go

[android-developers] Re: Not able to connect device using adb -d shell command from vista

2009-10-23 Thread adag
know where I am going wrong. After I give the "am start.." command on the window cmd and I dont find next step to do. Because no screen comes up. If you can tell me any solution would really be helpful. Thanks in Advance, adag On Oct 23, 7:09 pm, Jason Proctor wrote: > adb doe

[android-developers] Re: Not able to connect device using adb -d shell command from vista

2009-10-23 Thread adag
Hello Jason, adb -d shell supposed to be opening a shell on phone deivce. But in my case it is not happening. Re, adag On Oct 23, 6:52 pm, Jason Proctor wrote: > that means it's working :-) > > > > >Hello, > > >I am trying to use "adb -d shell" comm

[android-developers] Not able to connect device using adb -d shell command from vista

2009-10-23 Thread adag
27;$'. any help would really appreciable. I have installed adb_usb_windows. Previously I used work well with the emulator. Using adb command never troubled me. But now with new device, I am not able to open a shell using adb -d shell command on the phone. Tha

[android-developers] manipulating cursor - need to edit column retrieved data before setListAdapter

2009-08-06 Thread adag
I am intending to listing data which are retrieved from the database. I need to show edited data(from the retrieved DB data ) into the screen while the data is in screen in list view. I am using cursor to fetch the data from the database. to bind the data in setListAdapter, I am using SimpleCurs