[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? Or

[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 deore.pramo...@gmail.com 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 Groups

[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 unsubscribe

[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

[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
in listview? On May 25, 11:46 am, Ravi ravivya...@gmail.com 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 deore.pramo...@gmail.com wrote: Hi all, I am

[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 nikolay.elen...@gmail.com wrote: On Wed, May 25, 2011 at 4:01 PM, pramod.deore deore.pramo...@gmail.com wrote: Hi Ravi thanks

[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 nikolay.elen...@gmail.com wrote: On Wed, May 25, 2011 at 4:15 PM, pramod.deore deore.pramo...@gmail.com wrote: On May 25, 12:08 pm, Nikolay Elenkov

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

2011-05-25 Thread pramod.deore
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 deore.pramo...@gmail.com wrote: Hi actually I am getting a string with some delimilater. Now using split() I

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

2011-05-25 Thread pramod.deore
, 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 deore.pramo...@gmail.com wrote: Yes Daniel I will try some sample code side by side but it will be great

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

2011-05-25 Thread pramod.deore
determine 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 deore.pramo...@gmail.com wrote: Still I am confused How I will check whether that list contains particular

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

2011-05-25 Thread pramod.deore
/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 at 10:43 AM, pramod.deore deore.pramo...@gmail.com wrote: Still I

[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] 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: Updating row dynamically in table layout

2011-05-23 Thread pramod.deore
345 456465 Pramod 12378978 Any Idea or suggestion? Thanks On May 23, 2:58 pm, pramod.deore deore.pramo...@gmail.com 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. like Name    empId

[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 deore.pramo...@gmail.com wrote: I had written some code for this like: First I had created one TreeSet object as: TreeSet ts = new TreeSetString();                 public void checkExist

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

2011-05-13 Thread pramod.deore
that one. Thanks in advance On May 13, 9:52 am, Dianne Hackborn hack...@android.com 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, 2011 at 8:39 PM, pramod.deore deore.pramo...@gmail.comwrote

[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

[android-developers] update screen frequently

2011-04-25 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

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

2011-04-20 Thread pramod.deore
Any one have idea how to show all records in table layout? On Apr 20, 9:37 am, pramod.deore deore.pramo...@gmail.com 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: ?xml version=1.0

[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 treking...@gmail.com wrote: On Tue, Apr 19, 2011 at 11:37 PM, pramod.deore deore.pramo...@gmail.comwrote: Here number of rows are can vary from 0-n. Then How to add other Row? Add them dynamically

[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] 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: ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:orientation=vertical

[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

[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 webnet.andr...@gmail.com wrote: On 12 April 2011 10:56, pramod.deore deore.pramo...@gmail.com wrote: Hi All, I want to know that is there is any disadvantages of using date picker widget? In my application I am

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

2011-04-08 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) {

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

2011-04-08 Thread pramod.deore
.  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 deore.pramo...@gmail.com wrote: 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

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

2011-04-08 Thread pramod.deore
working, 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.deore deore.pramo

[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 zvasv...@gmail.com 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 deore.pramo...@gmail.com wrote: Hi, Zsolt Vasvari Thanks

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

2011-04-08 Thread pramod.deore
, 2011 at 1:42 PM, pramod.deore deore.pramo...@gmail.comwrote: 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.1 Update1. API level is 7 On Apr 8, 12:37 pm, Abhilash baddam

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

2011-04-08 Thread pramod.deore
i am also using the same version. On Fri, Apr 8, 2011 at 1:42 PM, pramod.deore deore.pramo...@gmail.comwrote: 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.1 Update1. API level is 7

[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

[android-developers] Re: session management in android

2011-02-17 Thread pramod.deore
handle session , as per my knowledge . On Thu, Feb 17, 2011 at 8:30 AM, TreKing treking...@gmail.com wrote:  On Wed, Feb 16, 2011 at 2:41 AM, pramod.deore deore.pramo...@gmail.comwrote: But how it is done in android? Read the documentation, play with some samples, then when you

[android-developers] Re: session management in android

2011-02-16 Thread pramod.deore
, 2011 at 10:26 PM, pramod.deore deore.pramo...@gmail.comwrote: 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

[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] 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

[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 jaia...@gmail.com 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

[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

[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: ?xml version=1.0 encoding=utf-8? GridView xmlns:android=http://schemas.android.com/apk/res/android;

[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

[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 newbal...@gmail.com 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

[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] 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 group,

[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

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

2011-01-06 Thread pramod.deore
The 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 treking...@gmail.com wrote: On Thu, Jan 6, 2011 at 9:31 PM, pramod.deore deore.pramo...@gmail.comwrote: Is it possible when

[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

[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: 3d Button

2011-01-05 Thread pramod.deore
, you will have 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 deore.pramo...@gmail.comwrote: Can we create 3D button in android? If yes please provide some information. Thanks -- You

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

2011-01-03 Thread pramod.deore
): 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 treking...@gmail.com wrote: On Sun, Jan 2, 2011 at 11:32 PM, pramod.deore deore.pramo...@gmail.comwrote: But I didn't find anything wrong in code

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

2011-01-03 Thread pramod.deore
(); } } But still it add labels at each row. How is it? On Jan 4, 8:07 am, TreKing treking...@gmail.com wrote: On Mon, Jan 3, 2011 at 9:02 PM, pramod.deore deore.pramo...@gmail.comwrote: But my activity extends from ListActivity and when I add setContentView(), then Logcat gives

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

2011-01-03 Thread pramod.deore
android:textColor=#00FF00 android:typeface=monospace android:gravity=center / /TableRow /TableLayout /ScrollView /LinearLayout On Jan 4, 9:03 am, TreKing treking...@gmail.com wrote: On Mon, Jan 3, 2011 at 9:49 PM, pramod.deore deore.pramo

[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 treking...@gmail.com wrote: On Mon, Jan 3, 2011 at 10:17 PM, pramod.deore deore.pramo...@gmail.comwrote: R.layout.showscheduler contains So the layout you're using

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

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

[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 erfanonl...@gmail.com 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] Re: How to add labels above this table layout

2011-01-02 Thread pramod.deore
On Dec 31 2010, 9:26 pm, TreKing treking...@gmail.com wrote: On Thu, Dec 30, 2010 at 4:16 AM, pramod.deore deore.pramo...@gmail.comwrote: I had still facing this problem. Can anyone please solve this one? Mark already gave you two options. If you were trying the first, you did not follow

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

2011-01-02 Thread pramod.deore
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 treking...@gmail.com wrote: On Sun, Jan 2, 2011 at 9:24 PM, pramod.deore deore.pramo

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

2011-01-02 Thread pramod.deore
PM, pramod.deore deore.pramo...@gmail.comwrote: ope you understand what I mean. That clears it up. The Layout looks fine, so my guess is the code you're using to populate the list is including the titles. Double check

[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 deore.pramo...@gmail.com wrote: Any Idea? On Dec 28, 5:15 pm, pramod.deore deore.pramo...@gmail.com wrote: After changing xml file as ?xml version=1.0 encoding=utf-8? LinearLayout

[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 vaibhav@gmail.com 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

[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

[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 ?xml version=1.0 encoding=utf-8? LinearLayout

[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

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

2010-12-29 Thread pramod.deore
on list item); String sn = cursor.getString(cursor.getColumnIndex(RoomName)); System.out.println (^^^+sn); } Thanks. On Dec 30, 9:36 am, pramod.deore deore.pramo...@gmail.com wrote: Hi all,           In my application I am displaying list of data from

[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

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

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

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

2010-12-28 Thread pramod.deore
I have following tablelayout in my xml file. ?xml version=1.0 encoding=utf-8? TableLayout xmlns:android=http://schemas.android.com/apk/res/ android android:layout_width=fill_parent android:layout_height=fill_parent TableRow android:textColor=#00FF00

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

2010-12-28 Thread pramod.deore
: 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 deore.pramo...@gmail.com wrote: I have following tablelayout in my xml file. ?xml

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

2010-12-28 Thread pramod.deore
/ScrollView /LinearLayout 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 deore.pramo...@gmail.com wrote: Thanks Sir. On Dec 28, 4:32 pm, Mark Murphy mmur...@commonsware.com wrote: Option #1: Put the TableLayout

[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 deore.pramo...@gmail.com wrote: After changing xml file as ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android  android:orientation=vertical  android:layout_width=fill_parent

[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

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

2010-12-27 Thread pramod.deore
, 2010 at 5:38 AM, pramod.deore deore.pramo...@gmail.com 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 array in database

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

2010-12-27 Thread pramod.deore
Thanks Bob and Federico. On Dec 27, 4:59 pm, Federico Paolinelli fedep...@gmail.com wrote: I do agree with this approach :-) On 27 Dic, 08:39, Kostya Vasilyev kmans...@gmail.com wrote: Kris Pramod, With all due respect, there is a much easier way. Java date/time stamps are internally

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

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

[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

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

2010-12-26 Thread pramod.deore
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 deore.pramo...@gmail.com wrote: Hi everyone,           In my application I have 2 buttons one

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

2010-12-26 Thread pramod.deore
Thanks Kostya I think this one is better. Thanks once again. On Dec 27, 12:39 pm, Kostya Vasilyev kmans...@gmail.com wrote: Kris Pramod, With all due respect, there is a much easier way. Java date/time stamps are internally represented by long values, the value being the number of

[android-developers] Re: Error inflating class linearlayout

2010-12-23 Thread pramod.deore
/TableLayout /LinearLayout /LinearLayout On Dec 23, 11:52 am, TreKing treking...@gmail.com wrote: On Thu, Dec 23, 2010 at 12:48 AM, pramod.deore deore.pramo...@gmail.comwrote: Actually if suppose there are 12 list items, then these 2 buttons are shown 12 times and list

[android-developers] Re: Error inflating class linearlayout

2010-12-23 Thread pramod.deore
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 still not getting expected view. Here it shows checkbox,items

[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

[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) {

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

2010-12-22 Thread pramod.deore
, Dec 22, 2010 at 4:14 PM, pramod.deore deore.pramo...@gmail.comwrote: 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

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

2010-12-22 Thread pramod.deore
. Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com On Wed, Dec 22, 2010 at 4:23 PM, pramod.deore deore.pramo...@gmail.comwrote: Hey Bibek Thanks. Try this. On a specific event, set the result and just call finish. That should do. But on what event I call finish? Because here

[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 deore.pramo...@gmail.com wrote: In my list view there are checkboxes and  suppose user want to select multiple items if suppose he select 3 items

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

2010-12-22 Thread pramod.deore
@gmail.com 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 Thu, Dec 23, 2010 at 8:41 AM, pramod.deore

[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 ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android

[android-developers] Re: Error inflating class linearlayout

2010-12-22 Thread pramod.deore
remains visible when user scroll down list. On Dec 23, 11:22 am, pramod.deore deore.pramo...@gmail.com wrote: 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

[android-developers] Re: Error inflating class linearlayout

2010-12-22 Thread pramod.deore
treking...@gmail.com wrote: On Thu, Dec 23, 2010 at 12:39 AM, pramod.deore deore.pramo...@gmail.comwrote: 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

[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: get name of selected checkboxes from listview

2010-12-21 Thread pramod.deore
to implement it. On Dec 21, 8:43 pm, TreKing treking...@gmail.com wrote: On Tue, Dec 21, 2010 at 5:28 AM, pramod.deore deore.pramo...@gmail.comwrote: How to get name of selected checkbox items? Keep a reference to your adapter, which has the names, and index into it when the list is clicked

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

2010-12-21 Thread pramod.deore
Erfan. On Dec 22, 8:57 am, Sarwar Erfan erfanonl...@gmail.com 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.  listView.setOnItemClickListener(new

[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

[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 deore.pramo...@gmail.com wrote: Hi,            In my application I have

[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 erfanonl...@gmail.com wrote: show and hide, use setVisible method. Regards

[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 erfanonl...@gmail.com 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

[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

[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 atik0...@gmail.com wrote: Installed Android SDK Tools, revision 8 'adb kill-server' failed -- run manually if necessary.

[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 deore.pramo...@gmail.com 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: how to change child list color in ExpandableList

2010-12-17 Thread pramod.deore
(with different background colors, by using android:background) and use them when constructing the adapter. -- Kostya 17.12.2010 9:03, pramod.deore пишет: Hi, How to resolve this error and what should I write into getChildView() On Dec 17, 9:43 am, pramod.deoredeore.pramo...@gmail.com

[android-developers] Data is not displaying in line

2010-12-17 Thread pramod.deore
Hi I am reading data from database and show it in table layout format with 3 columns. But data is not show neatly, if suppose first column value is very small for row 1 and large for row 2 then second column of row 1 start early and second column of 2 nd row start very late. Therefore outout look

[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 treking...@gmail.com wrote: On Thu, Dec 16, 2010 at 10:43 PM, pramod.deore deore.pramo...@gmail.comwrote: But when I call super as View v = super.getChildView(groupPosition, childPosition, isLastChild, convertView, parent

  1   2   3   4   >