Re: [android-developers] Re: Meta: Changes to new-user moderation policy

2016-08-25 Thread Mukherjee, Saurav
I agree. There has to be some steps taken to stop all this spam. From: on behalf of Andrey Prokopenko Reply-To: Date: Thursday, August 25, 2016 at 10:26 AM To: Android Developers

[android-developers] Re: Control Android Wear Vibrations

2015-06-25 Thread Saurav
Anyone? Regards, Saurav Mukherjee Twitter https://twitter.com/fasuke Facebook https://www.facebook.com/fuusuke LinkedIn http://www.linkedin.com/in/sauravmukherjeelinkedin On Tue, Jun 23, 2015 at 12:36 AM, Saurav to.saurav.mukher...@gmail.com wrote: Hey All, It has been wrong and I have

[android-developers] Control Android Wear Vibrations

2015-06-23 Thread Saurav
Hey All, It has been wrong and I have made a point to work everyday for a small amount of time on something I love, Android. Could someone please point me to APIs or materials that would help me CONTROL the vibration on my Android Wear. Thanks in advance! Regards, Saurav Mukherjee Twitter

Re: [android-developers] Re: switch case using string from Enum

2014-07-28 Thread Saurav
Please be more specific? Regards, Saurav Mukherjee Twitter https://twitter.com/fasuke Facebook https://www.facebook.com/fuusuke LinkedIn http://www.linkedin.com/in/sauravmukherjeelinkedin On Mon, Jul 28, 2014 at 2:34 PM, Ziri Ziri ziridm...@gmail.com wrote: Oo rfe p -- You received

Re: [android-developers] Re: My First Android App

2013-04-16 Thread Saurav
Admin, block the person please. This isn't the forum for such mails! Regards, Saurav Mukherjee. Twitter https://twitter.com/#!/fasuke Facebook https://www.facebook.com/fuusuke On Mon, Apr 15, 2013 at 9:37 PM, bob b...@coolfone.comze.com wrote: I like it. You may want to change the name

Re: [android-developers] Handling SQLiteOpenHelper

2013-03-08 Thread Saurav
? And maintain different instance of Helper (each) for every service (cos they keep running, irrespective of the visible app, DUH!)? Please correct me if I am wrong. Thanks again! Regards, Saurav Mukherjee. Twitter https://twitter.com/#!/fasuke Facebook https://www.facebook.com/fuusuke On Thu

[android-developers] Handling SQLiteOpenHelper

2013-03-07 Thread Saurav
Hi All, How many SQLiteOpenHelper instances should be created? Should there be just one and should it be reused? Or do I create an instance for each of my Usecase/ operation? Thanks in advance! Regards, Saurav Mukherjee. Twitter https://twitter.com/#!/fasuke Facebook https://www.facebook.com

[android-developers] Re: how to create a voice recorder using android

2012-10-09 Thread Saurav
Hi Tom, Have you looked into this: http://developer.android.com/guide/topics/media/audio-capture.html ? Hope this helps. Thanks, Saurav. On Tuesday, October 9, 2012 5:59:52 PM UTC+5:30, Tom wrote: Hi, How to create a voice recorder using android .if anybody knows .Please share with me

Re: [android-developers] Re: Maps with custom tiles

2012-08-07 Thread Saurav
Cant share code. It was with my prev company. Hard luck. Regards, Saurav Mukherjee. Twitter https://twitter.com/#!/fasuke Facebook https://www.facebook.com/fuusuke On Wed, Aug 8, 2012 at 1:19 AM, Todd Bennett todd.e.benn...@gmail.comwrote: Did you ever get this figured out without using

Re: [android-developers] Two things holding up my app. Any suggestions?

2012-06-20 Thread Saurav
Have you tried starting the media player in an activity, and overriding the on Back Button pressed function? Handling all the functions in the Activity Life Cycle? I am sure there is a way to keep it running programming it in this manner! Regards, Saurav Mukherjee. On Wed, Jun 20, 2012 at 7

Re: [android-developers] How to Use google chart API in android application?

2012-06-20 Thread Saurav
Hi Remo, Check this out: http://kurtchen.com/blog/2010/03/18/use-android-webview-and-google-chart-api-to-display-data/ Hope it helps. Regards, Saurav Mukherjee. On Wed, Jun 20, 2012 at 4:59 PM, Remo crajesh2...@gmail.com wrote: application -- You received this message because you

Re: [android-developers] A very strange issue, while launching an activity.

2012-06-19 Thread Saurav
of the Activity cycle it is exiting from. Regards, Saurav Mukherjee. On Tue, Jun 19, 2012 at 4:53 PM, Put_tiMe putt...@gmail.com wrote: APK -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

