Android Question Phone Number Blacklisting

DonManfred

Expert
Licensed User
Longtime User
what i am missing?
Refering to the correct post?
Posting the project you are using?

Sorry, my hourglas is broken
 
Upvote 0

jchal

Active Member
Licensed User
Longtime User
yes i am refering to the correct post.
how the flag comes ??
B4X:
Sub Service_Create
   
    PE.InitializeWithPhoneState("PE",PhoneId)
    AC.Initialize("AnswerCall")

    sNotif.Initialize
    sNotif.Icon = "red_flag"
    sNotif.SetInfo("HangUp & POQ", "Monitoring for Telemaketing Calls ....",Main)
    sNotif.Sound = False
    sNotif.Notify(1)
    Service.StartForeground(1,sNotif)
   
End Sub
altjhogth i have the correct code
i dont see this sNotif.Icon = "red_flag" why?
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

mangojack

Well-Known Member
Licensed User
Longtime User
This was an old test project .. I used an icon named 'red_flag'.

place an icon of your choice in ... MyProject\Objects\res\drawable

Change this line sNotif.Icon = "red_flag" to ... sNotif.Icon = "the_name_of_your_new_icon"
 
Upvote 0
Top