Re: [android-developers] Gallery default item selected is in center

2011-04-04 Thread umakantpatil
No reply yet on this topic ? Not even from some Android Framework developers ? :( -- 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] Android horizontal scroll list like Gallery

2011-04-04 Thread umakantpatil
Hey, I want horizontal scroll like Gallery. Im not using Gallery because its center locked. Can some one here would help me out with this So I can have horizontal scrolling list? I think best example of this is pulse news reader :- https://market.android.com/details?id=com.alphonso.pulse

[android-developers] App is published in Android Market but not visible in some phones

2011-03-28 Thread umakantpatil
I have application published in the market. Below is the link provided. I have HTC Wildfire and Desire with me. Both have android 2.2 https://market.android.com/details?id=com.cricket.fast Now I can see this and install this application on HTC Desire, but I cant see this in market on HTC

Re: [android-developers] Gallery default item selected is in center

2011-03-25 Thread umakantpatil
*@MagouyaWare* Thanks, I know it wont have compiler errors. But i see them. those variable are really not defined. You too can open the file online and check those variables are defined. *@jotobjects* Thanks you. Can you please help me with which classes are to be included from widget package

[android-developers] Re: Gallery default item selected is in center

2011-03-24 Thread umakantpatil
Thanks everyone for the reply. 1. On click of item it should be selected but should not come to center. 2. And the First elements left side is empty, Dont want that. I don't think there is any library for this. :( -- You received this message because you are subscribed to the Google

Re: [android-developers] Gallery default item selected is in center

2011-03-24 Thread umakantpatil
Hi MagouyaWare, If I override touch events. I need to call super function first. And If call super method then it will bring it in center and then I will push it back. Is it fine to do that ? Thanks -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Gallery default item selected is in center

2011-03-24 Thread umakantpatil
I copied the Gallery Widget Class to app, But it gives me lots of errors. Few of them I solved but there are still many unresolvable e.g. mRecycler cannot be resolved. FLAG_USE_CHILD_DRAWING_ORDER cannot be resolved mGroupFlags cannot be resolved FLAG_SUPPORT_STATIC_TRANSFORMATIONS cannot be

[android-developers] Gallery default item selected is in center

2011-03-23 Thread umakantpatil
Hi All, I'm using Gallery view within my app. Now when I run the code. Gallery has default selected item is no 1 which is in center and left side is blank. Instead I want no 1 item should be at left and selected. Also clicking on the any gallery item should not bring that item in the center. I

[android-developers] Send email via ACTION SEND intent

2010-12-27 Thread umakantpatil
Hi, I have an article and I have given share button. On click of it. I have below code. Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND); emailIntent.setType(text/html); emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, Subject for email);

Re: [android-developers] Send email via ACTION SEND intent

2010-12-27 Thread umakantpatil
If I make text/plain then it still shows buletooth, as well as it shows many other things like facebook, twitter... etc etc.. I just want emails.. :) -- 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] Concern on AsyncTask in an Activity

2010-12-13 Thread umakantpatil
I'm just confused about the lifecycle of activity and AsyncTask. I have an activity which opens new AsyncTask. Now if finish() that activity, will be background task also get closed ? Or will it be still going ? If going on then how long it will be going, till my code exceute or till the app

[android-developers] Problem with view alignment and image size

2010-12-10 Thread umakantpatil
Hi, I have to show a image in vertically center on the screen. The image is originally of big size, but I reduce it and display it. Problem is I have to maintain the ratio of the image like example. Original image is of 200 X 400, then I might reduce it 100 X 200. Again if Image is of 500 X 200

[android-developers] Overlay other view on imageview

2010-12-10 Thread umakantpatil
Hi,I have two images. One is big image and other one is smaller image. I want to small image over the Bigger image. Both are in ImageView. How do 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] Listview array adapter gives me Null pointer exception.

2010-12-01 Thread umakantpatil
I'm extending ArrayAdapter. But it gives me Null pointer exception. Get view is written as follows @Override public View getView(int position, View convertView, ViewGroup parent) { View view; TextView title; TextView desc;

[android-developers] Re: Listview array adapter gives me Null pointer exception.

2010-12-01 Thread umakantpatil
Found the bug. In my code. android.R was included. I removed it and then problem got solved. thanks On Dec 2, 11:06 am, umakantpatil umakantpat...@gmail.com wrote: I'm extending ArrayAdapter. But it gives me Null pointer exception. Get view is written as follows         @Override

[android-developers] App rotation problem

2010-11-30 Thread umakantpatil
Hi, I have developed app but its not rotating at all when i rotate my HTC Wildfire. My other apps roatate but not only app developed by me. Is there anything I need to manifest.xml for allowing this. My current manifest.xml is as follows: ?xml version=1.0 encoding=utf-8? manifest

[android-developers] Re: App rotation problem

