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 Subject: [android-developers] Re: Meta: Changes to new-user moderation policy Just came along this group an

[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 wrote: > Hey All, > > It has been wrong and

[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 wrote: > Oo rfe p > > --

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 wrote: > I like it. > > You may want to

Re: [android-developers] Handling SQLiteOpenHelper

2013-03-08 Thread Saurav
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/fuus

[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

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

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 wrote: > Did you ever get this figured out without using OSM

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 wrote: > application -- You received this message because you are subscribed to the Goo

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] 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 wrote: > Are both activities A and B decla

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 wrote: > Window already focused, ignoring focus gain of: -- You received this message because you are subscribed to the Google Groups "Android Developers&qu

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

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 wrote: > libraries -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to andro

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 wrote: > On Mon, Jun 18, 2012 at 7:31 AM, Saurav > wrote: > > Ha ha! > > It is not public, Mark. > > That's good. I'm willing to bet that there

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 wrote: > No m

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

2012-06-18 Thread Saurav
data 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 wrote: > On Mon, Jun 18, 2012 at 8:12 PM, Ahmad Mobasseri < > ahmad.mobass...@gm

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 wrote: > see -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to andro

Re: [android-developers] Recover Certificate from APK

2012-06-18 Thread Saurav
;Fall back" Regards, Saurav Mukherjee. On Thu, Jun 14, 2012 at 8:11 PM, Raphael P.F. wrote: > 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 wrote: > >> Thanks Mark. >> You have alwa

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 wrote

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 wrote: > Check out facebook's

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 at

[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...@google

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

[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 wrote: > Any ideas on this one, guys. > > Thanks in advance. > > > Regards, > Saurav Mukherjee. > > > &g

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

[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 wrote: > ation to install another apk. however, I find that after the installation, > my application will re-run > > from the method on

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 wrote: > Hi > I have a button in an appwidget that executes a service. These service > takes time

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 wrote: > what if i want to connect my android m

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

2011-05-20 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 wrote: > Hi Guys, > > I am doing SMS application and i have a idea to integrate sendi

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

2011-05-19 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] 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 wrote: > Hi, > >I want to send data to web server through gprs fro

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

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 wrote: > wallpaper -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to andro

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 wrote: > > > On Thu, May 19, 2011 at 4:36 AM, umair yaya wrote: > >> *Hom

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 wrote: > I want to select image from sdcard a

[android-developers] Problem with GridView and CountDownTimer

2011-05-19 Thread Saurav
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] 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 wrote: > Totally possible. Of course, if you travel in a

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

2011-05-18 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] 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 wrote: > Hello, > > Please see the following code. It could not pass those extra > parameters to the intent. > When I tried s

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

2011-04-27 Thread Saurav
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 wrote: > To m

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

2011-04-24 Thread Saurav
Any ideas? Please? Regards, Saurav Mukherjee. On Sun, Apr 24, 2011 at 3:56 PM, Saurav wrote: > 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
have tried 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

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 wrote: > On Wed, Mar 16, 2011 at

[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

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

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

2010-07-05 Thread Saurav
hanks again. Regards, Saurav Mukherjee. On Mon, Jul 5, 2010 at 12:08 PM, joebowbeer 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 alread

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

2010-07-04 Thread Saurav
Jul 4, 1:56 pm, Mark Murphy wrote: > On Sun, Jul 4, 2010 at 3:28 AM, Saurav 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. > > -- > Ma

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

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

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

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

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

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

[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 wrote: > one more Q. local disk means (hard disk or sdcard of emulator) > > > > On Thu, Feb 18,

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 wrote: > Check out >

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

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

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);

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

[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 wrote: > Hi, > I can't display my map on android em

[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 wrote: > I m Having ListView With Checkboxes ...but if i Click the Checkbox ther is > no response &

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

2009-09-14 Thread Saurav
+ Regards, Saurav Mukherjee. On Tue, Sep 15, 2009 at 12:10 AM, Mobidev 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 questions

[android-developers] Re: Activity Vs View

2009-09-11 Thread Saurav
with fewer 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 wrote: > Hello G

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

2009-09-02 Thread Saurav Mukherjee
ce 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. &g

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

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

2009-08-20 Thread Saurav Mukherjee
can use with progressdialog?? > > thanks! > > On 8月20日, 下午4時35分, Saurav Mukherjee > wrote: > > use a Handler object... > > > > Handler uiHandler=new Handler(); > > > > then inside ur funcion: > > uiHandler.post(new Runnable(){ > > void run(){ > > &g

[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(){ } }); On Thu, Aug 20, 2009 at 1:12 PM, tstanly wrote: > > hi all, > > I was define a new thread for a task, > but when task is complete, I must to refresh my listview, >

[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] 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] 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 wrote: > > Hi, do you know that can we control phone rotation. I mean that when > i rotate phone from horizantal position to

[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 wrote: > > Hello, > > I want to read csv file from res. Can some one tell me how can i read > it ? > > > --~--~-~--~~~-

[android-developers] Re: ImageView setImageResource

2009-08-06 Thread Saurav Mukherjee
i got a hint of that while i was trying hard to get it. Thank you Mark for the early reply. Just one more query, will it be the same if i set the Background of the view or will it just depend on the invalidate() call? On Thu, Aug 6, 2009 at 4:55 PM, Mark Murphy wrote: > > Saurav Mukherjee

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

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

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

2009-08-04 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 wrote: > > hi all, > > > for example,I have three activi

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

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

[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 wrote: > Hi, > > I am not able to find out the perfect layout(viewgroup) to place four > buttons as shown in the attached image. > > Basically, i want to plac

[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 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 wrote: > > Hi all, > > I have got a problem. How can i create the following rectangle by > using Rect class?? > > __ > __ > __ > __ > > > I mean Diagonal Rectangle. Is it possible thr

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

[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 .removeViewAt(int position), and then .addview(View view, int position)... hope this helps. cheers! On Wed, Jul 22, 2009 at 10:17 AM, Rahul wrote: > > > hi All, > > i have one problem. i am usi

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

[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

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

2009-07-18 Thread Saurav Mukherjee
let me c if i can help u. @Override protected void onCreateContextMenu(ContextMenu menu) { super.onCreateContextMenu(menu); menu.setHeaderTitle("Message Menu"); menu.add("Open "); menu.add("Reply"); menu.add("Delete "); menu.add("Close Menu"); } public void (){ .r

[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 > > thanks for your reply, > this method can't work,it

[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 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. > Assumed tha

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

[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 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.database.sqlite.S

[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 wrote: > > Hi, > I have a camera application that captures an image and s

[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 wrote: > Hi > I think u should return true and not false in ontouchevent > > > On Tue, Jul 7, 2009 at 3:51 PM, zeeshan wrote: > >> >> Hi dear, >> >> i need left, ri

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

2009-07-02 Thread Saurav Mukherjee
Thu, Jul 2, 2009 at 4:34 PM, Chris 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] Re: How to capture soft keyboard's key events.

2009-07-02 Thread Saurav Mukherjee
s of now i am 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,

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

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

[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 wrote: > > Is it possible to transfer data between activities without using > "extars"?? > I need to access MyOwnObject in Atctivity 1 from Activity2 > Possible with using sta

  1   2   >