[android-developers] Text on seekbar

2011-06-14 Thread Sunil Lakhiyani
Hello Developers, I am just wondering if there is any way to write text on custom seekbar. I know if i have 2 drawable items with static text then i can do it. I have done it and it works fine, but what if the text is dynamic? I want to fire an action if user reach to maximum value and show some

Re: [android-developers] Build 2 apk same time?

2011-04-28 Thread Sunil Lakhiyani
; On Fri, Apr 29, 2011 at 1:16 AM, Sunil Lakhiyani < > slakhiyaniandr...@gmail.com> wrote: > >> Hello Developers, >> >> I am building an app using jenkins/ hudson. My application is using 2 >> URLs, first for lab testing and another one is for production. >>

[android-developers] Build 2 apk same time?

2011-04-28 Thread Sunil Lakhiyani
Hello Developers, I am building an app using jenkins/ hudson. My application is using 2 URLs, first for lab testing and another one is for production. We have 2 teams one is in US and another one is in JAPAN for testing. So I need to create 2 apks same time. Right now what I am doing is I change

Re: [android-developers] Re: Click event on Edit-Text's Right Drawable.

2011-04-28 Thread Sunil Lakhiyani
Thank you Zsolt, Finally I have made it. On Sun, Apr 24, 2011 at 5:53 AM, Zsolt Vasvari wrote: > Have 2 Views in your layout next to each other and set their > backgrounds so it looks like you have a single control. > > On Apr 24, 7:07 am, Sunil Lakhiyani > wrote: > > hey

Re: [android-developers] Re: Click event on Edit-Text's Right Drawable.

2011-04-23 Thread Sunil Lakhiyani
ontrol that comprised of > an EditText and a ImageView. It works great. > > > > On Apr 23, 9:33 am, Sunil Lakhiyani > wrote: > > Hello Developers, > > > > I have one Edit Text with right drawable. > > The xml code is > > > > > android:

[android-developers] Click event on Edit-Text's Right Drawable.

2011-04-22 Thread Sunil Lakhiyani
Hello Developers, I have one Edit Text with right drawable. The xml code is and CustomEditTextActivity.java public class CustomEditTextActivity extends EditText { private Drawable rightSideDrawable; private Rect rectangleBounds; public CustomEditTextActivity(Context context, AttributeSet

Re: [android-developers] Re: Error in build.xml using hudson

2011-03-03 Thread Sunil Lakhiyani
On Mar 1, 11:26 am, Sunil Lakhiyani > wrote: > > Hello all, > > > > I am building app using hudson, but it throws me an error : > > > > *Smartphone/Project1/android/project1/build.xml:49: taskdef class > > com.android.ant.SetupTask cannot be found* > >

[android-developers] Error in build.xml using hudson

2011-03-01 Thread Sunil Lakhiyani
Hello all, I am building app using hudson, but it throws me an error : *Smartphone/Project1/android/project1/build.xml:49: taskdef class com.android.ant.SetupTask cannot be found* * * Can any one tell me how to solve this error? Thanks -- You received this message because you are subscrib

Re: [android-developers] Re: Can I read .pdf From assert folder?

2011-03-01 Thread Sunil Lakhiyani
ded to save the pdfs on the SD card... > > Greetings from Zurich, > Stephan > > On Feb 28, 9:29 pm, Sunil Lakhiyani > wrote: > > Hi Developers, > > > > I have .pdf in assert folder, also i have pdf viewer ad acrobat reader > > installed in my phone. >

[android-developers] Can I read .pdf From assert folder?

2011-02-28 Thread Sunil Lakhiyani
Hi Developers, I have .pdf in assert folder, also i have pdf viewer ad acrobat reader installed in my phone. Can i read .pdf from assert anyway (using those 2)? Thanks -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group,

Re: [android-developers] Re: adding search option

2011-02-25 Thread Sunil Lakhiyani
Lol On Fri, Feb 25, 2011 at 1:16 AM, Marcin Orlowski wrote: > On 25 February 2011 09:55, Indicator Veritatis wrote: > > What happened to "let me google that for you"?? > > http://tinyurl.com/6fpm7st > > -- > Regards, > Marcin > > -- > You received this message because you are subscribed to the G

Re: [android-developers] BlueTooth Serial Communication

2011-02-22 Thread Sunil Lakhiyani
Go for android programming pro book or search online. Its a good start for this topic. On Feb 22, 2011 10:44 PM, "Anil Sasidharan" wrote: Hi, Look at RFCOMM sockets and BluetoothAdapter and related classes in Android. Warm Regards, Anil On Wed, Feb 23, 2011 at 5:52 AM, Alex M wrote: > > Hi

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

2011-02-22 Thread Sunil Lakhiyani
Gson is batter than other one. For date : in gson convert it into miliseconds and than parse it. Store ms in long datatype On Feb 22, 2011 10:38 PM, "Manish Garg" wrote: 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

[android-developers] Extended MapView

2011-02-22 Thread Sunil Lakhiyani
Hi All, I am creating custom Map view. But I am getting android.view.Inflateexception : Binary XML file line #10 at line #10 i put my custom mapview. Can any one help me? thanks. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post t

Re: [android-developers] Re: Alert Dialog - Specified child already has a parent - on 2nd attempt

2011-02-21 Thread Sunil Lakhiyani
http://stackoverflow.com/questions/3968170/android-prompt-users-input-using-a-dialog On Mon, Feb 21, 2011 at 12:11 PM, Aaron Buckner wrote: > Ok, well those helped out to a point... they helped me narrow down the line > of code that is causing the problem... > > "alert.setView(input);" > > If

Re: [android-developers] Re: Alert Dialog - Specified child already has a parent - on 2nd attempt

2011-02-21 Thread Sunil Lakhiyani
please refer this link http://www.androidpeople.com/android-alertdialog-example/ and http://www.tutorialforandroid.com/2009/01/displaying-alertdialog-in-android.html

Re: [android-developers] Re: Drag and Drop

2011-02-17 Thread Sunil Lakhiyani
Thank you Oded, and Treking. You saved my time [?]. At least I got where to start. I really appreciate your help. Will soon update you with result. -- Sunil Lakhiyani +1 215 584 7289 On Thu, Feb 17, 2011 at 1:20 AM, Oded O. wrote: > Maybe this will help: > http://code.google.com/p/

Re: [android-developers] how to find name of all weekdays with their date

2011-02-15 Thread Sunil Lakhiyani
.getTime()); } public String getDate() { return apCharacter; } } -- Sunil Lakhiyani +1 215 584 7289 On Tue, Feb 15, 2011 at 4:12 PM, TreKing wrote: > On Tue, Feb 15, 2011 at 4:46 AM, gaurav gupta > wrote: > >> m using Calender class ,but dont know how to find the proper result.

[android-developers] Drag and Drop

2011-02-15 Thread Sunil Lakhiyani
Hello Developers, I have very specific question about Drag and Drop Function. I have created 3 XML files. Header.xml : This file has Image view with company logo. Footer.xml : This file has 4 Images which act as “kind of” menu bar. It has 4 options home, function1, function2, more. Main.xml :