[android-developers] Phone Gap

2011-08-16 Thread pramod.deore
Hi all, Today I read about phone gap. But I didn't got it clearly. Docs says "Write a PhoneGap app once with HTML and Javascript and deploy it to any mobile device without losing features of a native app". Is that means PhoneGap developed certain API's and we can use them in all above plalforms? O

[android-developers] Re: can I use debit card for android market

2011-07-04 Thread pramod.deore
Hello, Or should I must have credit card? On Jul 4, 10:01 am, "pramod.deore" wrote: > Hi, I want to upload application in android market. Can I use debit > card to pay 125$? > > Thanks in advance. -- You received this message because you are subscribed to the Google Grou

[android-developers] can I use debit card for android market

2011-07-03 Thread pramod.deore
Hi, I want to upload application in android market. Can I use debit card to pay 125$? Thanks in advance. -- 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 unsubscrib

[android-developers] Internet and intranet is not working at the same time on emulator

2011-06-07 Thread pramod.deore
Hi all, In my emulator Internet and intranet is not working on same time on emulator. When I want to hit URL from internet then I have to set Run Configuration of emulator -http-proxy http://10.16.12.101:8080. After setting this I am able to hit internet URL but if I try for intranet URL then it i

[android-developers] Out of memory error

2011-05-26 Thread pramod.deore
I am developing one application in that I am receiving continous huge amount of data through socket connection. Therefore some times when I run the applicaiton I got "out of memory error". How to handle this exception? -- You received this message because you are subscribed to the Google Groups "

[android-developers] Re: Updating row dynamically in ListView

2011-05-25 Thread pramod.deore
nload.oracle.com/javase/tutorial/collections/interfaces/lis... > hash and > equals:http://www.ibm.com/developerworks/java/library/j-jtp05273/index.html > > You are into problems with Java not Andoid per se now, so not this > list I'm afraid. > > > > On Wed, May 25, 2011 a

[android-developers] Re: Updating row dynamically in ListView

2011-05-25 Thread pramod.deore
rmine its index means whether it is in first location or second or somewhere else. Because If i get location then I can override older values with new one. } On May 25, 2:43 pm, "pramod.deore" wrote: > Still I am confused How I will check whether that list contains > particular EmpId

[android-developers] Re: Updating row dynamically in ListView

2011-05-25 Thread pramod.deore
d, but created once and the > updated, when needed. > > Your ListView and Adapter are used wrongly. > > Please read tutorials on both of those. > > > > > > On Wed, May 25, 2011 at 9:46 AM, pramod.deore > wrote: > > Yes Daniel I will try some sample cod

[android-developers] Re: Updating row dynamically in ListView

2011-05-25 Thread pramod.deore
to redraw all visible items. > > ListView and Adapter are powerful, hence not easy to grasp at the > beginning, so you have to go through some tutorial first, if you want > to use them. > > > > > > On Wed, May 25, 2011 at 9:18 AM, pramod.deore > wrote: > > H

[android-developers] Re: Updating row dynamically in ListView

2011-05-25 Thread pramod.deore
M 45 Rob 123 XYZ M Now how to achieve this? On May 25, 12:33 pm, Nikolay Elenkov wrote: > On Wed, May 25, 2011 at 4:15 PM, pramod.deore > wrote: > > > On May 25, 12:08 pm, Nikolay Elenkov > > wrote: > >> O

[android-developers] Re: Updating row dynamically in ListView

2011-05-25 Thread pramod.deore
Actually I am dealing with huge data. In above code just show a sample of three fields but there are more than 40 fields. On May 25, 12:08 pm, Nikolay Elenkov wrote: > On Wed, May 25, 2011 at 4:01 PM, pramod.deore > wrote: > > Hi Ravi thanks for reply. actually it will becomes more

[android-developers] Re: Updating row dynamically in ListView

2011-05-25 Thread pramod.deore
listview? On May 25, 11:46 am, Ravi wrote: > You could store the new data form the socket into a DB or content > provider and on every update just call notifiyDatasetchanged on the > list adapter. > > On May 25, 9:13 am, "pramod.deore" wrote: > > > > > H

[android-developers] Updating row dynamically in ListView

2011-05-24 Thread pramod.deore
Hi all, I am developing an application in that I am receiving continous data through socket. Now I want to display this data in list view. Suppose I got data of 3 records and I am showing this data in listview as EmpNameEmpId MobNo Pramod 12789 Tom11

[android-developers] Re: Updating row dynamically in table layout

2011-05-23 Thread pramod.deore
Any body as suggestion? On May 23, 3:38 pm, "pramod.deore" wrote: > I had written some code for this like: > > First I had created one TreeSet object as: > TreeSet ts = new TreeSet(); > >                 public void checkExist() >                 { >          

[android-developers] Re: Updating row dynamically in table layout

2011-05-23 Thread pramod.deore
od 123 12334 Tom 345 456465 Pramod 12378978 Any Idea or suggestion? Thanks On May 23, 2:58 pm, "pramod.deore" wrote: > Hi to all, I am deveolping one application in that I am getting > continous data from server, now I want to show this data in table > format.

[android-developers] Updating row dynamically in table layout

2011-05-23 Thread pramod.deore
Hi to all, I am deveolping one application in that I am getting continous data from server, now I want to show this data in table format. like NameempId MobNo Pramod 12312334 Tom 345 456465 Harry 345 546 I am able to show data like this. But the challange is if suppose

[android-developers] Re: passing data from service to activity continously

2011-05-13 Thread pramod.deore
data. I had refers Dianne Hackborn example but I didn't get that one. Thanks in advance On May 13, 9:52 am, Dianne Hackborn wrote: > Follow the local service sample, and then this is just straight-forward Java > language calls between them once they are hooked up. > > On Thu, May 12,

[android-developers] passing data from service to activity continously

2011-05-12 Thread pramod.deore
Hi all, In my application I am getting continously data from socket. I had wrote this socket code in my service now I want to display this data. So I want to send this data back to activity. In this activity I will display data then when new data comes through service then I want to again send this

[android-developers] update screen frequently

2011-04-24 Thread pramod.deore
Hi all, In my application I have list of multiple rows and columns. The values of these rows and columns are coming from server and these values are changes frequently. (near about after every second) Now I want to show updated values each time without refreshing or pressing back button. How to ach

[android-developers] Re: Only first record is visible in tablelayout

2011-04-20 Thread pramod.deore
Thanks TreKing. After creating TextView at runtime solves issue. On Apr 20, 9:43 pm, TreKing wrote: > On Tue, Apr 19, 2011 at 11:37 PM, pramod.deore > wrote: > > > Here number of rows are can vary from 0-n. Then How to add other Row? > > Add them dynamically. >

[android-developers] Re: Only first record is visible in tablelayout

2011-04-19 Thread pramod.deore
Any one have idea how to show all records in table layout? On Apr 20, 9:37 am, "pramod.deore" wrote: > Hi, all I am parsing one string and showing data in table layout > format. But only one record is visible and other are not. > > Here is my xml file: > > > >

[android-developers] Only first record is visible in tablelayout

2011-04-19 Thread pramod.deore
Hi, all I am parsing one string and showing data in table layout format. But only one record is visible and other are not. Here is my xml file: http://schemas.android.com/apk/res/ android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill

[android-developers] How to add horizontal scrollbar at runtime?

2011-04-19 Thread pramod.deore
Hi all, I want to add horizontal scrollbar at runtime how to do this? Thanks in advance -- 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,

[android-developers] Re: disadvantages of Date Picker

2011-04-12 Thread pramod.deore
Ok Thanks Marcin Orlowski for your response. On Apr 12, 2:32 pm, Marcin Orlowski wrote: > On 12 April 2011 10:56, pramod.deore wrote: > > > Hi All, I want to know that is there is any disadvantages of using > > date picker widget? In my application I am using date picker

[android-developers] disadvantages of Date Picker

2011-04-12 Thread pramod.deore
Hi All, I want to know that is there is any disadvantages of using date picker widget? In my application I am using date picker widget. And I heared that if you use date picker then many times it will create problem in future. Is it true? Should I used edittext to enter date? -- You received this

[android-developers] Re: Marquee is not worked when screen rotate

2011-04-08 Thread pramod.deore
the same > version. > > On Fri, Apr 8, 2011 at 1:42 PM, pramod.deore wrote: > > > > > > > > > Hi Abhilash, for lengthy string its working. try with smaller String > > like "Test String" and let me know marquee is working or not? I am > > using 2.

[android-developers] Re: Marquee is not worked when screen rotate

2011-04-08 Thread pramod.deore
Ok. In HTML we can use marquee for small string so I thought in Android it also worked. Ok Thanks guys. On Apr 8, 1:16 pm, Abhilash baddam wrote: > Hi Pramod, > >                For small String its not working i am also using the same > version. > > On Fri, Apr 8, 2011 at 1:4

[android-developers] Re: Marquee is not worked when screen rotate

2011-04-08 Thread pramod.deore
Ok Zsolt Vasvari. Thanks for confirming. On Apr 8, 1:09 pm, Zsolt Vasvari wrote: > Yes, that's correct.  The marquee is only used when the text doesn't > fit its container. > > On Apr 8, 3:06 pm, "pramod.deore" wrote: > > > > > > > > >

[android-developers] Re: Marquee is not worked when screen rotate

2011-04-08 Thread pramod.deore
ng, whenever  the string length is > more. So that i have given the string like this > "                                                                   string >                                                                  " > > On Fri, Apr 8, 2011 at 12:36 PM, pramod

[android-developers] Re: Marquee is not worked when screen rotate

2011-04-08 Thread pramod.deore
ou get some Google people to pay attention.  Don't expect a > respone, but with any luck, it will be fixed in the next SDK update. > > On Apr 8, 2:37 pm, "pramod.deore" wrote: > > > > > > > > > Hi all, In my application I am using marquee. It wor

[android-developers] Marquee is not worked when screen rotate

2011-04-07 Thread pramod.deore
Hi all, In my application I am using marquee. It works perfectly, but when I rotate screen then it is not working. following is my code. public class TextViewMarquee extends Activity { private TextView tv; @Override protected void onCreate(Bundle savedInstanceState) { super.onC

[android-developers] Run internet on emulator in android

2011-03-09 Thread pramod.deore
Hi, everybody I want to run internet on emulator. I am behind the proxy. After googling I got some information how to run internet on emulator. But some times internet runs on emulator and if supoose i restart emulator without changing any setting then internet is not run. and after restarting em

[android-developers] Re: session management in android

2011-02-17 Thread pramod.deore
n , as per > my knowledge . > > > > On Thu, Feb 17, 2011 at 8:30 AM, TreKing wrote: > >  On Wed, Feb 16, 2011 at 2:41 AM, pramod.deore > > wrote: > > >> But how it is done in android? > > > Read the documentation, play with some samples, then whe

[android-developers] Re: session management in android

2011-02-16 Thread pramod.deore
b 15, 2011 at 10:26 PM, pramod.deore > wrote: > > > Hi everybody, > > >               Someone please provide some information (some > > links)about how to handle session management in android. > > > -- > > You received this message because you are subscribe

[android-developers] session management in android

2011-02-15 Thread pramod.deore
Hi everybody, Someone please provide some information (some links)about how to handle session management in android. -- 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@goo

[android-developers] android - serial port API?

2011-01-24 Thread pramod.deore
Hi Everybody, Does Android SDK supports any API for reading and writing to the Linux TTY serial ports? -- 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 f

[android-developers] Re: Regarding Certification

2011-01-20 Thread pramod.deore
There is no any certification exam for Android On Jan 20, 2:44 pm, jayavenkat wrote: > Hi, >      I need details about Android certification -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-deve

[android-developers] add text to each image in gridview

2011-01-19 Thread pramod.deore
Hi, everybody I want to add label for each image in gridview how to do this? I had tried with following code but it shows only images and not text. my xml file as: http://schemas.android.com/apk/res/android"; android:id="@+id/myGrid" android:text="Pramod" android:layout_wi

[android-developers] change color of Button

2011-01-19 Thread pramod.deore
Hi, everybody I want to change color of button. Now I am done this with button.getBackground().setColorFilter(new LightingColorFilter(0xFF9933, 0x0CC000)); But is it possible to 1)change button color like - At the left top corner have dark color and color become faint as we move to the right bott

[android-developers] Re: How to find out in which mode Landscape or portrait?

2011-01-18 Thread pramod.deore
Thanks pk Lam. On Jan 19, 9:43 am, pk Lam wrote: > simply by comparing which sides (width vs height) is longer?? > > or another way is to have two layout.xml with one of them contains a hidden > dummy view that has a your-own-defined-id which will tell u which layout is > loaded and hence the ori

[android-developers] How to find out in which mode Landscape or portrait?

2011-01-18 Thread pramod.deore
How can I find out at runtime in which mode my application is running in Landscape or portrait mode? Thanks -- 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 unsubsc

[android-developers] Re: how to know which list item is highlighted?

2011-01-13 Thread pramod.deore
>Is it a normal list view or you are using a layout inflater? it is a normal list view -- 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 grou

[android-developers] how to know which list item is highlighted?

2011-01-13 Thread pramod.deore
Hi all, how to know which list item is highlighted (when we scroll list then at that time one item of that list is highlighted). How I can print name of that list item? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group,

[android-developers] change color of DatePickerDialog widget

2011-01-06 Thread pramod.deore
How to change the change color of DatePickerDialog widget? In docs there is one constructor which has theme field public DatePickerDialog (Context context, int theme, DatePickerDialog.OnDateSetListener callBack, int year, int monthOfYear, int dayOfMonth) But when I tried for different theme val

[android-developers] Re: How to set date in DatePickerDialog

2011-01-06 Thread pramod.deore
initial year of the dialog. monthOfYear The initial month of the dialog. dayOfMonth The initial day of the dialog. Thanks On Jan 7, 9:19 am, TreKing wrote: > On Thu, Jan 6, 2011 at 9:31 PM, pramod.deore wrote: > > > Is it possible when DatePickerDialog widget display it show

[android-developers] How to set date in DatePickerDialog

2011-01-06 Thread pramod.deore
When we use DatePickerDialog then at the start it shows current date of system. Then we can change date. Is it possible when DatePickerDialog widget display it shows some other date instead of current date? Thanks -- You received this message because you are subscribed to the Google Groups "Andr

[android-developers] Re: 3d Button

2011-01-05 Thread pramod.deore
ave to change the > background of the button. > > Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com > > On Wed, Jan 5, 2011 at 4:02 PM, pramod.deore wrote: > > > Can we create 3D button in android? If yes please provide some > > information. Thanks > >

[android-developers] 3d Button

2011-01-05 Thread pramod.deore
Can we create 3D button in android? If yes please provide some information. Thanks -- 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

[android-developers] Re: How to add labels above this table layout

2011-01-03 Thread pramod.deore
> Excellent patience! Yes Sarwar, He really has excellent patience. On Jan 4, 9:52 am, Sarwar Erfan wrote: > Excellent patience! -- 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@goog

[android-developers] Re: How to add labels above this table layout

2011-01-03 Thread pramod.deore
tView(). Ok TreKing Thank you very much for your help and time. On Jan 4, 9:39 am, TreKing wrote: > On Mon, Jan 3, 2011 at 10:35 PM, pramod.deore wrote: > > > And I want it as > > > RoomName               SwitchName           StartDate      StartTime > &

[android-developers] Re: How to add labels above this table layout

2011-01-03 Thread pramod.deore
2011-1-1 11.30 Kitchen AC2011-1-1 12.00 On Jan 4, 9:24 am, TreKing wrote: > On Mon, Jan 3, 2011 at 10:17 PM, pramod.deore wrote: > > > R.layout.showscheduler contains > > So the layout you're using for each item in

[android-developers] Re: How to add labels above this table layout

2011-01-03 Thread pramod.deore
android:textColor="#00FF00"> On Jan 4, 9:03 am, TreKing wrote: &

[android-developers] Re: How to add labels above this table layout

2011-01-03 Thread pramod.deore
stAdapter(myAdapter); } catch (SQLiteException se) { se.printStackTrace(); } } But still it add labels at each row. How is it? On Jan 4, 8:07 am, TreKing wrote: > On Mon, Jan 3, 2011 at 9:02 PM, pramod.deore wrote: > > > But my activi

