I know already, how to get user's account, under which is user registered to the device:
B4X:
Dim rfl As Reflector
rfl.Target = rfl.RunStaticMethod("android.accounts.AccountManager", "get", Array As Object(rfl.GetContext), Array As String("android.content.Context"))
Dim accounts() As Object
accounts = rfl.RunMethod2("getAccountsByType", "com.google", "java.lang.String")
For i = 0 To accounts.Length - 1
rfl.Target = accounts(i)
googleAccountName = rfl.GetField("name")
Log(googleAccountName)
Next
I would like to ask you, is it possible to collect also other user's information? For example country, device type, device producer, user's age, user's gender, user's language, etc.
Is there any risk, that I will break the law when I start to collect these information?