Click here to Skip to main content
14,984,270 members
Home / Discussions / Android
   

Android

 
Question(View) in a parent or ancestor Context for android:onClick attribute defined on view class Button Pin
Vimalsoft(Pty) Ltd30-Aug-17 7:22
professionalVimalsoft(Pty) Ltd30-Aug-17 7:22 
SuggestionRe: (View) in a parent or ancestor Context for android:onClick attribute defined on view class Button Pin
David Crow30-Aug-17 10:35
MemberDavid Crow30-Aug-17 10:35 
GeneralRe: (View) in a parent or ancestor Context for android:onClick attribute defined on view class Button Pin
Vimalsoft(Pty) Ltd30-Aug-17 11:08
professionalVimalsoft(Pty) Ltd30-Aug-17 11:08 
QuestionRe: (View) in a parent or ancestor Context for android:onClick attribute defined on view class Button Pin
David Crow31-Aug-17 3:56
MemberDavid Crow31-Aug-17 3:56 
AnswerRe: (View) in a parent or ancestor Context for android:onClick attribute defined on view class Button Pin
Vimalsoft(Pty) Ltd31-Aug-17 4:00
professionalVimalsoft(Pty) Ltd31-Aug-17 4:00 
AnswerRe: (View) in a parent or ancestor Context for android:onClick attribute defined on view class Button Pin
David Crow31-Aug-17 4:23
MemberDavid Crow31-Aug-17 4:23 
GeneralRe: (View) in a parent or ancestor Context for android:onClick attribute defined on view class Button Pin
Vimalsoft(Pty) Ltd3-Sep-17 10:49
professionalVimalsoft(Pty) Ltd3-Sep-17 10:49 
SuggestionAndroid Notification by App Pin
Andy_Bell27-Aug-17 6:58
MemberAndy_Bell27-Aug-17 6:58 
Good evening
I need to insert notifications in my Android application. This is something similar to RSS service.
Therefore I have inserted NotificationCompat.Builder, and Pendig Intent to this purpose. When user selects corresponding item the application is restarted and updated.
But I have a problem, I don't have idea how to fire the notification. I'm thinking to start something like a Timer, every 15-30 minutes connect to server and look for new event released. If there is one, I'll fire Notification through the corresponded object.

Is this a best prtacice? Is there any better way to do?

I would appreciate any sugestions.
Thanks a lot.
QuestionRe: Android Notification by App Pin
David Crow27-Aug-17 13:00
MemberDavid Crow27-Aug-17 13:00 
AnswerRe: Android Notification by App Pin
Andy_Bell27-Aug-17 20:59
MemberAndy_Bell27-Aug-17 20:59 
QuestionRe: Android Notification by App Pin
David Crow28-Aug-17 2:05
MemberDavid Crow28-Aug-17 2:05 
AnswerRe: Android Notification by App Pin
Andy_Bell28-Aug-17 3:40
MemberAndy_Bell28-Aug-17 3:40 
GeneralRe: Android Notification by App Pin
Member 1328039729-Aug-17 2:29
MemberMember 1328039729-Aug-17 2:29 
GeneralRe: Android Notification by App Pin
kusuma chowdary22-Sep-17 0:58
Memberkusuma chowdary22-Sep-17 0:58 
QuestionUsing Android class and Xml files as templet Pin
venky.nani9120-Aug-17 20:06
Membervenky.nani9120-Aug-17 20:06 
AnswerRe: Using Android class and Xml files as templet Pin
Richard MacCutchan20-Aug-17 21:55
mveRichard MacCutchan20-Aug-17 21:55 
GeneralRe: Using Android class and Xml files as templet Pin
venky.nani9120-Aug-17 22:56
Membervenky.nani9120-Aug-17 22:56 
AnswerRe: Using Android class and Xml files as templet Pin
David Crow21-Aug-17 3:59
MemberDavid Crow21-Aug-17 3:59 
QuestionHow To Implement Song Repeat On Button Click Android Studio Pin
Member 1334179212-Aug-17 0:06
MemberMember 1334179212-Aug-17 0:06 
QuestionRe: How To Implement Song Repeat On Button Click Android Studio Pin
David Crow12-Aug-17 12:13
MemberDavid Crow12-Aug-17 12:13 
QuestionMoving apps tp sd card. Pin
Randall10229-Aug-17 1:15
MemberRandall10229-Aug-17 1:15 
QuestionRe: Moving apps tp sd card. Pin
David Crow9-Aug-17 3:14
MemberDavid Crow9-Aug-17 3:14 
QuestionHow To Access Song From SD Card In Android Studio And Make A Playlist out of it Pin
Member 133417926-Aug-17 4:57
MemberMember 133417926-Aug-17 4:57 
QuestionRe: How To Access Song From SD Card In Android Studio And Make A Playlist out of it Pin
David Crow7-Aug-17 3:39
MemberDavid Crow7-Aug-17 3:39 
AnswerRe: How To Access Song From SD Card In Android Studio And Make A Playlist out of it Pin
Richard MacCutchan7-Aug-17 6:10
mveRichard MacCutchan7-Aug-17 6:10 

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.