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

2009-09-15 Thread Sujay Krishna Suresh
+ On Tue, Sep 15, 2009 at 12:38 PM, RSTanvir tanvircue...@gmail.com wrote: + On Sep 15, 1:14 pm, Saurav to.saurav.mukher...@gmail.com wrote: + Regards, Saurav Mukherjee. On Tue, Sep 15, 2009 at 12:10 AM, Mobidev android.mobi...@gmail.com wrote: . Once upon a

[android-developers] Re: How to launch my app if some one browses any xml file

2009-09-24 Thread Sujay Krishna Suresh
On Thu, Sep 24, 2009 at 5:00 PM, manoj manojkumar.m...@gmail.com wrote: HI all, I want your help for my app. The following is my new requirement. I have written a rss reader app. Now my requirement is to launch the app when we browse any xml/rss link. I mean if I type the xml/rss link in

[android-developers] Re: Picasa intent return code

2009-09-24 Thread Sujay Krishna Suresh
On Thu, Sep 24, 2009 at 8:15 PM, Zuli paolo.zuli...@gmail.com wrote: Hi, I use the standard Picasa upload activity in my application to send images to the user Picasa account, but everytime the Picasa activity returns in my onActivityResult function the return code is RESULT_CANCELED, no

[android-developers] Re: How to use a buildin drawable resource?

2009-10-10 Thread Sujay Krishna Suresh
U can use findViewById() to get the view, n then use android.R.* in the java class associated. Dunno a soln in XML. Sujay On Sat, Oct 10, 2009 at 4:20 PM, Victor Lin borns...@gmail.com wrote: I need to use some buildin drawable I found in

[android-developers] Custom ANR messages

2009-10-12 Thread Sujay Krishna Suresh
Hi, i'd like to no if there's any possibility for an application to provide a custom ANR message to be displayed to the user? This will make sure that the customer is not confused when an ANR pops up. Thanks, Sujay --~--~-~--~~~---~--~~ You received this

[android-developers] Re: Custom ANR messages

2009-10-12 Thread Sujay Krishna Suresh
Is there some other way??? Sujay On Mon, Oct 12, 2009 at 4:39 PM, Mark Murphy mmur...@commonsware.comwrote: Sujay Krishna Suresh wrote: i'd like to no if there's any possibility for an application to provide a custom ANR message to be displayed to the user? Not from an SDK

[android-developers] Re: Custom ANR messages

2009-10-12 Thread Sujay Krishna Suresh
Thnx for the replies Mark. I shall try to avoid ANRs as much as i can. Sujay On Mon, Oct 12, 2009 at 5:19 PM, Mark Murphy mmur...@commonsware.comwrote: Sujay Krishna Suresh wrote: Is there some other way??? Write your app to avoid ANRs. Or, modify the firmware to customize the ANR

Re: [android-developers] Got 12 Google Wave invitations to use, let me know if you need

2009-11-09 Thread Sujay Krishna Suresh
Hi i need one tooo. Sujay On Mon, Nov 9, 2009 at 9:47 PM, Vincent Chan venc...@gmail.com wrote: Hi,send me one.Thanks! Vincent Chan On Tue, Nov 10, 2009 at 00:12, dave dayong...@gmail.com wrote: Hi all, I just got 12 Google Wave invitations to use, please let me know if you need

[android-developers] Help with speech recognition

2010-02-21 Thread Sujay Krishna Suresh
Hi all, Is there any one who has used the RecognizerIntent API to recognize speech??? Is it available only in certain phones??? Can it be tested in the emulator??? If yes which target version should be used? Thanks, Sujay -- You received this message because you are subscribed to the

[android-developers] Notification Like UI

2009-07-30 Thread Sujay Krishna Suresh
Hi all, i need to implement a UI component similar to the Notification Area in the android os. That is on click i wanna fill the screen with my view, show certain options to the user it should always be on top of all Activities in my application. onFling up i'll minimize the view

[android-developers] Re: Tut (SDK 1.5) Get google account of user

2009-08-01 Thread Sujay Krishna Suresh
the service null in the getCredentials call and add the permission com.google.android.googleapps.permission.GOOGLE_AUTH.OTHER_SERVICES to the manifest then it works! Thanks for the help Sujay. I was working at this for a long time! On Jun 9, 9:18 am, Sujay Krishna Suresh

[android-developers] Re: the user data image is used by another emulator. aborting

2009-08-03 Thread Sujay Krishna Suresh
Dear siva, if u r in windows use the task manager if u r in linux use system monitor. Check if the emulator process is already running. If so kill it. Now ur prob shd be solved. On Mon, Aug 3, 2009 at 2:55 PM, Siva siva...@gmail.com wrote: Hi all when im running my emulator i

