[android-developers] Re: Custom List layout with checkbox selection problem

2011-02-22 Thread cool.manish
I am also facing same issue. Let us say there are 15 items in the listview and at a time it is didplaying 5 item. Then if i select first titem and scroll i get to know that 6th and 11th items are also have check box as selected. Please help us to solve this issue. On Jan 29, 7:02 pm,

[android-developers] Setting filter on List using Text Watcher

2011-02-22 Thread cool.manish
Hi All, I have a ListView, which is having data in the form of HashMapString, String. I am populating the list as SimpleAdapter adapter = new SimpleAdapter(ctx, myData, R.layout.my_layout, keys, ids)); listview.setAdapter(adapter); In my_layout.xml, I have set 2 TextViews(which will be the row

[android-developers] Re: Custom List layout with checkbox selection problem

2011-02-22 Thread cool.manish
, 2011 at 2:14 AM, cool.manish mannishga...@gmail.com wrote: I am also facing same issue. Let us say there are 15 items in the listview and at a time it is didplaying 5 item. Then if i select first titem and scroll i get to know that 6th and 11th items are also have check box as selected

[android-developers] Re: How to display,exactly?

2011-02-21 Thread cool.manish
Create an variable of MapView.LayoutParams and set it as the layoutParam of your overlay. You can also use params.mode = MapView.LayoutParams.MODE_MAP; to varied its location after panning or zooming On Feb 21, 11:37 am, Abhilash baddam abhilash.androiddevelo...@gmail.com wrote: Hi,     In my

[android-developers] Re: Changing tab background image

2011-02-20 Thread cool.manish
: On Fri, Feb 18, 2011 at 12:20 AM, cool.manish mannishga...@gmail.com wrote: as Mark told, we can't apply state change logic in btn. Is there any other way? Just set a new image when the button or whatever is clicked. -- Mark Murphy (a Commons Guy)http://commonsware.com|http

[android-developers] Re: Changing tab background image

2011-02-20 Thread cool.manish
I am also not sure whats the color to display off white. which come automatically on the tab when they are not the selcted tab. On Feb 18, 6:00 pm, Mark Murphy mmur...@commonsware.com wrote: On Fri, Feb 18, 2011 at 12:20 AM, cool.manish mannishga...@gmail.com wrote: as Mark told, we can't

[android-developers] Changing tab background image

2011-02-17 Thread cool.manish
Hi, I want to change the tab image on enable and disable. I am trying to use following xml. but it is not working tabhost.newTabSpec(mailboxTabId).setIndicator(mailboxTabId, getResources().getDrawable(R.layout.mailbox_tab_state)).setContent(mailboxIntent); ?xml version=1.0

[android-developers] Re: Changing tab background image

2011-02-17 Thread cool.manish
=@drawable/icon_selected         /         item                 android:drawable=@drawable/icon         / /selector On Thu, Feb 17, 2011 at 8:48 AM, cool.manish mannishga...@gmail.com wrote: Hi, I want to change the tab image on enable and disable. I am trying to use following xml

[android-developers] Re: Changing tab background image

2011-02-17 Thread cool.manish
view) On Feb 17, 8:33 pm, Mark Murphy mmur...@commonsware.com wrote: On Thu, Feb 17, 2011 at 10:26 AM, cool.manish mannishga...@gmail.com wrote: I have some more queries: 1. My tab is displaying some text which consuming more than the available space because of it on focused tab text

[android-developers] Re: Changing tab background image

2011-02-17 Thread cool.manish
to clicks and can use a state drawable. A TextView would work too, and it's probably easer to make it look right (look up TextView.setCompoundDrawablesWithIntrinsicBounds). -- Kostya 17.02.2011 18:42, cool.manish пишет:   2. I have used a grid view in which every cell is a button. I want

[android-developers] Re: Changing tab background image

2011-02-17 Thread cool.manish
to clicks and can use a state drawable. A TextView would work too, and it's probably easer to make it look right (look up TextView.setCompoundDrawablesWithIntrinsicBounds). -- Kostya 17.02.2011 18:42, cool.manish пишет:   2. I have used a grid view in which every cell is a button. I want

[android-developers] scrollbar is coming in gridview

2011-02-17 Thread cool.manish
Hi, I am using grid view. It is not displaying all contents and adding one scroll bar. after scrolling i get to know that their are other items available. There is lots of space available on the screen but even then it is displaying scrollbar -- You received this message because you are

[android-developers] unwanted scrollbar is coming in gridview

2011-02-17 Thread cool.manish
Hi, I am using grid view. It is not displaying all contents and adding one scroll bar. after scrolling i get to know that their are other items available. There is lots of space available on the screen but even then it is displaying scrollbar -- You received this message because you are

[android-developers] Re: unwanted scrollbar is coming in gridview

2011-02-17 Thread cool.manish
=@+id/paddingView4 android:layout_width=1dip android:layout_height=fill_parent android:background=#/ /LinearLayout On Feb 17, 10:27 pm, cool.manish mannishga...@gmail.com wrote: Hi, I am using grid view. It is not displaying all contents

[android-developers] Re: Changing tab background image

2011-02-17 Thread cool.manish
upon day is holiday, or have a event, i am showing different image. So i was jst thinking to do this thing using xml. as Mark told, we can't apply state change logic in btn. Is there any other way? On Feb 17, 10:30 pm, Kostya Vasilyev kmans...@gmail.com wrote: 17.02.2011 20:03, cool.manish пишет

[android-developers] capturing Home key event at application level

2011-02-15 Thread cool.manish
Hi, How can we capture home key event? I am storing some data at application level, I want to clear it so that it doesn't consume memory when my application is in background. At the same time, i wish that this data shouldn't get earsed if my application has gone in the background because of an

[android-developers] Re: capturing Home key event at application level

2011-02-15 Thread cool.manish
Marcin, I know activity life cycle but i am saving data at application level. Even if my activity has been destroyed, i dont want to loss data. Till the time my application is running, I want to keep that data but as soon as my application goes in background because of the home key, i want to

[android-developers] Re: capturing Home key event at application level

2011-02-15 Thread cool.manish
, my purpose will be achieved. On Feb 15, 4:21 pm, Kostya Vasilyev kmans...@gmail.com wrote: 15.02.2011 13:50, cool.manish пишет: I am storing some data at application level, I want to clear it so that it doesn't consume memory when my application is in background.  From what I can find

[android-developers] Customized date and time picker

2011-02-03 Thread cool.manish
Hi, I want to customized date and time picker like i want to change the background color, I want that user can't select back date. Please help me in doing this. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: android:horizontalSpacing

2011-01-25 Thread cool.manish
I want to reduce GridView's vertical spacing. I am not able to do it. Please help On Jan 25, 10:14 am, cool.manish mannishga...@gmail.com wrote: Hi, at one place i have seen android:horizontalSpacing=-1px in a grid view. what does it means? What is effect of setting spacing in -ve -- You

[android-developers] android:horizontalSpacing

2011-01-24 Thread cool.manish
Hi, at one place i have seen android:horizontalSpacing=-1px in a grid view. what does it means? What is effect of setting spacing in -ve -- 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] PDF API

2011-01-19 Thread cool.manish
Hi, In my application, i am receiving pdf data in byte stream from the server. Is there any way to display it in the application? -- 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] Calender View

2011-01-19 Thread cool.manish
Hi, Is there any widget/view to display calender in the application? Or is there any example application to create it? -- 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

[android-developers] Re: Progress Bar without a dialog box

2011-01-18 Thread cool.manish
. On Jan 16, 11:53 pm, TreKing treking...@gmail.com wrote: On Sun, Jan 16, 2011 at 10:49 PM, cool.manish mannishga...@gmail.com wrote:  I had also tried Progress Bar but I have to include it in the XML. No you don't. Did you even try creating it programmatically