[android-developers] Re: How to add labels above this table layout

2011-01-03 Thread pramod.deore
oidRuntime(257): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 2459) 01-04 08:26:52.279: ERROR/AndroidRuntime(257): ... 11 more On Jan 3, 8:16 pm, TreKing wrote: > On Sun, Jan 2, 2011 at 11:32 PM, pramod.deore wrote: > > > But I didn't find anything wrong in code

[android-developers] Re: How to add labels above this table layout

2011-01-02 Thread pramod.deore
Trace(); } } On Jan 3, 10:25 am, TreKing wrote: > On Sun, Jan 2, 2011 at 10:53 PM, pramod.deore wrote: > > > ope you understand what I mean. > > That clears it up. The Layout l

[android-developers] Re: How to add labels above this table layout

2011-01-02 Thread pramod.deore
2011-1-1 11.00 BedroomFan2011-1-1 11.30 Kitchen AC2011-1-1 12.00 ope you understand what I mean. On Jan 3, 9:47 am, TreKing wrote: > On Sun, Jan 2, 2011 at 9:24 PM, pramod.deore wrote: > > &

[android-developers] Re: How to add labels above this table layout

2011-01-02 Thread pramod.deore
On Dec 31 2010, 9:26 pm, TreKing wrote: > On Thu, Dec 30, 2010 at 4:16 AM, pramod.deore wrote: > > > I had still facing this problem. Can anyone please solve this one? > > Mark already gave

