[android-developers] Device scroller issue

2008-12-08 Thread Sudha
Hi I have converted one J2Me code to Android.. the problem is that the Dpad( as apperas in teh emulator) works fine in teh emulator But when I put it in the device .. some times the device scroller works(its only a track ball..no Dpad as seen in the emulator) and some times not.especially in the

[android-developers] Re: how to update apk's Jad file in run time

2009-01-04 Thread sudha
can i make changes in classes.dex file like..can I replace any string in classes.dex file with some other string(which is of the same length) and rezip the file. will this work for .apk on android?? Plz Help me Its urgent Thanks Sudha Gupta On Dec 5 2008, 5:39 pm, Dianne Hackborn hack

[android-developers] XML PULL PARSER

2009-01-05 Thread Sudha
Hi I am tryting to read an xml file of the format response statusname/name/status gravityg1/g1/gravity /response My xml pull parser is reading till to status.but its not reading the gravity tag. it reached ENd_DOCUMENT after reading /status I understood that xmlpullparser can read only one

[android-developers] Problem with mapview again

2009-01-06 Thread Sudha
Hi last month I had made a mapview to display the google map(used the apikey) and used the setCenter(geopoint). it was working fine and moving to that part of the map. but today when I cheked it again what ever value I gave its moving to one location in the water near green land. But with the

[android-developers] how to get storage path for photos, videos, tones, graphics, music and recording from the android handse

2009-01-15 Thread sudha
(fileconn.dir.memorycard.recordings); System.getProperty(fileconn.dir.memorycard.recordings.name); Can anyone tell me how can i access these values from the handset for android. its very urgent Thanks Sudha Gupta --~--~-~--~~~---~--~~ You received this message because you

[android-developers] problem when moving image to the sdcard

2008-09-23 Thread Sudha
I tried to copy one jpg image to teh sdcard using push h.jpg /sdcard/dcim/camera when I open the pictures in the emulator a redcolor rectangle comes and a blank screen is shown why so ? how can I see the copied image in the pictures ? --~--~-~--~~~---~--~~ You

[android-developers] Re: create a calendar in android

2008-09-24 Thread Sudha
I am very new to android. I have a small idearather stupid.. I dont know whether it will work or not. Android works on unix..so cant we invoke the unix commands (shell commnads )through android and get the result ? like for creating the calender can we use the cal month year command in unix

[android-developers] Re: Where does the emulator look for the SD Card Image File ?

2008-09-24 Thread Sudha
sorry Ludwing .. the issue for 1.0 remains same for me I tried it many times closing and re opening the emulator.. is the camera and teh pics in teh picture folder works the same way as in 0.9 ? When I opend the /sdcard/dcim/camera in 0.9 its a folder with a pid file inside But in 1.0 is a

[android-developers] can we invoke the unix or shell commnads in our application

2008-09-24 Thread Sudha
hi I have a stupid idea . is there any way to invoke the shell commnads in the apllication and get the result.. eg.. to get the calender there is no widget in android so can we use the cal month year command in shell to get teh calender ? Please put your responses

[android-developers] Re: Where does the emulator look for the SD Card Image File ?

2008-09-24 Thread Sudha
in addition to the above mail I tried to pull out the default image coming the camera folder( apperas in the pictures in the emulator) and tried to push teh same back to /sdcar/dcim/camera. now also teh image appreas liek red block and blank screen when selected.. Nothing is happening with the

[android-developers] How to read a file from res/text folder

2008-09-28 Thread Sudha
I have a file in res/text/ I need to read it. we use getClass().getResourceAsStream(/text/text.txt) in J2Me. How it can be possible in android ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: How to read a file from res/text folder

2008-09-29 Thread Sudha
Thanks for your help. I made another one. made a folder called raw and placed my file InputStream is = resources.openRawResource(R.raw.text); It worked fine Thanks a lot for your help --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-developers] Alignment issue related to ListView

2008-09-30 Thread Sudha
My layout looks like this way ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent ListView android:id=@id/android:list

