[android-beginners] OnOrientationChanged leaks in ListView

2010-06-16 Thread Alok Kulkarni
that the leak is in arraylist of list items itself.What wrong am i doing here ? Thanks , Alok. -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged

[android-beginners] Maintaining the state when changing the orientation

2010-05-13 Thread Alok Kulkarni
, Alok. -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr

[android-beginners] Problem with StateListDrawables not found in 1.5 but there from 1.6 onwards

2010-05-05 Thread Alok Kulkarni
) Is there something wrong that i am doing . Is there any workaround for this problem. Thanks , Alok., -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions

[android-beginners] EditText Image changing look when given at runtime.

2010-05-05 Thread Alok Kulkarni
from XML and bottom one is given at runtime. I am not getting the difference ? Actually i am facing similar problems with other Widgets too if i change the logic of specifying the drawable at runtime and not at compile time.. Is this the default SDK behaviour ? Thanks, Alok -- You received

[android-beginners] Set Image resource as package path in XML for runtime images

2010-04-19 Thread Alok Kulkarni
to Focus received , or onKeyup, KeyDown.. but its not working as expected.When i mention the same thing as style under drawable , it works fine. So if my theme is going to change at runtime , i want to set the drawable at runtime , keepnig the path same in the xml. Thanks , Alok -- You received

[android-beginners] Re: Set Image resource as package path in XML for runtime images

2010-04-19 Thread Alok Kulkarni
); The right image in the attached screen shot shows that everything is distored. I tried adjusting the layout_width, layout_heighyt , but its not working.. Thanks, Alok On Mon, Apr 19, 2010 at 4:29 PM, Alok Kulkarni kulsu...@gmail.com wrote: Hi, Can i do this :- Set the image background path

[android-beginners] Database insertion timings

2010-04-12 Thread Alok Kulkarni
documentation , inserting 1 records in a database takes time around 2 to 3 seconds. Am i missing something , or is the behaviour correct? Thanks, Alok -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question

[android-beginners] Application Crashing OutOfMemory .Restructuring Help Needed

2010-03-22 Thread Alok Kulkarni
storage , the second App will start this 1st App . Thanks,Alok. -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from

[android-beginners] Runtime Language change support.

2010-03-08 Thread Alok Kulkarni
of Application strings accoding to that language.Can i do something like replacing the default Strings.xml which contains English names(Say by default) to the language selected by user.Better will be adding an XML file per language and referring it runtime directly. Thanks, Alok. -- You received

Re: [android-beginners] Runtime Language change support.

2010-03-08 Thread Alok Kulkarni
in key value pairs and assigning them accordingly at runtime. Is this approach correct or is there any other better approach i can use ? Thanks, Alok. On Tue, Mar 9, 2010 at 10:50 AM, android aftek aftek.andr...@gmail.comwrote: Hi, You also may want to take a look @ http://www.slideshare.net

[android-beginners] Re: Problem running TCPDUMP on Android Device..

2010-02-04 Thread Alok Kulkarni
Got the solution.Need to get the device rooted. Thanks, Alok. On Thu, Feb 4, 2010 at 12:44 PM, Alok Kulkarni kulsu...@gmail.com wrote: Hi, I am trying to install the tcp dump on my purchaced device.When i try to do adb push tcpdump /system/bin it says read only file system.So it seems that i

[android-beginners] Problem running TCPDUMP on Android Device..

2010-02-03 Thread Alok Kulkarni
” . It gave me a message “adbd cannot run as root in production builds”. Is there any way to run the tcp dump on my device ? Thanks, Alok. -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow

Re: [android-beginners] Re: Facing serious problem with static objects

2010-01-23 Thread Alok Kulkarni
Thanks guys for the suggestions .. I will implement your suggested solutions.. Uptil now i am using the logic what Coco has suggested.. Will try out the other possibilioties .. Thanks, Alok. On Mon, Jan 4, 2010 at 4:26 PM, swapnil kamble swap.kam...@gmail.comwrote: Hi Alok, if your

[android-beginners] Reading and writing to same file.

2010-01-15 Thread Alok Kulkarni
playing after a temporary file is read and then set the data source to a new file with a new player. I dont want the pause effect to come (thats obviously required). I am getting a wierd behaviour where only the first chunk of data is being played again and again. Thanks, Alok. -- You received

