From wiki.ginstr.com
Revision as of 17:13, 28 June 2016 by Mark (talk | contribs) (XML Attributes Description)
Jump to: navigation, search
Inherited classes
View, GnImageView
Android class type
ImageView with some additional features.
Widget XML tag
<com.ginstr.widgets.GnPhoneAction>

XML Attributes Description

Attribute Description
gn:s_phone Sets action type for widget to make a phone call
gn:s_sms Sets action type for widget to text message (SMS)
gn:s_email Sets action type for widget to email
gn:s_webpage Sets action type for widget to open webpage
gn:s_downloadFile Sets action type for widget to download file

gn:s_phone

Sets action type for widget to make a phone call

(String) values = phone number, “”

If “” (empty) initiates phone call app with no number set

gn:s_sms

Sets action type for widget to text message (SMS)

(String) values = phone number, “”

If “” (empty) initiates a text message (SMS) app with no number set

gn:s_email

Sets action type for widget to email

(String) values = some@email.com

gn:s_webpage

Sets action type for widget to open webpage

(String) values = https://www.google.com

gn:s_downloadFile

Sets action type for widget to download file

(String) i.e. values = http://www.someurl.com/somepath/somePicture.jpg