Android Programming Press on the image to return to the main documentation page.

CustomRSSView

Written by NJDude

List of types:

CustomRSSView
JarFileLoader

CustomRSSView


This is an 'Activity Object', it cannot be declared under Sub Process_Globals.

Permissions:

android.permission.INTERNET
android.permission.WRITE_EXTERNAL_STORAGE

Events:

ItemClicked(URL As String)
FinishedLoading
ErrorMessage(Message As String)

Members:


  AddToRSSView (Title As String, Author As String, Image As String, Description As String, PubDate As String, Link As String) As String

  AuthorPrompt As String [write only]

  AuthorTextColor (Red As Int, Green As Int, Blue As Int) As String

  CustomRSSViewBackgroundColor (Red As Int, Green As Int, Blue As Int, Alpha As Int) As String

  DescriptionBackgroundColor (Red As Int, Green As Int, Blue As Int, Alpha As Int) As String

  DescriptionTextColor (Red As Int, Green As Int, Blue As Int) As String

  getIsOpen As Boolean

  HideCustomRSSView As String

  Initialize (Parent As PanelWrapper, Module As Object, EventName As String, Top As Int, Height As Int) As String

  IsInitialized As Boolean

  IsOpen As Boolean [read only]

  ItemBackgroundColor (Red As Int, Green As Int, Blue As Int, Alpha As Int) As String

  ParseOfflineRSS (Directory As String, FileName As String) As String

  ParseRSS (URL As String) As String

  PrepareRSSView As String

  PublishedPrompt As String [write only]

  PublishedTextColor (Red As Int, Green As Int, Blue As Int) As String

  ResetToDefaults As String

  setAuthorPrompt (Prompt As String) As String

  setPublishedPrompt (Prompt As String) As String

  ShowRSSView As String

  TitleBackgroundColor (Red As Int, Green As Int, Blue As Int, Alpha As Int) As String

  TitleTextColor (Red As Int, Green As Int, Blue As Int) As String

Members description:

AddToRSSView (Title As String, Author As String, Image As String, Description As String, PubDate As String, Link As String) As String
Add data to the CustomRSSView.
AuthorPrompt As String [write only]
Sets the Author field prompt.
AuthorTextColor (Red As Int, Green As Int, Blue As Int) As String
Red, Green, Blue: Values 0 - 255.
CustomRSSViewBackgroundColor (Red As Int, Green As Int, Blue As Int, Alpha As Int) As String
Red, Green, Blue: Values 0 - 255.
Alpha: Value 0 - 100.
DescriptionBackgroundColor (Red As Int, Green As Int, Blue As Int, Alpha As Int) As String
Red, Green, Blue: Values 0 - 255.
Alpha: Value 0 - 100.
DescriptionTextColor (Red As Int, Green As Int, Blue As Int) As String
Red, Green, Blue: Values 0 - 255.
getIsOpen As Boolean
Returns True if open, False if not.
HideCustomRSSView As String
Hides the CustomRSSView.
Initialize (Parent As PanelWrapper, Module As Object, EventName As String, Top As Int, Height As Int) As String
Initializes the CustomRSSView library.
Parent: Activity or Panel where the custom view will be added to.
Module: Me (Required).
EventName: Prefix to be used on the event responses.
Top: CustomRSSView top position.
Height: CustomRSSView height.
IsInitialized As Boolean
Tests whether the object has been initialized.
IsOpen As Boolean [read only]
Returns True if open, False if not.
ItemBackgroundColor (Red As Int, Green As Int, Blue As Int, Alpha As Int) As String
Red, Green, Blue: Values 0 - 255.
Alpha: Value 0 - 100.
ParseOfflineRSS (Directory As String, FileName As String) As String
Parse an offline RSS Feed.
ParseRSS (URL As String) As String
Parse an online RSS Feed.
PrepareRSSView As String
Prepare the CustomRSSView to receive data.
This MUST be called before using AddToRSSView.
PublishedPrompt As String [write only]
Sets the Published field prompt.
PublishedTextColor (Red As Int, Green As Int, Blue As Int) As String
Red, Green, Blue: Values 0 - 255.
ResetToDefaults As String
Reset all the CustomRSSView colors to default.
setAuthorPrompt (Prompt As String) As String
Sets the Author field prompt.
setPublishedPrompt (Prompt As String) As String
Sets the Published field prompt.
ShowRSSView As String
Show the CustomRSSView.
TitleBackgroundColor (Red As Int, Green As Int, Blue As Int, Alpha As Int) As String
Red, Green, Blue: Values 0 - 255.
Alpha: Value 0 - 100.
TitleTextColor (Red As Int, Green As Int, Blue As Int) As String
Red, Green, Blue: Values 0 - 255.

JarFileLoader


Events:

None

Members:


  Initialize (FromAssetsFile As Boolean) As String

  IsInitialized As Boolean

  LoadBitmapFromJar (FileName As String) As BitmapWrapper

  LoadFileFromJar (FileName As String) As InputStreamWrapper

  LoadTextFileFromJar (FileName As String) As String

Members description:

Initialize (FromAssetsFile As Boolean) As String
IsInitialized As Boolean
Tests whether the object has been initialized.
LoadBitmapFromJar (FileName As String) As BitmapWrapper
LoadFileFromJar (FileName As String) As InputStreamWrapper
LoadTextFileFromJar (FileName As String) As String

Top