Re: [android-developers] Set carat/cursor position for EditText?

2013-01-03 Thread Etienne
This doesnt work in my case. The setSelection() method seems to have no 
effect. My EditText view contains ImageSpans. Is there some other kind of 
workaround? 

On Thursday, February 28, 2008 6:43:29 PM UTC-8, Megha Joshi wrote:

 Hi,

 This request has been made before and a method for handling cursor 
 position in EditText will be added in a future release of the SDK.
 For now, please use the following workaround:

 EditText inputField = new EditText(this);;
 Editable etext = inputField.getText();
 int position = etext.length();  // end of buffer, for instance
 Selection.setSelection(etext, position);

 Thanks,
 Megha

 On Wed, Feb 27, 2008 at 3:57 PM, conlan con...@gmail.com javascript: 
 wrote:


 I've looked at the docs for EditText and can't find anything related
 to setting the carat position for an editText.

 This is an issue because if it's filled with a page worth of
 characters, the user shouldn't have to hold down the arrow key until
 the cursor gets to the end.

 Thanks




-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: terminating android application

2013-01-03 Thread laxman k
it is only kill the current activity

On Thu, Jan 3, 2013 at 1:27 PM, Sushant Das sushant@gmail.com wrote:

 *android.os.Process.killProcess(android.os.Process.myPid())*

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] terminating android application

2013-01-03 Thread Tamil Arasi
Hi,

you use the below code i hope this is help to u..


public boolean onKeyDown(int keyCode, KeyEvent event)
{
if (keyCode == KeyEvent.KEYCODE_BACK)
{
moveTaskToBack(true);
return true;
}
return super.onKeyDown(keyCode, event);
}




On Wed, Jan 2, 2013 at 8:51 PM, laxman k laxman.k1...@gmail.com wrote:

 how terminate android application from  any activity and kill background
 process

 i am use
 finsh();
 system.exit(0);
 System.runFinalizersOnExit(true);
 android.os.Process.killProcess(android.os.Process.myPid());

 these are only close te  current Activity

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Http Response inside a service in Android

2013-01-03 Thread a
Hi I have implemented HTTP server in Android device. When my app loads, a 
service gets started that handles the method POST. In my handler for HTTP 
Post, I m calling 2 intents and finally a service in 
replaceResourceSegment() method below (using a III party code) to execute 
some scripts after which a Broadcast message is sent to my service. I need 
to send HTTP Response after the Broadcast is received by the service(in the 
receiver). Basically I want to wait till my script gets executed and then 
send the response in Broadcast Receiver. Can some one guide me in this 
implementation?

if(method.equals(POST))
{   
conn.receiveRequestEntity((HttpEntityEnclosingRequest)request); 

HttpEntity entity = ((HttpEntityEnclosingRequest)request).getEntity();  

String content_type = +entity.getContentType();
JSONReceived = EntityUtils.toString(entity);
if(content_type.contains(json))
{   
Log.d(TAG,Content received is: +JSONReceived);
bufferedWriter = new BufferedWriter(new FileWriter(new 
File(getFilesDir()+File.separator+constants.UPDATED_SCRIPT_FILE)));
bufferedWriter.write(JSONReceived);
bufferedWriter.close();
try {
parseJSON(JSONReceived);
replaceResourceSegment();   

} catch (IOException e) {
e.printStackTrace();
Log.d(TAG,IOException line 157);
}

Code for sending response back:


HttpResponse postResponse = new BasicHttpResponse(HttpVersion.HTTP_1_1, 200, 
OK);
postResponse.setEntity(new StringEntity(Got it));
conn.sendResponseHeader(postResponse);
conn.sendResponseEntity(postResponse);


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: terminating android application

2013-01-03 Thread Alexey Redinskii
If your activities host in different processes, you have to kill the
processes manually. Otherwise the command kills all activities hosted in
one process.

On Thu, Jan 3, 2013 at 11:17 AM, laxman k laxman.k1...@gmail.com wrote:

 it is only kill the current activity

 On Thu, Jan 3, 2013 at 1:27 PM, Sushant Das sushant@gmail.com wrote:

 *android.os.Process.killProcess(android.os.Process.myPid())*


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
*Kind Regards,
Alexey.*

*Phone (cell):** **+375 29 5109703

**Skype: i4004Sam**
**Email:** aredins...@gmail.com
evge...@tut.by** *

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Moving the cursor to the beginning of an EditText

2013-01-03 Thread skink


Etienne wrote:
 This doesnt work in my case.  The setSelection() method seems to have no
 effect.  My EditText view contains ImageSpans.  Is there some other kind of
 workaround?



if you called setText before and the new text didn't get layout phase
call setSelection in a separate runnable fired by View.post(Runnable)

pskink

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Weird situation when build with usr mode

2013-01-03 Thread futurexiong
Product must be built in usr mode...

在 2013年1月2日星期三UTC+8下午10时30分41秒,bob写道:



 On Wednesday, January 2, 2013 2:46:23 AM UTC-6, futurexiong wrote:

 I modified createLockScreen method of LockPatternKeyguardView.java in 
 framework,intend to change default LockScreen. In createLockScreen method I 
 use reflection to new my own lockscreen view in my own lockscreen apk which 
 would be installed in /system/app/.
 It works fine when i build the entire system with eng mode,



 Sounds like you should build it with eng mode.

  

 but not fine with usr mode.Log shows me that reflection find no such 
 method in my own lockscreen view. I decompile the apk in each build 
 mode,find out that apk build with usr mode does not have constructor,and 
 some other method are lost either.
 Can anyone explain this weird situation for me?
 BTW,my apk share uid with android.uid.system and my Android.mk add this 
 line:LOCAL_JAVA_LIBRARIES := android.policy framework because I need to use 
 some internal apis of Keyguard.



-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] New Android Game

2013-01-03 Thread Mike Portnoy
Hello guys, try my new app. it's free.

https://play.google.com/store/apps/details?id=com.keken.whack

Download it for free and dont forget to comment and rate!!

Thanks guys,




 From: futurexiong futurexi...@gmail.com
To: android-developers@googlegroups.com 
Sent: Thursday, January 3, 2013 4:57 PM
Subject: [android-developers] Re: Weird situation when build with usr mode
 

Product must be built in usr mode...

在 2013年1月2日星期三UTC+8下午10时30分41秒,bob写道:


On Wednesday, January 2, 2013 2:46:23 AM UTC-6, futurexiong wrote:
I modified createLockScreen method of LockPatternKeyguardView.java in 
framework,intend to change default LockScreen. In createLockScreen method I 
use reflection to new my own lockscreen view in my own lockscreen apk which 
would be installed in /system/app/.
It works fine when i build the entire system with eng mode,




Sounds like you should build it with eng mode.


 
but not fine with usr mode.Log shows me that reflection find no such method in 
my own lockscreen view. I decompile the apk in each build mode,find out that 
apk build with usr mode does not have constructor,and some other method are 
lost either.
Can anyone explain this weird situation for me?
BTW,my apk share uid with android.uid.system and my Android.mk add this 
line:LOCAL_JAVA_LIBRARIES := android.policy framework because I need to use 
some internal apis of Keyguard.
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] hi.guys ..