[android-beginners] Facing serious problem with static objects

2010-01-01 Thread Alok Kulkarni
()); hMap.put(Alok,Alo); hMap.put(Jitu,Jit); Log.i(***,Activity onCreate() called); } @Override public void onDestroy() { Log.i(***,Activity onDestroy() called); super.onDestroy(); } @Override public void onResume

Re: [android-beginners] Re: Confusion in me app architecture regarding database

2009-12-22 Thread Alok Kulkarni
MySample(this); On Dec 20, 7:15 pm, Alok Kulkarni kulsu...@gmail.com wrote: Hi guys, I have a database with 5 tables in it.There is a core layer which communicates with the database and fetches the results and stores them in memory temporarily. Now my UI layer wishes to display the data

[android-beginners] Confusion in me app architecture regarding database

2009-12-20 Thread Alok Kulkarni
of AsyncTask in Android but i havent yet chkd how to use it.. Please help me on this one.. Thanks..Alok. -- You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from

[android-beginners] Re: happy diwali

2009-10-15 Thread Alok Kulkarni
Chill Julie! dont take it personally...:) Happy Diwali all.. On Thu, Oct 15, 2009 at 11:53 AM, Julie tearse...@yahoo.com wrote: Huh? WTF? This is Android Beginner Developer mailing list. NOT Club India. Please keep it on-topic. -- *From:* saurabh sinha

[android-beginners] Listview help

2009-09-28 Thread Alok
list to this generic class. What approach should i take? Can a XML layout solve this purpose.. Please give me some guidelines. Reuse is my main aim.. And for each listitem i should be able to handle click listeners.. Please give me some guidelines. Thanks in advance, Alok

[android-beginners] Re: ListView Urgent Help Req :)

2009-09-28 Thread Alok Kulkarni
... -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Sun, Sep 27, 2009 at 11:00 PM, Alok Kulkarni kulsu...@gmail.com wrote: Any takers ? On Mon

[android-beginners] Re: Listview help

2009-09-28 Thread Alok Kulkarni
). Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Sep 28, 7:09 am, Alok kulsu...@gmail.com wrote: Hi guys, I am

[android-beginners] Re: remote app commands sent via http

2009-09-27 Thread Alok Kulkarni
This works URL url = new URL(serverURL); // open the conncetion HttpURLConnection connection = (HttpURLConnection)url.openConnection(); // Let the run-time system (RTS) know that we want input. connection.setDoInput(true); // Let the

[android-beginners] ListView Urgent Help Req :)

2009-09-27 Thread Alok
to this generic class. What approach should i take? Can a XML layout solve this purpose.. Please give me some guidelines. Reuse is my main aim.. And for each listitem i should be able to handle click listeners.. Please give me some guidelines. Thanks in advance, Alok

[android-beginners] Re: remote app commands sent via http

2009-09-27 Thread Alok Kulkarni
(uc.getInputStream(), ISO-8859-1), 8192); while ((line = reader.readLine()) != null) { result.append(line); result.append('\n'); } // result data is in result On 9/27/09 11:07 AM, Alok Kulkarni wrote: This works

[android-beginners] Re: ListView Urgent Help Req :)

2009-09-27 Thread Alok Kulkarni
By the text should be scrollable i mean It should be like Marquee of HTML .. thanks :) On Mon, Sep 28, 2009 at 12:40 AM, Alok kulsu...@gmail.com wrote: Hi guys, I am developing a music application where there will be almost 30 to 35 lists . Example .. A list on page one say albums

[android-beginners] Re: ListView Urgent Help Req :)

2009-09-27 Thread Alok Kulkarni
Any takers ? On Mon, Sep 28, 2009 at 12:44 AM, Alok Kulkarni kulsu...@gmail.com wrote: By the text should be scrollable i mean It should be like Marquee of HTML .. thanks :) On Mon, Sep 28, 2009 at 12:40 AM, Alok kulsu...@gmail.com wrote: Hi guys, I am developing a music application

[android-beginners] Re: How to send JSONObject by HttpPost?

