I try to create an application for remote surveillance. Proper operation "activity" I want to convert to continuous monitoring service.
the first module detects activity and launches the bluetooth before starting the service.
service manages the bluetooth communication and SMS.
I can not declare a EditText object has the necessary bluetooth communication
if Global declared :
Error description: Undeclared variable 'txtsend' is used before it WAS Any Assigned value.
if process_global declared:
Error description: Can not access object from sub Process_Globals activity.
if locally declaring at the function:
java.lang.RuntimeException: Object shoulds be initialized first (EditText).
excuse me for my google english
thank for your help
Patrick
the first module detects activity and launches the bluetooth before starting the service.
service manages the bluetooth communication and SMS.
I can not declare a EditText object has the necessary bluetooth communication
if Global declared :
Error description: Undeclared variable 'txtsend' is used before it WAS Any Assigned value.
if process_global declared:
Error description: Can not access object from sub Process_Globals activity.
if locally declaring at the function:
java.lang.RuntimeException: Object shoulds be initialized first (EditText).
excuse me for my google english
thank for your help
Patrick