[android-developers] ProgressBar no coming on a ListActivity

2008-09-30 Thread Sudha
Hi I am having a ListActivity in the onListItemClick() of an item I need to do some processing so I need to show a progressbar on the screen. But ProgressBar is not getting shown I gave probar.show() no effect plz help --~--~-~--~~~---~--~~ You received this

[android-developers] Re: ProgressBar no coming on a ListActivity

2008-09-30 Thread Sudha
I tried //myProgressDialog.show(); //myProgressDialog.setView(getCurrentFocus()); //requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS); // setProgressBarVisibility(true); nothing worked Please help --~--~-~--~~~---~--~~ You received this message because

[android-developers] Re: Alignment issue related to ListView

2008-10-01 Thread Sudha
thnaks but no change ! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Synchronization issue:plz help

2008-10-02 Thread Sudha
Hi all I am facing one issue with Listactivity and progressDialogue. I have a class extending ListActivity. and in onListItemClick() when I am clicking one item it should display the dialogue box and then do teh calculation and tehn dismiss teh dialogye I have writen the code like

[android-developers] skia : error in decode file

2008-10-03 Thread Sudha
Hi I had a strange problem I am reading the images from the sdcard which are taken using the camera in a for loop . 1st image is coming fine and from second image onwards I am getting skia fialure readaeing skia jpeg setjump exit I am reading the image as imageShow =

[android-developers] Re: skia : error in decode file

2008-10-05 Thread Sudha
Hi My code is like imageStream = new FileInputStream(new File(+imageNames[position])); imageShow = BitmapFactory.decodeFile(+imageNames[position]); imageStream.close(); for the first image, position = 0 its coming fine but from next image onwards its showing the skia exception

[android-developers] Re: Problem with MapView

2008-10-22 Thread Sudha
hi all I was using the Mapview and was getting the map and the application was working fine till to 3 pm today.. then after it started to show the grey grid... no map those who are having the map application plz chek that agian.. is it the problem with the google server ? On Oct 17, 7:33 pm,

[android-developers] How to put apk to G1 Phone

2008-10-23 Thread Sudha
Hi can anyone tell me how to install my apk to a G1 phone ? ota , datta cable ? after downloading do I need to install the apk ? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: How to put apk to G1 Phone

2008-10-24 Thread Sudha
thanks for your reply But this is for working in the debug mode.. Suppose I had my certified apk and want to download into the device then ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] if I include the classes.zip of J2Me ??

2008-10-24 Thread Sudha
hi I have a stupid question suppose thru the eclipse if I put the J2Me classes.zip file to my android project. and I just create an Activity and a view which only calling or directing the lifecycle methods of j2me will it work ? I am dare to try this out... can anyone show some light on this

[android-developers] Shares Preferences are not getting deleted

2008-11-10 Thread Sudha
Hi I am using sharepreferences in my application in the mode MODE_PRIVATE. its working fine.But when I am deleting my application from the emulator and installing it takes the values from the old sharedpreference..that means when I am deleting its not removing teh sharedpreference... any solution

[android-developers] Re: Shares Preferences are not getting deleted

2008-11-10 Thread Sudha
hi what I did is I created a sharedpreference to store my application data.. when the application is deleting..its not removing the data stored. just like our desktop application.. thats the problem faced by me.. so I want toknow is there nayway to do that.. Plz mention ur problem so that I can

[android-developers] Re: Shares Preferences are not getting deleted

2008-11-11 Thread Sudha
Hi shared preferences are very simple. 1.create it prefereceObj = context.getSharedPreferences(preferenceName, modeOfAccess) 2.to write the data 1.obtain the editor Editor edr= prefereceObj.edit(); 2.use edr.putString(key, value)..putBoolean etc etc 3.edr.commit() 3.to read it

[android-developers] Re: Shares Preferences are not getting deleted

