[android-developers] Hardware requirement for 3.0 on Windows

2011-11-30 Thread Manish Garg
Hi All, I am trying to run my application on android 3.0 emulator on windows machine having window 7 OS. It is very slow. Sometime application is not getting started. Is there any specific hardware requriement like RAM size for android 3.0. -- You received this message because you are

[android-developers] Help in integrating omniture in android app

2011-11-07 Thread Manish Garg
Hi, I need help to get information regarding integration of Omniture in Android app. Is it possible to integrate omniture in Android app and collect analytics data. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Problem in facebook logout

2011-11-03 Thread Manish Garg
Hi All, I am making an application to get my application authenitcated using facebook credentails. I am able to login but at the time of logout my credentails are not getting cleared. I am using following code snippet to do logout AsyncFacebookRunner asyncRunner = new

[android-developers] DRM implementation

2011-10-20 Thread Manish Garg
Hi All, My requirement is to publish my application from client site instead of Android market. So I need to implement DRM. Please suggest some solution for it. Regards, Manish Garg -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: DRM implementation

2011-10-20 Thread Manish Garg
download. One person can download app on different devices. On Oct 20, 11:22 am, Manish Garg mannishga...@gmail.com wrote: Hi All, My requirement is to publish my application from client site instead of Android market. So I need to implement DRM. Please suggest some solution for it. Regards

[android-developers] ImageView not getting vertically centered

2011-08-25 Thread Manish Garg
android:id=@+id/imgLayout android:gravity=center ImageView android:id=@+id/documentImg android:layout_width=wrap_content android:layout_height=wrap_content /ImageView /LinearLayout /ScrollView Regards, Manish Garg -- You

[android-developers] Re: ImageView not getting vertically centered

2011-08-25 Thread Manish Garg
    android:id=@+id/preview_image     android:layout_width=wrap_content     android:layout_width=wrap_content     android:layout_centerInParent=true / On Aug 25, 1:39 pm, Manish Garg mannishga...@gmail.com wrote: Hi All, I need to display one image on the screen who's size depends upon the image

[android-developers] Difference between removeAllViewsInLayout() and removeAllViews()

2011-08-11 Thread Manish Garg
Hi All, Whats difference in between removeAllViewsInLayout() and removeAllViews(). I am populating a linear layout dynamicaly. Depending upon response, I have to clear the past child views and create new views. Which function I should use. I have used removeAllViews() but views didn't get

[android-developers] Re: Custom Simpleadapter not updating listview on notifyDataSetChanged

2011-08-11 Thread Manish Garg
type.equalsIgnorCase(...)==true, then your view is not updated at all: getView returns the view that was passed in. On Aug 5, 1:53 am, Manish Garg mannishga...@gmail.com wrote: Hi All, I am using following adapter class when I am calling notifyDataInvalidate and then notifyDataSetChanged

[android-developers] Pre-defined length for password text

2011-08-09 Thread Manish Garg
Hi, Is it possible to set the pre-defined length for the password fields? I am setting Input type of a text view as TextPassword but its length appear same as that of number of character in password. I want to display 8 '*' to the user -- You received this message because you are subscribed to

[android-developers] Custom Simpleadapter not updating listview on notifyDataSetChanged