2013-01-03 Thread Ibrahim Sada
I want to make new application like as shown in the attached file ...
Can any one help me please .
or how to start
Thanks in advance...

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=enattachment: spbshell.jpeg

Re: [android-developers] hi.guys ..

2013-01-03 Thread TreKing
On Thu, Jan 3, 2013 at 3:48 AM, Ibrahim Sada ibrahim.in...@gmail.comwrote:

 Can any one help me please .


With what? You didn't ask a question.


 or how to start


http://developer.android.com/index.html

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Http Response inside a service in Android

2013-01-03 Thread skink


a wrote:
 Hi I have implemented HTTP server in Android device. When my app loads, a
 service gets started that handles the method POST. In my handler for HTTP
 Post, I m calling 2 intents

what two intents? what are you trying to do?

pskink

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] hi.guys ..

2013-01-03 Thread Ibrahim Sada
Check out attachment ...

On 3 January 2013 15:32, TreKing treking...@gmail.com wrote:

 On Thu, Jan 3, 2013 at 3:48 AM, Ibrahim Sada ibrahim.in...@gmail.comwrote:

 Can any one help me please .


 With what? You didn't ask a question.


 or how to start


 http://developer.android.com/index.html


 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Http Response inside a service in Android

2013-01-03 Thread a
To execute scripts using Third party library which returns a result. 
Basically I want to send a response for HTTP Post in the Broadcast 
Receiver. Please let me know how this can be done?

On Thursday, January 3, 2013 12:02:59 PM UTC+2, skink wrote:



 a wrote: 
  Hi I have implemented HTTP server in Android device. When my app loads, 
 a 
  service gets started that handles the method POST. In my handler for 
 HTTP 
  Post, I m calling 2 intents 

 what two intents? what are you trying to do? 

 pskink 


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Http Response inside a service in Android

2013-01-03 Thread skink


a wrote:
 To execute scripts using Third party library which returns a result.
 Basically I want to send a response for HTTP Post in the Broadcast
 Receiver. Please let me know how this can be done?



then call third party library directly.

or is it kind of Service? if so pass some unique id in your intent to
identify your request

pskink

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] hi.guys ..

2013-01-03 Thread skink


Ibrahim Sada wrote:
 Check out attachment ...



http://
developer.android.com/
index.html

pskink

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Http Response inside a service in Android

2013-01-03 Thread Archana r
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 post it back. I want to define the response for POST in Broadcast
receiver, so that old copy of the file gets deleted in the device. Let me
 know if you need details.

Thanks!

On Thu, Jan 3, 2013 at 12:30 PM, skink psk...@gmail.com wrote:



 a wrote:
  To execute scripts using Third party library which returns a result.
  Basically I want to send a response for HTTP Post in the Broadcast
  Receiver. Please let me know how this can be done?
 
 

 then call third party library directly.

 or is it kind of Service? if so pass some unique id in your intent to
 identify your request

 pskink

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Regards,
Archana

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Http Response inside a service in Android

2013-01-03 Thread skink


Archana r wrote:
 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,

what are the intent extras in your receiver?

pskink

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: hi friends

2013-01-03 Thread sree android
thank you friend.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] hi friends

2013-01-03 Thread sree android
The above attachment i can use four TextView and one CheckBox and One
ImageView.

Four textview are display like below  format and when i click check box
strike all textviews.give me ideas or any code.
Between each textview i can use pipe symbol.how

TEXTVIEW
(TEXTVIEW | TEXTVIEW | TEXTVIEW)

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=enattachment: device-2013-01-03-173057.png

Re: [android-developers] Re: Http Response inside a service in Android

2013-01-03 Thread a
As of now, I dont have any extras. I have defined a receiver for 
BroadcastReceiver.  

On Thursday, January 3, 2013 1:25:23 PM UTC+2, skink wrote:



 Archana r wrote: 
  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, 

 what are the intent extras in your receiver? 

 pskink 


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Http Response inside a service in Android

2013-01-03 Thread skink


a wrote:
 As of now, I dont have any extras. I have defined a receiver for
 BroadcastReceiver.



no extras???

so what calls sendBroadcast() then???

pskink

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Http Response inside a service in Android

2013-01-03 Thread a
From my service S,  I call an intent A. This inturn calls another intent B 
using startActivityForResult(). In the onActivityResult(int requestCode, 
int resultCode, Intent data), I send the broadcast. I have defined the 
broadcast receiver in my service S. This design is done based on the 
requirements. 

On Thursday, January 3, 2013 2:24:11 PM UTC+2, skink wrote:



 a wrote: 
  As of now, I dont have any extras. I have defined a receiver for 
  BroadcastReceiver. 
  
  

 no extras??? 

 so what calls sendBroadcast() then??? 

 pskink 


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Http Response inside a service in Android

2013-01-03 Thread skink


a wrote:
 From my service S,  I call an intent A. This inturn calls another intent B
 using startActivityForResult(). In the onActivityResult(int requestCode,
 int resultCode, Intent data),

what are data's extras?

pskink

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Http Response inside a service in Android

2013-01-03 Thread a
The extras that I pass to intent A are the script to be executed and its 
type, both being String. 

On Thursday, January 3, 2013 2:35:51 PM UTC+2, skink wrote:



 a wrote: 
  From my service S,  I call an intent A. This inturn calls another intent 
 B 
  using startActivityForResult(). In the onActivityResult(int requestCode, 
  int resultCode, Intent data), 

 what are data's extras? 

 pskink 


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Http Response inside a service in Android

2013-01-03 Thread skink


a wrote:
 The extras that I pass to intent A are the script to be executed and its
 type, both being String.


I was asking about out extras not in extras

pskink

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: hi friends

2013-01-03 Thread sree android
TEXTVIEW

 (TEXTVIEW | TEXTVIEW | TEXTVIEW)


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: hi friends

