org.marre.sms.nokia
Class NokiaGroupGraphic

java.lang.Object
  extended byorg.marre.sms.SmsConcatMessage
      extended byorg.marre.sms.SmsPortAddressedMessage
          extended byorg.marre.sms.nokia.NokiaGroupGraphic
All Implemented Interfaces:
SmsMessage

public class NokiaGroupGraphic
extends SmsPortAddressedMessage

Nokia Group Graphic (CLI) message

Note! I haven't been able to verify that this class works since I don't have access to a phone that can handle Group Graphic.

Version:
$Id: NokiaGroupGraphic.java,v 1.10 2004/11/20 19:02:35 c95men Exp $
Author:
Markus Eriksson

Field Summary
protected  byte[] myOtaBitmap
           
 
Fields inherited from class org.marre.sms.SmsPortAddressedMessage
myDestPort, myOrigPort
 
Constructor Summary
NokiaGroupGraphic(byte[] theOtaImage)
          Creates a group graphic SMS message The given byte array must be in the Nokia OTA image format.
NokiaGroupGraphic(OtaBitmap theOtaBitmap)
          Creates a group graphic SMS message
 
Method Summary
 SmsUserData getUserData()
          Returns the whole UD
 
Methods inherited from class org.marre.sms.SmsPortAddressedMessage
getUdhElements, setPorts
 
Methods inherited from class org.marre.sms.SmsConcatMessage
getPdus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myOtaBitmap

protected byte[] myOtaBitmap
Constructor Detail

NokiaGroupGraphic

public NokiaGroupGraphic(OtaBitmap theOtaBitmap)
Creates a group graphic SMS message

Parameters:
theOtaBitmap - An OtaBitmap object representing the image to send

NokiaGroupGraphic

public NokiaGroupGraphic(byte[] theOtaImage)
Creates a group graphic SMS message

The given byte array must be in the Nokia OTA image format.

Parameters:
theOtaImage - The ota image as a byte-array
Method Detail

getUserData

public SmsUserData getUserData()
Description copied from class: SmsConcatMessage
Returns the whole UD

Specified by:
getUserData in class SmsConcatMessage
Returns:
the UD


Copyright © 2002-2005 Markus Eriksson. All Rights Reserved.