[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

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

[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] 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: 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: 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: 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: 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] 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: 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] 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: 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: 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: 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: 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] 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: How to get all table names in SQL database

2009-07-28 Thread Sujay Krishna Suresh
.tables is the sql instruction to retrieve all the tables in the db. try executing it asa sql statement with rawQuery. On Tue, Jul 28, 2009 at 12:45 PM, guishenl...@gmail.com guishenl...@gmail.com wrote: Hi all, I'm working at an application about SQLite database. I have inserted some

[android-developers] Re: Help in the HelloMapView tuto

2009-07-24 Thread Sujay Krishna Suresh
Can u plz explain ur prob in detail? N if possible plz post ur code snippet so that it'd be easier to identify ur prob. On Fri, Jul 24, 2009 at 7:40 PM, sweet junkbr...@gmail.com wrote: It's seems like the Internet permission doesn't work. -- Regards, Sujay Mike Ditka

[android-developers] Re: Help with GLSurfaceView

2009-07-23 Thread Sujay Krishna Suresh
Krishna Suresh sujay.coold...@gmail.com wrote: Hi micah, thnx for the reply, but my requirement is to rotate the entire view. Say for example i need to provide the user a 3d desktop kinda ui, on rotation of the cube a whole view/viewgroup needs to rotate. thats y i need

[android-developers] Help with GLSurfaceView

2009-07-22 Thread Sujay Krishna Suresh
Hi all, How can one use a GLSurfaceView similar to a ViewGroup, in the sense of adding Views(CustomViews) over it??? Is there any means to make the GLSurfaceView be the canvas on which the view draws its contents? -- Regards, Sujay Ogden Nash

[android-developers] Re: Help with GLSurfaceView

2009-07-22 Thread Sujay Krishna Suresh
stack several views on top of each other. Note: I don't know if it works with GLSurfaceView, but it should be pretty easy to test by just copying a couple of the API demos into one app. On Jul 22, 7:57 am, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: Hi all, How can one

[android-developers] Re: Help in the HelloMapView tuto

2009-07-21 Thread Sujay Krishna Suresh
wats the sdk version tat u r using?? On Tue, Jul 21, 2009 at 12:34 PM, sweet junkbr...@gmail.com wrote: Nobody can help me ??? -- Regards, Sujay Samuel Goldwynhttp://www.brainyquote.com/quotes/authors/s/samuel_goldwyn.html - I'm willing to admit that I may not always be right, but I am

[android-developers] Re: Help in the HelloMapView tuto

2009-07-21 Thread Sujay Krishna Suresh
If u r using 1.5 it may be a simple ide config change. go to window-preferences-android select the platform as Google Apis and press apply then ok. Now ur ide should be able to resolve the MapActivity class On Tue, Jul 21, 2009 at 12:42 PM, Sujay Krishna Suresh sujay.coold...@gmail.com wrote

[android-developers] Re: Do i need to release the static variable and remove the listener when the app is closed?

2009-07-16 Thread Sujay Krishna Suresh
Yes, it is best to do that... But i tried adding this as a ShutdownHook, but it failed to execute on app exit... I'd suggest that u release resources used by an activity in its onDestroy method. On Thu, Jul 16, 2009 at 5:03 PM, Ivy ytang1...@gmail.com wrote: i have some static variables and

[android-developers] Re: Do i need to release the static variable and remove the listener when the app is closed?

2009-07-16 Thread Sujay Krishna Suresh
primitive statics will be taken care. jus make others null. in onPause() unregister in onResume register again. 2009/7/16 Ivy ytang1...@gmail.com I register a SensorListener,where should i unregister it? In which method? And how to release statics? On 7月16日, 下午7时39分, Sujay Krishna Suresh

[android-developers] Re: Do i need to release the static variable and remove the listener when the app is closed?

2009-07-16 Thread Sujay Krishna Suresh
? And how to release statics? On 7月16日, 下午7时39分, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: Yes, it is best to do that... But i tried adding this as a ShutdownHook, but it failed to execute on app exit... I'd suggest that u release resources used by an activity

[android-developers] Re: Is Zoom in And Zoom out is Possible for Image View In android............

2009-07-15 Thread Sujay Krishna Suresh
desu, plz make use of the zoomcontrols widget available... it will make things easier for u... On Wed, Jul 15, 2009 at 5:12 PM, hanged_man majd...@gmail.com wrote: Hi Desu, i thought you were trying to implement your own image viewer and implementing your own Zoom in out buttons, therefore i

[android-developers] Re: Is Zoom in And Zoom out is Possible for Image View In android............

2009-07-15 Thread Sujay Krishna Suresh
, Desu Vinod Kumar vinny.s...@gmail.comwrote: HI i want to use it by touch events not by key events for Zoomcontrol widget is it possibe ... can u tell me where will get the tutorials or examples regarding this? On Wed, Jul 15, 2009 at 5:17 PM, Sujay Krishna Suresh sujay.coold...@gmail.com

[android-developers] help with Text size

2009-07-14 Thread Sujay Krishna Suresh
Hi all, I have a user preference to get the text size in my application. It works fine when it is used with textView.setTextSize(textsize); but when i use it with paint.setTextSize(textsize) then canvas.drawtext(), the size becomes t large... Plz help me with this... is

[android-developers] Re: Is Zoom in And Zoom out is Possible for Image View In android............

2009-07-14 Thread Sujay Krishna Suresh
desu, u shd get d zoom controls on tap... if u want ur own zoom in zoom out jus make use of the bitmap functions for scaling. On Wed, Jul 15, 2009 at 11:12 AM, Desu Vinod Kumar vinny.s...@gmail.comwrote: HI I am not getting this .. how the image vl zoom in and zoom out here.. On

[android-developers] Re: picasa

