ho cercato di realizzare qualche riga di programma e tramite il sensore di prossimità vorrei attivare lo schermo...perdonate eventuali errori macroscopici ma sono all'inizio
Sub p_SensorChanged (Values() As Float)
Dim sensor As Int
sensor = Values (0)
If sensorvalue < p.MaxValue Then
Dim PhoneId As PhoneId
s.InitializeWithPhoneState("event",PhoneId)
End If
End Sub
Sub event_ScreenOn (Intent As Intent)
End Sub
Sub p_SensorChanged (Values() As Float)
Dim sensor As Int
sensor = Values (0)
If sensorvalue < p.MaxValue Then
Dim PhoneId As PhoneId
s.InitializeWithPhoneState("event",PhoneId)
End If
End Sub
Sub event_ScreenOn (Intent As Intent)
End Sub
Last edited: