[android-developers] About Android Q privacy change
Dear All, I read the document at https://developer.android.com/preview/privacy/background-activity-starts?hl=en However, I tested on Android Q beta 6, my application (privilege app in root device) can launch other app when it is in background. Are there any problem here? Thanks & Best regards Teddy -- 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...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/e556fa2f-8e8e-40f9-8ea9-77e3b71178b2%40googlegroups.com.
[android-developers] about: favorites
Hello sir, actually in our project there is an option of favorites. what i want to do is i want all those applications that has been visited several times to be in favorites. for this im going to use shared preferences. i have thought having a counter i will increment that counter everytime a particular application is being accessed. This counter value will get reflected in the sharedpreferences for each application. As soon as the counter reaches to a certain value that application will be in the list of favorites. But i dont know how to proceed. So if u can guide then it will be a great help. thanks alot -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Ask about FLAG_ACTIVITY_REORDER_TO_FRONT
Plz help me On Sep 5, 6:22 pm, teddy wrote: > Hi all, > I have two task: > bar:B,Y > foo: A,X,C > Now C call startActivity to call B with > FLAG_ACTIVITY_REORDER_TO_FRONT. > After this call these tasks are: > Case I: > foo: A,X,C > bar:Y,B > or: > Case II: > bar:Y > foo: A,X,C,B > According the > documenthttp://developer.android.com/reference/android/content/Intent.html#FL... > I choose Case I. > However, I write the code I found it is Case II. > Please help me make clear. > 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@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Ask about FLAG_ACTIVITY_REORDER_TO_FRONT
Hi all, I have two task: bar:B,Y foo: A,X,C Now C call startActivity to call B with FLAG_ACTIVITY_REORDER_TO_FRONT. After this call these tasks are: Case I: foo: A,X,C bar:Y,B or: Case II: bar:Y foo: A,X,C,B According the document http://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_REORDER_TO_FRONT I choose Case I. However, I write the code I found it is Case II. Please help me make clear. 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@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Problem configuring the app widget with bitmap image using remote views
Hi, I started with developing the resizable photo widget. Every time the widget is resized, i am configuring the widget remote view with the new bitmap image. I am using the same layout file for all resize dimensions with fillparent option for both width and height. But i am facing issues with this, for 4x4 widget size, even if i configure the remote view with valid bitmap, the image is seen cropped on the homeScreen. And sometimes the new bitmap which is set to the remote views will not be seen and instead the old bitmap remains on the screen. Is the appwidgetManager discarding the updates Also, as the APP_WIDGET_UPDATE broadcast wecan get the new dimensions of widget in terms of cells. can anyone tell, how to map the cell values into pixel values(WVGA screen) Any kind of help is appreciable. 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@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Problem configuring the app widget with bitmap image using remote views
Hi, I started with developing the resizable photo widget. Every time the widget is resized, i am configuring the widget remote view with the new bitmap image. I am using the same layout file for all resize dimensions with fillparent option for both width and height. But i am facing issues with this, for 4x4 widget size, even if i configure the remote view with valid bitmap, the image is seen cropped on the homeScreen. And sometimes the new bitmap which is set to the remote views will not be seen and instead the old bitmap remains on the screen. Is the appwidgetManager discarding the updates Also, as the APP_WIDGET_UPDATE broadcast wecan get the new dimensions of widget in terms of cells. can anyone tell, how to map the cell values into pixel values(WVGA screen) Any kind of help is appreciable. 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@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en