[android-developers] display columns name at the top of list.

2010-12-30 Thread pramod.deore
Hi from last 3 days I trying to display names at the top of list but not succeed. every time column name is added for each row. What I want is columns name is added only at the top of list. Here is my xml file http://schemas.android.com/apk/res/ android" android:orientation="vertical" android:

[android-developers] How to pass date object from one activity to other?

2010-12-30 Thread pramod.deore
we can pass String as Intent returnIntent = new Intent(); returnIntent.putExtra("SelectedRadio", selectedRadio); But if I want to pass Date object then how to pas it from one activity to another? Thanks in advance. -- You received this message because you are subscribed to the Google Groups "A

[android-developers] Re: How to handel Listview click events

2010-12-30 Thread pramod.deore
override onListItemClick (ListView l, View v, int position, long id) { } On Dec 30, 3:39 pm, Vaibhav Singh wrote: > Hi All > > Any one know how to handel listview click  handeling...I create my > list by extending baseadapter > > Vaibhav Singh -- You received this message because you are subscr

[android-developers] Re: How to add labels above this table layout

2010-12-30 Thread pramod.deore
I had still facing this problem. Can anyone please solve this one? On Dec 29, 8:09 am, "pramod.deore" wrote: > Any Idea? > > On Dec 28, 5:15 pm, "pramod.deore" wrote: > > > After changing xml file as > > > > > http://schemas.android.com/apk

