[android-beginners] Deletion of a folder

2010-08-01 Thread Aviral Shrivastava
Hi. I want to delete a folder in /data/data Whenever we install an apk on the device, a folder by the package name is created at /data/data eg. If I have an apk having a package name com.android.tute, the folder created will be /data/data/com.android.tute This folder contains lib, cache, database

[android-beginners] Updating an Application

2010-07-01 Thread Aviral Shrivastava
Hi... I want to know how an application is updated in Android. Is there a specific code for that?? In my application I have used the feature public void setApplicationEnabledSetting (StringpackageName, int newState, int flags) and usin

[android-beginners] Name of apk

2010-06-22 Thread Aviral Shrivastava
Hi.. Can we identify the name of the apk at the run time through code without using adb? Thanks & Regards Aviral Shrivastava -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Sta

[android-beginners] Class Name

2010-06-16 Thread Aviral Shrivastava
We can get the name of the package of a class by using ApplicationInfo class... e.g. in my code I have used { ApplicationInfo abc; String xyz= abc.packageName; } I want to know the *name of the class* which implements the main Activity of the function.or rather the class having main activity

Re: [android-beginners] Visibility

2010-06-11 Thread Aviral Shrivastava
Hi Mark, It worked, totally in the manner I intended it to. Thanks a lot for your help. On Thu, Jun 10, 2010 at 5:59 PM, Mark Murphy wrote: > Aviral Shrivastava wrote: > > HI... > > Thanks for the info... > > > > I want to remove the icon of the application that I hav

Re: [android-beginners] Visibility

2010-06-10 Thread Aviral Shrivastava
do that anyway? > > > -- > There are only 10 types of people in the world... > Those who know binary and those who don't. > ---------- > > > 2010/6/9 Aviral Shriv

Re: [android-beginners] Visibility

2010-06-09 Thread Aviral Shrivastava
Hi Kostya Thanks a lot for the info... But is it possible to access AndroidManifest.xml from the code.. What I want to ask is... Can I remove launcher categories for the activity(from AndroidManifest.xml) while I am still running the application.? the next time, it should not show the icon... Than

Re: [android-beginners] Re: Changing orientation from portrait to landscape

2010-04-01 Thread Aviral Shrivastava
Thanks a lot Ben. On Wed, Mar 31, 2010 at 5:17 AM, Ben wrote: > If you are not overriding the default configuration change routine, > every time you rotate the phone it will destroy your activity and then > recreate it from scratch. By lock the phone I assume that you mean > you are sending the