[android-developers] Getting the calling application's context

2011-01-13 Thread androiddevelopers
Hi, i have a service , which application binds to it. i need to check the permissions of the calling application. can i retrieve the calling applications context without the calling apllication passing it to my service . Newbie -- You received this message because you are sub

Re: [android-developers] Sqlite Database in the APK

2011-01-12 Thread androiddevelopers
Hi, thanks for the reply. Can i have the database preloaded, that is as aprt of my APk rather than me populating/creating on start of the activity. just like we have for icons or some files we can add as part of the drawable or in raw folder. Gautham -- You received this message because yo

[android-developers] Sqlite Database in the APK

2011-01-12 Thread androiddevelopers
Hi, I want to create an database for my service . as of now we are creating the database on invocation of the service. Here we create the Database and add default values and it works. My Need : I want to have a database as part of the system image ( That is when i flash the image/APK) . The da