2009-09-25 Thread Alok Kulkarni
sb.toString(); } Please put in the requred content type, server url.. Thanks, Alok On Fri, Sep 25, 2009 at 2:01 AM, veen veensmail...@gmail.com wrote: I need to send http request with the following view: POST /device/api/login HTTP/1.1 Content-Type: text/json {login:LOGIN

[android-beginners] Android Vs J2ME

2009-09-13 Thread Alok
is it because of just increased capability of Android mobile devices or any other reasons.. Thanks, Alok. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android

[android-beginners] Re: Android Vs J2ME

2009-09-13 Thread Alok Kulkarni
and - an application layer. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Sep 13, 9:33 am, Alok kulsu

[android-beginners] Re: JSON help

2009-09-11 Thread Alok Kulkarni
on Json, but i want an urgent solution. Has anyone succesfully tried using ang good Json library on android , if yes please gc me directions on it. Thanks in adv. Alok. On Fri, Sep 11, 2009 at 9:45 AM, sagar sagar.india...@gmail.com wrote: Hi Alok, Use Gson.. It is a google library

[android-beginners] Re: Send JSON object via HttpPost method

2009-09-09 Thread Alok Kulkarni
// e.printStackTrace(); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } return null; } Hope that helps. I struggled with it for a couple of weeks before I found a site that had a good source. On Tue, Sep 8, 2009 at 6:18 AM, Alok Kulkarni kulsu

[android-beginners] Solution for Debug certificate expired

2009-09-09 Thread Alok
expired on ..date” Solution Go to “C:\Documents and Settings\user\.android” OR “C:\Documents and Settings\user\Local Settings\Application Data\Android” and delete debug.keystore file. Recompile the proj and the error is gone !! Thanks, Alok. --~--~-~--~~~---~--~~ You

[android-beginners] Re: [android-beginners]

2009-09-09 Thread Alok Kulkarni
Can you post exactly what you want ?? On Wed, Sep 9, 2009 at 5:44 PM, saurabh sinha saurso...@gmail.com wrote: I am android beginner looking for youtube use in android.Does any body knows that --~--~-~--~~~---~--~~ You received this message because you

[android-beginners] JSON help

2009-09-09 Thread Alok
Hi guys , i am using JSON to send data to server and fetching response back and using it . Now what i want to do ideally is create an object of a class whose members name is key and member value is value for a JSON object Example class MyClass { string code; string message; public abc()

[android-beginners] Re: JSON help

2009-09-09 Thread Alok Kulkarni
Sorry for some mistakes , it should be code , message instead of a,b On Wed, Sep 9, 2009 at 9:51 PM, Alok kulsu...@gmail.com wrote: Hi guys , i am using JSON to send data to server and fetching response back and using it . Now what i want to do ideally is create an object of a class whose

[android-beginners] Re: JSON help

2009-09-09 Thread Alok Kulkarni
the solution when i have it. Thanks and Regards, Alok. On Wed, Sep 9, 2009 at 10:01 PM, Mark Murphy mmur...@commonsware.comwrote: Alok wrote: Some way to put the myClassObj in JSONObject and send it to server. JSON works with arrays and objects (roughly a HashMap), not custom classes. So

[android-beginners] Re: hot to view page source?

2009-09-08 Thread Alok Kulkarni
); }while(ch != -1); String toParse = htmlString.toString(); Thanks, Alok. On Tue, Sep 8, 2009 at 11:47 AM, murali raju manutd...@gmail.com wrote: In my application i need to parse through the html file, to get the URLs. so Is there any other way I can view the page source? or any other

[android-beginners] Re: hot to view page source?

2009-09-08 Thread Alok Kulkarni
See this http://senior.ceng.metu.edu.tr/2009/praeda/2009/01/11/a-simple-restful-client-at-android/ On Tue, Sep 8, 2009 at 1:47 PM, Alok Kulkarni kulsu...@gmail.com wrote: I have the following code written in java (J2SE) It reads the source of the webpage .Convert it to that req by Android

[android-beginners] Send JSON object via HttpPost method

2009-09-08 Thread Alok
, Alok --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners

[android-beginners] Re: Send JSON object via HttpPost method

2009-09-08 Thread Alok Kulkarni
Any answers ?? On Tue, Sep 8, 2009 at 2:00 PM, Alok kulsu...@gmail.com wrote: I have created a JSON object which i want to send over the network to a server.Do i need to user OutputStream and BufferedOutput stream ? I have read the RestClient example which parses an incoming JSON object

