Click here to Skip to main content
15,867,834 members
Home / Discussions / Android
   

Android

 
AnswerRe: File and App sharing app Pin
Richard MacCutchan8-Jul-20 22:49
mveRichard MacCutchan8-Jul-20 22:49 
GeneralRe: File and App sharing app Pin
AdityaSha10-Jul-20 1:51
AdityaSha10-Jul-20 1:51 
GeneralRe: File and App sharing app Pin
Richard MacCutchan10-Jul-20 3:11
mveRichard MacCutchan10-Jul-20 3:11 
Questionjava.lang.IllegalArgumentException: Unknown URI: content Pin
Ирина Костић23-Jun-20 13:56
Ирина Костић23-Jun-20 13:56 
AnswerRe: java.lang.IllegalArgumentException: Unknown URI: content Pin
Richard MacCutchan23-Jun-20 21:59
mveRichard MacCutchan23-Jun-20 21:59 
Questionandroid Pin
Member 148497851-Jun-20 0:31
Member 148497851-Jun-20 0:31 
QuestionRe: android Pin
David Crow5-Jun-20 2:43
David Crow5-Jun-20 2:43 
QuestionI can't change lock screen wallpaper in my kotlin wallpaper app Pin
VipulSh28-May-20 5:59
VipulSh28-May-20 5:59 
Here fl_iv is the frame layout containing the imageview which showcases the image. I have set up a button there which allows user to use the image as LOCK SCREEN wallpaper. id of that button is lock_screen. Please try to be descriptive as i am new to this language

I tried this code for lock screen but its not working.


Kotlin
lock_screen.setOnClickListener {
            val wpManager = WallpaperManager.getInstance(this)
            val myBitmap: Bitmap = fl_iv.drawToBitmap()
            try {
                if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
                    wpManager.setBitmap(myBitmap, null, true, WallpaperManager.FLAG_LOCK)
                }
                else{
                    return@setOnClickListener
                }
            } catch (ex: IOException) {
                ex.printStackTrace()

            }
        }

AnswerRe: I can't change lock screen wallpaper in my kotlin wallpaper app Pin
Richard MacCutchan28-May-20 6:22
mveRichard MacCutchan28-May-20 6:22 
GeneralRe: I can't change lock screen wallpaper in my kotlin wallpaper app Pin
VipulSh28-May-20 18:52
VipulSh28-May-20 18:52 
GeneralRe: I can't change lock screen wallpaper in my kotlin wallpaper app Pin
Richard MacCutchan28-May-20 21:35
mveRichard MacCutchan28-May-20 21:35 
GeneralRe: I can't change lock screen wallpaper in my kotlin wallpaper app Pin
VipulSh28-May-20 21:37
VipulSh28-May-20 21:37 
GeneralRe: I can't change lock screen wallpaper in my kotlin wallpaper app Pin
Richard MacCutchan28-May-20 21:43
mveRichard MacCutchan28-May-20 21:43 
QuestionPublishing A Xamarin Forms App Pin
Kevin Marois8-May-20 8:57
professionalKevin Marois8-May-20 8:57 
AnswerRe: Publishing A Xamarin Forms App Pin
Richard Deeming10-May-20 22:04
mveRichard Deeming10-May-20 22:04 
GeneralRe: Publishing A Xamarin Forms App Pin
Kevin Marois12-May-20 6:14
professionalKevin Marois12-May-20 6:14 
GeneralRe: Publishing A Xamarin Forms App Pin
Richard Deeming12-May-20 9:40
mveRichard Deeming12-May-20 9:40 
QuestionProblem in running Android app on IntelliJ IDEA Pin
Pouria Polouk6-May-20 10:34
Pouria Polouk6-May-20 10:34 
QuestionRe: Problem in running Android app on IntelliJ IDEA Pin
Richard MacCutchan6-May-20 23:03
mveRichard MacCutchan6-May-20 23:03 
AnswerRe: Problem in running Android app on IntelliJ IDEA Pin
Pouria Polouk7-May-20 8:23
Pouria Polouk7-May-20 8:23 
QuestionRe: Problem in running Android app on IntelliJ IDEA Pin
David Crow7-May-20 10:09
David Crow7-May-20 10:09 
AnswerRe: Problem in running Android app on IntelliJ IDEA Pin
Pouria Polouk7-May-20 18:16
Pouria Polouk7-May-20 18:16 
GeneralRe: Problem in running Android app on IntelliJ IDEA Pin
Richard MacCutchan7-May-20 21:18
mveRichard MacCutchan7-May-20 21:18 
GeneralRe: Problem in running Android app on IntelliJ IDEA Pin
Pouria Polouk8-May-20 0:03
Pouria Polouk8-May-20 0:03 
GeneralRe: Problem in running Android app on IntelliJ IDEA Pin
Richard MacCutchan8-May-20 0:09
mveRichard MacCutchan8-May-20 0:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.