2013-01-03 Thread sree android
I Got solution for this,Thank you no need to explain it.

 TEXTVIEW
 (TEXTVIEW | TEXTVIEW | TEXTVIEW)


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Http Response inside a service in Android

2013-01-03 Thread Archana r
 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.
 

 I was asking about out extras not in extras

 pskink

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Regards,
Archana

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Http Response inside a service in Android

2013-01-03 Thread skink


Archana r wrote:
 I did not get your question.
 The script stores the result in a file in internal memory. Is that what you
 are asking?



seems that your architecture is too complicated

what is called using intents A and B?

pskink

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Http Response inside a service in Android

2013-01-03 Thread a
SL4A (Executing Python script in Android). The result of simple calculation 
is stored in the phone's memory.

On Thursday, January 3, 2013 3:03:19 PM UTC+2, skink wrote:



 Archana r wrote: 
  I did not get your question. 
  The script stores the result in a file in internal memory. Is that what 
 you 
  are asking? 
  
  

 seems that your architecture is too complicated 

 what is called using intents A and B? 

 pskink 


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Http Response inside a service in Android

2013-01-03 Thread skink


a wrote:
 SL4A (Executing Python script in Android). The result of simple calculation
 is stored in the phone's memory.


again: what is called using intent A? a service, a broadcast, an
activity? is it yours or belongs to sl4a?

the same questions apply to intent B

pskink

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Http Response inside a service in Android

2013-01-03 Thread a
Intent A calls another intent B which calls the service of SL4A to execute 
the script. I have made modifications to SL4A code and integrated to my 
application. After script executes, it communicates with my service using 
Broadcast message. My response to the Http Post should be present in the 
Broadcast receiver's definition. My current problem is that, my HttpHandler 
class(that handles GET/POST/DELETE) exits before the script gets executed 
by the SL4A service... Hope I made it clear.. 

On Thursday, January 3, 2013 3:30:46 PM UTC+2, skink wrote:



 a wrote: 
  SL4A (Executing Python script in Android). The result of simple 
 calculation 
  is stored in the phone's memory. 
  

 again: what is called using intent A? a service, a broadcast, an 
 activity? is it yours or belongs to sl4a? 

 the same questions apply to intent B 

 pskink 


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Http Response inside a service in Android

2013-01-03 Thread skink


a wrote:
 Intent A calls another intent B which calls the service of SL4A to execute
 the script. I have made modifications to SL4A code and integrated to my
 application. After script executes, it communicates with my service using
 Broadcast message. My response to the Http Post should be present in the
 Broadcast receiver's definition. My current problem is that, my HttpHandler
 class(that handles GET/POST/DELETE) exits before the script gets executed
 by the SL4A service... Hope I made it clear..



not at all. what is Intent A calls another Intent B???

I don't understand it at all

what is called using intent A? a service, a broadcast, an
activity? is it yours or belongs to sl4a?

the same questions apply to intent B

pskink

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Http Response inside a service in Android

2013-01-03 Thread a
I have a service S. 
I click button POST in GUI which posts a script file. In my HTTP POST 
handler defined in S,  I call startActivity(A). 
In intent A, I have another intent which is called by 
startActivityForResult(B).
Intent B calls SL4A to execute scripts(I have made minor modifications and 
integrated the code to my app) and stores result in internal memory.
After SL4A's execution, in A's onActivityResult() method I call the 
sendBroadcast(ScriptCompleted).
The receiver of this is defined in service S. This retrieves the result 
value from internal memory and creates a new script file. I need to respond 
for the POST method inside this receiver(to delete the old script file).  



On Thursday, January 3, 2013 4:13:59 PM UTC+2, skink wrote:



 a wrote: 
  Intent A calls another intent B which calls the service of SL4A to 
 execute 
  the script. I have made modifications to SL4A code and integrated to my 
  application. After script executes, it communicates with my service 
 using 
  Broadcast message. My response to the Http Post should be present in the 
  Broadcast receiver's definition. My current problem is that, my 
 HttpHandler 
  class(that handles GET/POST/DELETE) exits before the script gets 
 executed 
  by the SL4A service... Hope I made it clear.. 
  
  

 not at all. what is Intent A calls another Intent B??? 

 I don't understand it at all 

 what is called using intent A? a service, a broadcast, an 
 activity? is it yours or belongs to sl4a? 

 the same questions apply to intent B 

 pskink 


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Http Response inside a service in Android

2013-01-03 Thread skink


a wrote:
 I have a service S.
 I click button POST in GUI which posts a script file. In my HTTP POST
 handler defined in S,  I call startActivity(A).
 In intent A, I have another intent which is called by
 startActivityForResult(B).
 Intent B calls SL4A to execute scripts(I have made minor modifications and
 integrated the code to my app) and stores result in internal memory.
 After SL4A's execution, in A's onActivityResult() method I call the
 sendBroadcast(ScriptCompleted).
 The receiver of this is defined in service S. This retrieves the result
 value from internal memory and creates a new script file. I need to respond
 for the POST method inside this receiver(to delete the old script file).



 On Thursday, January 3, 2013 4:13:59 PM UTC+2, skink wrote:
 
 
 
  a wrote:
   Intent A calls another intent B which calls the service of SL4A to
  execute
   the script. I have made modifications to SL4A code and integrated to my
   application. After script executes, it communicates with my service
  using
   Broadcast message. My response to the Http Post should be present in the
   Broadcast receiver's definition. My current problem is that, my
  HttpHandler
   class(that handles GET/POST/DELETE) exits before the script gets
  executed
   by the SL4A service... Hope I made it clear..
  
  
 
  not at all. what is Intent A calls another Intent B???
 
  I don't understand it at all
 
  what is called using intent A? a service, a broadcast, an
  activity? is it yours or belongs to sl4a?
 
  the same questions apply to intent B
 
  pskink
 

how Intent B calls SL4A?

could you use more technical words? intent can't call anything, an
activity can startActivity, startService, sendBroadcast but intent
cannot call anything

pskink

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Http Response inside a service in Android

2013-01-03 Thread a
I downloaded the source code of SL4A and integrated during the call of 
 startActivityForResult(B), which executes the script.

On Thursday, January 3, 2013 4:41:09 PM UTC+2, skink wrote:



 a wrote: 
  I have a service S. 
  I click button POST in GUI which posts a script file. In my HTTP POST 
  handler defined in S,  I call startActivity(A). 
  In intent A, I have another intent which is called by 
  startActivityForResult(B). 
  Intent B calls SL4A to execute scripts(I have made minor modifications 
 and 
  integrated the code to my app) and stores result in internal memory. 
  After SL4A's execution, in A's onActivityResult() method I call the 
  sendBroadcast(ScriptCompleted). 
  The receiver of this is defined in service S. This retrieves the result 
  value from internal memory and creates a new script file. I need to 
 respond 
  for the POST method inside this receiver(to delete the old script file). 
  
  
  
  On Thursday, January 3, 2013 4:13:59 PM UTC+2, skink wrote: 
   
   
   
   a wrote: 