Re: [android-developers] Re: A very strange issue, while launching an activity.

2012-06-19 Thread Saurav
Are both activities A and B declared in the Manifest? Regards, Saurav Mukherjee. On Tue, Jun 19, 2012 at 5:06 PM, Put_tiMe putt...@gmail.com wrote: Window already focused, ignoring focus gain of: -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Re: A very strange issue, while launching an activity.

2012-06-19 Thread Saurav
Also please search thoroughly before you post in the forum. This is the thread I found the same group. https://groups.google.com/d/topic/android-developers/F_YvI4NZz20/discussion Regards, Saurav Mukherjee. On Tue, Jun 19, 2012 at 5:23 PM, Saurav to.saurav.mukher...@gmail.comwrote: Are both

Re: [android-developers] Recover Certificate from APK

2012-06-18 Thread Saurav
, Saurav Mukherjee. On Thu, Jun 14, 2012 at 8:11 PM, Raphael P.F. raphaelpfmontan...@gmail.comwrote: Actually, you should have a fall back plan. It's easy to backup your key. On Thu, Jun 14, 2012 at 11:35 AM, Saurav to.saurav.mukher...@gmail.comwrote: Thanks Mark. You have always helped me out

Re: [android-developers] Recover Certificate from APK

2012-06-18 Thread Saurav
Ha ha! It is not public, Mark. Regards, Saurav Mukherjee. On Mon, Jun 18, 2012 at 4:14 PM, Mark Murphy mmur...@commonsware.comwrote: see -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

Re: [android-developers] Re: How Google Map gets current location in Android ?

2012-06-18 Thread Saurav
points. This would position you on the track, and not (instead of) near the cell tower (and say your location is withing some radius). Regards, Saurav Mukherjee. On Tue, Jun 19, 2012 at 8:26 AM, TreKing treking...@gmail.com wrote: On Mon, Jun 18, 2012 at 8:12 PM, Ahmad Mobasseri ahmad.mobass

Re: [android-developers] Re: Getting Google Play requires that the certificate used to sign the apk be valid until at least October 22, 2033. Create a new certificate. message while submitting app

2012-06-18 Thread Saurav
Welcome to the club. Please go though this thread. Won't be a help, but it will give you the feeling that you are not alone. https://groups.google.com/d/topic/android-developers/qvbB74pB5Oo/discussion Regards, Saurav Mukherjee. On Tue, Jun 19, 2012 at 12:25 AM, RichardC richard.crit

Re: [android-developers] Recover Certificate from APK

2012-06-18 Thread Saurav
I understand! Thanks again everyone! Regards, Saurav Mukherjee. On Mon, Jun 18, 2012 at 8:32 PM, Mark Murphy mmur...@commonsware.comwrote: On Mon, Jun 18, 2012 at 7:31 AM, Saurav to.saurav.mukher...@gmail.com wrote: Ha ha! It is not public, Mark. That's good. I'm willing to bet

Re: [android-developers] reading pdf in android emulator

2012-06-18 Thread Saurav
Could you paste/attach your StackTrace? Regards, Saurav Mukherjee. On Tue, Jun 19, 2012 at 11:20 AM, kampy narasimha1...@gmail.com wrote: libraries -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

Re: [android-developers] Recover Certificate from APK

2012-06-14 Thread Saurav
plan! To upgrade the application, with another keystore or some other secure procedure. Just a thought! I am left at the mercy of my downloaders, to shift to the new application, as I need to put my upgraded application as a new application. Regards, Saurav Mukherjee. On Wed, Jun 13, 2012

Re: [android-developers] Show all feeds from Facebook in application

2012-06-14 Thread Saurav
Hi Rahul, Sounds like you want the whole application. What is your question? Is it how to use ListView? Or is it how to use the Facebook Android SDK? Could you be more specific? Regards, Saurav Mukherjee. On Thu, Jun 14, 2012 at 7:27 PM, David Olsson zooklu...@gmail.com wrote: Check out

Re: [android-developers] App not working on phone

2012-06-14 Thread Saurav
Hi Shekhar, The above link should get you started! My suggestion is, not to use absolute values, place your components based on calculations. Extract the window height and breadth, and place all your components. Regards, Saurav Mukherjee. On Thu, Jun 14, 2012 at 6:44 PM, David Olsson zooklu

[android-developers] Recover Certificate from APK

2012-06-13 Thread Saurav
! Regards, Saurav Mukherjee. -- 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...@googlegroups.com

[android-developers] Multishots in android

2012-05-23 Thread Saurav Aran
Hi all, I've been trying to take two pictures with the difference of just fractions of seconds ( multiple photos in 1 second). I've been stuck on this problem since a long time. I tried these two things and yet unable to succeed: 1) Calling two takePicture(...) methods simultaneously but it