[android-developers] Re: On which list item user click

2010-12-29 Thread pramod.deore
click on list item"); String sn = cursor.getString(cursor.getColumnIndex("RoomName")); System.out.println ("^^^"+sn); } Thanks. On Dec 30, 9:36 am, "pramod.deore" wrote: > Hi all, >           In my application I am

[android-developers] On which list item user click

2010-12-29 Thread pramod.deore
Hi all, In my application I am displaying list of data from database using SimpleCursorAdapter class. This list contains 6 columns. Now I want to know on which row user had clicked. I want to delete that record on which user had clicked. I had override protected void onListItemClick(ListV

[android-developers] Re: How to add labels above this table layout

2010-12-28 Thread pramod.deore
Any Idea? On Dec 28, 5:15 pm, "pramod.deore" wrote: > After changing xml file as > > > http://schemas.android.com/apk/res/ > android" >  android:orientation="vertical" >  android:layout_width="fill_parent" >  android:layout_heig

[android-developers] Re: How to add labels above this table layout

2010-12-28 Thread pramod.deore
Now here it shows labels at each row. what I want is labels are shown only at the top. On Dec 28, 4:40 pm, "pramod.deore" wrote: > Thanks Sir. > On Dec 28, 4:32 pm, Mark Murphy wrote: > > > Option #1: Put the TableLayout in a ScrollVi

[android-developers] Re: How to add labels above this table layout

2010-12-28 Thread pramod.deore
#2: Write your own AdapterView that implements your desired > scrolling and table rules. > > There may be other options, but those are the most likely pair AFAIK. > > > > On Tue, Dec 28, 2010 at 6:26 AM, pramod.deore > wrote: > > I have following tablelayout in my xml f

[android-developers] How to add labels above this table layout

2010-12-28 Thread pramod.deore
I have following tablelayout in my xml file. http://schemas.android.com/apk/res/ android" android:layout_width="fill_parent" android:layout_height="fill_parent"> android:textColor="#00FF00">

[android-developers] Re: display data from database in proper order

2010-12-28 Thread pramod.deore
After adding android:layout_width="75px" in every it looks better. But still there is any other solution? On Dec 28, 2:15 pm, "pramod.deore" wrote: > Hi all, >             In my application I am showing data to the user from > database using SimpleCursorAdapter.

[android-developers] display data from database in proper order

2010-12-28 Thread pramod.deore
Hi all, In my application I am showing data to the user from database using SimpleCursorAdapter. But here I am facing problem - It retrieves and show all data correctly but size of each column is vary (because if suppose thereare 5 columns and first row has column 2 as string - "Hall" a

[android-developers] Re: How to store date and time in database

2010-12-27 Thread pramod.deore
the time to on the switch. Should I store this time in normal int format? On Dec 27, 5:11 pm, "pramod.deore" wrote: > Thanks Bob and Federico. > > On Dec 27, 4:59 pm, Federico Paolinelli wrote: > > > I do agree with this approach :-) > > > On 27 Dic, 08:39,

[android-developers] Re: How to store date and time in database

2010-12-27 Thread pramod.deore
t; > >http://www.sqlite.org/lang_datefunc.html > > > > Typically what you will do is create some database implemented via a > > > content provider or just database handler (see the many, many > > > tutorials on how to do this) and create a table for storing

[android-developers] Re: store string array in database

2010-12-27 Thread pramod.deore
7, 2010 at 5:38 AM, pramod.deore > wrote: > > Hi, I have a String array (which contains some day  from Monday - > > Sunday). But which days are stored is decided at runtime means > > sometime it want to store all day or sometime 1 or none. Now I want to > > store this arra

[android-developers] store string array in database

2010-12-27 Thread pramod.deore
Hi, I have a String array (which contains some day from Monday - Sunday). But which days are stored is decided at runtime means sometime it want to store all day or sometime 1 or none. Now I want to store this array in database. How to save array of string in database? Or should I create 7 columns

[android-developers] Re: How to store date and time in database

2010-12-26 Thread pramod.deore
se handler (see the many, many > > tutorials on how to do this) and create a table for storing your > > relevant information. For example, I have a "contents" table, where > > one of the columns is the date an article was published. Now the only > > thing you have

[android-developers] Re: How to store date and time in database

2010-12-26 Thread pramod.deore
nformation. For example, I have a "contents" table, where > one of the columns is the date an article was published. Now the only > thing you have to figure out is the marshaling. > > Thanks, > Kris Micinski > > On Mon, Dec 27, 2010 at 1:21 AM, pramod.deore > wro

[android-developers] How to store date and time in database

2010-12-26 Thread pramod.deore
Hi everyone, In my application I have 2 buttons one for DatePickerand one for Timepicker. Date piker gives me date in this format - 12-27-2010 and time in - 11:48. Now I want to create table to store these values. How to store date and time in android database? Thanks. -- You receive

[android-developers] Re: Error inflating class linearlayout

2010-12-23 Thread pramod.deore
only want the buttons in the "top-level" content layout, then add > them to the layout file that you use with setContent() in your > activity's onCreate. > > -- Kostya > > 23.12.2010 12:08, pramod.deore пишет: > > > > > Now I had changed in xml file but sti

[android-developers] Re: Error inflating class linearlayout

2010-12-23 Thread pramod.deore
android:orientation="horizontal" android:layout_height="wrap_content" android:gravity="right" android:layout_width="fill_parent" android:layout_gravity="right|center_vertical">

[android-developers] Re: Error inflating class linearlayout

2010-12-22 Thread pramod.deore
wrote: > On Thu, Dec 23, 2010 at 12:39 AM, pramod.deore > wrote: > > > After checking spelling mistake it  runs but it add 2 buttons every time > > Every time ? Every time what? Are you using this as the layout for a entry > in a list view? Because the

[android-developers] Re: Error inflating class linearlayout

2010-12-22 Thread pramod.deore
ayout_height="fill_parent"> what I an trying is display list of checkboxes and string and above that i.e. at the top there is 2 buttons which remains visible when user scroll down list. On Dec 23, 11:22 am, "

[android-developers] Error inflating class linearlayout

2010-12-22 Thread pramod.deore
I have one xml file which through error as Error inflating class linearlayout. Here I want to display one button and below that I want a list of checkboxes and items (string). My xml file is http://schemas.android.com/apk/res/ android" android:orientation="horizontal" android:layout_width

[android-developers] Re: resultCode in onActivityResult returns 0

2010-12-22 Thread pramod.deore
ar Bibek wrote: > Well, that you will have to decide. If there can be multiple selections, > then I would expect a button called "Done" which the user has to press when > he is done selecting. > > Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com > > On Th

[android-developers] Re: resultCode in onActivityResult returns 0

2010-12-22 Thread pramod.deore
Hello, from where should I call finish(). And how I know that user has finished selecting list items. On Dec 22, 3:58 pm, "pramod.deore" wrote: > In my list view there are checkboxes and  suppose user want to select > multiple items if suppose he select 3 items then? Is that mea

[android-developers] Re: resultCode in onActivityResult returns 0

2010-12-22 Thread pramod.deore
Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com > > On Wed, Dec 22, 2010 at 4:23 PM, pramod.deore wrote: > > > Hey Bibek Thanks. > > > Try this. On a specific event, set the result and just call finish. That > > > should do. > > > But on what ev

[android-developers] Re: resultCode in onActivityResult returns 0

2010-12-22 Thread pramod.deore
ww.kbeanie.com > > On Wed, Dec 22, 2010 at 4:14 PM, pramod.deore wrote: > > > Hi I have one activity which invoked another activity > > > roomIntent.putExtra("roomName",roomNM ); > > roomIntent.setClass(AddScheduler.this,RoomList.class); > > startActi

[android-developers] resultCode in onActivityResult returns 0

2010-12-22 Thread pramod.deore
Hi I have one activity which invoked another activity roomIntent.putExtra("roomName",roomNM ); roomIntent.setClass(AddScheduler.this,RoomList.class); startActivityForResult(roomIntent,Room_SELECT); protected void start(Intent intent) { this.startActivityForResult(intent,Ro

[android-developers] How to add button to a listview

2010-12-22 Thread pramod.deore
I have one activity which is extends from ListActivity. Here I am displaying list of strings . I don't have .xml file I am showing list using ArrayAdapter. Now what I want is to add 2 buttons to this list. because I don't have xml file I am confused how to add buttons. Please help me. Thanks in adv

[android-developers] Re: get name of selected checkboxes from listview

2010-12-21 Thread pramod.deore
and Sarwar Erfan. On Dec 22, 8:57 am, Sarwar Erfan wrote: > On Wednesday, December 22, 2010 9:46:39 AM UTC+6, pramod.deore wrote: > > > Hi TreKing, Thanks for reply > >            After changing code as now I get the item name of checkbox. > > >

[android-developers] Re: get name of selected checkboxes from listview

2010-12-21 Thread pramod.deore
eListener but can't succeed to implement it. On Dec 21, 8:43 pm, TreKing wrote: > On Tue, Dec 21, 2010 at 5:28 AM, pramod.deore wrote: > > > How to get name of selected checkbox items? > > Keep a reference to your adapter, which has th

[android-developers] get name of selected checkboxes from listview

2010-12-21 Thread pramod.deore
Hi all, I have stored data in database. Now I am displaying that data as a list now I want the name of list item that I have selected. How to do this? Here is my code public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); Bundle extras

[android-developers] Re: enable/disable check boxes

2010-12-20 Thread pramod.deore
Ok Thank you Very much. On Dec 20, 3:52 pm, Sarwar Erfan wrote: > Yes. You can use setOnCheckedChangeListener  event of the radio buttons. > Then, in event handler, based on which radio button is selected, show or > hide the checkboxes. > This is the way I usually adopt in similar cases. > > Rega

[android-developers] Re: enable/disable check boxes

2010-12-20 Thread pramod.deore
Thanks Sarwar. It means Create seven checkboxes inside .xml file and in java code use setVisible method if weekdays radio button is selected. correct me if am I understood incorrectly. On Dec 20, 3:44 pm, Sarwar Erfan wrote: > show and hide, use setVisible method. > > Regards > Sarwar Erfan --

[android-developers] Re: enable/disable check boxes

2010-12-20 Thread pramod.deore
should I check whether radio button (weekdays ) is selected or not. If suppose it is selected then create seven checkboxes in java? Or it is also possible to create checkboxes in .xml file? On Dec 20, 2:26 pm, "pramod.deore" wrote: > Hi, >            In my application I have 3 a

[android-developers] enable/disable check boxes

2010-12-20 Thread pramod.deore
Hi, In my application I have 3 a radio buttons 1. once 2. Daily 3. Weekly. and seven checkboxes from Monday to Sunday. Now what I want if user select weekly radio button then only checkboxes visible otherwise it must be dissabled. How to achieve this? Thanks in advance -- You received

[android-developers] Re: problem in nested linear layout

2010-12-19 Thread pramod.deore
; and last 2 button and textview in horizontal? On Dec 20, 10:54 am, "pramod.deore" wrote: > Hi, all I have xml file in that there is one radio group which has 3 > radio buttons arranged in horizontal. then there are 4 textfield and 4 > buttons arranged in vertical. But what I want

[android-developers] Re: error while updating sdk 2.3

2010-12-19 Thread pramod.deore
set the path of adb in environment varaible. You will get adb in android-sdk-windows\platform-tools folder instead of android-sdk- windows\tools. On Dec 20, 11:16 am, Atik wrote: > Installed Android SDK Tools, revision 8 > 'adb kill-server' failed -- run manually if necessary. > Unable to run 'ad

[android-developers] problem in nested linear layout

2010-12-19 Thread pramod.deore
Hi, all I have xml file in that there is one radio group which has 3 radio buttons arranged in horizontal. then there are 4 textfield and 4 buttons arranged in vertical. But what I want is arrange first 2 buttons and 2 textfield horizontal and last 2 buttons and 2 textfield horizontal. I wrote nest

[android-developers] Re: Data is not displaying in line

2010-12-17 Thread pramod.deore
} catch (SQLiteException se ) { Log.e(getClass().getSimpleName(), "Could not create or Open the database"); } finally { //sampleDB.close(); } } On Dec 18, 10:18 am, TreKing wrote: > On Fri, Dec 17, 2010 a

[android-developers] Re: Data is not displaying in line

2010-12-17 Thread pramod.deore
android:gravity="center" /> android:layout_margin="3dp"> android:gravity="center" /> On Dec 17, 10:04 pm, TreKing wrote: > On Fri, Dec 17, 2010 at 4:06 AM, pramod.deore wrote: > > &

[android-developers] Re: how to change child list color in ExpandableList

2010-12-17 Thread pramod.deore
Thanks TreKing and Kostya. On Dec 17, 8:51 pm, TreKing wrote: > On Thu, Dec 16, 2010 at 10:43 PM, pramod.deore > wrote: > > > But when I call super as > > View v = super.getChildView(groupPosition, childPosition, isLastChild, > > convertView, parent); > > But he

  1   2   3   4   >