android

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ADB  = "adb"
	AAPT = "aapt"
)

Variables

View Source
var (
	IPLookupRegex = regexp.MustCompile(`\s+inet\s+([0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3})/[0-9]+\sbrd\s([0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3})\s+.*`)
)

Functions

func GetDeviceIP

func GetDeviceIP(deviceID string) (net.IP, error)

func GetParameterInt

func GetParameterInt(deviceID, param string) int64

func GetParameterString

func GetParameterString(deviceID, param string) string

func IsAppInstalled

func IsAppInstalled(deviceID string, params *app.Parameter) (bool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL