[android-developers] Screen order controller

2018-04-30 Thread Allan Sorenson
I am tasked with building an app that does not have a fixed screen order. When started the app will contact a server an get a list of actions to perform. So one launch could be screen 1 - screen 5 - screen 7 next time screen 3 - screen 5 - screen 9 I tested a simple app that does that; my Main a

[android-developers] Screen Overlay issue in android 6.1

2016-12-14 Thread anilkumar
I am facing screen overlay problem in my app. I am using below permission -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developer

[android-developers] screen turns blank when scrolled. Linearlayout with canvas

2016-11-04 Thread Abhinandan Narendra
Hi, i have build a big bitmap and so i need scrollview to look at entire bitmap content. I am adding this canvas to linearlayout through addview option. When i scroll the screen goes blank. Below is the snippet of the code java code: Point size = new Point(); get

[android-developers] Screen Sharing Android

2016-08-24 Thread roshnisoni2293
I want screen sharing in my android app using without third party dependencies.I have done Team Viewer demo but i don't want third party.I know that WebRTC supports sharing but I need to share the whole screen frequently. https://integrate.teamviewer.com/en/develop/screen-sharing-sdk/android-

[android-developers] screen sharing using webrtc for android

2016-08-24 Thread Mayank Rajdev
source code for android screen sharing without third party dependency -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googl

[android-developers] Screen filter app

2016-05-29 Thread Guillermo Rodriguez
Hi, Is it possible to create an app that works as a real time screen color or position filter? For example to make all the screen look sepia or black and white or do ripples or maybe to flip it 90'... but keep the phone operating normally? I mean as a transformation layer just before rendering

[android-developers] Screen filter app

2016-05-29 Thread Guillermo Rodriguez
Hi, Is it possible to create an app that works as a real time screen color or position filter? For example to make all the screen look sepia or black and white or do ripples or maybe to flip it 90'... but keep the phone operating normally? I mean as a transformation layer just before rendering

Re: [android-developers] Screen on event

2016-04-26 Thread ScheffsBlend
If a broadcast is sent with the following flag http://developer.android.com/reference/android/content/Intent.html#FLAG_RECEIVER_REGISTERED_ONLY then the receiver must already be registered via some other component, like a service. -- You received this message because you are subscribed to the

Re: [android-developers] Screen on event

2016-04-25 Thread TreKing
On Mon, Apr 25, 2016 at 11:55 AM, 'Jean-Baptiste Queru' via Android Developers wrote: > Using this is probably a bad idea, though, as it requires that you keep a > Service running at least while the screen is off, Why would you need to keep a service running to respond to a broadcast?

Re: [android-developers] Screen on event

2016-04-25 Thread 'Jean-Baptiste Queru' via Android Developers
http://developer.android.com/reference/android/content/Intent.html#ACTION_SCREEN_ON Using this is probably a bad idea, though, as it requires that you keep a Service running at least while the screen is off, which in turn uses RAM, which in turn might cause other services to get bumped from memor

[android-developers] Screen on event

2016-04-24 Thread chen Simon
How can I know if the screen is turned on due to user's pressing power button or other event like incoming call? Thanks for your help. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving em

[android-developers] Screen Recorder - Screen capture app for recording your device's screen to video

2015-12-01 Thread April Nice
This application makes screen recording easy and even fun. That makes it very convenient to create tutorial, promotional video, comment about your game and gameplay or record video chat. It uses official APIs added in Android 5.0+ so it requires no rooting. # No watermarks # Provide record qual

[android-developers] Screen lock quality for pattern

2012-12-03 Thread Michael O'Dowd
I'm writing an app in which a policy can be specified as part of the service. It uses a DevicePolicyManager, with the main restriction offered being requiring the user to have a screen lock of some description. I can find nothing in the documentation for what password quality a pattern falls un

Re: [android-developers] Screen dim events in android

2012-10-12 Thread Justin Anderson
What are you wanting to do? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Oct 12, 2012 at 5:19 AM, Mark Murphy wrote: > On Thu, Oct 11, 2012 at 1:43 AM, Arun M R wrote: > > Is there any methods to catch screen dim in android? > > Not that I am a