[android-developers] Re: how to access several xml views in my activity?

2009-08-06 Thread Sujay Krishna Suresh
Make use of the layout that best suits ur app... Make use of findViewByID to get ur xml's as views n layout them.. Then setContentView(ur Layout); On Thu, Aug 6, 2009 at 4:18 PM, zeeshan genx...@gmail.com wrote: Hi Dear, i have created some xml layout: 1- toplayout.xml 2- botlayout.cml 3-

[android-developers] Re: Is there any alternative of ImageIO class in Android?

2009-08-10 Thread Sujay Krishna Suresh
make use of the BitmapFactory class's static methods. On Mon, Aug 10, 2009 at 1:36 PM, javame_android su...@saltriver.com wrote: Hi, I want to port Java Application to Android. The application is based on JOGL. For implementing Texture part I need to find out an alternative to ImageIO

[android-developers] Text-To-Speech library

2009-08-10 Thread Sujay Krishna Suresh
Hi all, is there any text to speech library in 1.5?? if so where is it??? how can we use it?? -- Regards, Sujay Charles de Gaullehttp://www.brainyquote.com/quotes/authors/c/charles_de_gaulle.html - The better I get to know men, the more I find myself loving dogs.

[android-developers] Re: Text-To-Speech library

2009-08-10 Thread Sujay Krishna Suresh
??? On Mon, Aug 10, 2009 at 5:11 PM, Mark Murphy mmur...@commonsware.comwrote: Sujay Krishna Suresh wrote: is there any text to speech library in 1.5?? if so where is it??? how can we use it?? There is no TTS library in the Android SDK. However, there is a third-party TTS library

[android-developers] Re: sharing database across applications

2009-08-11 Thread Sujay Krishna Suresh
My suggestion'd be to go for the custom content provider. That'd make things much easier for u... But thats me. It depends on ur application its current architecture. On Tue, Aug 11, 2009 at 10:43 AM, Acchao blazin...@gmail.com wrote: What's the most convenient way to share a database across

[android-developers] Re: About Custom Views

2009-08-13 Thread Sujay Krishna Suresh
An onLayout is required. On Thu, Aug 13, 2009 at 11:55 AM, Bishesh Manandhar coldda...@gmail.comwrote: *I have used three custom views... playpanel works fine.. but drawHeaderpanel does not workk..* public class MainPanel extends Activity { @Override protected void onCreate(Bundle

[android-developers] Pointers for import/export of application db

2009-08-18 Thread Sujay Krishna Suresh
Hi all, i'm currently workin on the import/export functionality, for my app. I need to be able to export the db in csv, kml n gpx format. N be able import them as well. i did notice the .mode operation in sqlite3, but how do i use it to export my db as csv?? but .dump always gives

[android-developers] Re: EditText Bug?

2009-08-19 Thread Sujay Krishna Suresh
try using setClickabe(false); On Wed, Aug 19, 2009 at 5:29 PM, Chirag Patel chi...@gmail.com wrote: Hi has anyone else experienced this behaviour: I have a simple EditText field in one of my Activities. If I set the field to disabled, it greys out and I cannot enter text with the hardware

[android-developers] Re: how and where to save SecretKey for encryption and decryption

2009-08-26 Thread Sujay Krishna Suresh
I think its better to ask the user for the secret key rather than storin it smwhere. On Wed, Aug 26, 2009 at 4:30 PM, zeeshan genx...@gmail.com wrote: Hi Dear, i wrote a small application which encrypt some files using a secret key. i need to decrypt files on 2nd run which requires same

[android-developers] Re: how and where to save SecretKey for encryption and decryption

2009-08-26 Thread Sujay Krishna Suresh
this link for encryption and decryption http://www.java2s.com/Tutorial/Java/0490__Security/UsingCipherInputStream.htm On Aug 26, 12:11 pm, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: I think its better to ask the user for the secret key rather than storin it smwhere. On Wed

[android-developers] Re: how and where to save SecretKey for encryption and decryption

2009-08-26 Thread Sujay Krishna Suresh
if this help File keyFile = new File(data/data/package name/key); i followed this link for encryption and decryption http://www.java2s.com/Tutorial/Java/0490__Security/UsingCipherInputSt. .. On Aug 26, 12:11 pm, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: I think its

[android-developers] Re: maps display issue

2009-08-26 Thread Sujay Krishna Suresh
use mapview.pan* On Wed, Aug 26, 2009 at 6:23 PM, Honest honestsucc...@gmail.com wrote: Hello, I am displaying Maps in my application. I am adding some GeoPoint in it and displaying picture at particular point. Now my problem is my screen is not directly displaying that point. Instead of

[android-developers] Re: how and where to save SecretKey for encryption and decryption

2009-08-26 Thread Sujay Krishna Suresh
On Wed, Aug 26, 2009 at 7:16 PM, zeeshan genx...@gmail.com wrote: key never change once its been created. as i know SecretKey generates by a funtion as above, how can i set it as constant can you plz provide example? On Aug 26, 1:39 pm, Sujay Krishna Suresh sujay.coold...@gmail.com

[android-developers] Re: ProgressDialog on Oncreate method

2009-08-26 Thread Sujay Krishna Suresh
On Wed, Aug 26, 2009 at 7:43 PM, AntoniMG tonio...@gmail.com wrote: Hi, We are having some problems showing a ProgressDialog on a onCreate method (for example, when the app calculates some operations before starts). This is a example of what is our problem: public class dialog extends

[android-developers] Re: Can Android application APK re-installed in windows Emulator?

2009-08-27 Thread Sujay Krishna Suresh
s u can... jus use adb uninstall package-name n then adb install apk-file On Thu, Aug 27, 2009 at 12:09 PM, Rahul Bhagwat rahul3...@gmail.com wrote: Can we uninstall android Application packages such as Music, Media Provider application and re-intsaller it in windows android emulator? I've

[android-developers] Re: Views not getting Clear

2009-08-27 Thread Sujay Krishna Suresh
archana, i guess u r using image views or atleast images for the backgrounds. If thats the case, u'll hv to call the bitmap.recycle() method to clear memory occupied by the bitmap. On Thu, Aug 27, 2009 at 7:37 PM, Archana archana.14n...@gmail.com wrote: Hi, I am using 5 views in one

[android-developers] Re: Using PhoneState Listener and Services

2009-05-25 Thread Sujay Krishna Suresh
Hi guys, i'm using the foll code snippet in my program to display the user's phone number... TelephonyManager tm = (TelephonyManager) getSystemService(TELEPHONY_SERVICE); phNoText.setText(You are : + tm.getLine1Number()); i'm getting a no in the emulator... but when i try

[android-developers] Re: Using PhoneState Listener and Services

2009-05-25 Thread Sujay Krishna Suresh
Thanks a lot for the fast response mark... but i think its not associated with the sim bec i tried this with abt 10 diff sim cards i'm wasting a lot of money for this... i'd like to no wats goin wrong... is there any mechanism to check whether my sim cards r rejecting the call??? -- Regards,

[android-developers] Re: Always-showing view among activities

2009-05-25 Thread Sujay Krishna Suresh
We'd be able to understand ur prob better if u could post ur code snippet that's responsible for this... -- Regards, Sujay Walt Disney http://www.brainyquote.com/quotes/authors/w/walt_disney.html - I love Mickey Mouse more than any woman I have ever known.

[android-developers] Re: Using PhoneState Listener and Services

2009-05-25 Thread Sujay Krishna Suresh
hey mark... you've got anythin for me?? i sent u a reply but didnt get back a response... plz do respond man.. this thin is killin me... On Tue, May 26, 2009 at 12:52 AM, GT burlysk...@gmail.com wrote: Oh ok. So I guess I should stick with the service because I want it to

[android-developers] Re: finding content providers

2009-05-25 Thread Sujay Krishna Suresh
wat kinda content??? media or contacts or wat??? On Tue, May 26, 2009 at 10:46 AM, Jason Proctor ja...@particularplace.comwrote: can i programmatically get a list of content providers extant on the system? tx -- jason.software.particle -- Regards, Sujay Walt Disney

[android-developers] Re: finding content providers

2009-05-26 Thread Sujay Krishna Suresh
i think u shd read this first... Querying a Content Provider You need three pieces of information to query a content provider: The URI that identifies the provider The names of the data fields you want to receive The data types for those fields this is frm

[android-developers] Re: blocking click and focus on layout and on all children

2009-05-26 Thread Sujay Krishna Suresh
setclickable(false) shd help u i guess... On Tue, May 26, 2009 at 5:54 PM, daniel.benedykt daniel.bened...@gmail.comwrote: Hi I was wondering if its possible to block the onclick events on a layout and all the children inside the layout. for example, I have a LinearLayout and inside that

[android-developers] Re: how do i kill an android application

2009-05-26 Thread Sujay Krishna Suresh
Say i wanna do something like java's System.exit(0)... jus to make sure that my application is not running anymore... I wanna kill my own app... not other apps... this should be possible... On Tue, May 26, 2009 at 7:38 PM, Marco Nelissen marc...@android.com wrote: On Tue, May 26, 2009 at 6:56

[android-developers] Re: how do i kill an android application

2009-05-26 Thread Sujay Krishna Suresh
On Tue, May 26, 2009 at 5:13 PM, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: i tried that out... ddms says that the process died... but when i long press the home button to see the running apps, i see mine as well... then y does ddms say that the process was killed

[android-developers] Re: how do i kill an android application

2009-05-26 Thread Sujay Krishna Suresh
this is happening??? On Tue, May 26, 2009 at 8:35 PM, Mariano Kamp mariano.k...@gmail.comwrote: I never saw a need for that and don't know what would happen. Try it out. My guess would be, that you can kill the processes launched by your user id. On Tue, May 26, 2009 at 4:41 PM, Sujay Krishna

[android-developers] Re: how do i kill an android application

2009-05-26 Thread Sujay Krishna Suresh
screen or to another app/activity. If you app is needed again Android OS will resurrect you app/activity. Just implement the proper call backs (onCreate/onResume/onPause etc.) and your good to go. On Tue, May 26, 2009 at 4:16 PM, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: Say i

[android-developers] Re: how do i kill an android application

2009-05-26 Thread Sujay Krishna Suresh
, if not it will be started first and then brought into the foreground. That's what I meant with Don't worry about it. Android OS manages that. On Tue, May 26, 2009 at 5:35 PM, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: hmm so wats the no of apps that are shown??? i get varyin no based

[android-developers] Re: Help for decoding the camera data from the PreviewCallback

2009-05-26 Thread Sujay Krishna Suresh
i would recommend that u use the inbuilt camera application like, Intent i = new Intent(android.media.action.IMAGE_CAPTURE); startActivityForResult(i, 0); its faster n also is easier to use... u can get the bitmap in onactivityresult with Bitmap x = (Bitmap) data.getExtras().get(data); On Wed,

[android-developers] Re: Help for decoding the camera data from the PreviewCallback

2009-05-26 Thread Sujay Krishna Suresh
at 10:41 AM, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: i would recommend that u use the inbuilt camera application like, Intent i = new Intent(android.media.action.IMAGE_CAPTURE); startActivityForResult(i, 0); its faster n also is easier to use... u can get the bitmap

[android-developers] Help with google uploader application

2009-05-28 Thread Sujay Krishna Suresh
Hi everyone, i'm trying to build an application that captures an image shares it... 'm calling the inbuilt camera application with the following code code Intent i = new Intent(android.media.action.IMAGE_CAPTURE); startActivityForResult(i, 0); /code N my on activity result is

[android-developers] Help with Services

2009-05-28 Thread Sujay Krishna Suresh
Hi all, i'm starting an activity that inturn calls a service i wanna get notified when the service competes... can anyone temme how i can do this??? -- Regards, Sujay Bette Davis http://www.brainyquote.com/quotes/authors/b/bette_davis.html - Brought up to respect the

[android-developers] Re: Hide the virtual keyboard

2009-05-28 Thread Sujay Krishna Suresh
Hi alex i think u could solve ur problem by using the onTouchListener rather since it returns a boolean stating whether u handled the event or not if u want to show the keyboard return false... else return true... i'm not very sure that this is wat u want... but u can give it a try On

[android-developers] Re: Adding intent filter in code

2009-05-29 Thread Sujay Krishna Suresh
hi mark... can u give an example for option (2)?? On Fri, May 29, 2009 at 11:41 PM, Mark Murphy mmur...@commonsware.comwrote: Peli wrote: I thought, (1) only works for broadcast intents, not for activity intents? Does (2) work for activity intents? Both are for broadcast

[android-developers] help with google accounts

2009-05-31 Thread Sujay Krishna Suresh
hi, i want to get the google account which has been registered in the phone... the one that all the google apps use... is their any means to get hold of the username of the google account??? -- Regards, Sujay W. C. Fields http://www.brainyquote.com/quotes/authors/w/w_c_fields.html - I am

[android-developers] Re: help with google accounts

2009-05-31 Thread Sujay Krishna Suresh
does anyone no how i can use this permission to actually get the acc details??? On Mon, Jun 1, 2009 at 10:25 AM, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: hi, i want to get the google account which has been registered in the phone... the one that all the google apps use

[android-developers] Re: Problem in alarmclcock

2009-06-01 Thread Sujay Krishna Suresh
we could understand ur prob better if u could post the code thats givin u this prob... On Mon, Jun 1, 2009 at 12:54 PM, dark_messiah ricky.dreamwea...@gmail.comwrote: Hi All, I m trying to customize in built alarmclock...i have put a delete button in alarmclock which delete the selected view

[android-developers] Re: help with google accounts

2009-06-01 Thread Sujay Krishna Suresh
sayin Your Google Accounts discover known accounts does anyone no how i can use this permission to actually get the acc details??? On Mon, Jun 1, 2009 at 10:25 AM, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: hi, i want to get the google account which has been

[android-developers] Re: help with google accounts

2009-06-01 Thread Sujay Krishna Suresh
...@googlemail.com wrote: Looks like I was wrong! Could I take you up on your offer to post the code to do this? 2009/6/1 Sujay Krishna Suresh sujay.coold...@gmail.com I'm actually able to get the list of accounts registered in my app... its finally workin now... :) if anyone needs the samethin

[android-developers] Re: Append TextViews

2009-06-01 Thread Sujay Krishna Suresh
i think u r searching for the addcontentview method of an activity... try it... it may not be the soln... but try it... if its not plz give more details on ur prob... On Mon, Jun 1, 2009 at 5:18 PM, Sukitha Udugamasooriya suk...@gmail.comwrote: Hi, I need to append a new TextView s to the

[android-developers] Re: camera api

2009-06-01 Thread Sujay Krishna Suresh
i dunno how this camera api works... but if u jus need to take a pic u can use the in-built camera application... On Mon, Jun 1, 2009 at 7:47 PM, jaimin jaiminmeht...@gmail.com wrote: hi i am new to android . i want to devlope for camera api but i have some problem in my code when i tried

[android-developers] Re: Hide the virtual keyboard

2009-06-01 Thread Sujay Krishna Suresh
arent u able to use setfocus to give ur keypad the focus??? On Mon, Jun 1, 2009 at 8:03 PM, Alex B alexba...@gmail.com wrote: Anyone know how to suppress the soft keyboard? On May 29, 8:59 am, Alex B alexba...@gmail.com wrote: Actually, there's still a problem. I only want suppress

[android-developers] Re: help with google accounts

2009-06-01 Thread Sujay Krishna Suresh
Ya guys sorry for the mistake... was sleepy when i posted that... 2009/6/1 Luis Alberto Pérez García lui...@gmail.com You can put them... just in case ;) El lun, 01-06-2009 a las 13:22 +0530, Sujay Krishna Suresh escribió: I'm actually able to get the list of accounts registered in my app

[android-developers] Re: Using a service already started

2009-06-01 Thread Sujay Krishna Suresh
i'm not very sure whether this is what u r lookin for but u can make use of ActivityManager a = (ActivityManager) getSystemService(Activity.ACTIVITY_SERVICE); ListRunningServiceInfo servicesInfo= a.getRunningServices(15); for (RunningServiceInfo ele : servicesInfo) { if

[android-developers] Re: Restarting Camera Preview - Garbled for some resolutions

2009-06-01 Thread Sujay Krishna Suresh
hi sheado, can u post the code that u r using?? as of now i'm only using the in-built camera appln... where i'm not able to set the size of the image could u help me out with setting image size on this app... or can u plz post the code that u r using to make use of the camera

[android-developers] Re: Getting Current Location on my Device works on emulator but not on my device

2009-06-02 Thread Sujay Krishna Suresh
check if ur gps got a location fix... if the gps icon in the notification space keeps blinkin then there's some prob... u better move to a place where sunlight falls directly on ur phone then it might work... it worked for me tat way... but i dunno y... On Tue, Jun 2, 2009 at 2:47 PM,

[android-developers] Re: Getting Current Location on my Device works on emulator but not on my device

2009-06-02 Thread Sujay Krishna Suresh
, Sujay Krishna Suresh wrote: check if ur gps got a location fix... if the gps icon in the notification space keeps blinkin then there's some prob... u better move to a place where sunlight falls directly on ur phone then it might work... it worked for me tat way... but i dunno y

[android-developers] Help with ACTION_SEND

2009-06-02 Thread Sujay Krishna Suresh
Hi there, i'm writing a image uploader that takes the send intent... i want to provide support for bulk send... that is i should be able to attach many EXTRA_STREAM's to the intent... how can this be done??? -- Regards, Sujay George Bernard

[android-developers] Re: How to detect current screen is vertical or horizontal?

2009-06-03 Thread Sujay Krishna Suresh
use an orientation sensor... On Wed, Jun 3, 2009 at 2:13 PM, aby orz0...@gmail.com wrote: Hi, I need to set different content view after rotating device screen. Is there any method to detect the direction of current screen is vertical or horizontal?Thanks -- Regards, Sujay Mark Twain

[android-developers] Re: Licensing an Android application programatically.

2009-06-03 Thread Sujay Krishna Suresh
if i were u if my app already interacts with the web then i'll initially hit a url from the app with may the phone's unique id... i'll take care of everythin else at the web-side... this will make sure that there's not much change in my app's performance... but i dont exactly no if an android

[android-developers] Re: Licensing an Android application programatically.

2009-06-03 Thread Sujay Krishna Suresh
and query the number of times you've made the same call or the date you firstly made a call against the unique ID. Hope it helps! On Jun 3, 11:02 am, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: if i were u if my app already interacts with the web then i'll initially hit

[android-developers] Re: Licensing an Android application programatically.

2009-06-03 Thread Sujay Krishna Suresh
string or if the user enters a correct key set it to smthin else... the key validation is a onetime job... so i guess this will also not bother ur performance... On Wed, Jun 3, 2009 at 5:26 PM, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: aayush, if u r goin for client-side implementations

[android-developers] Re: Licensing an Android application programatically.

2009-06-03 Thread Sujay Krishna Suresh
But a drawback is that if not properly checked,the same key could be used with any no of ur apps... On Wed, Jun 3, 2009 at 5:29 PM, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: N one of my friends suggested that u make use of the serial key system for differentiating bet licensed

[android-developers] Re: help with google accounts

2009-06-03 Thread Sujay Krishna Suresh
Has anyone tried this in 1.5??? i'm plannin to move on to 1.5... jus wanted to make sure it works there as well... On Tue, Jun 2, 2009 at 10:27 AM, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: Ya guys sorry for the mistake... was sleepy when i posted that... 2009/6/1 Luis Alberto

[android-developers] Can we go back to older versions?

2009-06-03 Thread Sujay Krishna Suresh
Hi everyone, i upgraded my adp1 to 1.5... once the reboot was complete many of my apps stopped workin... now i wanna go back to 1.1... how do i do this?? -- Regards, Sujay George Bernard Shawhttp://www.brainyquote.com/quotes/authors/g/george_bernard_shaw.html - A government that robs

[android-developers] Re: Help with google uploader application

2009-06-03 Thread Sujay Krishna Suresh
of such an app jus send me a request... On May 28, 11:35 am, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: Hi everyone, i'm trying to build anapplicationthat captures an image shares it... 'm calling the inbuiltcameraapplicationwith the following code code

[android-developers] Re: Fwd: Activity to service on click of BACK (arrow key on dev) and bring the same activity on click of notification

2009-06-04 Thread Sujay Krishna Suresh
... Is it possible for an activity to avoid destroy mode ... and make activity in pause mode instead... Kindly let me know.. thanks regards sheik On Jun 3, 7:45 pm, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: use onkeylistener check if keycode matches back start ur service here

[android-developers] Re: Menu should be on the Image

2009-06-04 Thread Sujay Krishna Suresh
this is very much possible by setting the image as the background with the help of proper layouts jus use buttons for each menu item... On Thu, Jun 4, 2009 at 12:21 PM, Desu Vinod Kumar vinny.s...@gmail.comwrote: Here I'm enclosed the Image On Thu, Jun 4, 2009 at 12:20 PM, android.vinny

[android-developers] Re: how to convert Picture object to Bitmap object?

2009-06-04 Thread Sujay Krishna Suresh
If u r talking in the context of storing a canvas to a bitmap, then i'd ask u to use the canvas constructor that takes a bitmap as arg... once ur drawing is complete, jus store this bitmap... that'll do... On Thu, Jun 4, 2009 at 2:47 PM, Saurav Mukherjee to.saurav.mukher...@gmail.com wrote:

[android-developers] SOS

2009-06-04 Thread Sujay Krishna Suresh
hey guys, i need to know wen actually the picasa upload service completes uploading... i need to no this bec i'm using this service to send images to picasa webalbum... is there any means to do this? i tried bindService but got back an exception sayin my app doesnt hv permission to

[android-developers] Re: onclick event works even on top of the another view

2009-06-05 Thread Sujay Krishna Suresh
I'll advice u to make use of viewgroups... i think then u'll be able to differentiate between between the listeners of the two views... but i'm not sure... if it works out do lemme no... On Fri, Jun 5, 2009 at 11:21 AM, quill quill...@163.com wrote: Hi Jyotiranjan, you can override the bottom

[android-developers] Re: Fwd: Activity to service on click of BACK (arrow key on dev) and bring the same activity on click of notification

2009-06-05 Thread Sujay Krishna Suresh
explaintion on the scenario is clear..if not let me know ..i shall brief again ... thanks for the suggestion and replying back.. regards, sheik On Jun 4, 11:53 am, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: i don't think its possible as of now... its handled by the os... so i

[android-developers] Tut (SDK 1.5) Get google account of user

2009-06-05 Thread Sujay Krishna Suresh
hi guys i finally got a simple method to get the google accounts in SDK 1.5... i'm attaching the code for everyone who needs this piece of code... This piece of code prints all methods in the class invokes the static method getAccount... try { for (Method ele :

[android-developers] Re: Tut (SDK 1.5) Get google account of user

2009-06-05 Thread Sujay Krishna Suresh
to get the email address of the phones owner, used when setting up the phone? I.e. the email address of the google account tied to to the phone? On Jun 5, 7:54 am, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: hi guys i finally got a simple method to get the google accounts in SDK 1.5

[android-developers] Re: Get latitude longitude of center of MapView

2009-06-05 Thread Sujay Krishna Suresh
mymap.getProjection().fromPixels(x, y) On Fri, Jun 5, 2009 at 5:33 PM, mscwd01 mscw...@gmail.com wrote: Ok that sounds great but how would one do this? ;) What projection functions do you speak of? On Jun 5, 1:00 pm, Saurav Mukherjee to.saurav.mukher...@gmail.com wrote: if u r using the

