Re: [android-developers] Security lock replacement

2013-02-24 Thread Kristopher Micinski
That's right, the concept for this is based off the fact that you shouldn't be able to create a system operation as an app. The device admin API doesn't allow you to implement a lock screen, but does allow you to change the password http://developer.android.com/reference/android/app/admin/DeviceP

Re: [android-developers] Security lock replacement

2013-02-24 Thread galapogos
Thanks for the reply. So there's no existing API that allows an app to pass a security credential(PIN/passphrase/etc) to the security framework for user authentication/screen unlock purposes? Is there a reason why there isn't a way for an app to pass a security credential to the framework? The

Re: [android-developers] How to start media player to play HTTP stream?

2013-02-24 Thread Kristopher Micinski
Set yourself at a higher priority? Kris On Sun, Feb 24, 2013 at 4:42 PM, Ganesh BL wrote: > On an Android TV this is launching browser first and then it is trying to > open the intent, any clue? > How can i avoid browser launching? > > On Monday, January 10, 2011 9:22:18 PM UTC-8, Sarwar Erfan w

Re: [android-developers] How to start media player to play HTTP stream?

2013-02-24 Thread Ganesh BL
On an Android TV this is launching browser first and then it is trying to open the intent, any clue? How can i avoid browser launching? On Monday, January 10, 2011 9:22:18 PM UTC-8, Sarwar Erfan wrote: > > Intent i = new Intent(Intent.ACTION_VIEW); > *i**.setDataAndType(Uri.parse("**http://domain

[android-developers] auto max size a text inside a textview

2013-02-24 Thread dashman
Got a TextView whose dimensions are set during layout creation. How can I set the text font-size to be the max given the textview size. -- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-deve

[android-developers] Re: How to check if screen is held touched?

2013-02-24 Thread Guy Smith
Are you using GestureDetector and onGestureListener? Perhaps OnGestureListener's onSingleTapUp method is what you're after. On Sunday, February 24, 2013 3:37:14 PM UTC+10, Edvinas Kilbauskas wrote: > > Ok, so I'm having a little problem with OnTouchListener on android 2.3+ > devices. > I'm maki

Re: [android-developers] Action Bar TAB Context Menu

2013-02-24 Thread Παύλος-Πέτρος Τουρνάρης
I dont think that you can achieve something like this! On Sat, Feb 23, 2013 at 11:18 PM, Jim Duda wrote: > I have the Action Bar working properly with a Tab Listener and multiple > tabs as described in the API Demos package. > This piece is working well. > > I would like to add a Context Menu

[android-developers] Re: ViewPager using FragmentPagerAdapter remove invisible pages from memory

2013-02-24 Thread Piren
http://developer.android.com/reference/android/support/v4/view/ViewPager.html#setOffscreenPageLimit(int) On Friday, February 22, 2013 11:39:08 AM UTC+2, Captain Comando wrote: > > hi, > > i am developing an application which has view pager that includes 5 > different fragments. Each fragment has

[android-developers] getDrawingCache() and transparency?

2013-02-24 Thread user123
I convert a view in a bitmap using drawing cache. But when I use a transparent background in the view, the bitmap doesn't show. The code: //View v = inflate etc. v.setDrawingCacheEnabled(true); v.setLayoutParams(new LayoutParams(RelativeLayout.LayoutParams.WRAP_CONTENT, RelativeLayout.LayoutPar

[android-developers] Re: Update UI of Android

2013-02-24 Thread skink
Abhilash baddam wrote: > Hi, > > I want to update the UI, onclick of widget. How can we achieve this. I > tried but it's not working. > > Can anyone is having idea on this. I think everyone has. what do you mean by "update the UI"? change.existing views properties? change the layout? do some ani

[android-developers] Re: How to check if screen is held touched?

2013-02-24 Thread skink
Edvinas Kilbauskas wrote: > Ok, so I'm having a little problem with OnTouchListener on android 2.3+ > devices. > I'm making a game, when you touch your screen, the player jumps, and if you > hold your screen touched the player falls slower. > Everything seem good on my android 2.2 device. Because