[android-beginners] Add an image over an image

2009-08-31 Thread Alok
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

[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&q

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

[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

[android-beginners] Solution for Debug certificate expired

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

[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] Android Vs J2ME

2009-09-13 Thread Alok
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

[android-beginners] ListView Urgent Help Req :)

2009-09-27 Thread Alok
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] 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] Confusion in me app architecture regarding database

2009-12-20 Thread Alok Kulkarni
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

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

2009-12-22 Thread Alok Kulkarni
class as, > > MySample sample = new MySample(this); > > > > On Dec 20, 7:15 pm, Alok Kulkarni 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 t

[android-beginners] Facing serious problem with static objects

2010-01-01 Thread Alok Kulkarni
(); /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); Log.i("***","Hash map size = "+hMap.size()); hMap

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

2010-01-03 Thread Alok Kulkarni
I have temporarily found out a workaround for it. Initializing the arrays and hashmaps to null at change of activity wont work as i have many activities and all of them need to share these Data structures. Thanks, Alok On Sat, Jan 2, 2010 at 10:20 PM, Yousuf Faheem wrote: > Hi, >

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

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 wrote: > Hi Alok, > if your both acti

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

2010-02-03 Thread Alok Kulkarni
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 O

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

[android-beginners] Runtime Language change support.

2010-03-08 Thread Alok Kulkarni
s" 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 rec

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

2010-03-08 Thread Alok Kulkarni
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 wrote: > Hi, > > You also may want to take a look @ > http://www.slideshare.net/aftekand

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

2010-03-22 Thread Alok Kulkarni
data 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

[android-beginners] Database insertion timings

2010-04-11 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 q

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

2010-04-19 Thread Alok Kulkarni
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 this

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

2010-04-19 Thread Alok Kulkarni
the layout_width, layout_heighyt , but its not working.. Thanks, Alok On Mon, Apr 19, 2010 at 4:29 PM, Alok Kulkarni wrote: > Hi, > Can i do this :- > Set the image background path as package:imageName > Example.. At runtime , my package is com.test.android .Inside that i have

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

2010-05-05 Thread Alok Kulkarni
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://stackov

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

[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 wrote: > > 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 o

[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 wrote: > > Alok wrote: >>

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

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

[android-beginners] Re: Sdcard error

2009-09-01 Thread Alok Kulkarni
ed 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 wrote: > > Hi guys, > > I

[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 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 wrote: > >> >> Did you run the

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

2009-09-08 Thread Alok Kulkarni
d((char)ch); }while(ch != -1); String toParse = htmlString.toString(); Thanks, Alok. On Tue, Sep 8, 2009 at 11:47 AM, murali raju 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 wrote: > I have the following code written in java (J2SE) > It reads the source of the webpage .Convert it to that req by Android. > Ma

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

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

[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 wrote: > This error

[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] Re: Send JSON object via HttpPost method

2009-09-09 Thread Alok Kulkarni
gt; return response; > > } catch (ClientProtocolException e) { > // TODO Auto-generated catch block > // e.printStackTrace(); > } catch (IOException e) { > // TODO Auto-generated catch block > e.printStackTrace(); > } > return null; > > } > > Hope that helps. I

[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 wrote: > > I am android beginner looking for youtube use in android.Does any body > knows that > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed

[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 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 &g

[android-beginners] Re: JSON help

2009-09-09 Thread Alok Kulkarni
solution when i have it. Thanks and Regards, Alok. On Wed, Sep 9, 2009 at 10:01 PM, Mark Murphy wrote: > > 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 &g

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

2009-09-09 Thread Alok Kulkarni
one that I handle based on the ID on the backend with ruby. > > > On Wed, Sep 9, 2009 at 1:43 AM, Alok Kulkarni wrote: > >> Hey Wayne, thanks a lot.. >> I have also got a solution parallely which i would like to post >> >> URL url = new URL(serverU

[android-beginners] Re: JSON help

2009-09-10 Thread Alok Kulkarni
am. In Xstream they hv mentioned that Json object cannot hold references so i think it must be the same problem with Gson. Sorry for posting too much 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 o

[android-beginners] Re: Work At Home - Earn $40,000 Per Month With The secrets Of Clickbank

2009-09-10 Thread Alok Kulkarni
Please post on this forum if we could earn $40,000 working at home on android :P On Fri, Sep 11, 2009 at 10:50 AM, Mona Verghese wrote: > > Work At Home - Earn $30,000 Per Month With The secrets Of Clickbank > > Register & Start Earning Now > > At http://blogrns.googlepages.com/jobsfromhome > >

[android-beginners] Re: Android Vs J2ME

2009-09-13 Thread Alok Kulkarni
resent those of T-Mobile USA, Inc. > > On Sep 13, 9:33 am, Alok wrote: > > I have a basic question. J2ME is a subset of core Java + Special > > functionality specific to mobile devices. The reason : Mobile devices > > are resource constrained devices. Lack of memmory , p

[android-beginners] Re: Solution for Debug certificate expired

2009-09-14 Thread Alok Kulkarni
yeah :) On Mon, Sep 14, 2009 at 8:43 PM, georgij wrote: > > > And someone has to handle "Re-installation failed due to different > application signatures." too after doing this. This lead to the need > to fully remove the application from the device before reinstalling it > and proceed with the

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

2009-09-25 Thread Alok Kulkarni
er.readLine()) != null) { sb.append(line + "\n"); } } catch (IOException e) { e.printStackTrace(); } finally { try { is.close(); } catch (IOException e) { e.printStackTrace(); }

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

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

2009-09-27 Thread Alok Kulkarni
; //TODO: handle error and return > } > > reader = new BufferedReader(new > InputStreamReader(uc.getInputStream(), "ISO-8859-1"), 8192); > while ((line = reader.readLine()) != null) { > resul

[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 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 , a

[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 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 wrote: > >> Hi guys, >> I am developing a music appli

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

2009-09-28 Thread Alok Kulkarni
re 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 wrote: > >> Any takers ? >> >> >>

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

2009-09-28 Thread Alok Kulkarni
the word "urgent" is in > your > > tittle... > > > > -- > > There are only 10 types of people in the world... > > Those who know binary and those who don't. > > -- > > > > On Sun, S

[android-beginners] Re: Listview help

2009-09-28 Thread Alok Kulkarni
display it (setContentView is one way). > > > > 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,

[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 wrote: > Huh? WTF? > > This is Android Beginner Developer mailing list. NOT Club India. Please > keep it on-topic. > > -- > *From:* saurabh sinha > *To:* android-b

[android-beginners] Re: happy diwali

2009-10-15 Thread Alok Kulkarni
Hi MMC2 , i know this shd not be done. But no one opposes when someone sends a Sex video link on this forum? why are those people not banned ? AAre they not annoying ?? Thanks ,(no more personal/ relegious messages ahead) Alok. On Thu, Oct 15, 2009 at 2:07 PM, MMC2 wrote: > I agree with Ju

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

2010-05-13 Thread Alok Kulkarni
nks , 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-begin

[android-beginners] OnOrientationChanged leaks in ListView

2010-06-16 Thread Alok Kulkarni
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/questi