Click here to Skip to main content
15,798,278 members
Home / Discussions / Android
   

Android

 
QuestionWho updates the view in mvp and mvvm in android Pin
Member 138137096-May-18 0:05
Member 138137096-May-18 0:05 
QuestionHow can i send a hyperlink in my sms code? Pin
AlexanderBlade1-May-18 9:31
AlexanderBlade1-May-18 9:31 
QuestionRe: How can i send a hyperlink in my sms code? Pin
David Crow1-May-18 17:38
David Crow1-May-18 17:38 
AnswerRe: How can i send a hyperlink in my sms code? Pin
AlexanderBlade2-May-18 6:31
AlexanderBlade2-May-18 6:31 
QuestionRe: How can i send a hyperlink in my sms code? Pin
David Crow2-May-18 6:33
David Crow2-May-18 6:33 
Questionlistening to android key board events Pin
Member 1360034126-Apr-18 4:03
professionalMember 1360034126-Apr-18 4:03 
QuestionRe: listening to android key board events Pin
Jochen Arndt26-Apr-18 4:26
professionalJochen Arndt26-Apr-18 4:26 
QuestionHow to get the coordinates(X,Y) in correlation to root view Pin
Member 1377943514-Apr-18 5:23
Member 1377943514-Apr-18 5:23 
I'm trying to get the coordinates of X and Y of the pattern lock component. The code that i'm using to create the Pattern Lock component is from aritraroy/PatternLockView which can be found on Github. Firstly, i set the root view on a view variable like this: 

view=getWindow().getDecorView().getRootView();

and then setting the listener

view.setOnTouchListener(new View.OnTouchListener() {
//code

}

Finally i create the the PatterLockViewListener: 

final PatternLockViewListener mPatternLockViewListener = new PatternLockViewListener() {

    //do whatever

}

What i want is by clicking the PatternLock component to get the coordinates(X,Y) in correlation to the root view. Instead i get the coordinates in all other components except from the PatternLock (by clicking the PatternLock component the OnTouchListener doesnt trigger and as a result, the code is not working/running)

QuestionRe: How to get the coordinates(X,Y) in correlation to root view Pin
David Crow16-Apr-18 9:14
David Crow16-Apr-18 9:14 
AnswerRe: How to get the coordinates(X,Y) in correlation to root view Pin
Member 1377943516-Apr-18 9:19
Member 1377943516-Apr-18 9:19 
SuggestionRe: How to get the coordinates(X,Y) in correlation to root view Pin
David Crow16-Apr-18 9:21
David Crow16-Apr-18 9:21 
Questionabout sms app Pin
Member 137656286-Apr-18 0:45
Member 137656286-Apr-18 0:45 
AnswerRe: about sms app Pin
Richard Deeming6-Apr-18 3:04
mveRichard Deeming6-Apr-18 3:04 
QuestionAndroid Studio Pin
Member Hemal19-Mar-18 21:51
Member Hemal19-Mar-18 21:51 
AnswerRe: Android Studio Pin
Richard MacCutchan19-Mar-18 23:08
mveRichard MacCutchan19-Mar-18 23:08 
QuestionIntegrate channels in your mobile app. Pin
Tarik M'ghari19-Mar-18 9:59
Tarik M'ghari19-Mar-18 9:59 
QuestionHow to change IP address Pin
ryanp4713-Mar-18 21:29
ryanp4713-Mar-18 21:29 
AnswerRe: How to change IP address Pin
Richard MacCutchan13-Mar-18 22:57
mveRichard MacCutchan13-Mar-18 22:57 
QuestionRe: How to change IP address Pin
David Crow16-Mar-18 17:45
David Crow16-Mar-18 17:45 
AnswerRe: How to change IP address Pin
Amy Iness9-Jun-18 2:43
professionalAmy Iness9-Jun-18 2:43 
QuestionResponding to hardware buttons. Pin
droiddev6-Mar-18 13:52
droiddev6-Mar-18 13:52 
SuggestionRe: Responding to hardware buttons. Pin
David Crow6-Mar-18 18:06
David Crow6-Mar-18 18:06 
GeneralRe: Responding to hardware buttons. Pin
droiddev7-Mar-18 19:56
droiddev7-Mar-18 19:56 
AnswerRe: Responding to hardware buttons. Pin
Richard MacCutchan8-Mar-18 0:12
mveRichard MacCutchan8-Mar-18 0:12 
GeneralRe: Responding to hardware buttons. Pin
droiddev8-Mar-18 9:31
droiddev8-Mar-18 9:31 

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.