2011-08-04 Thread Manish Garg
Hi All, I am using following adapter class when I am calling notifyDataInvalidate and then notifyDataSetChanged, it is not updating listview. strangely I have two instance of this adapter, in one of them list is getting updated. public class CalendarEventAdapter extends SimpleAdapter {

[android-developers] Re: TextWatcher in inherited SimpleAdapter

2011-07-11 Thread Manish Garg
Hi All, I have also tried to override getFilter() function and returning super.getFilter() but nothing is working. On Jul 10, 9:04 pm, Manish Garg mannishga...@gmail.com wrote: Hi All, In my code, I was using following code for textwatcher         private TextWatcher filterTextWatcher = new

[android-developers] TextWatcher is not giving result n inherited SimpleAdapter

2011-07-11 Thread Manish Garg
, Manish Garg mannishga...@gmail.com wrote: Hi All, I have also tried to override getFilter() function and returning super.getFilter() but nothing is working. On Jul 10, 9:04 pm, Manish Garg mannishga...@gmail.com wrote: Hi All, In my code, I was using following code for textwatcher

[android-developers] TextWatcher in inherited SimpleAdapter

2011-07-10 Thread Manish Garg
and solution then please let me know. Thanks Regards, Manish Garg -- 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

[android-developers] Re: ListView is no clickable

2011-06-28 Thread Manish Garg
Thanks a lot Zsolt. It works. i have used android:focusable=false , I didnt get why you have also suggested android:clickable=false. We want to that check box shoud get checked/unchecked. Will making it unclickable not make it disable or user will not be able to check it. On Jun 28, 3:58 am,

[android-developers] ListView is no clickable

2011-06-27 Thread Manish Garg
/CheckBox /RelativeLayout Regards, Manish Garg -- 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+unsubscr

[android-developers] Handling radio button of the single choice List

2011-06-22 Thread Manish Garg
of the radio button or view of the radio button so that I can implement onClickListener of the radio button. Or is there any other solution. Thanks, Manish Garg -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Aligning tabs as center horizontal

2011-06-16 Thread Manish Garg
Hi All, I want to align my tabs as center horizontal and want to use the side space to place other buttons. Is it possible. I want that tab content use complete space but tab title get aligned center horizontal. Regards, Manish -- You received this message because you are subscribed to the

[android-developers] Is it possible for TabActivity to have child TabActivity

2011-06-09 Thread Manish Garg
Hi All, I want to implement nested tab activity but getting exception in some cases like at the time of calling dialog.show from the activity of the nested activity and during drawing grid view inside nested activity. Regards, Manish Garg -- You received this message because you are subscribed

[android-developers] Re: Is it possible for TabActivity to have child TabActivity

2011-06-09 Thread Manish Garg
: No it is not.  There is only one level of nesting of activities. On Thu, Jun 9, 2011 at 2:02 PM, Manish Garg mannishga...@gmail.com wrote: Hi All, I want to implement nested tab activity but getting exception in some cases like at the time of calling dialog.show from the activity of the nested

[android-developers] Re: Is it possible for TabActivity to have child TabActivity

2011-06-09 Thread Manish Garg
window -- token android.app.LocalActivityManager$LocalActivityRecord@43ed5c78 is not valid; is your activity running? On Jun 9, 7:39 pm, Dianne Hackborn hack...@android.com wrote: Just use the tab widget yourself. On Thu, Jun 9, 2011 at 4:25 PM, Manish Garg mannishga...@gmail.com wrote

[android-developers] Re: Is it possible for TabActivity to have child TabActivity

2011-06-09 Thread Manish Garg
9, 2011 at 4:53 PM, Manish Garg mannishga...@gmail.com wrote: Sorry I didn't get your point. You said that it is not possible to have more than one level. I had used tab widget only for displaying nested level but facing application crash at the time of displaying dialog from the child

[android-developers] Re: Is it possible for TabActivity to have child TabActivity

2011-06-09 Thread Manish Garg
that is shown based on the tab. On Thu, Jun 9, 2011 at 4:53 PM, Manish Garg mannishga...@gmail.com wrote: Sorry I didn't get your point. You said that it is not possible to have more than one level. I had used tab widget only for displaying nested level but facing application crash at the time

[android-developers] How to return activity result from child tab activity to the calling activity

2011-06-02 Thread Manish Garg
Hi All, In my application, from one screen, I am calling tab activity. I need to return result of the child activity to the called activity, but at the time of creation of child activity, I am unable to find a way so that child activity returns result. for example A--B here B is tab activity

[android-developers] Re: how to center aligned multiline text

2011-04-23 Thread Manish Garg
TextView breaks text into multiple lines, it always takes as much width from the parent view as it can. One possible workaround is to include explicit linesbreaks, \n, into the string. -- Kostya 22.04.2011 22:53, Manish Garg пишет: Hi All, In my application, I am displaying some text

[android-developers] how to center aligned multiline text

2011-04-22 Thread Manish Garg
in center but it wasn't left aligned with respect to each other. I wish that lines should be in center of the tab view and left aligned with themselves. Thanks Regards, Manish Garg -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Running application in Portrait mode on HoneyComb

2011-04-15 Thread Manish Garg
Hi All, My system has 2GB ram but it becomes unresponsive when I run Table 3.0 emulator. Can someone suggest sd card size, ram and vm setting. On Apr 4, 3:46 pm, Manish Garg mannishga...@gmail.com wrote: Hi, Mh application runs in portrait mode. when i am trying to run application

[android-developers] Running application on Dell Streak emulator

2011-04-14 Thread Manish Garg
Hi All, I need to run my application on Dell streak, I am not able to find out any emulator to test it. My application is working good on 2.2 emulator but on Dell Streak, application is not occupying complete screen and some portion of the screen is appearing as black. I am not able to reproduce

[android-developers] java.lang.NoSuchMethodException + Jackson Parser

2011-04-06 Thread Manish Garg
Hi All, I am using jackson parser to parse my response. I am getting java.lang.NoSuchMethodException exception. I am using ObjectMapper mapper = new ObjectMapper(); output = mapper.readValue(response, classType); code. I want to know where could

[android-developers] Re: java.lang.NoSuchMethodException + Jackson Parser

2011-04-06 Thread Manish Garg
provide deserialization. I am also not very sure what deserialization is. When it comes. This code was working fine but after some change at the server side, I am getting this exception. On Apr 6, 10:21 am, Manish Garg mannishga...@gmail.com wrote: Hi All, I am using jackson parser to parse my

[android-developers] Deserialization issue in Jackson Parser + java.lang.NoSuchMethodException

2011-04-06 Thread Manish Garg
._resolveDeserializer(StdDeserializerProvider.java: 336) 04-06 16:42:55.562: ERROR/AndroidRuntime(542): at org.codehaus.jackson.map.deser.StdDeserializerProvider._createAndCache2(StdDeserializerP On Apr 6, 10:21 am, Manish Garg mannishga...@gmail.com wrote: Hi All, I am using jackson parser to parse my

[android-developers] Building application based on 2.2 for 3.0

2011-04-04 Thread Manish Garg
Hi, I had created one application on 2.2. Now my requirement is to run same application on HonyComb but it is not getting build. Do i need to take care something? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Running application in Portrait mode on HoneyComb

2011-04-04 Thread Manish Garg
Hi, Mh application runs in portrait mode. when i am trying to run application on honeycomb it is coming as up side down. Can some one help me on that. Is there some way to launch emulator directly in the portrait mode. -- You received this message because you are subscribed to the Google

[android-developers] Re: Building application based on 2.2 for 3.0

2011-04-04 Thread Manish Garg
Hi, I am trying to run my application in the honeycomb which can run only in portrait mode. 1. Strangely screen is rotating as upside down. My application, time, icons everything is upside down. 2. I am not able to find out back key on the emulator. On Apr 4, 1:53 pm, lbendlin l...@bendlin.us

[android-developers] Under which category Motrola XOOM comes

2011-03-31 Thread Manish Garg
Hi All, Following are the specification of the Motrola XOOM tablet 10.1-in.; WXGA (1280x 800 pixels; 150 pixels / inch), What does WXGA means is it extra large screen, will it pick images from xdpi folder. 150 pixels/inch: what i had seen is that even ldpi has 160 density then is it comes

[android-developers] Query related to WXGA

2011-03-31 Thread Manish Garg
Hi, I have a requirement to support WXGA in my android application but I am not sure what WXGA stands for? From which drawable folder it will take images. Is there something specific which I should take care while supporting my application on WXGA. -- You received this message because you are

[android-developers] Difference between Phone and Tablet

2011-03-31 Thread Manish Garg
Hi, From development point of view, what is the difference in between Phone and tablet. Phone and tablet both has call functionality. Is size is the only thing which we need to take care. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: Difference between Phone and Tablet

2011-03-31 Thread Manish Garg
Murphy mmur...@commonsware.com wrote: On Thu, Mar 31, 2011 at 6:11 PM, Manish Garg mannishga...@gmail.com wrote: From development point of view, what is the difference in between Phone and tablet. Phone and tablet both has call functionality. Not necessarily. In fact, most tablets

[android-developers] Reducing resource folder size from apk

2011-03-16 Thread Manish Garg
Hi All, In my application, we are using lots of images to create UI because of which drawable folder size is quite big. Now to take care of different resoultion, we have three folders for ldpi, hdpi and mdpi (haven't xdpi), which again is increasing its size. I want to know is there any way that

[android-developers] Re: Managing Out of memory

2011-03-09 Thread Manish Garg
() for how much free memory is left) Here it is on the android developer website:http://developer.android.com/reference/java/lang/Runtime.html On Mar 9, 1:06 am, Manish Garg mannishga...@gmail.com wrote: Hi All, I want to check low memory state in my application. In my application i am

[android-developers] Re: Managing Out of memory

2011-03-09 Thread Manish Garg
looking for (specifically totalMemory() for the device's total memory, and freeMemory() for how much free memory is left) Here it is on the android developer website:http://developer.android.com/reference/java/lang/Runtime.html On Mar 9, 1:06 am, Manish Garg mannishga...@gmail.com wrote: Hi

[android-developers] Managing Out of memory

2011-03-08 Thread Manish Garg
Hi All, I want to check low memory state in my application. In my application i am fetching some iamges from the server and displaying them in the gallery. I am fetching images in batch, not at single time. At the time of low memory, i want to release previously fetched image so that i can store

[android-developers] Re: Clear calling activity on finish

2011-03-01 Thread Manish Garg
one. -- Kostya 01.03.2011 8:10, Manish Garg пишет: Hi All, any suggestion? On Feb 28, 3:32 pm, Manish Gargmannishga...@gmail.com  wrote: Hi, In my application, I want that my first screen which is login page should not come back after pressing back key. I had set noHistory

[android-developers] Clear calling activity on finish

2011-02-28 Thread Manish Garg
Hi, In my application, I want that my first screen which is login page should not come back after pressing back key. I had set noHistory tag for it. but now i have one more task to do, if my session has expired, i want to come back to login page and also clear my stack, i am trying

[android-developers] Re: Clear calling activity on finish

2011-02-28 Thread Manish Garg
Hi All, any suggestion? On Feb 28, 3:32 pm, Manish Garg mannishga...@gmail.com wrote: Hi, In my application, I want that my first screen which is login page should not come back after pressing back key. I had set noHistory tag for it. but now i have one more task to do, if my session has

[android-developers] Calculating list view item height

2011-02-25 Thread Manish Garg
Hi, I want to set listview height in such a way that it doesn't display scrollbar. for it i am trying to find out listview items height, sum all of the list view items and set them as the height of the listView. My list is like accordian. It will be visible when i will click on a button and will

[android-developers] Focus is not coming on list in slidingDrawer

2011-02-25 Thread Manish Garg
Hi, In my application, I have created a tabactivity which contains slidingDrawer to display some dynamic messages. I am using listview for it. now focus is on my child activity when I am clicking on slidingDrawer, it is getting opened but focus is not coming on the list. -- You received this

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

2011-02-24 Thread Manish Garg
Please help. I am not able to find out any solution for this. On Feb 22, 3:08 pm, cool.manish mannishga...@gmail.com wrote: 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,

[android-developers] Re: Changing tab background image

2011-02-23 Thread Manish Garg
I created some entries in color.xml to create color and then done whatever u have said. in tab_layout xml, i have put android:textcolor=@layout/selector It is giving error 02-23 13:23:11.334: ERROR/AndroidRuntime(7423): Caused by: android.content.res.Resources$NotFoundException: File res/layout/

[android-developers] Re: Changing tab background image

2011-02-23 Thread Manish Garg
done. Actually rather than setting android:drawable it needs android:color property to be set On Feb 23, 2:28 pm, Manish Garg mannishga...@gmail.com wrote: I created some entries in color.xml to create color and then done whatever u have said. in tab_layout xml, i have put android:textcolor

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

2011-02-23 Thread Manish Garg
if i maintain one arraylist and set and reset particular position in the onclick function, i will be able to get the correct list items which has been checked by the user. but if i scroll list, android will show some of the row items as checked because of ListView recycling problem. I can set

[android-developers] Re: App crashing with the exception View not attached to Window manager

2011-02-23 Thread Manish Garg
the activity is destroyed and if it's been created multiple times to react to the orientation change. Hope it helps you investigating. Let us know - Fernando On Feb 23, 10:00 pm, TreKing treking...@gmail.com wrote: On Tue, Feb 22, 2011 at 11:58 PM, Manish Garg mannishga...@gmail.comwrote

[android-developers] App crashing with the exception View not attached to Window manager

2011-02-22 Thread Manish Garg
Hi, In my application, I am running custom progress bar at the time of data fetching(data is getting fetched using async task and progress bar is also getting started in the onpreExecute function of the asyncTask which is getting dismissed by onPostExecute) . If user change the orientation at the

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

2011-02-22 Thread Manish Garg
I used gson and it was working fine but in some cases i got deserialization error or wrong format in case of stroing dates in long and then parsing them. Jackson doesn't give this error and solving my problem. Now I am bit confused which one i should used because size of jackson is more than gson