Re: [android-developers] Screen dim events in android

2012-10-12 Thread Mark Murphy
On Thu, Oct 11, 2012 at 1:43 AM, Arun M R wrote: > Is there any methods to catch screen dim in android? Not that I am aware of. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Gui

[android-developers] Screen dim events in android

2012-10-12 Thread Arun M R
*Is there any methods to catch screen dim in android?* -- 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

[android-developers] Screen Lock Security

2012-10-03 Thread Hayk Ghaltaghchyan
Hi all, Is there any way to add new entry to Screen Lock Security in System Settings (e.g. for usb sensors), or access from application to one of available in that list? Thanks in advance. -- You received this message because you are subscribed to the Google Groups "Android Developers" group.

Re: [android-developers] Screen Support in Android 3.2 (API level 13)

2012-09-10 Thread Javier Garcia Crespo
I wonder for one example develop with ONLY, the new technique for selector Android 3.2 + ( http://developer.android.com/guide/practices/screens_support.html#DeclaringTabletLayouts ): extract: 320dp: a typical phone screen (240x320 ldpi, 320x480 mdpi, 480x800 hdpi, etc). 480dp: a tweener tablet

Re: [android-developers] Screen Support in Android 3.2 (API level 13)

2012-09-09 Thread Dianne Hackborn
On Fri, Sep 7, 2012 at 8:13 AM, Javier Garcia Crespo wrote: > Yes new devices with android 3.2 upper. Hvga wvga no way to select > diferent layout with new technique. Poor. I have to make a test mixing > horenration and dps selector .h240-por or h320-land > What are you trying to say? The new re

Re: [android-developers] Screen Support in Android 3.2 (API level 13)

2012-09-07 Thread Javier Garcia Crespo
Yes new devices with android 3.2 upper. Hvga wvga no way to select diferent layout with new technique. Poor. I have to make a test mixing horenration and dps selector .h240-por or h320-land -- You received this message because you are subscribed to the Google Groups "Android Developers" group.

Re: [android-developers] Screen Support in Android 3.2 (API level 13)

2012-09-07 Thread Mark Murphy
On Fri, Sep 7, 2012 at 9:44 AM, Javier Garcia Crespo wrote: > OK, then there is no way in the new technique. No solution to consider. You already posted the answer for the new technique in your original email. It's just that the new technique only works on new devices. -- Mark Murphy (a Commons

Re: [android-developers] Screen Support in Android 3.2 (API level 13)

2012-09-07 Thread Javier Garcia Crespo
OK, then there is no way in the new technique. No solution to consider. El viernes, 7 de septiembre de 2012 15:26:49 UTC+2, Mark Murphy (a Commons Guy) escribió: > > On Fri, Sep 7, 2012 at 6:28 AM, Javier Garcia Crespo > > > wrote: > > According to the note written in this documentation, the o

Re: [android-developers] Screen Support in Android 3.2 (API level 13)

2012-09-07 Thread Mark Murphy
On Fri, Sep 7, 2012 at 6:28 AM, Javier Garcia Crespo wrote: > According to the note written in this documentation, the old groups are > depecated (small, normal, large, and xlarge), thas why we have to migrate to > new techique defined in Android 3.2 "Deprecated" in Android usually means "we thin

[android-developers] Screen Support in Android 3.2 (API level 13)

2012-09-07 Thread Javier Garcia Crespo
* According to the note written in this documentation, the old groups are depecated (small, normal, large, and xlarge)*, thas why we have to migrate to new techique defined in Android 3.2 * Note:* Beginning with Android 3.2 (API level 13), these size groups are deprecated in favor of a new tech

[android-developers] screen flickering when adding video view dynamically to layout.

2012-08-27 Thread sashas
Hi All, I have encountered a problem similar to the one asked in the https://groups.google.com/forum/?fromgroups=#!topic/android-developers/pGA32n8zvlI where video view is added dynamically to layout for the first time application runs we have got a screen flickering.

[android-developers] Screen distortion issue

2012-08-16 Thread Jayesh
Hi, After performing extensive user operation e.g. navigating through various activities, buttons and menu. The issue, screen distortion, is random and seldom. It can be observed any where on screen when you touch it. But later moving to other activity app behaves normally. Device: Samsung skyr

[android-developers] screen flickering during change childs view visibility

2012-07-22 Thread Grzegorz Slusarek
Hello I have long form putted in linear layout which is scrolled vertically, fullfiled with different kinds of inputs (some have set visibility to gone). When I scroll to the last position and change visibility of input which cause that childs of that input becomes visible, screen is flickerin

[android-developers] Screen goes black and rotates only with HDMI connected

2012-07-16 Thread RLScott
I have an app that has been locked down to "Reverse Portrait" by having every activity specified as reverse portrait in the manifest. That is because I intended to demonstrate this app at a trade show using a connected HDMI TV screen that was mounted vertically. Everything works fine that way but f

[android-developers] Screen share on live

2012-06-18 Thread Rocky
All, I'm developing apps that enables sharing actual screen (display content) between mobile handsets in real-time. Screen sharing includes multi-media content sharing (UI, photos, video & audio, etc.). Thereby the master user connects to clients and share his actual display content. Is it possib

Re: [android-developers] Screen Lock Dialog.

2012-05-23 Thread TreKing
On Wed, May 16, 2012 at 3:04 PM, Justin Cheng wrote: > I currently have full functionality except I cannot draw the lines that is > drawn between the dots. > > Tips? > Tip: ask a better question. http://www.catb.org/~esr/faqs/smart-questions.html Why "can't you draw the lines"? ---

[android-developers] Screen Lock Dialog.

2012-05-20 Thread Justin Cheng
I am trying to implement a Screen Lock Dialog for an application, much like the 3x3 pattern unlock for the phone. I currently have full functionality except I cannot draw the lines that is drawn between the dots. Tips? -- You received this message because you are subscribed to the Google Grou

Re: [android-developers] Screen lock problem

2012-04-26 Thread Jim Graham
On Thu, Apr 26, 2012 at 10:34:12AM -0600, Justin Anderson wrote: > I don't think he is a developer... I think he is just a user having a > problem with his phone. In which case, it is most likely a problem with > one of the 3rd party apps he has installed. I decided to give him the benefit of th

Re: [android-developers] Screen lock problem

2012-04-26 Thread Justin Anderson
And the question doesn't belong on this list... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Apr 26, 2012 at 10:34 AM, Justin Anderson wrote: > I don't think he is a developer... I think he is just a user having a > problem with his phone. In

Re: [android-developers] Screen lock problem

2012-04-26 Thread Justin Anderson
I don't think he is a developer... I think he is just a user having a problem with his phone. In which case, it is most likely a problem with one of the 3rd party apps he has installed. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Apr 26, 2012

Re: [android-developers] Screen lock problem

2012-04-26 Thread Jim Graham
On Mon, Apr 23, 2012 at 10:17:53PM -0700, Vichu wrote: > I am using Samsung Galaxy Pro B7510 with Android 2.3.6. My phone's > screen lights keeps turning on frequently even if the screen is > locked. It automatically switch on and off the screen lights. I tried > clearing my memory. There were no n

[android-developers] Screen lock problem

2012-04-26 Thread Vichu
I am using Samsung Galaxy Pro B7510 with Android 2.3.6. My phone's screen lights keeps turning on frequently even if the screen is locked. It automatically switch on and off the screen lights. I tried clearing my memory. There were no notifications too. Tried switching off the phone many times. Wha

[android-developers] Screen orientation problem at transparent activity.

2012-04-22 Thread Cheoloh,Park
When a run transparent activity after normally destroy fullscreen landscape activity which is not yet activityDestroyed, transparent activity is shown landscape. please see my reported bug. http://code.google.com/p/android/issues/detail?id=28927 Thanks. -- You received this message because you

[android-developers] screen densities: "normal" (SDK) vs webkit

2012-01-06 Thread Jim Graham
Looking through the developers guide, I'm seeing what might be a discrepancy regarding screen densities (or it might not be). For apps built with the SDK, http://tinyurl.com/yhz8mlu gives us the usual four: low, medium, high, and extra high. For apps built with HTML5 etc., http://tinyurl.com/23a

[android-developers] Screen size issue with Motorola Bionic

2011-11-30 Thread dillipk
Hello, I have an app which displays fine on most of the phones(Droid, Droid X, Droid 3 already tested). When I installed the same app on Motorola Bionic, the screen size looks smaller. Please advise me.. Thanks, DK -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Screen orientantion and dialogs problem.

2011-11-09 Thread TreKing
On Wed, Nov 9, 2011 at 9:55 AM, ikki_fenix wrote: > My problem is how to deal with the screen orientation and > the leaked window errors that will generate if the orientation changes > when a Dialog or AlertDialog is open. > Use Activity.showDialog(int). ---

[android-developers] Screen orientantion and dialogs problem.

2011-11-09 Thread ikki_fenix
Hello, I'm developing my first application that consist and application that has 2 tabs and each tab has 4 buttons. Each button opens a Dialog or alertDialog to deal with different functions. All functionality is contained in one activity I know that the activty restarts each time the screen or

Re: [android-developers] Screen Shot

2011-11-03 Thread Just Another Android User
What do you mean by taking a screen-shot. Do you mean that you want to create the Application that does it? Please let me know. On Thu, Nov 3, 2011 at 3:58 AM, lbendlin wrote: > On a rooted device you can cat /dev/graphics/fb0 and then convert one of > the two raw bitmaps to whatever format yo

[android-developers] Screen Shot

2011-11-03 Thread lbendlin
On a rooted device you can cat /dev/graphics/fb0 and then convert one of the two raw bitmaps to whatever format you need -- 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.

Re: [android-developers] Screen Shot

2011-11-02 Thread nageswara rao rajana
Tell me you device details On Thu, Nov 3, 2011 at 7:54 AM, King Sun wrote: > Android source code has some interface, by one service called > "SurfaceFlinger". > You can see it in . > On Nov 1, 2011 2:12 AM, "vins" wrote: > >> Anybody know how to take a screen shot of current screen

Re: [android-developers] Screen Shot

2011-11-02 Thread King Sun
Android source code has some interface, by one service called "SurfaceFlinger". You can see it in . On Nov 1, 2011 2:12 AM, "vins" wrote: > Anybody know how to take a screen shot of current screen using app and to > save that in a sd card > > -- > You received this message because you are su

Re: [android-developers] Screen Shot

2011-10-31 Thread Robert Slama
if u have handset connected to computer u ca use ddms r^ On 28 October 2011 16:46, vins wrote: > Anybody know how to take a screen shot of current screen using app and to > save that in a sd card > > -- > You received this message because you are subscribed to the Google > Groups "Android D

Re: [android-developers] Screen Shot

2011-10-31 Thread Mark Murphy
This is not supported by Android, sorry. On Fri, Oct 28, 2011 at 11:46 AM, vins wrote: > Anybody know how to take a screen shot of current screen using app and to > save that in a sd card > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers

[android-developers] Screen Shot

2011-10-31 Thread vins
Anybody know how to take a screen shot of current screen using app and to save that in a sd card -- 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

[android-developers] Screen Orientation changes automatically in 2.2 emulator

2011-10-31 Thread KK
Hi All, I'm trying to create a simple stream media player app. Though the media player is working fine and I'm able to play shoutcast stream, but I'm facing a weird problem, screen orientation changes automatically in periods of : 2mins of start of app---15 secs---15 secs---2minutes and the cycle c

[android-developers] Screen Blackout while adding Exchange account

2011-09-15 Thread Vivek975
Hi Masters, Server : Microsoft exchange server 2010 Android version : 2.1 I am adding an exchange email account from my android device, it is added without any problem. after that i remove the account and than again trying to add the same account, the screen blacks-out for around 30 sec and nothi

[android-developers] Screen dimension in case of on-screen buttons

2011-08-09 Thread wboe
Hi, In order to get the screen dimensions, one can use e.g. getWindowManager().getDefaultDisplay().getWidth() and -getHeight(), but in this case potential on-screen buttons (e.g. the home and the menu buttons) will not be taken into account. What can I do to get the real available screen are

Re: [android-developers] Screen Recording or Screen capture

2011-08-04 Thread TreKing
On Thu, Aug 4, 2011 at 5:32 AM, Manu wrote: > I'm looking for Screen capture as images Use DDMS - see the documentation for details. - TreKing -

[android-developers] Screen Shot Capture Timing!!!

2011-08-04 Thread Sebastian Tomaszewski
Hello All, I have a little dilema with the Timing on one of my Screen Capture applications: 1. Currenlty I am using the following code in oroder to capture the SCREEN SHOT of the device: " v1 = linView.getRootView(); v1.setDrawingCacheEnabled(*true*); bmp = v1.getDrawingCache(); " Which gives the

[android-developers] Screen Recording or Screen capture

2011-08-04 Thread Manu
Hi, Is there a way where I can capture the screen of my android device in real time? I browsed few forums but unable to get this information. I'm looking for Screen capture as images (video would be even good). I'm new here, so bear my technical knowledge in explaining my requirement. -- You rec

[android-developers] Screen capture without translation and scaling

2011-08-04 Thread viktor
Hi, I draw shapes on canvas, than export canvas to file with bitmap, but when I doing that I save only visible area? I translate canvas by dragging. Is it possible to save all drawing area? -- You received this message because you are subscribed to the Google Groups "Android Developers" group.

Re: [android-developers] screen lock

2011-07-26 Thread TreKing
On Sun, Jul 24, 2011 at 6:55 AM, Kieran Back wrote: > ok so i put the screen lock in to many times and it locked me out of the > phone and i cant remember my google email account what do i do > Factory reset your device. Have fun. ---

[android-developers] screen lock

2011-07-25 Thread Kieran Back
ok so i put the screen lock in to many times and it locked me out of the phone and i cant remember my google email account what do i do -- 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

Re: [android-developers] Screen size supported

2011-07-12 Thread kirubakaran S
Hi, Include your resources in Xtra large dpi. Normally you don't have to worry about the screen resolution. On Tue, Jul 12, 2011 at 2:54 PM, mark2011 wrote: > Dear All : > >Is there anyone know the maximum screen size supported by Android? > Is it possible to display on 1366 X 738 density

Re: [android-developers] Screen size supported

2011-07-12 Thread shanmu nathan
HI , Refer Below Link. http://developer.android.com/guide/practices/screens_support.html On Tue, Jul 12, 2011 at 2:54 PM, mark2011 wrote: > Dear All : > >Is there anyone know the maximum screen size supported by Android? > Is it possible to display on 1366 X 738 density? > > Thanks. > > BR,

[android-developers] Screen size supported

2011-07-12 Thread mark2011
Dear All : Is there anyone know the maximum screen size supported by Android? Is it possible to display on 1366 X 738 density? Thanks. BR,Mark -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to andro

Re: [android-developers] Screen sizes and precise element placement.

2011-06-30 Thread Kostya Vasilyev
"dip" and "dp" are exactly the same thing. http://developer.android.com/guide/topics/resources/more-resources.html#Dimension: >> The compiler accepts both "dip" and "dp", though "dp" is more consistent with "sp". << -- Kostya 30.06.2011 14:16, Marcin Orlowski пишет: Why not start using dip i

Re: [android-developers] Screen sizes and precise element placement.

2011-06-30 Thread Kostya Vasilyev
Adam, For your specific requirements, aligning UI elements with a background image, you may be better off writing your own ViewGroup subclass, which would combine in one place two pieces: - The logic to resize the background image based on actual screen (rather, view) dimensions; - The logic

Re: [android-developers] Screen sizes and precise element placement.

2011-06-30 Thread Marcin Orlowski
On 30 June 2011 11:58, Serdel wrote: > PS: I have read the 'Supporting Multiple Screens' article from > dev.android.com, so please don't paste the link. I tried to read it > carefully but if you think I must have missed sth. than feel free to > point out where is the answer to my problem on that

Re: [android-developers] Screen sizes and precise element placement.

2011-06-30 Thread Marcin Orlowski
> > PS: I have also another question that is a little bit connected: how > to distinguish 480x800 and 480x854, or 240x400 and 240x432 to provide > different drawables for them? > There's no difference in DPI between 480x800 and 480x854 or 240x400 and 240x432 so you can't. And you also should not b

[android-developers] Screen sizes and precise element placement.

2011-06-30 Thread Serdel
I have a problem with supporting different screen sizes. My application has different drawables for mdpi (320x480), hdpi (480x800) or ldpi (240x432). I also have different layout for small, normal- notlong, normal-long. Every size scaling or placement features are done in dp. However my problem is

[android-developers] screen orientation.

2011-06-09 Thread Android K
Hello, I am trying to control the orientation from which I start. It works fine if I hold the phone in portrait mode and start my app. Otherwise dialog gets if I start in landscape position. Any help is appreciated. Thanks, Harsha *public* *void* onCreate(Bundle savedInstanceState) { *super*

[android-developers] Screen refreshing

2011-05-11 Thread Lord.Locksley
Greetings. I'm developing my first Android app, and I'm struck with a very stupid issue. I'm inside an Activity class, and after responding to a certain click event, in some casses I have to start a somewhat long calculation. Before this I'm trying to update the UI, setting up the text of a statu

[android-developers] Screen captures of web pages

2011-03-28 Thread huber57
All: I have Googled and Googled with no luck. I am trying to take screen captures on my phone of mobile web pages I am viewing in the default Android 2.2 browser, with no luck. I am using DDMS (Eclipse) to make screen captures. I can take screen captures of apps no problem. But, when I launch

[android-developers] Screen Sizes and Densities

2011-03-14 Thread William Ferguson
Is there any better data on the ratio of screen sizes and densities than http://developer.android.com/resources/dashboard/screens.html which was last updated on 2 August 2010? William -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To po

Re: [android-developers] Screen rotation clears TextView

2011-02-16 Thread TreKing
On Tue, Feb 15, 2011 at 12:40 PM, David Parker wrote: > However, when the device is rotated, the Activity resets and that TextView > gets cleared. > Does anyone know what the problem might be? > Any way to make sure this Activity does not reset on rotation? > I read the "Handling Runtime Changes"

Re: [android-developers] Screen rotation clears TextView

2011-02-15 Thread Kumar Bibek
Check if the text view has a id. Normally, the framework would save all the basic values such as TextViews and Edittexts after orientation change. But it looks like you haven't specified the value of the TextView in one of the orientations. Kumar Bibek http://techdroid.kbeanie.com http://www.kbe

Re: [android-developers] Screen rotation clears TextView

2011-02-15 Thread Bambr
you have to check for onSaveInstanceState event handler and related thing - restoring application state from bundle. Google for it - should be easy to find. In general - it will allow you to save needed data and then assign it when activity is re-created after orientation change. On Tue, Feb 15, 2

[android-developers] Screen rotation clears TextView

2011-02-15 Thread d_a_parker
Hello, For some reason, I have one Activity in my app which does not behave like the rest and seems to reset when the screen is rotated. I have this specified for all Activities in the manifest: android:configChanges="orientation" None of the other Activities in my app have any problems when th

[android-developers] Screen rotation clears TextView

2011-02-15 Thread David Parker
Hello, For some reason, I have one Activity in my app which does not behave like the rest and seems to reset when the screen is rotated. I have this specified for all Activities in the manifest: android:configChanges="orientation" None of the other Activities in my app have any problems when th

[android-developers] Screen rotation with App Widgets loses onClick connection

2011-01-13 Thread John Gaby
I have an App Widget on the Home screen which works fine until the screen is auto-rotated. At that point, the onClick connection (set up via a call to setOnClickPendingIntent) is lost. The only way I seem to be able to get it back is to delete the Widget from the Home screen and then add it back.

Re: [android-developers] Screen Rotation

2010-12-31 Thread Kostya Vasilyev
AsyncTask can be carried through configuration changes by using getLastNonConfigurationData (or some such, I writing this from my phone). The technique was discussed on this list within the last month or two, hopefully you can find it. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 31.12.2010

Re: [android-developers] Screen Rotation

2010-12-31 Thread TreKing
On Fri, Dec 31, 2010 at 11:48 AM, Robert wrote: > The reason I want to do this is that the app is accessing a webserver via > an AsyncTask and I'd like to stop the restart until I can figure out how to > link the background task to the new pid that is created. I've read some > pages on it but not

[android-developers] Screen Rotation

2010-12-31 Thread Robert
I have an application that I am trying to stop the automatic restart when the screen is rotated. I put android:configChanges="orientation| keyboardHidden" into the Manifest (copied below) but the screen still rotates and the OnCreate is called (verified by writing to the log in OnCreate). Have I

[android-developers] screen light off problem

2010-12-21 Thread Nayan
Hi All , I am trying to do the screen back light on and off through program but i am unable to do the screen baclight off through program . my code is as follows static PowerManager pm=null; static PowerManager.WakeLock wl=null; //for light on if(pm == null) { pm = (PowerManage

[android-developers] screen brightness change

2010-12-13 Thread Hendrik Greving
Hi is there some broadcast or listener for screen brightness changes? -- 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 and

Re: [android-developers] Screen width minus launcher width (landscape mode)

2010-10-29 Thread Dianne Hackborn
You need to participate in view layout -- have a view in the view hierarchy (could just be a single view put in with setContentView()) that will be sized correctly. You find out about the size in View.onSizeChanged(). On Fri, Oct 29, 2010 at 4:20 PM, Eric wrote: > How do I get the correct width

[android-developers] Screen width minus launcher width (landscape mode)

2010-10-29 Thread Eric
How do I get the correct width in landscape mode? I need the size of the width not including the launcher bar. The following gives me the full screen width, but includes the right most launcher (app drawer, etc), which I dont want. int width = winMgr.getDefaultDisplay().getWidth(); Thanks Eric

[android-developers] Screen Brightness on 2.2

2010-10-27 Thread burton miller
Anybody have any idea why this is not working under 2.2? (nexus one) WindowManager.LayoutParams lp = getWindow().getAttributes(); lp.screenBrightness = 1.0f; getWindow().setAttributes(lp); And yes, the auto-brightness is disabled under settings. -- You received this message because you are sub

[android-developers] Screen capture from video stream

2010-10-21 Thread sheffanet
Hi, I want to get a screenshot from the video which is showing. Is it possible to get screenshot from video stream? Any ideas? Thanks -- 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@

Re: [android-developers] screen referesh dealy

2010-10-19 Thread Mark Murphy
Your activity may be taking too long to draw. Use Traceview to determine where your performance problem lies: http://developer.android.com/guide/developing/tools/traceview.html On Tue, Oct 19, 2010 at 1:28 AM, Shakeel wrote: > Dear all, > > I am facing problem with delay in display when I tilt t

[android-developers] screen referesh dealy

2010-10-18 Thread Shakeel
Dear all, I am facing problem with delay in display when I tilt the device. Screen takes few seconds to adjust to portrait or landscape when device is tilted. Thanks shakeel -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to th

[android-developers] Screen shot of the canvas screen

2010-10-05 Thread Muthu Kumar K.
Hi All, I have the canvas in specific area in my application. I want to take screen shot of the canvas area. How can get the screen shot? Kindly help me. Thanks in Advance, Muthu Kumar K. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To

Re: [android-developers] Screen rotation and ProgressDialog

2010-09-20 Thread TreKing
On Mon, Sep 20, 2010 at 2:01 PM, Bret Foreman wrote: > How should I handle an active ProgressDialog when the screen is rotated? > If you use showDialog(), it gets managed for you. - TreKing

[android-developers] Screen rotation and ProgressDialog

2010-09-20 Thread Bret Foreman
How should I handle an active ProgressDialog when the screen is rotated? Perhaps I should cancel the dialog in onDestroy and restart it in response to a SavedInstanceState flag? I'm getting an exception and the following message in logcat: E/WindowManager( 4240): Activity com.quickdroid.MainActiv

[android-developers] Screen flicker when swapping bitmaps to draw

2010-09-17 Thread EmilDiego
I am working on a Live Wallpaper app. Basically id downloads a bunch of different background images and then randomly picks one to display. They change every few minutes to another background. THe problem I an encountering is during the transitions. The bitmaps sometimes flickers when transitio

Re: [android-developers] Screen flip doesn't trigger an orientation change and Activity destruction/recreation

2010-08-30 Thread TreKing
On Sun, Aug 29, 2010 at 5:22 PM, Rob wrote: > Why isn't it? > Just guessing, but landscape is landscape, regardless if it's 180 degrees, so the system may not consider it to be a configuration change. > Is there some way I specify that it should be destroy/ recreated? > Sounds like a case whe

[android-developers] Screen flip doesn't trigger an orientation change and Activity destruction/recreation

2010-08-29 Thread Rob
I'm testing an app on a Droid. It's a kind of card matching game. I'd like to keep the cards physically located in the same place on the screen regardless of a screen rotation. For example, I can put my thumb on a card, rotate the phone any way I please and the card stays fixed under my thumb.

[android-developers] screen design

2010-08-08 Thread A N K ! T
i am developing some UI screens.. but i am not getting ..should i make screens for all resolutions or some keywords like things are there by which i can make UI so that it can support all resolutions. guide me.. thanks -- A N K ! T.. -- You received this message because you are subscribed

Re: [android-developers] Screen Rotation

2010-07-16 Thread TreKing
On Thu, Jul 15, 2010 at 11:09 PM, 7H3LaughingMan wrote: > I have no clue on how to set it up so that when it rotates that it doesn't > recreate everything and re-fetch the data and process it again. > Review the Activity Lifecycle and then go here: http://developer.android.com/reference/android/a

[android-developers] Screen Rotation

2010-07-16 Thread 7H3LaughingMan
I was working on implementing a more advanced list view then the standard one they teach you in basic tutorials, and I did find a great tutorial explaining how to create your own Adapter and such not. http://www.softwarepassion.com/android-series-custom-listview-items-and-adapters/ I do have a wor

Re: [android-developers] Screen Block

2010-07-07 Thread Frank Weiss
Possible in firmware or just as a state a single app can have. If it were possible for a app to block the screen so that the home button wouldn't work, then think of the very bad consequences this would have for other applications and the user. -- You received this message because you are subscri

Re: [android-developers] Screen Block

2010-07-07 Thread ranjan ar
you mean to say..it is not possible at all? On Wed, Jul 7, 2010 at 1:28 PM, Frank Weiss wrote: > Yes indeed if it were possible with the SDK, any Android app could really > screw up things! > > On Jul 7, 2010 1:09 PM, "ranjan ar" wrote: > > Hello, > I would like to bring up a screen lock window

Re: [android-developers] Screen Block

2010-07-07 Thread Frank Weiss
Yes indeed if it were possible with the SDK, any Android app could really screw up things! On Jul 7, 2010 1:09 PM, "ranjan ar" wrote: Hello, I would like to bring up a screen lock window. that constantly keeps popping up and doesn't allow users to get rid of it until he enters the right password

[android-developers] Screen Block

2010-07-07 Thread ranjan ar
Hello, I would like to bring up a screen lock window. that constantly keeps popping up and doesn't allow users to get rid of it until he enters the right password. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send

[android-developers] screen occasionally goes blank on Milestones

2010-07-07 Thread Brian
I have an application I am currently working on for a client which is suffering from a particularly hard to debug problem. Every so often, the device screen will go blank, not just while running my application, but entirely. If I press the home button, for instance, it's still blank. This happens f

  1   2   >