[android-developers] Progress Bar without a dialog box

2011-01-16 Thread cool.manish
Hi, In my application, I am fetching data from server. During fetching response and parsing it, I want to display a progress bar(Like spinner) but without a dialog box. If I am using ProgressDialog then it is also displaying Dialog box. I had also tried Progress Bar but I have to include it in

[android-developers] Re: Cache size and Heap size

2010-12-29 Thread cool.manish
, that is just in the normal internal data storage space. Heap size is available from:http://developer.android.com/reference/android/app/ActivityManager.ht...() On Tue, Dec 28, 2010 at 5:08 AM, cool.manish mannishga...@gmail.com wrote: Hi, What is cache memory size for android device? Is it very

[android-developers] Cache size and Heap size

2010-12-28 Thread cool.manish
Hi, What is cache memory size for android device? Is it very according to Devices? Is it divided in between application and one application can use only specific amount of total size? How to get info regarding Heap Memory Size? Again how to know application specific Heap size? Can we change it?

[android-developers] Which JSON Parser is better

2010-12-22 Thread cool.manish
Hi All, I want to use some JSON parser in my application. I get to know about lots of available JSON parser like Android default org.json library, JSONTokenizer, gson, jackson etc. Is there any benifit of using gson rather than Android default parser? I am bit confused which one of them is

[android-developers] Re: Which JSON Parser is better

2010-12-22 Thread cool.manish
Hi Brill, I am sorry, I didn't get your point. I am very new in this field and don't know, if gson is a binary format then how will it effect? As per my knowledge about gson, I can give one String to it which has JSON data in it, it will parse it and then i can search for a particular object or

[android-developers] Click on overlay and move to another activity

2010-12-04 Thread cool.manish
Hi Guys, I am displaying google map in my app and displaying POIs on it using overlay. I want to capture onTap action of the overaly and to move to another activity. I have find out some tutorial which are telling how to display some message at the time of clicking but I want to move to another

[android-developers] Problem in communicating from tabActivity to Child Activity

2010-12-01 Thread cool.manish
Hi All, I am creating a tab application with two tabs. In my TabActivity, I have a button if user clicks on it, i will fetch some data from the net and want to transfer it to the child activity of the tabs. Please help me in doing it. -- You received this message because you are subscribed to

[android-developers] Re: Help needed for Context object: GPS implementation

2010-12-01 Thread cool.manish
and not with activity then it will be possible for me to listen from any actvity. So I want to know about Context object's relation with application or is it associated with the different component? On Nov 26, 2:56 am, TreKing treking...@gmail.com wrote: On Wed, Nov 24, 2010 at 3:02 AM, cool.manish mannishga

[android-developers] Help needed for Context object: GPS implementation

2010-11-24 Thread cool.manish
the same locationManager to fetch the coordinates. On Nov 24, 12:24 pm, Kumar Bibek coomar@gmail.com wrote: Yes, Contexts are specific to components. Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com On Wed, Nov 24, 2010 at 12:52 PM, cool.manish mannishga...@gmail.comwrote

[android-developers] GPSProvdier is enabled or not

2010-11-23 Thread cool.manish
Hi All, I am trying to fetch current location in my application. I want to try it firstly with GPS if it is not working then with Network provider. My query is if manager.isProviderEnabled( LocationManager.GPS_PROVIDER ) gives me false then will requestLocationUpdates not work. or even if GPS is

[android-developers] Context object

2010-11-23 Thread cool.manish
Hi All, I want to know about the Context class object. In lots of APIs we send Context object. Is context object is associated with the application and this object remains same throughout the application? Or it is associated with the components like activity and every component initiate its own

[android-developers] Open one html file from sdcard

2010-10-05 Thread cool.manish
Hi, I have push one html page on my sdcard in emulator. how can I see it and can run it as we do in the desktop? -- 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: Open one html file from sdcard

2010-10-05 Thread cool.manish
Is it some third party application? Do I need to install this application? On Oct 5, 11:15 am, Kumar Bibek coomar@gmail.com wrote: Use a File manager to navigate to the HTML file (Astro file manager) and open it. -Kumar Bibekhttp://techdroid.kbeanie.com On Oct 5, 11:06 am, cool.manish

[android-developers] Re: How to get android version programmtically

2010-09-16 Thread cool.manish
I also want to add some more query in this. 1. Where and how can I add version info of my application? So that I can check for the upgraded version and can upgrade my application. 2. And if there is upgraded version of the application is available in the Android Market then will I get any

[android-developers] Map Application available on Android Emulator

2010-09-13 Thread cool.manish
Hi, I need some information regarding Map application. I have seen one map application on sdk 1.6 and above. Questions are: 1. Will it be available on all android phones? 2. Can I call this application from my application? If yes then how? I dont know how to call another class. I think, I

[android-developers] Can we use Map Application installed on Android emualtor with sdk 1.6?

2010-09-13 Thread cool.manish
Hi, I need some information regarding Map application which is installed on Android emulator 1.6. Questions are: 1. Will it be available on all android phones? 2. Can I call this application from my application? If yes then how? I dont know how to call another class. I think, I should know

[android-developers] How to take care of form factor(screen size) and resoultion

2010-09-13 Thread cool.manish
If I wish to run my application on different devices with different screen size and/or resolution then how can it be achieved? For example if I have given a padding of 5px for one particular screen size. That might not look good for a device having larger or smaller screen than this device. I

[android-developers] Re: Map Application available on Android Emulator

2010-09-13 Thread cool.manish
Hi Xavier, Thanks for your reply. But I wasn't asking about the map library, I am talking about map application which is installed on sdk1.6 and above. In this application we can display route from current location to end point and route between any two points. On Sep 14, 5:59 am, Xavier

[android-developers] Re: Can we use Map Application installed on Android emualtor with sdk 1.6?

2010-09-13 Thread cool.manish
version is available to download or we have to check this maually. On Sep 13, 7:21 pm, Mark Murphy mmur...@commonsware.com wrote: On Mon, Sep 13, 2010 at 9:20 AM, cool.manish mannishga...@gmail.com wrote: Questions are: 1.  Will it be available on all android phones? No.  2. Can I call

[android-developers] Re: how can you tell if an application is installed and what version is installed?

2010-09-13 Thread cool.manish
Where can we store version info? Do we need to mention it in the Android manifest file? On Sep 14, 9:57 am, jotobjects jotobje...@gmail.com wrote: context.getPackageManager().getPackageInfo() On Sep 13, 4:06 pm, sdphil phil.pellouch...@gmail.com wrote: is there an easy way (api) to do

[android-developers] REST web services and JSON Response object support in Android

2010-09-08 Thread cool.manish
Hi All, In my application, I will call webservices which are written using REST and returning JSON object rather than XML. My Question is it that Is Android support them? Sending an request to REST web services and rendering its response is same as HTTP request or something different. I haven't

[android-developers] Displaying Google map on Android is paid or free

2010-09-08 Thread cool.manish
Hi All, I get to know that displaying map in some other application is a paid thing and we need to create a key using which we can get it. Is this true for Android application also? Is it paid? -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Lat Long value using zip code or city name

2010-09-08 Thread cool.manish
Hi All, Is there any way to find out the lat long value for a particular zip code or city name? I want to display google map after giving zipcode or city name. Thanks Regards Manish -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Displaying Google map on Android is paid or free

2010-09-08 Thread cool.manish
contact us so we can provision additional capacity to handle your traffic. - Yahel On 8 sep, 12:29, cool.manish mannishga...@gmail.com wrote: Hi All, I get to know that displaying map in some other application is a paid thing and we need to create a key using which we can

[android-developers] How to display route on Google map in Android

2010-09-08 Thread cool.manish
Hi All, How to display route on Google map in Android in between two lat long value? Does android supports it and are there any api available as there are for displaying map? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Should Activity component be starting component for Android apps

2010-09-08 Thread cool.manish
 pm, Mark Murphy mmur...@commonsware.com wrote: On Fri, Sep 3, 2010 at 2:47 AM, cool.manish mannishga...@gmail.com wrote: Is this necessary to have some activity as the starting component? If you are asking do I need to have something in the launcher, the answer is technically no, but it seems

[android-developers] Re: How to display route on Google map in Android

2010-09-08 Thread cool.manish
One more query is, Is there API to find out Lat Long for a zipcode or city name supported in android. On Sep 8, 6:19 pm, cool.manish mannishga...@gmail.com wrote: Hi All, How to display route on Google map in Android in between two lat long value? Does android supports it and are there any

[android-developers] Re: Should Activity component be starting component for Android apps

2010-09-08 Thread cool.manish
I want to do it only for my personal purpose. and only those users who will be interested to use this application, will install it. On Sep 8, 6:50 pm, Mark Murphy mmur...@commonsware.com wrote: On Wed, Sep 8, 2010 at 9:22 AM, cool.manish mannishga...@gmail.com wrote: My Query was it that if I

[android-developers] Re: How to display route on Google map in Android

2010-09-08 Thread cool.manish
Hi Victor, Isn't Android Map display only Map. Is it also display route for some partcular arguments? On Sep 8, 8:17 pm, viktor victor.scherb...@gmail.com wrote:  Geocoder geoCoder = new Geocoder(context);  ListAddress addressList = geoCoder.getFromLocationName(address, 1); where address

[android-developers] Re: Use of Service component?

2010-09-03 Thread cool.manish
Thanks Kostya, for sharing this information, I need one more information: If my service class after complition wish to update the activity class, how can we do it? I am just a beginner and haven't much knowledge of android. On Sep 1, 1:24 am, Kostya Vasilyev kmans...@gmail.com wrote:   One more

[android-developers] Should Activity component be starting component for Android apps

2010-09-03 Thread cool.manish
Hi, Is this necessary to have some activity as the starting component? -- 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] Use of Service component?

2010-08-31 Thread cool.manish
Service Component is used to do some task which can be done without user interaction. But for that we have to run a thread in subclass of the Service. I think we can create a thread in Activity class itself then what is the use of Service component? Why don't we create another thread and write the

[android-developers] What is Context and what is its use?

2010-08-31 Thread cool.manish
What is context. We always pass an argument context in the intent or manageQuery etc. What is it and what is the use of it? does it have the information about the process stack? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] How to access Phone Book

2009-03-03 Thread cool.manish
Hi, I am creating an application which will display all contacts from the phone book. Is there any API which can access the phone book. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Parse an XML

2009-02-10 Thread cool.manish
Hi, I am trying to make a simple application to parse the XML using SAXParser but it is not finding the xml file which I have added in the project. How and where should I add the XML file? --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Help: Getting java.io.IOException: Couldn't open exception

2009-02-10 Thread cool.manish
Hi, I have created a simple application on android platform. Application is parsing an XML. SAXParser sp = spf.newSAXParser(); //parse the file and also register this class for call backs sp.parse(./sdcard/employees.xml, this); I am getting java.io.IOException: Couldn't open ./sdcard/

[android-developers] Re: Parse an XML

2009-02-10 Thread cool.manish
context.getResources().getXml(R.xml.myxml) Ludwig 2009/2/10 Ludwig ludwigbrinckm...@gmail.com put it under res/xml/myfile.xml (in Eclipse you will have to create that directory). You can then load the file as context.getResources(R.xml.myfile) HTH Ludwig 2009/2/10 cool.manish mannishga