Intent A calls another intent B which calls the service of SL4A to 
   execute 
the script. I have made modifications to SL4A code and integrated to 
 my 
application. After script executes, it communicates with my service 
   using 
Broadcast message. My response to the Http Post should be present in 
 the 
Broadcast receiver's definition. My current problem is that, my 
   HttpHandler 
class(that handles GET/POST/DELETE) exits before the script gets 
   executed 
by the SL4A service... Hope I made it clear.. 


   
   not at all. what is Intent A calls another Intent B??? 
   
   I don't understand it at all 
   
   what is called using intent A? a service, a broadcast, an 
   activity? is it yours or belongs to sl4a? 
   
   the same questions apply to intent B 
   
   pskink 
   

 how Intent B calls SL4A? 

 could you use more technical words? intent can't call anything, an 
 activity can startActivity, startService, sendBroadcast but intent 
 cannot call anything 

 pskink 


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: hi.guys ..

2013-01-03 Thread bob
 

You will want to use OpenGL ES.


Draw 8 quads in octagon formation.


Then do:


glScale3f(1.0f, -1.0f, 1.0f);


and draw again with 50% opacity.


This will give you the reflection.



On Thursday, January 3, 2013 3:48:19 AM UTC-6, Ibrahim wrote:

 I want to make new application like as shown in the attached file ...
 Can any one help me please .
 or how to start 
 Thanks in advance...


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: terminating android application

2013-01-03 Thread Streets Of Boston
First of all: Why?

Secondly: If your process is killed (through a 'kill' command issued, 
through System.exit or Process.killProcess), the OS may restart it (like 
you see sometimes when your app crashes and is starting up immediately 
again with the previous Activity). Also, and this depends on your app''s 
design and purpose, your activity may be hosted inside some other app's 
process. You won't be killing 'your' process but someone else's instead. 

All in all, don't kill your app. *Don't* have an exit button unless you 
have no other option.
http://www.youtube.com/watch?v=631T7B8HOv4


On Wednesday, January 2, 2013 10:21:45 AM UTC-5, laxman k wrote:

 how terminate android application from  any activity and kill background 
 process

 i am use
 finsh();
 system.exit(0);
 System.runFinalizersOnExit(true);
 android.os.Process.killProcess(android.os.Process.myPid());

 these are only close te  current Activity


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Http Response inside a service in Android

2013-01-03 Thread skink


a wrote:
 I downloaded the source code of SL4A and integrated during the call of
  startActivityForResult(B), which executes the script.



ok I give up, you need someone else who will help you

pskink

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Weird situation when build with usr mode

2013-01-03 Thread bob
 

Well, you are calling the methods using Reflection.


So, Java doesn't know you are actually using them.


So, the Java compiler just optimizes those methods out.


Maybe you shouldn't use Reflection?



On Thursday, January 3, 2013 2:57:44 AM UTC-6, futurexiong wrote:

 Product must be built in usr mode...

 在 2013年1月2日星期三UTC+8下午10时30分41秒,bob写道:



 On Wednesday, January 2, 2013 2:46:23 AM UTC-6, futurexiong wrote:

 I modified createLockScreen method of LockPatternKeyguardView.java in 
 framework,intend to change default LockScreen. In createLockScreen method I 
 use reflection to new my own lockscreen view in my own lockscreen apk which 
 would be installed in /system/app/.
 It works fine when i build the entire system with eng mode,



 Sounds like you should build it with eng mode.

  

 but not fine with usr mode.Log shows me that reflection find no such 
 method in my own lockscreen view. I decompile the apk in each build 
 mode,find out that apk build with usr mode does not have constructor,and 
 some other method are lost either.
 Can anyone explain this weird situation for me?
 BTW,my apk share uid with android.uid.system and my Android.mk add this 
 line:LOCAL_JAVA_LIBRARIES := android.policy framework because I need to use 
 some internal apis of Keyguard.



-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: hi.guys ..

2013-01-03 Thread Ibrahim Sada
Hey bro i do not know how to start that...
please help me out...
Thanks in advance

On 3 January 2013 20:28, bob b...@coolfone.comze.com wrote:

 You will want to use OpenGL ES.


 Draw 8 quads in octagon formation.


 Then do:


 glScale3f(1.0f, -1.0f, 1.0f);


 and draw again with 50% opacity.


 This will give you the reflection.



 On Thursday, January 3, 2013 3:48:19 AM UTC-6, Ibrahim wrote:

 I want to make new application like as shown in the attached file ...
 Can any one help me please .
 or how to start
 Thanks in advance...

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: hi.guys ..

2013-01-03 Thread bob
You will want to start with the code here:

http://code.google.com/p/nehe-android/


It is basically the source to these 3d demos:

https://play.google.com/store/apps/details?id=ro.brite.android.nehe



On Thursday, January 3, 2013 9:05:30 AM UTC-6, Ibrahim wrote:

 Hey bro i do not know how to start that...
 please help me out...
 Thanks in advance

 On 3 January 2013 20:28, bob b...@coolfone.comze.com javascript:wrote:

 You will want to use OpenGL ES.


 Draw 8 quads in octagon formation.


 Then do:


 glScale3f(1.0f, -1.0f, 1.0f);


 and draw again with 50% opacity.


 This will give you the reflection.



 On Thursday, January 3, 2013 3:48:19 AM UTC-6, Ibrahim wrote:

 I want to make new application like as shown in the attached file ...
 Can any one help me please .
 or how to start 
 Thanks in advance...

  -- 
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to 
 android-d...@googlegroups.comjavascript:
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com javascript:
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Weird situation when build with usr mode

2013-01-03 Thread futurexiong
I must use reflection because i must reflect the view in my own system apk 
when LockPatternKerguardView.java in framework creates lock screen.
I don't know why in eng mode the build system does not optimize my code but 
usr mode does?
Thanks.

在 2013年1月3日星期四UTC+8下午11时05分12秒,bob写道:

 Well, you are calling the methods using Reflection.


 So, Java doesn't know you are actually using them.


 So, the Java compiler just optimizes those methods out.


 Maybe you shouldn't use Reflection?



 On Thursday, January 3, 2013 2:57:44 AM UTC-6, futurexiong wrote:

 Product must be built in usr mode...

 在 2013年1月2日星期三UTC+8下午10时30分41秒,bob写道:



 On Wednesday, January 2, 2013 2:46:23 AM UTC-6, futurexiong wrote:

 I modified createLockScreen method of LockPatternKeyguardView.java in 
 framework,intend to change default LockScreen. In createLockScreen method 
 I 
 use reflection to new my own lockscreen view in my own lockscreen apk 
 which 
 would be installed in /system/app/.
 It works fine when i build the entire system with eng mode,



 Sounds like you should build it with eng mode.

  

 but not fine with usr mode.Log shows me that reflection find no such 
 method in my own lockscreen view. I decompile the apk in each build 
 mode,find out that apk build with usr mode does not have constructor,and 
 some other method are lost either.
 Can anyone explain this weird situation for me?
 BTW,my apk share uid with android.uid.system and my Android.mk add this 
 line:LOCAL_JAVA_LIBRARIES := android.policy framework because I need to 
 use 
 some internal apis of Keyguard.



-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Weird situation when build with usr mode

2013-01-03 Thread futurexiong
Is it dexopt's reason?Can I indicate that what codes dexopt should not 
optimise?

在 2013年1月3日星期四UTC+8下午11时05分12秒,bob写道:

 Well, you are calling the methods using Reflection.


 So, Java doesn't know you are actually using them.


 So, the Java compiler just optimizes those methods out.


 Maybe you shouldn't use Reflection?



 On Thursday, January 3, 2013 2:57:44 AM UTC-6, futurexiong wrote:

 Product must be built in usr mode...

 在 2013年1月2日星期三UTC+8下午10时30分41秒,bob写道:



 On Wednesday, January 2, 2013 2:46:23 AM UTC-6, futurexiong wrote:

 I modified createLockScreen method of LockPatternKeyguardView.java in 
 framework,intend to change default LockScreen. In createLockScreen method 
 I 
 use reflection to new my own lockscreen view in my own lockscreen apk 
 which 
 would be installed in /system/app/.
 It works fine when i build the entire system with eng mode,



 Sounds like you should build it with eng mode.

  

 but not fine with usr mode.Log shows me that reflection find no such 
 method in my own lockscreen view. I decompile the apk in each build 
 mode,find out that apk build with usr mode does not have constructor,and 
 some other method are lost either.
 Can anyone explain this weird situation for me?
 BTW,my apk share uid with android.uid.system and my Android.mk add this 
 line:LOCAL_JAVA_LIBRARIES := android.policy framework because I need to 
 use 
 some internal apis of Keyguard.



-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Demo Code For Clock with Auto-Location?

2013-01-03 Thread Jake Colman

Does anyone know where I can find demo code for a clock widget that
shows the current location?  I have found demo code for a clock but not
demo code for one that updates its location.

TIA!

-- 
Jake Colman -- Android Tinkerer

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Demo Code For Clock with Auto-Location?

2013-01-03 Thread Josphat Muchiri
Ok i can send u
On Jan 3, 2013 7:29 PM, Jake Colman col...@ppllc.com wrote:


 Does anyone know where I can find demo code for a clock widget that
 shows the current location?  I have found demo code for a clock but not
 demo code for one that updates its location.

 TIA!

 --
 Jake Colman -- Android Tinkerer

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: New OpenGL ES 2.0 Game Engine Option

2013-01-03 Thread bob
 

Cool.


Maybe you could put an app in the Android Market that demos your new 
engine?  


This would make it easier for us to see what it can do.



On Tuesday, January 1, 2013 11:57:53 AM UTC-6, Robert Green wrote:

 Thanks bob!  That game was from before BatteryTech and was the reason we 
 built a proper game engine.


 Robert Green
 DIY at http://www.rbgrn.net/


 On Mon, Dec 31, 2012 at 7:38 PM, bob b...@coolfone.comze.comjavascript:
  wrote:

 Thanks.

 By the way, I tried your Deadly Chambers game.  It is impressive.  I like 
 how the guy's name is Chambers.  Very funny.



 On Saturday, December 29, 2012 12:46:49 PM UTC-6, Robert Green wrote:

 Yes, texture mapping is fairly standard and is very well supported.

 BAI means Binary Asset Import and is a compact memory-safe format of 
 the internal structure of the open asset importer library.  We did create 
 it ourselves but it's simple, easy to maintain and extend and fully 
 compatible with version 2 of that library, which is why you can easily add 
 more formats to the engine.

 On Friday, December 28, 2012 2:24:49 PM UTC-6, bob wrote:

 Thanks.


 Also,


 Does it support texture-mapped models?


 And, is the BAI format your own invention?



 On Friday, December 28, 2012 11:28:48 AM UTC-6, Robert Green wrote:

 Out of the box it supports OBJ for static geometry and Collada (DAE) 
 for static and animated models.  We have a utility that will convert 
 either 
 of those to a binary format called BAI to go to production because it's 
 smaller and loads faster.  The engine uses a library called Open Asset 
 Import which supports 30+ formats, so if you want more formats supported, 
 all you have to do is add in the format support files to either the 
 engine 
 or the BAI conversion utility.  I think the only format that isn't 
 supported by Open Asset Importer is FBX, but autodesk has good FBX to DAE 
 conversion utilities that work, so there is that option.

 On Thursday, December 27, 2012 10:54:07 PM UTC-6, bob wrote:

 Looks interesting.  What 3d model formats does it support?


 On Thursday, December 27, 2012 5:24:59 PM UTC-6, Robert Green wrote:

 Hi All,

  I'm a long time contributor of this group (over 400 posts I think), 
 developer of Deadly Chambers, Antigen and several other Android games 
 and 
 just wanted to, in good will, let you know about the game engine that 
 we've 
 been developing for the past 2 years.  It's called BatteryTech Engine 
 and 
 is available at http://www.batterytechsdk.com .  It's full OpenGL 
 ES 2.0 and was designed around Android so that it would work really 
 well 
 across over 1000 devices, maybe more.  It's free to develop but does 
 require a license to deploy.  The license gets you full engine source 
 code 
 which is something you don't see often from comparable engines.  We 
 completely integrated Box2D and everything is bound to Lua to make it 
 really easy to script out game logic.  You can also deploy on other 
 platforms, but it works great specifically for Android too.

 Please let me know what you think, either here, privately or 
 otherwise.  Would love feedback and am always happy to support.

 Thanks everyone!!

  -- 
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to 
 android-d...@googlegroups.comjavascript:
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com javascript:
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: New OpenGL ES 2.0 Game Engine Option