[android-developers] Re: Tut (SDK 1.5) Get google account of user

2009-06-05 Thread Sujay Krishna Suresh
be useful isn't it a major privacy issue? Imagine unscrupilous developers getting the auth token and then logging into the users gmail account etc? Or have I misunderstood something here? On Jun 5, 1:06 pm, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: to be more specific it gives

[android-developers] Re: How to write .jpg/.png file to gallery in Android

2009-06-07 Thread Sujay Krishna Suresh
use the compress method of bitmap like, bitmap.compress(Bitmap.CompressFormat.Ur format, Quality, Outputstream); On Fri, Jun 5, 2009 at 10:25 AM, Pump wrath.of.an...@gmail.com wrote: I've developed an app. taking picture and save on the gallery. The problem is I don't know how to save it to

[android-developers] OnSaveInstanceState help

2009-06-07 Thread Sujay Krishna Suresh
Hi everyone, i need to make sure that the contents of my activity dont change(or atleast retained to the same state) when the orientation is changed. i found a method called onSaveInstanceState in the activity... but i'm not sure on how to use it efficiently also i wanna no if

[android-developers] Re: picasa application for android

2009-06-07 Thread Sujay Krishna Suresh
wats ur requirement? if u jus need to no how to ue the in-built picasa app... then i can help... jus lemme no... On Mon, Jun 8, 2009 at 10:51 AM, Arun achoudhary2...@gmail.com wrote: Hi I have a specific requirement to design a application for picasa or a brouser short cut for the same. If

[android-developers] Re: How to just capture the updated screen data instead of reading all data from framebuffer?

2009-06-07 Thread Sujay Krishna Suresh
Ruiming, dont keep buzzin... if anyone nos the answer they'll let u no... u need to be patient... On Mon, Jun 8, 2009 at 11:10 AM, Ruiming Li robert.li.ruim...@gmail.comwrote: any help? On Mon, Jun 8, 2009 at 9:40 AM, Ruiming Li robert.li.ruim...@gmail.comwrote: Hi experts,

[android-developers] Re: Tut (SDK 1.5) Get google account of user

2009-06-08 Thread Sujay Krishna Suresh
this tut is actually to help u get those credentials without having to worry abt anything... if u hv enough time to explore then there's definitely a very simple more efficient time using this... rather than forming ur own http requests... On Sat, Jun 6, 2009 at 2:24 AM, ubikdroid

[android-developers] Re: Tut (SDK 1.5) Get google account of user

2009-06-08 Thread Sujay Krishna Suresh
I started this discussion to provide a tut for ppl interacting with google services frm their app... plz chk out my 1st post On Tue, Jun 9, 2009 at 10:41 AM, André Charles Legendre andre.legen...@gmail.com wrote: Hi Sujay What tut are you talking about ? -- Regards, Sujay Dave

[android-developers] Re: Tut (SDK 1.5) Get google account of user

2009-06-09 Thread Sujay Krishna Suresh
post helped me get the username) before obtaining a SID from the Google ClientLogin API which isn't ideal. Any help much appreciated. Mark On Jun 9, 6:08 am, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: this tut is actually to help u get those credentials without having to worry

[android-developers] Icons on Context Menu

2009-06-09 Thread Sujay Krishna Suresh
Hi all, I want to add icons to the menuitems in my context menu. i tried it as MenuItem item = menu.add(text); item.setIcon(image); where image is a Drawable. but it doesnt work... can anyone temme y how to display icons for Context menu items?? -- Regards, Sujay Dave Barry

[android-developers] Re: Google Data APIs Client Libraries

2009-06-13 Thread Sujay Krishna Suresh
I also tried using it... But according to one of the developers its not usable in android (or any other mob platform) if u jus need a lil data from google then try this... This piece of code prints all methods in the class invokes the static method getAccount... try { for (Method ele :

[android-developers] Re: @ Android-Dev-Team: Request for AsyncTask.getThread() method

2009-06-16 Thread Sujay Krishna Suresh
instead of joining threads... u need to use a handler and a thread... n keep sending msgs from the thread to the handler... the handler jus reads the message say for the amt of progress n updates d progress bar accordingly... i think this mght help u... jus try it out... On Tue, Jun 16, 2009 at

[android-developers] Re: How to add a new library to android source

2009-06-16 Thread Sujay Krishna Suresh
to add a new library u jus need to go to the project properties add d jars... On Tue, Jun 16, 2009 at 4:21 PM, Arun achoudhary2...@gmail.com wrote: Hi All, I have an specific requirement to write a new library in android source and an simple client application on top of that. which uses

[android-developers] Re: SQL Query

2009-06-17 Thread Sujay Krishna Suresh
hi manju, be patient. if smone nos d ans 2 ur q, u'll get reply... till then try exploring other SQL specific groups since ur q may be addressed there better... On Wed, Jun 17, 2009 at 12:06 PM, Manjunatha M man...@gmail.com wrote: Please throw some light on this.. On Tue, Jun 9,

[android-developers] Re: Execute exe in android

2009-06-17 Thread Sujay Krishna Suresh
Hi, plz create ur own post since this is irrelevant to d topic. u shd try d drawtext with inbuilt random util... On Wed, Jun 17, 2009 at 12:07 PM, Bishesh Manandhar coldda...@gmail.comwrote: I m developing a game in Android,, and i m very novice to it.. according to my necessity, i

[android-developers] Re: ListView Doubt : Listen to clicks inside a ListView Item

2009-06-18 Thread Sujay Krishna Suresh
u shd use d setonclicklistener for each view in ur adapter n if u hv 2 fields, its best 2 use tablerow... On Fri, Jun 19, 2009 at 10:28 AM, Dexter#39;s Brain coomar@gmail.comwrote: Hi, I want to have the following functionality. I need to have a list view which should have two

[android-developers] Re: Image display from a url

2009-06-18 Thread Sujay Krishna Suresh
is the uri a content scheme or a http? On Thu, Jun 18, 2009 at 3:23 AM, Aayush aayush.g...@gmail.com wrote: HI, I want to display an image from a url, for this I defined the ImageView first as, ImageView android:id=@+id/imagename android:layout_width=wrap_content

[android-developers] Re: Reducing Image File size

2009-06-22 Thread Sujay Krishna Suresh
if u r using the bitmapfactory, then u can use the cofig to set sample size to watever u want... higher the samplesize lower the file size ( quality)... try it out... hope it helps u... On Mon, Jun 22, 2009 at 12:22 PM, Shrikant Agrawal shrikant...@gmail.comwrote: Hi Guys, I want to reduce

[android-developers] Re: Problem with setExtra

2009-06-22 Thread Sujay Krishna Suresh
by doesnt work do u mean that u r unable to read the extra in ur target activity? if so plz post d code tat u r usin for this purpose... so tat we can find d actual mistake.. On Mon, Jun 22, 2009 at 1:40 PM, Will wbc...@gmail.com wrote: I am trying to setExtra(string, int) in an Intent which

[android-developers] Re: [android-developers]

2009-06-22 Thread Sujay Krishna Suresh
That means that u r not connected via wi-fi... generally, apps that need a transfer huge amt of data use a wifi-lock they dont get connected if the wifi-connectivity is lost... On Mon, Jun 22, 2009 at 2:52 PM, Joe Petruchi petruchi.dr...@gmail.comwrote: Hi all Uploading pictures to picasa

[android-developers] Re: [android-developers]

2009-06-22 Thread Sujay Krishna Suresh
mobile so i am curious why it is not working in my mobile ? Any idea do we have to some setting in picasa also for the download to happen Regards Joe On Mon, Jun 22, 2009 at 3:06 PM, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: That means that u r not connected via wi-fi

[android-developers] Re: Best approach for making one variable available in another activity / class

2009-06-22 Thread Sujay Krishna Suresh
'm not sure if this's the best approach... if u r using intents to transfer control between the activities then i'd advice u to try using the putExtra method of the Intent class... u can read the extras in ur target activity by using getIntent.getExtras() method... jus give it a try... i hope this

[android-developers] Re: picasa

2009-06-22 Thread Sujay Krishna Suresh
I havent found any docs, but u can make use of the built-in picasa app (if u r workin in 1.5) to upload ur photos to picasa web albums, but one limitation is that u dont hv the control of signing in and signing out... it uses the google account registered with the phone curently... if ur

[android-developers] Re: Best approach for making one variable available in another activity / class

2009-06-22 Thread Sujay Krishna Suresh
: Sujay, thanks for this rapid response!!! Do you have a sample code to illustrate how this would be working ...? Thanks, Christian On 22 Jun., 15:29, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: 'm not sure if this's the best approach... if u r using intents to transfer control

  1   2   >