I have a class Globals:
class Globals{
public static WakeLock myWakeLock = null;
public static WifiLock myWifiLock = null;
}
In my ConnectService, onCreate() method, I acquire the wakelock using:
wakeLock =
powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, My Lock);
Ya I m able to see in Logcat.
On Thu, Feb 7, 2013 at 3:48 PM, skink psk...@gmail.com wrote:
Archana r wrote:
I have a class Globals:
¿and do you see in the logcat:
Wake lock is
acquired successfull
?
pskink
--
--
You received this message because you are subscribed
Hi,
I have integrated the code(ScriptActivity and ScriptService from SL4A into
my project to execute PythonScripts in Android).. So I have ExecuteScript-
ScriptActivity-ScriptService ...
On Wed, Feb 6, 2013 at 1:24 PM, skink psk...@gmail.com wrote:
a wrote:
Hi, An update to my question
Yes it is :)
ConnectService runs HTTP server in the phone. Initially, when Start button
is pressed, the script is HTTP Posted to the client. To execute the script,
this service calls ExecuteScript.
On Wed, Feb 6, 2013 at 2:39 PM, skink psk...@gmail.com wrote:
a wrote:
Hi I have acquired
I acquire WakeLock in onCreate() of ConnectService and release it only in
onDestroy() of ConnectService.
On Wed, Feb 6, 2013 at 3:05 PM, skink psk...@gmail.com wrote:
Archana r wrote:
Yes it is :)
ConnectService runs HTTP server in the phone. Initially, when Start
button
is pressed
My requirement is to have a service running and do a HTTP Post of a file to
a device. In the handler for POST, I call an intent(using III party
library) which executes scripts(and obtains results) and sends Broadcast
message to my service. In the broadcast receiver, I update the new contents
and
I did not get your question.
The script stores the result in a file in internal memory. Is that what you
are asking?
On Thu, Jan 3, 2013 at 2:49 PM, skink psk...@gmail.com wrote:
a wrote:
The extras that I pass to intent A are the script to be executed and its
type, both being String.
The link contains code where a separate thread is started for each request.
Can I use it?
Can you please explain your comment?
Thanks!
On Thu, Dec 27, 2012 at 1:33 PM, skink psk...@gmail.com wrote:
Archana wrote:
Hi,
Does the server in the
8 matches
Mail list logo