[android-beginners] Re: Hi.. getting error in creating AVD

2009-09-08 Thread Alok Kulkarni
This error is caused when you compile a .java file with one version of JDK and running the .class file with a different version of JVM. You may say; same version is not required to compile and run. Yes, that is true. But you can not run .class files that are compiled with a newer version than

[android-beginners] Re: Hi.. getting error in creating AVD

2009-09-08 Thread Alok Kulkarni
Just check that u hv the latest java version installed . 1.5 or above is enough. See this too.. i know its not related to any coding issue http://developer.android.com/reference/java/lang/UnsupportedClassVersionError.html On Tue, Sep 8, 2009 at 11:52 PM, Alok Kulkarni kulsu...@gmail.com wrote

[android-beginners] Re: Okay.... I give up

2009-09-08 Thread Alok Kulkarni
I suggest you use Eclipse for development .. Android sdk attaches to it like a charm. Android site itself has suggested to do so. Why do you want to use netbeans.. If u really like netbeans then keep trying :P http://developer.android.com/sdk/1.5_r3/installing.html Regards, Alok On Sun, Sep 6

[android-beginners] ListView Add an image as well as 2 line text to a single list item

2009-09-01 Thread Alok
can have a Contact name and number ,on two lines of single list item. I want to add image as well.. Please help me out! Thanks and regards, Alok. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group

[android-beginners] Sdcard error

2009-09-01 Thread Alok
Hi guys, I created an SDCARD using command mksdcard 2048M sdcard This created an SDCARD in the tools directory Now when i tried to add an MP# file to it adb push D:\..\abc.mp3 /sdcard It gives error error: device not found What am i missing ?? Thanks , Alok

[android-beginners] Re: ListView Add an image as well as 2 line text to a single list item

2009-09-01 Thread Alok Kulkarni
Thanks Mark, the PDF seems great, One question more .I donno if the pdf answers this but how can i reduce the height of an item in a listview. I googled for it , some answers came up but not much convincing. Thanks and Regards, Alok. On 9/1/09, Mark Murphy mmur...@commonsware.com wrote: Alok

[android-beginners] Re: ListView Add an image as well as 2 line text to a single list item

2009-09-01 Thread Alok Kulkarni
Thats my way to go then !! Thanks again Mark :) On 9/1/09, Mark Murphy mmur...@commonsware.com wrote: Alok Kulkarni wrote: Thanks Mark, the PDF seems great, One question more .I donno if the pdf answers this but how can i reduce the height of an item in a listview. I googled for it , some

[android-beginners] Re: Sdcard error

2009-09-01 Thread Alok Kulkarni
Does anyone have any idea? On Tue, Sep 1, 2009 at 1:21 PM, Alok kulsu...@gmail.com wrote: Hi guys, I created an SDCARD using command mksdcard 2048M sdcard This created an SDCARD in the tools directory Now when i tried to add an MP# file to it adb push D:\..\abc.mp3 /sdcard It gives

[android-beginners] Re: Sdcard error

2009-09-01 Thread Alok Kulkarni
at the price you want The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Sep 1, 12:51 am, Alok kulsu...@gmail.com wrote: Hi guys, I created an SDCARD using command mksdcard

[android-beginners] Re: Sdcard error

2009-09-01 Thread Alok Kulkarni
Running the emulator did the trick On Tue, Sep 1, 2009 at 9:12 PM, Alok Kulkarni kulsu...@gmail.com wrote: No i didnt run it while pushing.. GOD save me !!! Thanks , i am very dumb i suppose... :P On Tue, Sep 1, 2009 at 9:01 PM, Jack Ha jack...@t-mobile.com wrote: Did you run

[android-beginners] Add an image over an image

2009-08-31 Thread Alok
and using drag drop on main.xml in eclipse. Thanks and regards, Alok Kulkarni. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com

[android-beginners] Re: Add an image over an image

2009-08-31 Thread Alok Kulkarni
Hey Mark , thanks a lot for the solution , i try out and post the result :) On Mon, Aug 31, 2009 at 11:08 PM, Mark Murphy mmur...@commonsware.comwrote: Alok wrote: I want to add a small image over another image.How can that be done? Use a RelativeLayout or FrameLayout, and have the one