[android-developers] developer tool for figuring out permission use

2011-08-11 Thread APF
Hi all - I and my colleagues at UC Berkeley have set up a web site for developers trying to figure out what permissions to add to their applications: http://www.android-permissions.org. It provides: (1) An upload service where you can upload your APK and find out what permissions we think your

[android-developers] framebusting out of WebViews

2011-03-20 Thread APF
Is there a way for my website to detect that it is being rendered in a WebView that does not belong to the system browser? If yes, is it possible to frame-bust, i.e., force the browser to open the site as a top-level window rather than remain in the application's WebView? -- You received this

[android-developers] Window token is always null

2011-01-17 Thread APF
I find that View.getWindowToken() always returns null, even when invoked from the main Activity during onCreate. For example: TextView tv = new TextView(this); tv.setText(Hello, Android); setContentView(tv); tv.getWindowToken(); // will equal null Manually adding it to the window manager

[android-developers] Re: Window token is always null

2011-01-17 Thread APF
Fantastic, thanks. On Jan 17, 9:34 am, Dianne Hackborn hack...@android.com wrote: That's because the view hierarchy hasn't been added to the window manager.  You find out it has been added in View.onAttachedToWindow(). On Mon, Jan 17, 2011 at 8:41 AM, APF adriennef...@gmail.com wrote: I

[android-developers] Re: 3rd-party applications signature/system permissions

2010-10-02 Thread APF
On Oct 2, 2:50 am, Dianne Hackborn hack...@android.com wrote: There is no system key.  Each manufacturer signs the platform with their own certificate (or even different certificates for different devices).   I see. Several Google-made applications in the Market request many signature

[android-developers] 3rd-party applications signature/system permissions

2010-10-01 Thread APF
I've noticed that a lot of apps in the Market request signature or signatureOrSystem permissions. (E.g., Shazam and LauncherPro request some signatureOrSystem permissions.) Is there a way to tell who signed an APK, so you know whether the system will grant it signature status? I suspect many of

[android-developers] Mapping permissions to API calls?

2010-04-06 Thread APF
Is there a reference out there that maps permissions to API calls? I see where it is in the reference documentation, but I don't want to have to write a crawler for the HTML. :) I'm looking for some format like XML that lists the API and has a field for required permission. -- You received

[android-developers] How do I work around missing Java libraries?

2009-11-25 Thread APF
I'm attempting to port a normal Java program over to Android, however I am having a problem with a huge number of missing Java packages (e.g., Android Java does not have java.lang.management). Is there a way for me to work around this, such as by adding the Java modules that I need? Thanks! --