2010-11-30 Thread umakantpatil
*android:screenOrientation=nosensor* from activity. On Tue, Nov 30, 2010 at 2:28 PM, umakantpatil umakantpat...@gmail.comwrote: Hi, I have developed app but its not rotating at all when i rotate my HTC Wildfire. My other apps roatate but not only app developed by me. Is there anything I

[android-developers] Listview with section headers shows same data under each of the them.

2010-11-30 Thread umakantpatil
I have been facing the problem. I tried posting on stackoverflow too. Below is the link. http://stackoverflow.com/questions/4321329/listview-with-section-headers-shows-same-data-under-each-of-the-them I have listview with headers. But it shows same list under each header. Dont know why. On the

[android-developers] APK file package name

2010-11-29 Thread umakantpatil
Hey, I have an APK file. I just want to read its package name. How can i do that ? -- 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: Intents doesn't resume my activity properly

2010-11-24 Thread umakantpatil
the onActivityResult method. Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com On Wed, Nov 24, 2010 at 1:16 PM, umakantpatil umakantpat...@gmail.comwrote: I'm integrating twitter OAuth in my app. He can share article on twitter by posting it. So when i click on option

[android-developers] Re: Intents doesn't resume my activity properly

2010-11-24 Thread umakantpatil
); } It gives me error. Well if remove Edit text and post some dummy status then it works and I can see all articles list instead of that share page. On Nov 24, 2:17 pm, umakantpatil umakantpat...@gmail.com wrote: As i told that I used EditText content = (EditText) findViewById(R.id.content

[android-developers] Re: Intents doesn't resume my activity properly

2010-11-24 Thread umakantpatil
the findViewById call. Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com On Wed, Nov 24, 2010 at 3:07 PM, umakantpatil umakantpat...@gmail.comwrote: I posted two messages here. One of them is missing... Let again explain everything.. I do all this stuff in single activity

[android-developers] Re: Intents doesn't resume my activity properly

2010-11-24 Thread umakantpatil
looking at your whole code now. Sorry. Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com On Wed, Nov 24, 2010 at 3:23 PM, umakantpatil umakantpat...@gmail.comwrote: See.. I have page which show article. On menu click a function it sets new content as below setContentView

[android-developers] Re: Intents doesn't resume my activity properly

2010-11-24 Thread umakantpatil
then browser goes back to activity. But as i m using startactivityforresult it should go to method onActivityResult but it goes to onCreate I dont want that. can anyone help on this ? On Nov 24, 3:22 pm, umakantpatil umakantpat...@gmail.com wrote: Emailed you the code. Its not that complicated. I

[android-developers] Re: Intents doesn't resume my activity properly

2010-11-24 Thread umakantpatil
escape that. Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com On Wed, Nov 24, 2010 at 5:23 PM, umakantpatil umakantpat...@gmail.comwrote: I logged all the functions and got to know the thing. But I don't know why its happening. just need suggestion from somebody. When Im

[android-developers] Inputtype for edit text not changing

2010-11-23 Thread umakantpatil
Hi.. I want to show edittext which will default show faint color text written as Password. As soon as user focus on it then I want to convert it from text to password type. I did that but its not working.. On focus of the password box. I wrote as follows:

[android-developers] Re: Inputtype for edit text not changing

2010-11-23 Thread umakantpatil
, umakantpatil umakantpat...@gmail.com wrote: Hi.. I want to show edittext which will default show faint color text written as Password. As soon as user focus on it then I want to convert it from text to password type. I did that but its not working.. On focus of the password box. I wrote

[android-developers] Intents doesn't resume my activity properly

2010-11-23 Thread umakantpatil
I'm integrating twitter OAuth in my app. He can share article on twitter by posting it. So when i click on option share button. I show user a TextView where he can add extra content. I got how to do OAuth from this tutorial

[android-developers] Stopping activity problem

2010-11-22 Thread umakantpatil
I have app which has around 5 activities. When App is loaded I open Activity A and IF user opens then menu and click on button 2 then Activity B is opened, If users clicks button 3 from menu then Activity C is opened. Its just like instead of tab i m using menu. Now the problem is. If i m at

[android-developers] Re: Stopping activity problem

2010-11-22 Thread umakantpatil
In short, question is how to close B activity from activity A. ? On Nov 22, 6:34 pm, umakantpatil umakantpat...@gmail.com wrote: I have app which has around 5 activities. When App is loaded I open Activity A and IF user opens then menu and click on button 2 then Activity B is opened, If users

[android-developers] Re: Stopping activity problem

2010-11-22 Thread umakantpatil
closing the activity then each time it will fetch data and render it. On Nov 22, 7:20 pm, paulb pbizan...@gmail.com wrote: Can you close the activities after you activate the next one? Then, you will only ever have open one activity. On Tue, Nov 23, 2010 at 12:50 AM, umakantpatil

[android-developers] Just a concern on Async Task

2010-11-22 Thread umakantpatil
Hey, I just have a concern about AsycnTask. If i have one activity which starts a async task. Now that activity goes in background and new activity gets opened visible to us. So the async task opened by previous activity stops or it still keeps going in background or it pauses or stops ? --

[android-developers] Re: Problem with UI Thread which hangs up

2010-11-18 Thread umakantpatil
what you have explained, but I am sure, there's something wrong you are doing. Please be a bit more elaborate on what exactly are you doing and what is not working. What's an article by the way. On Tue, Nov 16, 2010 at 7:11 PM, umakantpatil umakantpat...@gmail.comwrote: Hi all, I

[android-developers] Acitivity managing

2010-11-17 Thread umakantpatil
Hi, I have been in problem of the Activity life-cycle. All though i read lots of docs on it put on getting clear picture on it. I have Activity A. In that activity I have menu options. If we click any option it opens the respective activity like if i click on 2nd button it opens Activity B Now

[android-developers] Re: Acitivity managing

2010-11-17 Thread umakantpatil
, it will be brought to front. -- Kostya 17.11.2010 15:18, umakantpatil пишет: Hi, I have been in problem of the Activity life-cycle. All though i read lots of docs on it put on getting clear picture on it. I have Activity A. In that activity I have menu options. If we click any

[android-developers] Re: Image loading from remote problem

2010-11-17 Thread umakantpatil
No one in the form knows the answer ? weired :( On Nov 14, 10:38 pm, umakantpatil umakantpat...@gmail.com wrote: Thanks Kumar, I said it previous that i know i can load it async or in new thread. But after getting the image I don't know how to replace that image back in textview. Can you

[android-developers] Re: Image loading from remote problem

2010-11-17 Thread umakantpatil
/06/textview-with-html-content.html On Nov 17, 6:17 pm, umakantpatil umakantpat...@gmail.com wrote: No one in the form knows the answer ? weired :( On Nov 14, 10:38 pm, umakantpatil umakantpat...@gmail.com wrote: Thanks Kumar, I said it previous that i know i can load it async

[android-developers] Problem with UI Thread which hangs up

2010-11-16 Thread umakantpatil
Hi all, I have to draw list of 30 articles. I tired using list view but there was some problem as I wanted to user alternate colors like first is white and 2nd is blue where as again 3rd is white and 4th is blue and it goes on.. So I decided to have scrollview and table into it. I set the view

[android-developers] Re: Problem with UI Thread which hangs up

2010-11-16 Thread umakantpatil
Thanks Kostya.. Point one I can do. But if you see my image i.e. feeds are sort based on dates under the date row. thats what I find difficult. Can you give me a short code sample for a getview method which solves my problem? On Nov 16, 10:07 pm, Kostya Vasilyev kmans...@gmail.com wrote:

[android-developers] Re: Problem with UI Thread which hangs up

2010-11-16 Thread umakantpatil
with ORDER BY clause. http://www.sql-tutorial.net/SQL-ORDER-BY.asp -- Kostya 16.11.2010 20:32, umakantpatil пишет: Thanks Kostya.. Point one I can do. But if you see my image i.e. feeds are sort based on dates under the date row. thats what I find difficult. Can you give me

[android-developers] Re: Image loading from remote problem

2010-11-14 Thread umakantpatil
the fetching image part in a thread. That will solve your problem. On Wed, Oct 27, 2010 at 4:25 PM, umakantpatil umakantpat...@gmail.comwrote: I have HTML text, I need to show it in textview. I did it. There are some images in it. I also made ImageGetter which loads image from

[android-developers] Image loading from remote problem

2010-10-27 Thread umakantpatil
I have HTML text, I need to show it in textview. I did it. There are some images in it. I also made ImageGetter which loads image from remote server and displays it. But the issue is now its very slow. I know i can load it async. But i haven't got a single example or help for this. Below is the

[android-developers] Remove tabs on click event

2010-10-26 Thread umakantpatil
Im developing android app which uses tabwidget in android. There 5 tabs which has 5 activities to do. Like my first tab shows list of articles. When i click on any article i call setContentView(R.layout.singlearticle); and detail page is opened. Now at the same time when detailed page is open.

[android-developers] TextView doesn't show complete text.

2010-10-26 Thread umakantpatil
Hey all... I'm stuck around issue of TextView. I have string which has around 2000+ characters also has some HTML in it. I'm using below code to display this TextView. TableRow tr = new TableRow(this); TextView conV = new TextView(this); conV.layout(0, 15, 0, 0);

[android-developers] Problem with List View while scrolling

2010-10-21 Thread umakantpatil
Hi Friends, I have used tab view and inside frame first view is ListView. My list view has white and blue background alternately like 1st is white, 2nd blue, 3rd white, 4th blue.. etc etc. I have tried disabing cachehint and even using it. But when i scroll the alternate colors are broken like

[android-developers] Problem with INTERNET permission

2010-09-01 Thread umakantpatil
Hi, I'm making socket connection to my localhost i.e. http://localhost/fetch.php is the URL. Now I have added in permission for internet in manifest. Still it says Connection refused to http://localhost I even tried http://127.0.0.1 Still it gives the same error. I'm using emulator; not