Hi Inosh,

Yes we can do that as well if necessary. We can introduce a simple Sqlite
DB to hold recent messages (lets say 10 most recent) and in a list view we
can show all of them nicely. @Milan - Let me know if you do something like
that, I will provide you with all the stuff you need. I already have bunch
of my own templates for almost all the features in Android. I can provide
you with those so that you can implement above functionality real quick.

Thanks

On Wed, May 6, 2015 at 12:42 AM, Inosh Perera <ino...@wso2.com> wrote:

> Hi Kasun,
>
> +1 for having both. It would be nice if the user can see previous messages
> in a list as well. But not essential.
>
> Regards,
> Inosh
>
> On Wed, May 6, 2015 at 9:41 AM, Milan Perera <mi...@wso2.com> wrote:
>
>> Hi Kasun,
>>
>> Thanks for pointing it out. +1 for have both. Because the main intention
>> of sending a message to an user is to get the attention. So having a popup
>> on the screen is one good approach and on the other hand by using native
>> notifications, we will inherently have the features such as notification
>> sound/vibration as well as the device wake up.
>>
>> Regards,
>>
>> On Tue, May 5, 2015 at 8:49 PM, Kasun Dananjaya Delgolla <kas...@wso2.com
>> > wrote:
>>
>>> Hi Milan,
>>>
>>> In our first version we showed it in the notification bar. But according
>>> to the reviews we got in demos etc, the idea was showing it in notification
>>> bar is not making enough visibility to the user. But showing it in a popup,
>>> takes users attention. Which is better in terms of MDM perspective. If user
>>> disregards the notification bar, then he will miss the message. I think to
>>> the problem you mentioned with the pop ups, we can implement a simple
>>> listener to listen to device screen (whether its active or not) and use it
>>> when showing the notification. Since we already have the timer(polling
>>> feature) we can incorporate that also to show stacked up messages received
>>> while user is offline. So I'm -1 to notification bar only approach. Or else
>>> we should have both IMO.
>>>
>>> Thanks
>>>
>>> On Tue, May 5, 2015 at 4:43 AM, Milan Perera <mi...@wso2.com> wrote:
>>>
>>>> Hi Inosh,
>>>>
>>>>
>>>>> Does display notification refer to messages sent from admin/other
>>>>> user?
>>>>>
>>>>
>>>> ​Yes. It refers to a message that sends from MDM.
>>>> ​
>>>>
>>>>
>>>>> are we displaying them as popups or as notifications in the
>>>>> notification bar?
>>>>>
>>>>
>>>> ​Currently we display it as a popup window. But I also think that it
>>>> would be better if we use notifications[1], because even if the user is out
>>>> of focus from the activity, it resides in the notification bar.
>>>>  ​
>>>> [1]
>>>> http://developer.android.com/guide/topics/ui/notifiers/notifications.html
>>>>
>>>> ​Regards,​
>>>>
>>>> --
>>>> Milan Harindu Perera
>>>> Software Engineer
>>>> *WSO2, Inc*
>>>> (+94) 77 309 7088
>>>> lean . enterprise . middleware
>>>> <http://lk.linkedin.com/in/milanharinduperera>
>>>>
>>>
>>>
>>>
>>> --
>>> Kasun Dananjaya Delgolla
>>>
>>> Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>> Tel:  +94 11 214 5345
>>> Fax: +94 11 2145300
>>> Mob: + 94 771 771 015
>>> Blog: http://kddcodingparadise.blogspot.com
>>> Linkedin: *http://lk.linkedin.com/in/kasundananjaya
>>> <http://lk.linkedin.com/in/kasundananjaya>*
>>>
>>
>>
>>
>> --
>> Milan Harindu Perera
>> Software Engineer
>> *WSO2, Inc*
>> (+94) 77 309 7088
>> lean . enterprise . middleware
>> <http://lk.linkedin.com/in/milanharinduperera>
>>
>
>
>
> --
> Inosh Perera
> Software Engineer, WSO2 Inc.
> Tel: 0785293686
>



-- 
Kasun Dananjaya Delgolla

Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware
Tel:  +94 11 214 5345
Fax: +94 11 2145300
Mob: + 94 771 771 015
Blog: http://kddcodingparadise.blogspot.com
Linkedin: *http://lk.linkedin.com/in/kasundananjaya
<http://lk.linkedin.com/in/kasundananjaya>*
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to