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

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 wrote: > Hi,send me one.Thanks! > Vincent Chan > > > > On Tue, Nov 10, 2009 at 00:12, dave wrote: > >> Hi all, >> >> I just got 12 Google Wave invitations to use, please let me know if >> you need one. >> >> Cheers. >>

[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 wrote: > > Sujay Krishna Suresh wrote: > > Is there some other way??? > > Write your app to avoid ANRs. > > Or, modify the firmware to cust

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

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

[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 wrote: > > I need to use some buildin drawable I found in > http://developer.android.com/reference/android/R.drawable.html > > I

[android-developers] Re: Picasa intent return code

2009-09-24 Thread Sujay Krishna Suresh
On Thu, Sep 24, 2009 at 8:15 PM, Zuli 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 matter if I cancel t

[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 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 the phone browser,

[android-developers] Re: Using Picasa Web Albums Data API in Android

2009-09-23 Thread Sujay Krishna Suresh
Try this snippet. If its wat u need go ahead.. otherwise post back with wat u require apart from this. 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.setCompon

[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 wrote: > > + > > On Sep 15, 1:14 pm, Saurav wrote: > > + > > > > 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.googl

[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 wrote: > > Hi, > > I am using 5 views in one LinearLayout my app.W

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

2009-08-26 Thread Sujay Krishna Suresh
s u can... jus use adb uninstall n then adb install On Thu, Aug 27, 2009 at 12:09 PM, Rahul Bhagwat wrote: > > Can we uninstall android Application packages such as Music, Media > Provider application and re-intsaller it in windows android emulator? > I've modified source code of these applica

[android-developers] Re: ProgressDialog on Oncreate method

2009-08-26 Thread Sujay Krishna Suresh
On Wed, Aug 26, 2009 at 7:43 PM, AntoniMG 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 Activity {

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

[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 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 it is display > US

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

2009-08-26 Thread Sujay Krishna Suresh
and show. > > > so only thing i understand is to store the key somewhere in the app so > > > i can access it for decryption. > > > just wondering if this help > > > File keyFile = new File("data/data/package name/key"); > > > > > i foll

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

2009-08-26 Thread Sujay Krishna Suresh
ckage name/key"); > > i followed 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 > wrote: > > I think its better to ask the user for the secr

[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 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 key again > pl

[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 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 keyboard, h

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

[android-developers] Re: About Custom Views

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

[android-developers] Re: sharing database across applications

2009-08-10 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 wrote: > > What's the most convenient way to share a database across > applications? >

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

2009-08-10 Thread Sujay Krishna Suresh
to speech conversion??? On Mon, Aug 10, 2009 at 5:11 PM, Mark Murphy wrote: > > 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. Howeve

[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 Gaulle - "The better I get to know men, the more I find myself loving dogs." --~--~---

[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 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 class. I have read

[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(); On Thu, Aug 6, 2009 at 4:18 PM, zeeshan wrote: > > Hi Dear, > > i have created some xml layout: > 1- toplayout.xml > 2- botlayout.cml > 3- middlelayout.xml >

[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 wrote: > > Hi all when im running my emulator i getting this error "

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

2009-08-01 Thread Sujay Krishna Suresh
I got it working. I tried before with the service set to > > > > "reader" but I got a SecurityException thrown even though I had the > > > > permission in the manifest. > > > > > > However, if you leave the service null in the getCredentials call

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

[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

[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 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
Yes. I need to do that.Can anybody plz help me with this?? On Wed, Jul 22, 2009 at 8:51 PM, Micah wrote: > > Ah, so you want to render your UI to a texture and then apply that > texture to a 3D object? If so then I don't know if/how to do that. :P > > On Jul 22, 8:09 am,

[android-developers] Re: Help with GLSurfaceView

2009-07-22 Thread Sujay Krishna Suresh
you just 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 > wrote: > > Hi all, > >

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

[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 wrote: > > Nobody can help me ??? > > > -- Regards, Sujay Samuel Goldwyn - "I'm willing to admit that I may not always be right, but I am never wrong.

[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
Never use finalize for anything i dont no if u can release static METHODS... 2009/7/16 Ivy > > Thank you for answer, but i have another question... > > How to release these static methods... > > And can i use the finalize to unregister the listener? > > On 7月16日

[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 > > I register a SensorListener,where should i unregister it? > In which method? > And how to release statics? > > On 7月16日, 下午7时39分, Sujay K

[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 wrote: > > i have some static variables and some registerListene

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

2009-07-15 Thread Sujay Krishna Suresh
5:22 PM, Desu Vinod Kumar wrote: > 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 < &

[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 wrote: > > Hi Desu, i thought you were trying to implement your own image viewer > and implementing your own "Zoom in & out" buttons, therefore i > recommend

[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 wrote: > > HI > > I am not getting this .. > > how the image vl zoom in and zoom out here.. > On 7/15/09, hang

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

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

[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", "com.google.android.a

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

[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] 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); canva

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

[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 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 so plz any body help

[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 wrote: > > Whats is this stuff(textwatcher) man?? > > On Jul 2, 3:48 pm, Sujay Krishna Suresh > wrote: > > A simpler solution would be to implement a textwatcher. > > > > On Thu, Jul 2, 2009 at 4:12 PM, Saurav Mukherjee < >

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

[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 Hitchcock - "Television has brought back murder into the

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

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

2009-06-25 Thread Sujay Krishna Suresh
more tip. > > > On Thu, Jun 25, 2009 at 10:24 PM, Sujay Krishna > Suresh wrote: > > 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 getcontentreso

[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] Wat to buy???

2009-06-24 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. Peter - "If two

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

2009-06-24 Thread Sujay Krishna Suresh
Intent i = new Intent(); //do all ur put extras set data's here... i.setComponent(new ComponentName(, )); startActivity(i); On Thu, Jun 25, 2009 at 11:29 AM, manoj wrote: > > can you show me some piece of code? > > Thanks, > Manoj. > > On Jun 25, 10:49 am, Suj

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

2009-06-22 Thread Sujay Krishna Suresh
get it... but as far as i no, u can get the token id... > > - And is there a possibility of tagging the photos? Commenting is very much possible... n geotagging is automatically done if u r using the in-built camera app... > > > Thanks, > -RS > > On Jun 22, 2:32 pm, Sujay Kri

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

2009-06-22 Thread Sujay Krishna Suresh
. wrote: > > 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 > wrote: > > 'm not sure if this's the best approach... > &g

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

[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: [android-developers]

2009-06-22 Thread Sujay Krishna Suresh
my friends 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.co

[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 wrote: > Hi all > > Uploading pictures to picasa always fails in my phon

[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 wrote: > > I am trying to setExtra(string, int) in an Intent which will be used > i

[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 wrote: > > Hi Guys, > > I want to reduce the size of my ima

[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 wrote: > > HI, > > I want to display an image from a url, for this I defined the > ImageView first as, > >android:id="@+id/imagename" > android:layout_width="wrap_content" > android:layout_height="wrap_content

[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's Brain wrote: > > Hi, > > I want to have the following functionality. > > I need to have a list view which should have two fields. I need to > li

[android-developers] Re: Execute exe in android

2009-06-16 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 wrote: > > I m developing a game in Android,, and i m very novice to it.. >> according to my necessity, i managed to slide dow

[android-developers] Re: SQL Query

2009-06-16 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 wrote: > Please throw some light on this.. > > On Tue, Jun 9, 2009 at 1:52

[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 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 > some of functions

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

2009-06-15 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 12

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

[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-09 Thread Sujay Krishna Suresh
ser to input their password (your 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 > wrote: > > this tut is actually to he

[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

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

[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 wrote: > any help? > > On Mon, Jun 8, 2009 at 9:40 AM, Ruiming Li wrote: > >> Hi experts, >> >> I just want to capture the updated screen

[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 wrote: > > Hi > > I have a specific requirement to design a application for picasa > or a brouser short cut for the same. > If any one have any p

[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: 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., , ); On Fri, Jun 5, 2009 at 10:25 AM, Pump 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 gallery in .jpg/.png format > > Anyone please help

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

2009-06-05 Thread Sujay Krishna Suresh
ul 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 > wrote: > > to be more specific i

[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 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 > wrote: > > if u r using the google api, then jus project the point

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

2009-06-05 Thread Sujay Krishna Suresh
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 > wrote: > > hi guys i finally got a simple method to get the google accounts in SDK > > 1.5.

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

2009-06-04 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 : Class.forName("com.google.android

[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
ethod in the keyvent >>> method.. >>> >>> Kindly suggest on the above written scenario...just like how it works >>> on MyTracks and BuddyRunner.. >>> >>> Hope my explaintion on the scenario is clear..if not let me know ..i >>> shall brief again

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

2009-06-04 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 wrote: > > Hi Jyotiranjan, > you can override the bottom view's onTouch

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

[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] Re: Menu should be on the Image

2009-06-03 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 wrote: > > Here I'm enclosed the Image > > > > On Thu, Jun 4, 2009 at 12:20 PM, android.vinny wrote: > >> >>

[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-03 Thread Sujay Krishna Suresh
t 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 > wrote: > > use onkeylistener check if keycode matches back...

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

2009-06-03 Thread Sujay Krishna Suresh
On Thu, Jun 4, 2009 at 9:31 AM, jaimin wrote: > > hi sujay krishna > i am new to android and i would also like to devlop applciation which > captures the images and save that images for upload so can u plz give > me your code for that application because i tried a lot but i sitll >

[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-03 Thread Sujay Krishna Suresh
use onkeylistener check if keycode matches back start ur service here & finish the rest i'm not sure on how to do... n u shd wait till u get a reply.. On Wed, Jun 3, 2009 at 8:10 PM, sheik wrote: > > > > Hello android developers.. > > i am not much familiar with service's and use of aid

[android-developers] Help with google account SDK 1.5

2009-06-03 Thread Sujay Krishna Suresh
Hi everyone, how can one get the google account associated with the phone?? i'm workin on SDK 1.5r2... i tried using the framework.jar from google but ended up in an error 06-03 18:54:50.527: ERROR/AndroidRuntime(1911): java.lang.IllegalAccessError: cross-loader access from pre

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

2009-06-03 Thread Sujay Krishna Suresh
> android.provider.Settings.System.ANDROID_ID); > > > > >>> > Then send it to your back-end and query the number of times you've > > >>> > made the same call or the date you firstly made a call against the > > >>> > unique ID. > &

[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 Shaw - "A government that robs

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

[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

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

2009-06-03 Thread Sujay Krishna Suresh
null 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 fo

  1   2   >