×

Discussion Board

Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    Registered User
    Join Date
    Aug 2011
    Posts
    39

    Re: How to apply server side push notification in asha 501

    The environment selector is only for development use, the end-user of you application will always be using the "production" environment.

  2. #17
    Registered User
    Join Date
    May 2013
    Posts
    280

    Re: How to apply server side push notification in asha 501

    ya i have done that. How can i handle these notifications on my end when server sends me.
    In android apps , when notification comes , app is not opened , only dialog is shown on clicking on new notification.

    But in case of nokia, when i clicked on new notification, my app is getting open. So how to handle the message i received at my end?

    Here is my code ..but is not working

    Code:
    public void messageReceived(NotificationMessage message)
    	{
    		System.out.println("MESSAGE RECEIVED");
    		
    		//messageItem.setText(message.getPayload().getData());
    		String s=message.getPayload().getData();
    		if(s.length()!=0)
    		{
    		
    	Dialog d=new Dialog("NEW MESSAGE");
    	Label l=new Label();
    	l.setText(s);
    	d.addComponent(l);
    	d.show();
    		
    		}
    		
    	}
    plz help
    Last edited by Manpreet_Singh; 2013-10-12 at 12:14.

  3. #18
    Registered User
    Join Date
    Sep 2013
    Posts
    24

    Re: How to apply server side push notification in asha 501

    whenever i submit notification id and payload in com.example service for text notification notification store message is showing .......
    and do not have recive notification on my device notification id????
    plz reply

Similar Threads

  1. Replies: 1
    Last Post: 2013-08-03, 05:34
  2. Replies: 7
    Last Post: 2012-03-22, 03:38
  3. ssl configuration on server side and client side
    By shail@java in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2011-08-10, 09:08
  4. Replies: 3
    Last Post: 2011-03-16, 05:55
  5. Server Side Push content type multipart
    By yoojcomp in forum Browsing and Mark-ups
    Replies: 0
    Last Post: 2007-04-18, 06:55

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×