Android Question Phone Number Blacklisting

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

Expert
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
Cookies are required to use this site. You must accept them to continue using the site. Learn more…