[android-developers] Re: Help with live wallpaper and device compatibility

2011-12-18 Thread Saurav
Never mind. 1 solution was to uncheck the copy security option from the market console. Regards, Saurav Mukherjee. On Wed, Dec 14, 2011 at 5:29 PM, Saurav to.saurav.mukher...@gmail.comwrote: Any ideas on this one, guys. Thanks in advance. Regards, Saurav Mukherjee. On Fri, Dec 9

[android-developers] Re: Help with live wallpaper and device compatibility

2011-12-14 Thread Saurav
Any ideas on this one, guys. Thanks in advance. Regards, Saurav Mukherjee. On Fri, Dec 9, 2011 at 4:33 PM, Saurav to.saurav.mukher...@gmail.comwrote: Hi all, I have been working on a live wallpaper application and the thing is, the application does not work on few phones like Micromax

[android-developers] Help with live wallpaper and device compatibility

2011-12-09 Thread Saurav
Hi all, I have been working on a live wallpaper application and the thing is, the application does not work on few phones like Micromax a70 and Samsung Galaxy I5510 in spite of them running on Android 2.2 Is this a hardware issue? I do have the min-sdk set as 7 in my manifest. Regards, Saurav

Re: [android-developers] How to interrupt restarting the current application after install an apk

2011-06-20 Thread Saurav
Have you tried calling finish() after your apk installation procedure? Regards, Saurav Mukherjee. On Mon, Jun 20, 2011 at 2:53 PM, June Hello junehelloworld.he...@gmail.comwrote: ation to install another apk. however, I find that after the installation, my application will re-run from

Re: [android-developers] appwidget button

2011-06-15 Thread Saurav
make the button gone and put a progress bar. when the service is over, display the button again and enable it. Regards, Saurav Mukherjee. On Thu, Jun 16, 2011 at 2:55 AM, ABSOLUT davidt...@gmail.com wrote: Hi I have a button in an appwidget that executes a service. These service takes

Re: [android-developers] Socket on Android Mobile

2011-05-22 Thread Saurav
your mobile and your pc server should be connected to the same lan or wlan. if u have a global address, then u can connect to ur pc server using Internet. Regards, Saurav Mukherjee. On Sun, May 22, 2011 at 5:20 AM, ingy abbas ingy.abba...@gmail.com wrote: what if i want to connect my

Re: [android-developers] How to create future SMS

2011-05-21 Thread Saurav
AFAIK, pending intents with alarm manager shud work, can u provide the code that u r using, there might be something wrong. Regards, Saurav Mukherjee. On Fri, May 20, 2011 at 9:57 AM, HariRam hariram1...@gmail.com wrote: Hi Guys, I am doing SMS application and i have a idea to integrate

Re: [android-developers] Re: need reference page for how to write a png from res/drawable to background as wallpaper

2011-05-20 Thread Saurav
I am guessing this is what u want, WallpaperManager manager = WallpaperManager.getInstance(this); try { manager.setResource(R.drawable.wallpaper); } catch (IOException e) { e.printStackTrace(); } U need to add SET_WALLPAPER permissions in ur manifest file. Hope this helps. Regards, Saurav

Re: [android-developers] comparison of Thread vs Asynctask in android?

2011-05-19 Thread Saurav
In my experience, (I have used both), you need to create a Hander object to change something from the procedure that is running inside your Thread. Whereas, if you use the AsycTask, there will be call backs to do UI updations... I also agree with Miguel Morales. Regards, Saurav Mukherjee

Re: [android-developers] Re: htc inspire

2011-05-19 Thread Saurav
http://www.gsmarena.com/htc_inspire_4g-3706.php http://www.gsmarena.com/htc_inspire_4g-3706.php http://www.gsmarena.com/apple_iphone_4-3275.php Regards, Saurav Mukherjee. On Thu, May 19, 2011 at 3:52 AM, Nicholas Johnson metthejohn...@gmail.comwrote: Totally possible. Of course, if you

[android-developers] Problem with GridView and CountDownTimer

2011-05-19 Thread Saurav
of the CountDownTimer is called many times. I have logic in my onFinish to replace the time ended view with another view. But since onFinish is called a lot of times I am not able to replace the view. Can you please tell me how to overcome this problem. Thanks in advance Regards, Saurav Mukherjee. -- You

Re: [android-developers] Need help

2011-05-19 Thread Saurav
ImageView imageView = (ImageView) findViewById(R.id.imageView1); imageView.setImageDrawable(BitmapDrawable .createFromPath(/mnt/sdcard/ajax-loader.gif)); Regards, Saurav Mukherjee. On Thu, May 19, 2011 at 5:11 PM, neha neha.05...@gmail.com wrote: I want to select image from sdcard and show

Re: [android-developers] Problem with GridView and CountDownTimer

2011-05-19 Thread Saurav
Guys please no spams! Have any ideas to the problem that I put up, for help! Kind of an SOS situation. Thanks in advance! Regards, Saurav Mukherjee. On Thu, May 19, 2011 at 5:06 PM, umair yaya umair.yaya...@gmail.com wrote: On Thu, May 19, 2011 at 4:36 AM, umair yaya umair.yaya

Re: [android-developers] need reference page for how to write a png from res/drawable to background as wallpaper

2011-05-19 Thread Saurav
You mean wallpaper for phone home screen? Regards, Saurav Mukherjee. On Fri, May 20, 2011 at 7:23 AM, Spooky spooky1...@gmail.com wrote: wallpaper -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

Re: [android-developers] Problem in showing multiple images in ImageView object

2011-05-19 Thread Saurav
Use a Gallery, or an ImageSwitcher. Regards, Saurav Mukherjee. On Thu, May 19, 2011 at 10:37 AM, Md.Fazla Rabbi OPU md.fazlara...@gmail.com wrote: Hi, I am new in Android. I made a small project with two button (next and previous) and a ImageView object. In the res/drawable folder i

Re: [android-developers] regarding Gprs

2011-05-19 Thread Saurav
Connect to web server just like u do in a Java program. open an http connection and send data in post. Hope this helps. Regards, Saurav Mukherjee. On Thu, May 19, 2011 at 5:51 PM, nageswara rao rajana nagu.raj...@gmail.com wrote: Hi, I want to send data to web server through gprs

Re: [android-developers] How to pass parameters to the AlarmService?

2011-05-18 Thread Saurav
Try doing the same by overriding onStartCommand(Intent, int, int) Hope it helps! Regards, Saurav Mukherjee. On Wed, May 18, 2011 at 9:04 AM, Eric Chow eric...@gmail.com wrote: Hello, Please see the following code. It could not pass those extra parameters to the intent. When I tried show

Re: [android-developers] Re: Problem installing android sdk in ubuntu 10.10

2011-04-27 Thread Saurav
to get the xml on my browser. 4. I have not checked my firewall settings though, WILL DO THAT, I mean iptable rules. this completely slipped off my mind. Guys any more suggestions? Again, Thanks a ton. Regards, Saurav Mukherjee. On Tue, Apr 26, 2011 at 10:57 PM, Sahil Verma vermas...@gmail.com

[android-developers] Re: Problem installing android sdk in ubuntu 10.10

2011-04-25 Thread Saurav
Any ideas? Please? Regards, Saurav Mukherjee. On Sun, Apr 24, 2011 at 3:56 PM, Saurav to.saurav.mukher...@gmail.comwrote: Hi all, I am trying to install android sdk, but the for every try, the android sdk manager (starting android executable from the terminal) gives this error message

[android-developers] Problem installing android sdk in ubuntu 10.10

2011-04-24 Thread Saurav
with and without https! Thanks in advance. Regards, Saurav Mukherjee. -- 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

[android-developers] How to install market app in emulator?

2011-03-16 Thread Saurav
Hi all, I want to install market app in emulator. Android 2.2 I have tried loads of internet blogs and free downloads, but they turned out not working. Please provide a working and tried out method/procedure, which is recent. Thanks in advance. Regards, Saurav Mukherjee. -- You received

Re: [android-developers] How to install market app in emulator?

2011-03-16 Thread Saurav
Thanks Nicholas and Mark. Specially Mark, as I seriously did not know that it would be a copyright issue. I'll restrict myself from doing it. Thanks for your speedy replies. Regards, Saurav Mukherjee. On Wed, Mar 16, 2011 at 4:57 PM, Mark Murphy mmur...@commonsware.comwrote: On Wed, Mar

[android-developers] H264 support Android

2011-03-07 Thread Saurav
http://developer.android.com/guide/appendix/media-formats.html Note: Media codecs that are not guaranteed to be available on all Android platform versions are accordingly noted in parentheses—for example (Android 3.0+). Does this mean the Android 3.0+ will not be guaranteed to support H264?

Re: [android-developers] Re: notification/broadcast for sent sms

2010-07-05 Thread Saurav
again. Regards, Saurav Mukherjee. On Mon, Jul 5, 2010 at 12:08 PM, joebowbeer joe.bowb...@gmail.com wrote: Issue 2261 requests this feature: http://code.google.com/p/android/issues/detail?id=2261 Given that the provider is accessible (if permissions are granted), and there is already

