From wiki.ginstr.com
Revision as of 14:55, 24 June 2016 by Mark (talk | contribs) (Created page with "<div style="float:right; clear:both; margin-left:0.5em;">__TOC__</div> Category:Widgets ;Inherited classes: <code>[http://developer.android.com/reference/android/view/View...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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