[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 wrote: > Hi > I want to make two apks with diff package names using aapt > I am using the script > >        

[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 chnage manifest But where to see the

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

[android-developers] Re: Android installer strange issue

2011-08-31 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" gro

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

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

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

[android-developers] autoinstall from android market

2011-04-24 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 to

[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 wrote: > U CAN U PHOTO SCOP SOFTWARE > > On 1/5/11, sudha wrote: > > > > > Hello all, > > > I have a picture taken from android device camera, I have to convert >

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

2011-01-06 Thread sudha
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 wrote:

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

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

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

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

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

2009-08-13 Thread Sudha
d Platform. - Sudhaker On Aug 13, 11:46 am, rk wrote: > Sudha, > > Do you have automated test solution for Andorid? > > thanks > raj > > On Aug 13, 11:42 am, Dianne Hackborn wrote: > > > Use the aapt command's dump subcommands.  For example "aapt dump badgi

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

2009-08-12 Thread Sudha
uninstall the app from the device or emu for uninstalling the app from device using script what we must know is the package name so i want to parse the apk file not meant to reverse engineer.. - Sudha On Aug 12, 7:22 pm, Zero wrote: > dude, maybe you should not try to mess w

[android-developers] reading package name from apk file

2009-08-12 Thread Sudha
n APK file is passed 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 Developer

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

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

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

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

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

2009-05-08 Thread Sudha
droid On May 8, 10:33 am, Sudha 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 so

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

2009-05-07 Thread Sudha
ame MediaPlayer, or > there is some other code involved that you didn't post. > > On Thu, May 7, 2009 at 1:36 AM, Sudha wrote: > > > Hi I am using MediaPlayer to play my sounds below is my another post > > >http://groups.google.com/group/android-developers/browse_t

[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: MediaPlayer.start() doesnot work fine after calling MediaPlayer.seekTo(0)

2009-04-28 Thread Sudha
ots > of MediaPlayers which is not a good idea. > > I would upgrade to 1.5 cupcake SDK and use the AudioTrack classes (or > soundpool maybe) > > -niko20 > > On Apr 27, 3:20 am, Sudha wrote: > > > Hi, > > > I have a requirement to play several sounds many ti

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

2009-04-28 Thread Sudha
-Baptiste Queru wrote: > This is not the way Android works. > > JBQ > > > > On Tue, Apr 28, 2009 at 5:56 AM, Sudha 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 er

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

2009-04-28 Thread Sudha
y. > 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 wrote:

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

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

2009-04-28 Thread Sudha
h SDK 1.1? On Apr 28, 5:10 pm, Sudha 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(ne

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

2009-04-28 Thread Sudha
I meant you have to pause. Worth a try anyway.. > > On Apr 27, 4:19 pm, Dave Sparks wrote: > > > Try this: > > > mp.prepare(); > > mp.seekTo(0); > > mp.start(); > > > And get rid of your onPreparedListener. It is unnecessary since you > > ar

[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 mp.seekTo(0

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

2009-01-15 Thread sudha
sic"); System.getProperty("fileconn.dir.memorycard.music.name"); System.getProperty("fileconn.dir.recordings"); System.getProperty("fileconn.dir.recordings.name"); System.getProperty("fileconn.dir.memorycard.recordings"); System

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

[android-developers] How to remove an overlay from the map

2009-01-07 Thread Sudha
hi I have drawn the map and the overlay on it But how to remove the added overlays.. I tried to refresh the map. I am deleting the itemlist also but the overlay ones comes is not going from that point. Plz help me --~--~-~--~~~---~--~~ You received this message beca

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

[android-developers] XML PULL PARSER

2009-01-05 Thread Sudha
Hi I am tryting to read an xml file of the format My xml pull parser is reading till to status.but its not reading the gravity tag. it reached ENd_DOCUMENT after reading I understood that xmlpullparser can read only one level.. any idea ablout resolving the issue ? --~--~-~--~~

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

[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] how to update apk's Jad file in run time

2008-12-05 Thread Sudha Gupta
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: 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] 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-11 Thread Sudha
l I didn't try the delete action. > > 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.getSharedPre

[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 prefereceObj.getFlo

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

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

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

[android-developers] Re: PNG issue with 1.0 Release 1

2008-10-06 Thread Sudha
Hi I faced similar problem today also.. the error was skia :xxx the error was coming from the Bitmap Factory().decodeStream(),decodeFile() ,decodeButeArray() I was using 0.9 today I tried the same with the 0.1 Its working fine. I use dthe images taken by the emulator camera.. hope this may h

[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] 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 = BitmapFactor

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

[android-developers] Re: Rotating an image using Drawable

2008-10-02 Thread Sudha
create image using the bitmap then use the Matrix and its preScle func.. and paasing this as a parameter u can create another bitmap.. like createBitmap(image,0,0,imahewidth,height,matrix,false) based on the prescale value it will give the transformed image --~--~-~--~~

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

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

[android-developers] Alignment issue related to ListView

2008-09-30 Thread Sudha
My layout looks like this way http://schemas.android.com/apk/res/ android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > But the list is coming in the top left corner. 1.how to align the listview such that it takesu

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

[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] 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
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 file.

[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: how to finalizing sqllite cursor???

2008-09-23 Thread Sudha
try giving cursor.deactivate(); cursor.close(); for me it worked cursor = null; On Sep 23, 3:09 pm, Wesley Sagittarius <[EMAIL PROTECTED]> wrote: > hi, > > how to finalizing sqllite cursor??? > > 09-23 10:06:08.646: INFO/dalvikvm(1662): Uncaught exception thrown by > finalizer (will be discarded

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

2008-09-23 Thread Sudha
I have a few doubts on sdcard. 1. How to remove the sd card from t eh device ? 2.I can capture the image.One default image is coming in pic folder. But how can I move my own images and sound files to the sdcard I tried using adb push b.jpg /sdcard it shows failed to copy b.jpg to /sdcard : read on

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

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

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