[android-developers] Re: notification/broadcast for sent sms

2010-07-04 Thread Saurav
Could anyone enlighten me on this subject? Please! Regards, Saurav Mukherjee. On Thu, Jul 1, 2010 at 11:09 PM, Saurav to.saurav.mukher...@gmail.comwrote: hi all, is there any way to be notified (using a broadcast receiver) after a sms is sent? i want to get notified when a sms is sent

[android-developers] Re: notification/broadcast for sent sms

2010-07-04 Thread Saurav
, 1:56 pm, Mark Murphy mmur...@commonsware.com wrote: On Sun, Jul 4, 2010 at 3:28 AM, Saurav to.saurav.mukher...@gmail.com wrote: Could anyone enlighten me on this subject? Please! Send theSMSwith SmsManager, and then you can register a PendingIntent to be notified when it issent. -- Mark

[android-developers] notification/broadcast for sent sms

2010-07-01 Thread Saurav
hi all, is there any way to be notified (using a broadcast receiver) after a sms is sent? i want to get notified when a sms is sent and carry on with my program. Thanks in advance. Regards, Saurav Mukherjee. -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] How to close all activities in a app

2010-05-02 Thread Saurav
well there is a function called activity obj.finish() this wud suffice ur needs i guess. hope this helps. Regards, Saurav Mukherjee. On Mon, May 3, 2010 at 8:52 AM, CMF manf...@gmail.com wrote: I have two activities,A ,B A will start activity B When I press backbutton in B, I want

Re: [android-developers] Need help plz dot it

2010-03-24 Thread Saurav
(AlarmManager.ELAPSED_REALTIME, SystemClock.elapsedRealtime(), 30 * 1000, pending); } else { alarm.setRepeating(AlarmManager.RTC, c.getTimeInMillis(), UPDATES_CHECK_INTERVAL, pending); } } hope this helps u. Regards, Saurav

[android-developers] Device needed

2010-02-27 Thread Saurav
hi all, I have in an immediate need for a android device for application development. I stay in India. I need a HTC G1 or G2 (developer phone, most probably second hand model). So if any one has any kind of contact or information, please reply. Regards, Saurav Mukherjee. -- You received

Re: [android-developers] Re: How to play a media file on emulator

2010-02-18 Thread Saurav
sdcard... u cant access the hard disk of the system from ur android code. Regards, Saurav Mukherjee. Sent from Coimbatore, TN, India On Thu, Feb 18, 2010 at 7:16 PM, Dilli rao dilliraomca...@gmail.com wrote: one more Q. local disk means (hard disk or sdcard of emulator) On Thu, Feb

Re: [android-developers] Re: help with game development.

2009-12-09 Thread Saurav
thank you so much for the replies (Neilz and shaun). i would love to get some rokon examples, not that i have not gone thru some, but just that it would help to get some more thanks again. Regards, Saurav Mukherjee. On Fri, Dec 4, 2009 at 9:05 PM, shaun shashepp...@gmail.com wrote

[android-developers] help with rokon game engine

2009-12-07 Thread Saurav
hi all, i am trying to develop a game with rokon game engine. i need more documentations and information on usage of the framework. thanks in advance. Regards, Saurav Mukherjee. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] help with game development.

2009-12-03 Thread Saurav
hi all, this to all those who are into game development. i want to start on the game development in android, and just as a starter, can anyone suggest me an ebook or a simple procedure oriented blog or some link that'll help me to get things started! thanks in advance. Regards, Saurav

Re: [android-developers] text animation

2009-11-03 Thread Saurav
TranslateAnimation Regards, Saurav Mukherjee. On Tue, Nov 3, 2009 at 2:49 PM, npak...@gmail.com npak...@gmail.com wrote: Hi all, Now i want to write an application to make a certain text to run slowly from right side screen to left side screen and rotate to repeat. How can i do

Re: [android-developers] Re: text animation

