From wiki.ginstr.com
Jump to: navigation, search
m
m (XML Attributes Description)
Line 11: Line 11:
 
! scope="col" | Description
 
! scope="col" | Description
 
|-
 
|-
| title="Attribute" | <code>[[#gn:s_phone]]</code>
+
| title="Attribute" | <code>[[#gn:s_phone|gn:s_phone]]</code>
 
| title="Description" | Sets action type for widget to make a phone call
 
| title="Description" | Sets action type for widget to make a phone call
 
|-
 
|-
| title="Attribute" | <code>[[#gn:s_sms]]</code>
+
| title="Attribute" | <code>[[#gn:s_sms|gn:s_sms]]</code>
 
| title="Description" | Sets action type for widget to text message (SMS)
 
| title="Description" | Sets action type for widget to text message (SMS)
 
|-
 
|-
| title="Attribute" | <code>[[#gn:s_email]]</code>
+
| title="Attribute" | <code>[[#gn:s_email|gn:s_email]]</code>
 
| title="Description" | Sets action type for widget to email
 
| title="Description" | Sets action type for widget to email
 
|-
 
|-
| title="Attribute" | <code>[[#gn:s_webpage]]</code>
+
| title="Attribute" | <code>[[#gn:s_webpage|gn:s_webpage]]</code>
 
| title="Description" | Sets action type for widget to open webpage
 
| title="Description" | Sets action type for widget to open webpage
 
|-
 
|-
| title="Attribute" | <code>[[#gn:s_downloadFile]]</code>
+
| title="Attribute" | <code>[[#gn:s_downloadFile|gn:s_downloadFile]]</code>
 
| title="Description" | Sets action type for widget to download file
 
| title="Description" | Sets action type for widget to download file
 
|}
 
|}

Revision as of 17:13, 28 June 2016

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