2008-11-11 Thread Sudha
. Thanks, Yasmin On Tue, Nov 11, 2008 at 4:56 PM, Sudha [EMAIL PROTECTED] wrote: Hi shared preferences are very simple. 1.create it prefereceObj = context.getSharedPreferences(preferenceName, modeOfAccess) 2.to write the data 1.obtain the editor Editor edr= prefereceObj.edit

[android-developers] Re: Shares Preferences are not getting deleted

2008-11-11 Thread Sudha
Yes it seems to be the same.. same case with your sqlite also.. since teh data is getting saved in data/data folder and ur application in data/app folder when u r deleting from ur emulator ( as far as I know) we are deleting it from the data/app folder only so the data wont getting deleted..

[android-developers] Re: Shares Preferences are not getting deleted

2008-11-12 Thread Sudha
I dont know anything about the viewing that file. I didnt try..will try soon and tell u as far as no one tried to help me out I thot of makinganother apk which will uninstall ur apks.. that should search in every folder and find out is tehre any traces of it left ..etc etc but I dont think thats

[android-developers] reading package name from apk file

2009-08-12 Thread Sudha
as a parameter. As the Class files are compressed to dex file I am not able to check the actual package name. Regards: Sudha --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group

[android-developers] Re: reading package name from apk file

2009-08-13 Thread Sudha
. - Sudhaker On Aug 13, 11:46 am, rk raj.10...@gmail.com wrote: Sudha, Do you have automated test solution for Andorid? thanks raj On Aug 13, 11:42 am, Dianne Hackborn hack...@android.com wrote: Use the aapt command's dump subcommands.  For example aapt dump badging /path./to/.apk will print

[android-developers] Removal of javax.microedition.lcdui.Graphics

2008-09-10 Thread Sudha
I was using M5 .Now I switched my application to SDK 0.9. I am getting the error on eclipse that the import javax.microedition.lcdui.Graphics cannot be resolved. In my program I am using the Graphics.TOP|Grpahics.LEFT. Can any one help me to find whether that option is removed , why and

[android-developers] Removal of javax.microedition.lcdui.Graphics

2008-09-10 Thread Sudha
I was using M5 .Now I switched my application to SDK 0.9. I am getting the error on eclipse that the import javax.microedition.lcdui.Graphics cannot be resolved. In my program I am using the Graphics.TOP|Grpahics.LEFT. Can any one help me to find whether that option is removed , why and

[android-developers] MediaPlayer.start() doesnot work fine after calling MediaPlayer.seekTo(0)

2009-04-27 Thread Sudha
Hi, I have a requirement to play several sounds many times in my game so instead of creating the MediaPlayer again and again I have called mp.seekTo(0) in onCompletion(mp) so that it will restart. Sometimes the sound is not audible from the device when I call mp.start () after setting

[android-developers] Re: MediaPlayer.start() doesnot work fine after calling MediaPlayer.seekTo(0)

2009-04-28 Thread Sudha
 am, Sudha sudhaker...@gmail.com wrote: Hi, I have a requirement to play several sounds many times in my game so instead of creating the MediaPlayer again and again I have called mp.seekTo(0) in onCompletion(mp) so that it will restart. Sometimes the sound is not audible from

[android-developers] Re: MediaPlayer.start() doesnot work fine after calling MediaPlayer.seekTo(0)