2009-11-03 Thread Saurav
savedInstanceState) { super.onCreate(savedInstanceState); mLayout = new LinearLayout(this); mLayout.setGravity(Gravity.CENTER); mTextView = new TextView(this); mTextView.setText(Saurav Mukherjee); mTextView.setGravity(Gravity.CENTER); mAnimation

[android-developers] Re: Location.getLastKnownLocation returns null

2009-10-17 Thread Saurav
u cannot get gps signals in an emulator u need to give gps inputs from ddms if u wanna get some gps signals in ur program wen u run it from the emulator Regards, Saurav Mukherjee. On Sat, Oct 17, 2009 at 5:31 PM, Auguste Lunang legraphi...@gmail.comwrote: Hi, I can't display my map

[android-developers] Re: ListView With Checkbox

2009-09-29 Thread Saurav
u need to set onItemClickListener for the listview or onClickListeners for the checkboxes (individually). Regards, Saurav Mukherjee. On Tue, Sep 29, 2009 at 2:25 PM, ragavendran s sraghav.ra...@gmail.comwrote: I m Having ListView With Checkboxes ...but if i Click the Checkbox ther

[android-developers] Re: Request to official ADC2 team.

2009-09-15 Thread Saurav
+ Regards, Saurav Mukherjee. On Tue, Sep 15, 2009 at 12:10 AM, Mobidev android.mobi...@gmail.com wrote: . Once upon a time, we had this little group… http://groups.google.com/group/android-challenge Android Challenge: Discuss the Android Developer Challenge, including

[android-developers] Re: Activity Vs View

2009-09-11 Thread Saurav
number of views (common ones that u r talking abt). But make sure u manage the activities properly, i.e., finish() the ones u dont need to trace back, and not overload the activity stack. Regards, Saurav Mukherjee. On Sat, Sep 12, 2009 at 2:19 AM, Gopal Biyani gopalbiy...@gmail.com wrote: Hello

[android-developers] how to block the dropdown list in autocompletetextview?

2009-09-02 Thread Saurav Mukherjee
hi all... i have done the blocking of the drop down list with dismissDropDown() but wen ever i do a settext on the autocompletetextview, the list drops down with the matched texts... i dont want that. i have set the input type of the autocompletetextview to TYPE_NULL, but still no result... plz

[android-developers] Re: how to block the dropdown list in autocompletetextview?

2009-09-02 Thread Saurav Mukherjee
Development Center ・T・ ・ ・Mobile・ stick together The coverage you need 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 2, 9:10 am, Saurav

[android-developers] Re: how can change controll to main thread from new other thread?

2009-08-20 Thread Saurav Mukherjee
use a Handler object... Handler uiHandler=new Handler(); then inside ur funcion: uiHandler.post(new Runnable(){ void run(){ here u can change components in the ui thread. } }); On Thu, Aug 20, 2009 at 1:12 PM, tstanly tsai.sta...@gmail.com wrote: hi all, I was define a new thread for a

[android-developers] Re: how can change controll to main thread from new other thread?

2009-08-20 Thread Saurav Mukherjee
with progressdialog?? thanks! On 8月20日, 下午4時35分, Saurav Mukherjee to.saurav.mukher...@gmail.com wrote: use a Handler object... Handler uiHandler=new Handler(); then inside ur funcion: uiHandler.post(new Runnable(){ void run(){ here u can change components in the ui thread

[android-developers] scale animaions goes behinde the screen.

2009-08-13 Thread Saurav Mukherjee
this is my scale animaation code. inAnimation = new ScaleAnimation(0.5f, 1f, 0.5f, 1f, Animation.RELATIVE_TO_SELF, -20f, Animation.RELATIVE_TO_SELF, -50f); outAnimation = new ScaleAnimation(1f, 0.5f, 1f, 0.5f, Animation.ABSOLUTE, (screenWidth), Animation.ABSOLUTE,

[android-developers] help with scale animation

2009-08-13 Thread Saurav Mukherjee
hi all, can anyone please tell how can i make my animation visible above other views on the layout. i tried with the zorder adjustment but it didnot work out. please help. thanks in advance. --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: rotation of phone

2009-08-11 Thread Saurav Mukherjee
override onConfigurationChanged() in the activity... read the docs for more help. u need to set the configs in the manifest first. On Tue, Aug 11, 2009 at 5:11 PM, engin enginarsla...@gmail.com wrote: Hi, do you know that can we control phone rotation. I mean that when i rotate phone from

[android-developers] Re: read csv file

2009-08-08 Thread Saurav Mukherjee
a csv file is treated as a normal text file by a linux system. so jus read it as u read a text file in android. On Sat, Aug 8, 2009 at 10:16 PM, Honest honestsucc...@gmail.com wrote: Hello, I want to read csv file from res. Can some one tell me how can i read it ?

[android-developers] ImageView setImageResource

2009-08-06 Thread Saurav Mukherjee
can anyone please tell me that does setImageResource() in ImageView also draws the image instantly on the screen or does it require any other function call? i need to display the image as soon as i set the resource. please help. thanks in advance.

[android-developers] Re: ImageView setImageResource

2009-08-06 Thread Saurav Mukherjee
: Saurav Mukherjee wrote: can anyone please tell me that does setImageResource() in ImageView also draws the image instantly on the screen or does it require any other function call? i need to display the image as soon as i set the resource. The change will take effect as soon as you give

[android-developers] Re: how can close other activity?

2009-08-05 Thread Saurav Mukherjee
i really do not understand wat u intend to say, all i can help is if u use the Activity public function finish(), the activity closes. use it when u need to close the activity, wisely. hope it helps. On Wed, Aug 5, 2009 at 9:09 AM, tstanly tsai.sta...@gmail.com wrote: hi all, for example,I

[android-developers] Re: Sqlite data base problem , method getWritableDatabase() is not working

2009-08-05 Thread Saurav Mukherjee
i dont know how far i am right, but doesn't the context change when u instantiate a new activity object? myact maobj=new myact(); hence the exception. jus move the code in open() to the line after dbhelper instatiation. it should work fine. there is no need to create a new activity object. On

[android-developers] the center item in gallery

2009-08-05 Thread Saurav Mukherjee
hi all, i need help with the gallery widget. could anyone please tell me how do i find out the centre item (item at which the gallery halts) when onFling or onClick happens? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: Dialog

2009-08-04 Thread Saurav Mukherjee
make use of message for updating the progress dialogbox from the http thread. i think it'll b better if u use progress dialog with setIndeterminate(true). this wud make it simpler and u dont have to keep note of the progress... hope this helps. cheers! On Tue, Aug 4, 2009 at 2:58 PM, Rahul

[android-developers] Re: Intercept home button?

2009-07-31 Thread Saurav Mukherjee
u can try it this way... wen home is pressed, onPause and then onStop are called. wen resumed on long press of home button, the following functions gets called in order: onRestart onStart onResume onPostResume try n override these functions to do ur work... hope this helps... cheers! On

[android-developers] Re: Suggestion for placing buttons

2009-07-29 Thread Saurav Mukherjee
the best substitute for absolute layout is relative layout... try that... hope it helps. cheers! On Wed, Jul 29, 2009 at 3:37 PM, Vignesh vignesh.kart...@gmail.com wrote: Hi, I am not able to find out the perfect layout(viewgroup) to place four buttons as shown in the attached image.

[android-developers] Re: Press Back key programmatically

2009-07-28 Thread Saurav Mukherjee
use this.dispatchKeyEvent(new Keyevent(..)..); hope this helps... cheers! On Wed, Jul 29, 2009 at 1:21 AM, Peacemoon tran.bin...@gmail.com wrote: i want to trigger the onKeyDown listener programmatically but don't know which method i should call? Does anyone know? Thanks

[android-developers] Re: How can I create this type of Rectangle??

2009-07-25 Thread Saurav Mukherjee
by a diagonal rectangle, do u mean a parallelogram? On Sat, Jul 25, 2009 at 12:40 PM, sagar.indianic sagar.india...@gmail.comwrote: Hi all, I have got a problem. How can i create the following rectangle by using Rect class?? __ __ __ __ I mean Diagonal Rectangle. Is it

[android-developers] Re: what coomand can go back to home screen or destop

2009-07-24 Thread Saurav Mukherjee
the android develops an activity stack as u keep calling activities. wen finish() is called, the activity is not stored in the stack... so u need to call both: a.this.finish() after u start b.java and then to go bach to the home screen, call b.this.finish(). hope this helps. cheers! On Fri, Jul

[android-developers] Re: Age of GPS data (continued)

2009-07-21 Thread Saurav Mukherjee
try usin the time tick event instead of systime... u cud keep track of the time ticks elapsed... since u said couple of minutes: I'm trying to check the age of a GPS fix, so that I can discard location fixes that are more than, say, a couple of minutes old - I need my fix to be very accurate.

[android-developers] Re: TableRow

2009-07-21 Thread Saurav Mukherjee
AFAIK, u cannot use rowidwat u can do is, remove the row from the tablelayout using the function tablelayout obj.removeViewAt(int position), and then tableLayout obj.addview(View view, int position)... hope this helps. cheers! On Wed, Jul 22, 2009 at 10:17 AM, Rahul nakate.ra...@gmail.com

[android-developers] Re: how to run the focus item on the view without using onclick

2009-07-20 Thread Saurav Mukherjee
AFAIK, u need some or the other event to trigger the execution on the UI. now, wat u cud do is in a function, u cud have the requestFocus function so that the component u want to execute comes to focus. before this, u shud have the setOnFocusListener() defined for the component. so wen the

[android-developers] Re: open context menu for a specific item of the list

2009-07-18 Thread Saurav Mukherjee
sry i made a mistake in my P.S. @Override public boolean onContextItemSelected(MenuItem item) { return true; } onContextItemSelected() can be overriden in an activity only. On Sat, Jul 18, 2009 at 4:55 PM, Saurav Mukherjee to.saurav.mukher...@gmail.com wrote: let me c if i can

[android-developers] Re: TextView

2009-07-16 Thread Saurav Mukherjee
use this: tv.setEllipsize(TruncateAt.END); hope this helps u... cheers! On Thu, Jul 16, 2009 at 6:31 PM, Mr.No f.hi...@arcor.de wrote: Hello, how can i make the text in a textview wrap the tail into ... if the textviews width is not enough for the text? Like this: Text: Hello World.

[android-developers] Re: plz help me for this question

2009-07-16 Thread Saurav Mukherjee
u can try this: add a table layout to ur web view and then add a row with the width u want. put the button into the row. try this only if the normal setLayoutParams of the button does not work. hope this selps u. cheers! 2009/7/17 tstanly tsai.sta...@gmail.com thanks for your reply, this

[android-developers] autocompletetextview: get Cursor

2009-07-15 Thread Saurav Mukherjee
hi, i m using an auto complete text view with a cursor adapter. can anyone tell me how i can get the reference to the cursor of the record that is selected from the auto complete list??? thanks in advance. --~--~-~--~~~---~--~~ You received this message because

[android-developers] Re: SQLite DROP Database

2009-07-14 Thread Saurav Mukherjee
if have rights to the shell, then u can jus try this: rm database name On Wed, Jul 15, 2009 at 2:44 AM, Kumaravel Kandasami kumaravel.kandas...@gmail.com wrote: How to drop a database in Android SDK? Did not see any methods in android.database.sqlite.SQLiteOpenHelper or

[android-developers] Re: how can i check left and right motion in onTouchEvent?

2009-07-07 Thread Saurav Mukherjee
try using GestureDetector... u get functions like onScroll which shud make ur work easier. On Tue, Jul 7, 2009 at 3:57 PM, Suhas suhas.ga...@gmail.com wrote: Hi I think u should return true and not false in ontouchevent On Tue, Jul 7, 2009 at 3:51 PM, zeeshan genx...@gmail.com wrote:

[android-developers] Re: Blur an image

2009-07-07 Thread Saurav Mukherjee
here are two links, these might help u: http://www.java2s.com/Code/Java/2D-Graphics-GUI/ImageEffectSharpenblur.htm http://www.jhlabs.com/ip/blurring.html hope this helps. cheers! On Mon, Jul 6, 2009 at 10:37 PM, Sharmila sharmcg...@gmail.com wrote: Hi, I have a camera application that

[android-developers] Re: How to capture soft keyboard's key events.

2009-07-02 Thread Saurav Mukherjee
well i have not tried capturing the keys from the soft keyboard, but u cud try out a round abt method for checking the number of chars exceeded. u cud run a thread tht keeps track of the text entered in the edit text box. wen it exceeds, delete from the edit text box. if u have a better sol

[android-developers] Re: How to capture soft keyboard's key events.

2009-07-02 Thread Saurav Mukherjee
able to detect computer's keys, emulator's home,power,call,call_end,volume_up/down etc. keys. But im not able to detect the alphabet keys of softkeyboard.I need a way to capture those clicks.Anyways, thanx for ur prompt response. On Jul 2, 3:16 pm, Saurav Mukherjee to.saurav.mukher

[android-developers] Re: How to capture soft keyboard's key events.

2009-07-02 Thread Saurav Mukherjee
. On Thu, Jul 2, 2009 at 4:34 PM, Chris narendrasingh.bi...@gmail.com wrote: Dude, i want to show the alert dialog box ONLY when user press any key on the keyboard(softkeypad), if user dont press any key no alert box will pop-up. Is your sol. provides this functionality?? On Jul 2, 3:42 pm, Saurav

[android-developers] help with font size

2009-07-01 Thread Saurav Mukherjee
hi all, i have to get the height of the text for i have specified the text size. is this possible? i need to get the width using the Paint object and without. thanks in advance. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: data between activities

2009-06-30 Thread Saurav Mukherjee
if both the activities are in the same app, yes, its possible. On Tue, Jun 30, 2009 at 12:47 PM, Sukitha Udugamasooriya suk...@gmail.comwrote: Is it possible to transfer data between activities without using extars?? I need to access MyOwnObject in Atctivity 1 from Activity2 Possible with

[android-developers] Re: Update widget from code

2009-06-29 Thread Saurav Mukherjee
a simple solution is to have a local sqlite db to access from both the apps... if u r using intents to start 1 app from another, then u can bundle the data via intents! hope this helps. cheers! On Mon, Jun 29, 2009 at 1:57 PM, Aaron arro...@gmail.com wrote: anyone? On Jun 28, 6:05 pm,

  1   2   >