2009-07-10 Thread Sujay Krishna Suresh
This is the src... Intent temp = new Intent(Intent.ACTION_SEND); temp.setType(image/jpeg); temp.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); temp.putExtra(Intent.EXTRA_STREAM, imageURI); temp.setComponent(new ComponentName( com.google.android.apps.uploader,

[android-developers] Re: GPS signal strength

2009-07-10 Thread Sujay Krishna Suresh
@kalyan Thnx for the reply John... I need both informations and any kinda sample code would be of gr8 help... Regards, Kalyan Simhan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Rotating map view

2009-07-03 Thread Sujay Krishna Suresh
Hi all, i'm tryin to give a better experience to the user by rotating the map, similar to maps shown by games. the user always stays at the center of the screen n the road that he's moving on is always perpendicular to the screen top. i'm using canvas.save(matrixflag);

[android-developers] Rotating map view

2009-07-03 Thread Sujay Krishna Suresh
Hi all, i'm tryin to provide a better experience to the user by rotating the map, as in some games. i want the user to always be in the center of the screen the road he's travelling to be perpendicular to the screen top. plz help with suggestions n sample codes. thanks in advance.

[android-developers] Re: Access drawable resources from ItemizedOverlay

2009-07-03 Thread Sujay Krishna Suresh
if u jus need resources, have a static Context instance in ur launcher activity to which u assign the getApplicationContext() in the onCreate method. Now u hv access to ur app Context from any where in ur application. m not sure if this is the best method. But this is wat i could think of.. On

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

2009-07-02 Thread Sujay Krishna Suresh
A simpler solution would be to implement a textwatcher. On Thu, Jul 2, 2009 at 4:12 PM, Saurav Mukherjee to.saurav.mukher...@gmail.com wrote: thats pretty simple. run a thread with a while(no of chars max){} . wen it exceeds, the while stops and then send a Message to a message handler to

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

2009-07-02 Thread Sujay Krishna Suresh
, Jul 2, 2009 at 4:35 PM, Chris narendrasingh.bi...@gmail.com wrote: Whats is this stuff(textwatcher) man?? On Jul 2, 3:48 pm, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: A simpler solution would be to implement a textwatcher. On Thu, Jul 2, 2009 at 4:12 PM, Saurav Mukherjee

[android-developers] Re: use of superscript in textview

2009-07-02 Thread Sujay Krishna Suresh
Check out http://developer.android.com/reference/android/text/style/SuperscriptSpan.html On Thu, Jul 2, 2009 at 5:29 PM, jaimin jaiminmeht...@gmail.com wrote: hi i am new to android i devlope an application where i have to use superscript in textview . But i do not know how that can be done

[android-developers] Re: implementation of picture gallery

2009-07-02 Thread Sujay Krishna Suresh
the cause should be the adapter u use... plz post ur adapter code so tat we can help u better... On Thu, Jul 2, 2009 at 9:56 PM, ankit_cb...@yahoomail.com ankit.ag...@gmail.com wrote: Please help, I am trying to implement picture gallery in my application but it's not scrolling smoothly

[android-developers] Settings activity

2009-06-29 Thread Sujay Krishna Suresh
Hi everyone,. i need to build an activity tat looks similar to the settings page... can anyone gimme sample code or some examples... -- Regards, Sujay Alfred Hitchcockhttp://www.brainyquote.com/quotes/authors/a/alfred_hitchcock.html - Television has brought back murder into the

[android-developers] Re: How to call an activity of other app from another app

2009-06-25 Thread Sujay Krishna Suresh
, Manoj. On Jun 25, 10:49 am, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: yes it is possible... make use of the setcomponentname method in ur intent... On Thu, Jun 25, 2009 at 11:16 AM, manoj manojkumar.m...@gmail.com wrote: Hi, How can I call an activity of app A from

[android-developers] Wat to buy???

2009-06-25 Thread Sujay Krishna Suresh
Hi everyone, i live in India and i wanna own an android phone... can anyone gimme suggestions as to wat phone i can buy, from where to buy wat'd be d approx cost??? -- Regards, Sujay Laurence J. Peterhttp://www.brainyquote.com/quotes/authors/l/laurence_j_peter.html - If two

[android-developers] Re: Passing in a Bitmap as the EXTRA_STREAM parameter when launching an Intent

2009-06-25 Thread Sujay Krishna Suresh
If u need the image, u definitely have to write it to a file... Use the Images.EXTERNAL_CONTENT_URI.buildUpon() to build a new uri for ur image then use getcontentresolver.openoutputstream to get the outputstream for the uri, write the image content to the outputstream... now u hv persisted ur

[android-developers] Re: Passing in a Bitmap as the EXTRA_STREAM parameter when launching an Intent

2009-06-25 Thread Sujay Krishna Suresh
If u wanna delete the file once the Target activity is over, u can do that in ur onActivityResult(). but i wont guarantee that this will always work bec, if the activity internally triggers a service n dies then u'll have a problem deleting it... if u r mainitaining the status of the file(sent or

[android-developers] Re: Passing in a Bitmap as the EXTRA_STREAM parameter when launching an Intent

2009-06-25 Thread Sujay Krishna Suresh
one thing u could do is use a fileobserver, check when the file is opened,accessed n closed, on close delete it... this is also jus a suggestion... i havent tried it yet... On Fri, Jun 26, 2009 at 11:13 AM, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: If u wanna delete the file once

[android-developers] Re: How to call an activity of other app from another app

2009-06-24 Thread Sujay Krishna Suresh
yes it is possible... make use of the setcomponentname method in ur intent... On Thu, Jun 25, 2009 at 11:16 AM, manoj manojkumar.m...@gmail.com wrote: Hi, How can I call an activity of app A from app B. Is it possible? if so how? Thanks, Manoj. -- Regards, Sujay Yogi Berra

[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

[android-developers] Re: picasa

2009-06-22 Thread Sujay Krishna Suresh
... Thanks, -RS On Jun 22, 2:32 pm, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: 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

[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: 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: @ 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: 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: 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: 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: 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: 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: 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: 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: 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,

  1   2   >