2009-04-28 Thread Sudha
? On Apr 28, 5:10 pm, Sudha sudhaker...@gmail.com wrote: Hi, for now i have found a work around In onCompletionListener() am resetting the player and setting DataSource and then calling prepare() then start() so that no sounds are skipped. mp.setOnCompletionListener(new

[android-developers] Application doesnot quit on calling finish()

2009-04-28 Thread Sudha
Hi, I have been developing a game on Android and wrote a wrapper for J2ME classes, When notifyDestroyed() is called in my ME program and calling finish() but the application doesn't close correctly. The App goes to background and when launched again it shows an error message and presents an

[android-developers] Re: Application doesnot quit on calling finish()

2009-04-28 Thread Sudha
activity. The Appliction object itself stays behind, as well, as the entire process, as long as there's memory available to keep them around, so that re-launching your app is faster then next time around. JBQ On Tue, Apr 28, 2009 at 5:40 AM, Sudha sudhaker...@gmail.com wrote: Hi, I have

[android-developers] Re: Application doesnot quit on calling finish()

2009-04-28 Thread Sudha
-Baptiste Queru j...@android.com wrote: This is not the way Android works. JBQ On Tue, Apr 28, 2009 at 5:56 AM, Sudha sudhaker...@gmail.com wrote: So can you please just brief me on where to concentrate and what all should be done while closing an app so that it is entirely erased from

[android-developers] Media Player sound state problems in G1

2009-05-07 Thread Sudha
Hi I am using MediaPlayer to play my sounds below is my another post http://groups.google.com/group/android-developers/browse_thread/thread/8d1c01b055873f39# I tried all the possible ways stated in the above post but could not play sounds accordingly so changed the sound code as below, Now the

[android-developers] Re: Media Player sound state problems in G1

2009-05-07 Thread Sudha
, May 7, 2009 at 1:36 AM, Sudha sudhaker...@gmail.com wrote: Hi I am using MediaPlayer to play my sounds below is my another post http://groups.google.com/group/android-developers/browse_thread/threa... I tried all the possible ways stated in the above post but could not play sounds

[android-developers] Re: Media Player sound state problems in G1

2009-05-08 Thread Sudha
On May 8, 10:33 am, Sudha sudhaker...@gmail.com wrote: I have nearly 28 sound files in which most of them have the duration less than a second (i.e in milliseconds), to reduce the delay in creating the player everytime, i created a player for each sound file i.e 28 MediaPlayers and each sound

[android-developers] Android : MapView : slow loading of the map

2009-05-08 Thread Sudha
Hi I got the G1. When I am loading my mapview, mpa is getting displayed but it is taking time. so I want to give my own loading background and when the map gets loaded fully then I want to switch it to the map. Any cluse to do this ? --~--~-~--~~~---~--~~ You

[android-developers] How can I listen for MApView page load completed event Options

2009-05-10 Thread Sudha
Hi In my application to load the map its taking time so how can I detect when the map got loaded completely plz help me ?? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] dialog is getting dismissed when I am flipping the device

2009-05-12 Thread Sudha
hi I have created a dialogue to accept the name and password. d = new Dialog(ctx); d.setContentView(R.layout.login); Button upload_button = (Button)d.findViewById(R.id.send_button); upload_button.setOnClickListener(new View.OnClickListener() {}

[android-developers] Re: dialog is getting dismissed when I am flipping the device

2009-05-12 Thread Sudha
is it a bug or desired behavior ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send

[android-developers] Re: dialog is getting dismissed when I am flipping the device

2009-05-12 Thread Sudha
Thanks a lot It worked !! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email

[android-developers] how to select multiple images through intent and get their Uri in my activity to perform some task on thease images

2010-12-28 Thread sudha
(image/*); intent.setAction(Intent.ACTION_GET_CONTENT); startActivityForResult(Intent.createChooser(intent, Select Picture), 1); issue is in how user can select multiple images. Thanks Sudha -- You received this message because you are subscribed to the Google

[android-developers] how to submit rating for the application to android market

2010-12-28 Thread sudha
Hello All, I have to implement a functionality in my app, so that user can submit his rating for the application to android app market(like the Iphone Apps). Is it possible to do implement this, if yes plz let me know how it can be done. Thanks Sudha -- You received this message because you

[android-developers] how to convert colour image to black and white

2011-01-04 Thread sudha
Hello all, I have a picture taken from android device camera, I have to convert the colour image to black n white. how can I do this? Thanks Sudha -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

[android-developers] how to create pdf document using images

2011-01-05 Thread sudha
Hello, I have captured few images from camera, now I have to create pdf document using these images. please tell me how can I do this. Thanks Sudha -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: how to create pdf document using images

2011-01-06 Thread sudha
wrote: Step #1: Send the images to a server Step #2: Run a process on the server to convert the images into a PDF, by whatever means you feel appropriate (e.g., ImageMagick, generate an ODT document and use unoconv). On Thu, Jan 6, 2011 at 2:12 AM, sudha sudhagupta2...@gmail.com wrote

[android-developers] Re: how to convert colour image to black and white

2011-01-07 Thread sudha
, 0,0,0,0,1,0 }); Thanks to all. On Jan 5, 12:54 pm, Ghanshyam Verma ghanshyamverm...@gmail.com wrote: U CAN U PHOTO SCOP SOFTWARE On 1/5/11, sudha sudhagupta2...@gmail.com wrote: Hello all, I have a picture taken from android device camera, I have to convert

[android-developers] xml parser generator

2011-05-24 Thread Sudha
is there any android specific xml generator ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] autoinstall from android market

2011-04-25 Thread Sudha
hi I need to autoinstall new version of my app from android app maket thru the same appln 1.can I detect the android market notification tru my appn ? 2.is ter any intend to pass the url and auto isnatll teh appn 3.what are the risk factors included and how to handle them 4.is ter any machanism

[android-developers] how to use aapt ---rename-manifest-package in command line

2011-11-03 Thread Sudha
Hi I want to make two apks with diff package names using aapt I am using the script target name=change echochnage manifest/echo exec executable=${aapt} failonerror=true arg value=add / arg line=${v.option} / arg value=-m / arg

[android-developers] Re: how to use aapt ---rename-manifest-package in command line

2011-11-03 Thread Sudha
if you see the aapt help , there is an -R option but no description is given for that On Nov 3, 11:56 am, Sudha sudha...@gmail.com wrote: Hi I want to make two apks with diff package names using aapt I am using the script target name=change         echochnage manifest/echo         exec

[android-developers] Android installer strange issue

2011-08-30 Thread Sudha
Hi I found a strange issue with android installer.I put the apk in the sd card thru usb.Using file explorer I got the apk in teh device.Then clicked and installed.then got the installated screen with open and done buttons.If i say open then the application launches for teh first time. Now 1.while

[android-developers] Re: Android installer strange issue

2011-08-31 Thread Sudha
But, When you install and press done instead of open and repeat this testing, the activity will resume form the place you pressed menu button. only when you press open and repeat it wont resume,it will restart. So its not as per design I guess.else teh application should have behaved the same way

[android-developers] Re: Android installer strange issue

2011-09-01 Thread Sudha
What I understood from your reply is that if you press OPEN new instaces of teh appln willbe getting created and if you press DONE and then start the app from menu , the appln should resume ? -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Re: Android installer strange issue

2011-09-01 Thread Sudha
Then eventually the progam will crash On Sep 1, 11:28 am, Sudha sudha...@gmail.com wrote: What I understood from your reply is that if you press OPEN new instaces of teh appln willbe getting created and if you press DONE and then start the app from menu , the appln should resume ? -- You

[android-developers] how to update apk's Jad file in run time

2008-12-05 Thread Sudha Gupta
of the client application, server appends few values(like device id, user id) in the jad file. I am developing the same application for Android, I wanted to know how this information (device id, user id) will be added in the apk in run time. Plz help me Thanks Sudha gupta

[android-developers] Re: Installing a signed release apk over USB

2009-01-07 Thread Sudha Gupta
how can i download app on the G1 from the web server. Plz help me Sudha Gupta On Wed, Jan 7, 2009 at 5:35 AM, Al Sutton a...@funkyandroid.com wrote: For accurate testing you should upload the apk to a website, and then download it from the site using the browser to go through the install

[android-developers] idea for android app

2010-09-01 Thread sudha berde
Hello everyone, Can anyone here help me out by giving a great idea on android application?? I am desperately looking for a creative idea. Whenever i think of new application and i think its not there, i ve been wrong everywhere. So please help me out.Thanks in advance!! -- You received this