2013-01-03 Thread Robert Green
Hi Bob,

There are a number of games already available using BatteryTech Engine that
show off some of the basic capabilities, then we do include an APK of our
demo in the engine download so that you can try it out on your device.
 We'll be posting that to the market next week as well, but it is available
now in the archive.

Here are a few games using it if you want to take a peek at them:

Slyon Ball -
https://play.google.com/store/apps/details?id=com.slyonstudios.slyonballhl=en
The Digits: Fraction Blast -
https://play.google.com/store/apps/details?id=com.watchthedigits.fractionblasthl=en
Slyon Street Tuner -
https://play.google.com/store/apps/details?id=com.slyonstudios.streettuner
NSCRA Tuner Challenge -
https://play.google.com/store/apps/details?id=com.powerrevracing.nscra



Robert Green
DIY at http://www.rbgrn.net/


On Thu, Jan 3, 2013 at 12:10 PM, bob b...@coolfone.comze.com wrote:

 Cool.


 Maybe you could put an app in the Android Market that demos your new
 engine?


 This would make it easier for us to see what it can do.



 On Tuesday, January 1, 2013 11:57:53 AM UTC-6, Robert Green wrote:

 Thanks bob!  That game was from before BatteryTech and was the reason we
 built a proper game engine.


 Robert Green
 DIY at http://www.rbgrn.net/


 On Mon, Dec 31, 2012 at 7:38 PM, bob b...@coolfone.comze.com wrote:

  Thanks.

 By the way, I tried your Deadly Chambers game.  It is impressive.  I
 like how the guy's name is Chambers.  Very funny.



 On Saturday, December 29, 2012 12:46:49 PM UTC-6, Robert Green wrote:

 Yes, texture mapping is fairly standard and is very well supported.

 BAI means Binary Asset Import and is a compact memory-safe format of
 the internal structure of the open asset importer library.  We did create
 it ourselves but it's simple, easy to maintain and extend and fully
 compatible with version 2 of that library, which is why you can easily add
 more formats to the engine.

 On Friday, December 28, 2012 2:24:49 PM UTC-6, bob wrote:

 Thanks.


 Also,


 Does it support texture-mapped models?


 And, is the BAI format your own invention?



 On Friday, December 28, 2012 11:28:48 AM UTC-6, Robert Green wrote:

 Out of the box it supports OBJ for static geometry and Collada (DAE)
 for static and animated models.  We have a utility that will convert 
 either
 of those to a binary format called BAI to go to production because it's
 smaller and loads faster.  The engine uses a library called Open Asset
 Import which supports 30+ formats, so if you want more formats supported,
 all you have to do is add in the format support files to either the 
 engine
 or the BAI conversion utility.  I think the only format that isn't
 supported by Open Asset Importer is FBX, but autodesk has good FBX to DAE
 conversion utilities that work, so there is that option.

 On Thursday, December 27, 2012 10:54:07 PM UTC-6, bob wrote:

 Looks interesting.  What 3d model formats does it support?


 On Thursday, December 27, 2012 5:24:59 PM UTC-6, Robert Green wrote:

 Hi All,

  I'm a long time contributor of this group (over 400 posts I
 think), developer of Deadly Chambers, Antigen and several other Android
 games and just wanted to, in good will, let you know about the game 
 engine
 that we've been developing for the past 2 years.  It's called 
 BatteryTech
 Engine and is available at http://www.batterytechsdk.com .  It's
 full OpenGL ES 2.0 and was designed around Android so that it would 
 work
 really well across over 1000 devices, maybe more.  It's free to 
 develop but
 does require a license to deploy.  The license gets you full engine 
 source
 code which is something you don't see often from comparable engines.  
 We
 completely integrated Box2D and everything is bound to Lua to make it
 really easy to script out game logic.  You can also deploy on other
 platforms, but it works great specifically for Android too.

 Please let me know what you think, either here, privately or
 otherwise.  Would love feedback and am always happy to support.

 Thanks everyone!!

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-d...@**googlegroups.com

 To unsubscribe from this group, send email to
 android-developers+**unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/**group/android-developers?hl=enhttp://groups.google.com/group/android-developers?hl=en


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to 

Re: [android-developers] The type of the expression must be an array type but it resolved to JSONArray compile error

2013-01-03 Thread John Merlino
thanks

On Wednesday, January 2, 2013 7:01:54 PM UTC-5, Larry Meadors wrote:

 JSONArray isn't a java array - you'll need to do units.getJSONObject(i) 
 instead. 

 Larry 


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: floating window with actionbar

2013-01-03 Thread Jonathan S
I noticed similiar in 
http://stackoverflow.com/questions/11425020/actionbar-in-a-dialogfragment

On Thursday, June 28, 2012 6:36:37 PM UTC-4, Johan Bilien wrote:

 Hi,

 I'm trying to place an activity in a floating window, with an action bar. 
 Something similar to this:

 http://dl.dropbox.com/u/168185/floating-action-bar.jpg

 If I set the theme of my activity to Holo.Light.Dialog, getActionBar() 
 returns null.

 If I create my own theme, inherit from Holo.Light, and the only change I 
 make is to set windowIsFloating to true, the app crashes when accessing the 
 action bar, with:

 java.lang.IllegalStateException: ActionBarImpl can only be used with a 
 compatible window decor layout
 E/AndroidRuntime( 9266): at 
 com.android.internal.app.ActionBarImpl.init(ActionBarImpl.java:159)
 E/AndroidRuntime( 9266): at 
 com.android.internal.app.ActionBarImpl.init(ActionBarImpl.java:137)
 E/AndroidRuntime( 9266): at 
 android.app.Activity.initActionBar(Activity.java:1822)
 E/AndroidRuntime( 9266): at 
 android.app.Activity.getActionBar(Activity.java:1803)
 E/AndroidRuntime( 9266): at 
 com.litl.TestFloating.FloatingActivity.onCreate(FloatingActivity.java:12)
 E/AndroidRuntime( 9266): at 
 android.app.Activity.performCreate(Activity.java:4465)
 E/AndroidRuntime( 9266): at 
 android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
 E/AndroidRuntime( 9266): at 
 android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1919)


 I've created a test case at 
 https://github.com/jobi/android-test-code/tree/master/TestFloating

 Thanks


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] setting app theme at runtime

2013-01-03 Thread dashman
i'd like the user to select the app theme at runtime
- holo light or dark.

how do i do that.

once selected from preferences - i'd like to make it effective right there.

also, depending on the theme, my icons would have to change to make
it more visible - is there a runtime resource folder dependent on resource.

thanks.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: hi.guys ..

2013-01-03 Thread Lew
Ibrahim wrote:

 Hey bro i [sic] do not know how to start that...
 please help me out...
 Thanks in advance


http://www.catb.org/esr/faqs/smart-questions.html

Also, GIYF.

No one is going to write your program for you. Forget trying that tactic.

bob wrote:

 You will want to use OpenGL ES.

 Draw 8 quads in octagon formation.

 Then do:

 glScale3f(1.0f, -1.0f, 1.0f);

 and draw again with 50% opacity.

 This will give you the reflection.

 Ibrahim wrote:

 I want to make new application like as shown in the attached file ...
 Can any one help me please .
 or how to start 
 Thanks in advance...

  bob helped you. You have to do *something* yourself!

-- 
Lew

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: hi friends

2013-01-03 Thread Lew
sree wrote:

 I Got solution for this,Thank you no need to explain it.


Yes, there is. Please do.
 

  TEXTVIEW
 (TEXTVIEW | TEXTVIEW | TEXTVIEW)


-- 
Lew
 

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Http Response inside a service in Android

2013-01-03 Thread Lew
a wrote:

 I downloaded the source code of SL4A and integrated during the call of 
  startActivityForResult(B), which executes the script.


 You got a lot of requests for how your code handles things. You did not 
show your code. No wonder you can't get help.

Follow the advice at 
http://sscce.org/

-- 
Lew

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Reading from another app

2013-01-03 Thread Russell Wheeler
Latimerius,

Do you mean something like this? (I ripped this from another site)

Resources res = 
context.getPackageManager().getResourcesForApplication(com.example.foo)


I was doing something very similar already (posted below), though thought it 
was a bit of a hack. 



final String packName = com.jash.cp_source_two;
String mDrawableName = a1;

try
{
PackageManager manager = getPackageManager();
Resources resources = manager.getResourcesForApplication(packName);

int mDrawableResID = resources.getIdentifier(mDrawableName, 
drawable,packName);

Drawable myDrawable = resources.getDrawable( mDrawableResID );

if( myDrawable != null )
{
image = (ImageView) findViewById(R.id.imageView1);

image.setImageDrawable(myDrawable );
}
}
catch (PackageManager.NameNotFoundException e)
{
Toast.makeText(getBaseContext(), error = +e, 
Toast.LENGTH_LONG).show();
}

Is there any reason to use your method over what I already had?

Also, July was a big month and Mark Murphy posts a lot! Do you happen to 
remember roughly what the topic was to help narrow down the search ;)

Thanks a great deal for this.

Russ


On Wednesday, January 2, 2013 10:42:23 AM UTC, latimerius wrote:
 On Wed, Jan 2, 2013 at 2:20 AM, Russell Wheeler russellpe...@gmail.com 
 wrote:
 
 
 
 Latimerius, 
 
 
 So how do you directly access them from the assets folder?
 
 
 
 You have to know the name of the package whose images you want to use but 
 that shouldn't be a problem in your case if I understand correctly.  Then you 
 just pass it to  createPackageContext() which you call on one of your 
 Activities (I use the main one but I guess it probably doesn't matter much 
 which one you pick) to retrieve a Context of the package containing images.  
 After that, everything works the same as when working with this package's 
 resources - you call getResources() or getAssets() on the Context etc.
 
 
  
 Doing it this way, are the images available to anyone who has root access? 
 i.e. can they steal your images?
 
 
 
 Then can do that anytime anyway.  Everybody seems surprised to learn that (I 
 know I was!) but anybody can access your assets and resources any time they 
 please with just minor inconvenience, and they DON'T need root for that.
 
 
 
 (There was a thread about this on this group last July I think, Mark Murphy 
 had some insights back then so look it up if you're interested.)
 
 
 
 
 Why do you use assets? For ease, or for some other reason? I thought it would 
 be better to have them in the res folders so that the diff screen sizes still 
 get used, e.g. ldpi/hdpi etc folders?
 
 
 
 I use assets because the program I work on is a game, or a toy, which uses 
 custom rules to adapt to different screen sizes and densities.  We started 
 off using resources but quickly found out that Android's built-in scaling 
 etc. was just ruining our art and throwing off our screen layout algorithms.
 
 
 
 Of course, even if res folders didn't work for us with our special needs, 
 they can still work splendid for you.  In that case, just go for res, I have 
 no first-hand experience with that but I don't see any reason why it 
 shouldn't work.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: setting app theme at runtime

2013-01-03 Thread RichardC
See:
http://stackoverflow.com/questions/2482848/how-to-change-current-theme-at-runtime-in-android

and follow some of the links

Note that change in theme will not take place until an active Activity is 
re-created/re-started

On Thursday, January 3, 2013 11:17:46 PM UTC, dashman wrote:

 i'd like the user to select the app theme at runtime
 - holo light or dark.

 how do i do that.

 once selected from preferences - i'd like to make it effective right there.

 also, depending on the theme, my icons would have to change to make
 it more visible - is there a runtime resource folder dependent on resource.

 thanks.



-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Code Coverage report through Emma says 0% coverage

2013-01-03 Thread Akshat Jain
did you try this :

http://stackoverflow.com/questions/8473852/unable-to-get-emma-coverage-for-android?rq=1

ant emma debug install test 

I am not getting coverage numbers



On Tuesday, 21 August 2012 15:28:03 UTC+5:30, arjun singh wrote:

 Hello Neeraj,
 I am stucked at the same place you are.I have developed my own testcase 
 and even tested APIDemos but getting 0% coverage.Have you found any 
 solution to this problem?
 Thanks

 On Monday, 19 July 2010 14:57:36 UTC+5:30, Neeraj Khatana wrote:

 Dear All, 

 I am creating the code coverage report but I am not able to get the 
 data in the code coverage. it says 0% code coverage. 
 Following are the steps : 

 I have import the ApiDemos as the main project. Then I created the 
 ApiDemosTest project for testing.Here I have copied the test folder of 
 ApiDemos into the ApiDemosTest src folder. 
 All the tests runs fine 

 Then i created the coverage.ec file with the help of adb shell command 
 as follows : 
 G:\android\android-sdk_r04-windows\android-sdk-windows\toolsadb shell 
 am instru 
 ment -w -e emma true -e coverage true com.example.android.apis.tests/ 
 android.tes 
 t.InstrumentationTestRunner 
 com.example.android.apis.ApiDemosApplicationTests: 
 com.example.android.apis.ApiDemosTest:. 
 com.example.android.apis.app.ForwardingTest:... 
 com.example.android.apis.app.LocalServiceTest:. 
 com.example.android.apis.os.MorseCodeConverterTest:. 
 com.example.android.apis.view.Focus2ActivityTest: 
 com.example.android.apis.view.Focus2AndroidTest:Generated code 
 coverage data 
  to /data/data/com.example.android.apis/files/coverage.ec 

 The above command run successfully and I copied the coverage.ec file 
 into the tools directory through adb pull command. 
 I don't found the coverage.em file there. Then I found the solution to 
 create this file as follows. 

 I also run the ApiDemosTest project as the Android project through 
 which i get the compiled code in the bin directory. 
 Then I created the coverage.em file with the following command: 
 C:\androidworkspace\ApiDemos_2_1_Testjava emma instr -ip bin -outdir 
 out 
 EMMA: processing instrumentation path ... 
 EMMA: instrumentation path processed in 769 ms 
 EMMA: [14 class(es) instrumented, 0 resource(s) copied] 
 EMMA: metadata merged into [C:\androidworkspace\ApiDemos_2_1_Test 
 \coverage.em] { 
 in 78 ms} 

 out folder is generated with the class files and coverage.em file is 
 also generated. 
 Then I copied this coverage.em file into the tools directory. After 
 that I created the report though this command: 
 G:\android\android-sdk_r04-windows\android-sdk-windows\toolsjava -cp 
 emma.jar e 
 mma report -r html -in coverage.ec -sp C:\androidworkspace 
 \ApiDemos_2_1_Test\src 
  -in coverage.em 
 EMMA: processing input files ... 
 EMMA: 2 file(s) read and merged in 11 ms 
 EMMA: no collected coverage data found in any of the data files [all 
 reports wil 
 l be empty] 
 EMMA: writing [html] report to [G:\android\android-sdk_r04-windows 
 \android-sdk-w 
 indows\tools\coverage\index.html] ... 

 I have got the coverage report with 0% coverage as it is written in 
 no collected coverage data found in any of the data files above. 

 please tell me why the coverage report is not showing properly. 
 how the coverage data can be collected into the both files. 
 I have also checked size of both the files. 
 I found that coverage.ec file is 1KB memory while coverage.em file is 
 5 KB. 
 Then I come to conclusion that coverage.ec file do not contain 
 coverage data. 
 Is my assumption right or wrong. 

 Tell me where I am wrong? 
 Please suggest me some solution in this regard so that I can get the 
 coverage result fine. 

 Waiting for your reply. 

 Thanks and Regards 
 Neeraj



-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Reg: Automatic Time Setting Request

2013-01-03 Thread Kondlada
HI All,

  I am looking to get absolute Time from the mobile Carrier as 
My app dependency on current time, Where can not trust the Android System 
Time unless automatic is checked in Date and Time.

  Unfortunately I could not find any api to check, If any one 
was successful In doing or tried some thing like this please update me . 
Thanks.


Regards,

karthik kondlada  

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Reg: Automatic Time Setting Request

2013-01-03 Thread William Ferguson
You need to set your app up as a listener to an NTP server.

On Friday, January 4, 2013 3:47:21 PM UTC+10, Kondlada wrote:

 HI All,

   I am looking to get absolute Time from the mobile Carrier as 
 My app dependency on current time, Where can not trust the Android System 
 Time unless automatic is checked in Date and Time.

   Unfortunately I could not find any api to check, If any one 
 was successful In doing or tried some thing like this please update me . 
 Thanks.


 Regards,

 karthik kondlada  


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Weird situation when build with usr mode

2013-01-03 Thread futurexiong
It's dexopt's reason.PackageManagerService does not execute dexopt when 
install system apk in eng mode but execute in usr mode.My constructor used 
for framework reflection is not called by my apk,so dexopt optimize it.Now 
I add the three default constructors and use this() to call my customize 
constructor,then it works fine.
Thanks anyway.

在 2013年1月3日星期四UTC+8下午11时05分12秒,bob写道:

 Well, you are calling the methods using Reflection.


 So, Java doesn't know you are actually using them.


 So, the Java compiler just optimizes those methods out.


 Maybe you shouldn't use Reflection?



 On Thursday, January 3, 2013 2:57:44 AM UTC-6, futurexiong wrote:

 Product must be built in usr mode...

 在 2013年1月2日星期三UTC+8下午10时30分41秒,bob写道:



 On Wednesday, January 2, 2013 2:46:23 AM UTC-6, futurexiong wrote:

 I modified createLockScreen method of LockPatternKeyguardView.java in 
 framework,intend to change default LockScreen. In createLockScreen method 
 I 
 use reflection to new my own lockscreen view in my own lockscreen apk 
 which 
 would be installed in /system/app/.
 It works fine when i build the entire system with eng mode,



 Sounds like you should build it with eng mode.

  

 but not fine with usr mode.Log shows me that reflection find no such 
 method in my own lockscreen view. I decompile the apk in each build 
 mode,find out that apk build with usr mode does not have constructor,and 
 some other method are lost either.
 Can anyone explain this weird situation for me?
 BTW,my apk share uid with android.uid.system and my Android.mk add this 
 line:LOCAL_JAVA_LIBRARIES := android.policy framework because I need to 
 use 
 some internal apis of Keyguard.



-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] hi friends

2013-01-03 Thread sree android
Hi friends

 i am reading date value from webservices (DD/MM/) and set these date
to textview.After Displaying the values is show like DD/MM/.Here i can
store reading date value in one array and these array is bind to textview.
But i want to display DD/MM only how.
plz help me

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: hi friends

2013-01-03 Thread skink


sree android wrote:
 Hi friends

  i am reading date value from webservices (DD/MM/) and set these date
 to textview.After Displaying the values is show like DD/MM/.Here i can
 store reading date value in one array and these array is bind to textview.
 But i want to display DD/MM only how.
 plz help me

http://developer.android.com/reference/java/text/SimpleDateFormat.html

pskink

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] hi friends

2013-01-03 Thread Tamil Arasi
can u share the code?. Because that is easy to help u

On Fri, Jan 4, 2013 at 12:37 PM, sree android
android.sreeni...@gmail.comwrote:

 Hi friends

  i am reading date value from webservices (DD/MM/) and set these date
 to textview.After Displaying the values is show like DD/MM/.Here i can
 store reading date value in one array and these array is bind to textview.
 But i want to display DD/MM only how.
 plz help me

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en