[android-developers] Re: Check for which orientations are available to the device.

2011-11-28 Thread karteek
We can set orientation in our activity onCreate() method

setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);


On Nov 28, 5:36 am, XdebugX  wrote:
> I want my app to set the orientation to portrait on devices that can
> use the portrait orientation. To do this I use
> android:screenOrientation in the manifest. But there are some devices
> which do not support portrait orientation (some google tv's). On
> phones I want to set the orientation to portrait, but on tv's I'd like
> to set the orientation unspecified. Is there a way I can check for
> which orientations are available in the manifest (or maybe which
> device it's running on) before I set the orientation.
>
> Or could I set the orientation from the activity instead of from the
> manifest?
>
> Thanks!
>
> Note: I want to force the orientation to portrait if it's available,
> and I want to do it before the activity starts, like it does when you
> set it in the manifest. Also if you just set the orientation to
> portrait in the manifest and the device does not have a portrait
> orientation your app will crash.

-- 
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: How do i upload the file from android mobile to public server

2011-03-25 Thread karteek
The error message
>03-25 10:33:36.821: WARN/System.err(301): java.io.IOException: Unable
>to connect to server: The operation timed out

This indicates there should be some problem with server address
Once check this address in  any browser
On Mar 25, 10:52 am, snehalal gangadharam 
wrote:
> Thanks for your valuable reply,
>
> i have to develop speed test application in andorid. i have developed
> upload application in java , i can upload the file from java to public
> server, when i put that application to android , it is not working , i
> will attach the upload code and log. kinldy guid me how do i proceed.
> Idea behind this application is to find upload speed , download speed
> and roundtrip time calculation.now i am trying to upload the file from
> android to public server and then i will find the speed .
>
> Thanks in advance
>
> source code
>
> package com.example.uplaod;
>
> import java.io.BufferedInputStream;
> import java.io.BufferedOutputStream;
> import java.io.BufferedReader;
> import java.io.File;
> import java.io.FileInputStream;
> import java.io.FileNotFoundException;
> import java.io.FileReader;
> import java.io.IOException;
> import java.io.InputStream;
> import java.io.OutputStream;
> import java.net.MalformedURLException;
> import java.net.URL;
> import java.net.URLConnection;
>
> import android.app.Activity;
> import android.os.Bundle;
> import android.util.Log;
> import android.view.View;
> import android.view.View.OnClickListener;
> import android.widget.Button;
> import android.widget.TextView;
>
> public class MyUpload extends Activity {
>         private Button mbutt;
>         public static String ftpServer= "upload.easy-share.com:21";
>     public static String user ="aswini";
>     public static String password ="sairom143";
>     public static String fileName ="abc";
>     //public static String localpath ="/mnt/sdcard/sample.txt";
>     File source =new File("/mnt/sdcard/sample.txt");
>     int bytesIn=0;
>     OutputStream outstream=null;
>     BufferedReader /*InputStream*/instream=null;
>     /** Called when the activity is first created. */
>     @Override
>     public void onCreate(Bundle savedInstanceState) {
>         super.onCreate(savedInstanceState);
>         setContentView(R.layout.main);
>          mbutt =(Button) findViewById(R.id.button1);
>         // (TextView) findViewById(R.id.textView1);
>          mbutt.setOnClickListener(new OnClickListener() {
>
>                         @Override
>                         public void onClick(View v) {
>                                 // TODO Auto-generated method stub
>                                 upload(  ftpServer,  user,  password,
>                                           fileName, source );
>
>                         }
>
>                         private void upload(String ftpServer, String user, 
> String password,
>                                         String fileName, File source) {
>                                 // TODO Auto-generated method stub
>                                 if (ftpServer != null && fileName != null && 
> source != null)
>                               {
>                                  StringBuffer sb = new StringBuffer( "ftp://"; 
> );
>                                  // check for authentication else assume its 
> anonymous
> access.
>                                  if (user != null && password != null)
>                                  {
>                                     sb.append( user );
>                                     sb.append( ':' );
>                                     sb.append( password );
>                                     sb.append( '@' );
>                                  }
>                                  sb.append( ftpServer );
>                                  sb.append( '/' );
>                                  sb.append( fileName );
>                                  /*
>                                   * type ==> a=ASCII mode, i=image (binary) 
> mode, d= file
> directory
>                                   * listing
>                                   */
>                                  sb.append( ";type=i" );
>
>                                  BufferedInputStream bis = null;
>                                  BufferedOutputStream bos = null;
>
>                                  try
>                                  {
>                                     URL url = null;
>                                                 try {
>                                                         url = new URL( 
> sb.toString() );
>                                                 } catch 
> (MalformedURLException e) {
>                                                         // TODO 
> Auto-generated catch block
>                                                         e.printStackTrace();
>                                                 }
>                                     URLConnection urlc = null;
>
>                             

[android-developers] Re: How to receive WAP push programatically

2011-02-21 Thread karteek

I am able to receive wap push with small change in AndroidManifest,xml
file

as





But now we have integrated now sms with our server which will send wap
push to nowsms which intern send it to device.

Android device is receiving the wap sms but at the system level
android is discarding this sms because of invalid content type.

The android logcat is displaying as follows

02-21 18:40:02.912: WARN/WAP PUSH(143): Received PDU. Unsupported
Content-Type = 68( this is from ./frameworks/base/telephony/java/com/
android/internal/telephony/WapPushOverSms.java);

We can't change the servers message content type. We have only one
choice for this we need to catch this at system level and trying to do
some operations on it

Is this is possible at application level. How to catch this event

Please any help


On Feb 16, 3:06 pm, Karteek N  wrote:
> I am sending wap push using now sms software.I have a android development
> phone.
> The following is my code to receive wap push
>
> Android Manifest file
>
> 
> 
> 
> 
> 
> 
> 
> 
>  android:name="android.permission.INTERNET">
>  android:name="android.permission.RECEIVE_WAP_PUSH">
>  android:name="android.permission.RECEIVE_SMS">
>  android:name="android.permission.RECEIVE_MMS">
>
> PushMsgReceiver.java
>
> public class PushMsgReceiver extends BroadcastReceiver {
> public final static String TAG = "Push Receiver";
> private static final String SMS_RECEIVED =
> "android.provider.Telephony.SMS_RECEIVED";
> private static final String PUSH_RECEIVED =
> "android.provider.Telephony.WAP_PUSH_RECEIVED";
> @Overide
> public void onReceive(Context context, Intent intent) {
>     Log.e(TAG, "Intent recieved: " + intent.getAction());
>     if (intent.getAction().equals(SMS_RECEIVED)) {
>            //toast to show result
>           Log.e(TAG, "SMS: " + intent.getAction());
>            Toast.makeText(context, "SMS_RECEIVED",
> Toast.LENGTH_LONG).show();
>    }
>     if (intent.getAction().equals(PUSH_RECEIVED)) {
>         //toast to show result
>            Log.e(TAG, "PUSH: " + intent.getAction());
>         Toast.makeText(context, "PUSH MSG", Toast.LENGTH_LONG).show();
>     }
>
> }
>
> But It is not displaying for Wap push. This receiver is not at all active on
> Wap push receive event. But message comes to my development phone inbox
>
> Any help please

-- 
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] How to receive WAP push programatically

2011-02-16 Thread Karteek N
I am sending wap push using now sms software.I have a android development
phone.
The following is my code to receive wap push

Android Manifest file














PushMsgReceiver.java

public class PushMsgReceiver extends BroadcastReceiver {
public final static String TAG = "Push Receiver";
private static final String SMS_RECEIVED =
"android.provider.Telephony.SMS_RECEIVED";
private static final String PUSH_RECEIVED =
"android.provider.Telephony.WAP_PUSH_RECEIVED";
@Overide
public void onReceive(Context context, Intent intent) {
Log.e(TAG, "Intent recieved: " + intent.getAction());
if (intent.getAction().equals(SMS_RECEIVED)) {
   //toast to show result
  Log.e(TAG, "SMS: " + intent.getAction());
   Toast.makeText(context, "SMS_RECEIVED",
Toast.LENGTH_LONG).show();
   }
if (intent.getAction().equals(PUSH_RECEIVED)) {
//toast to show result
   Log.e(TAG, "PUSH: " + intent.getAction());
Toast.makeText(context, "PUSH MSG", Toast.LENGTH_LONG).show();
}
}


But It is not displaying for Wap push. This receiver is not at all active on
Wap push receive event. But message comes to my development phone inbox

Any help please

-- 
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] Adding contact working in emulator but not in real device

2010-11-09 Thread Karteek N
Hi
I implemented an application which will add contacts .
It is working in emulator perfectly. I have android 2.0.1 device
I am checking in that device but it is not adding contacts to contact list.
I have given necessary permissions like write contacts .

Any help
karteek

-- 
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: Can we catch android.intent.action.ACTION_UMS_CONNECTED event

2010-11-04 Thread karteek
Yes i registered receiver in the code instead of manifest file.
But problem is whenever if my activity is closed i need to unregister
it.
But  my requirement is it needs to be listen for that event.
Why it not working if we are declared in AndroidManifest file.
Any help.
Regards,
Karteek

On Nov 3, 6:36 pm, Pent  wrote:
> > I want to show some notification when android phone is connected to system.
> > I implemented BroadcastReceiver for listening to event
> > android.intent.action.ACTION_UMS_CONNECTED  in my application
> > But it is not working.
> > Is it possible to capture this event
>
> Yes, though if I remember right some users have mentioned it doesn't
> work on some configurations.
>
> If you're using a manifest-declared receiver, maybe try creating one
> at runtime instead (that's what my app does).
>
> Pent

-- 
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] Can we catch android.intent.action.ACTION_UMS_CONNECTED event

2010-11-03 Thread Karteek N
Hi
I want to show some notification when android phone is connected to system.
I implemented BroadcastReceiver for listening to event
android.intent.action.ACTION_UMS_CONNECTED  in my application
But it is not working.
Is it possible to capture this event
Please help
Regards,
Karteek

-- 
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: How to catch android.intent.action.MEDIA_MOUNTED

2010-10-29 Thread karteek
Thank u i understand

On Oct 28, 8:53 pm, Streets Of Boston  wrote:
> You'd have to register your broadcaster in your 
> code:http://groups.google.com/group/android-developers/browse_frm/thread/c...
>
> On Oct 28, 4:53 am, Karteek N  wrote:
>
> > How to cath android.intent.action.MEDIA_MOUNTED event
> > I implemented an broadcast receiver to invoke when sdcard is mounted.
> > But it is not invoked
> > My source code is as follows
> > MyMediaMountListener.java
>
> > public class MyMediaMountListener extends BroadcastReceiver {
>
> >     @Override
> >     public void onReceive(Context context, Intent intent) {
> >      Log.d("", "Media mounted");
> >     }
>
> > }
>
> > AndroidManifest.xml
>
> > 
> >          > android:label="@string/app_name">
> >             
> >                 
> >                 
> >             
> >         
>
> >         
> >             
> >                  > android:name="android.intent.action.MEDIA_MOUNTED">
> >             
>
> >         
> >     
>
> > Any help please
> > karteek
>
>

-- 
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] How to catch android.intent.action.MEDIA_MOUNTED

2010-10-28 Thread Karteek N
How to cath android.intent.action.MEDIA_MOUNTED event
I implemented an broadcast receiver to invoke when sdcard is mounted.
But it is not invoked
My source code is as follows
MyMediaMountListener.java

public class MyMediaMountListener extends BroadcastReceiver {

@Override
public void onReceive(Context context, Intent intent) {
 Log.d("", "Media mounted");
}

}

AndroidManifest.xml















    

Any help please
karteek

-- 
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: Custom ListView Contain ImageView + TextView + CheckBox for selected Row

2010-10-12 Thread karteek
You first declare a special layout file with all your
ImageView,TextView and checkbox.
and use that layout file while setting array adapter

On Oct 12, 3:41 pm, Ahmed Shoeib 
wrote:
> hi all ,
>
> the first Question :
> ---
>
> i tried to make this using normal listView
> and this is the pic
>
> http://www8.0zz0.com/2010/10/12/10/511032679.png
>
> i can't add image to it
> how i can Add image At The beginning of the listView in each Row ???
>
> the Seconed Question :
> -
>
> i tried to make the same thing using Custom ListView Using
> ArrayAdapter
> and this is the pic
>
> http://www8.0zz0.com/2010/10/12/10/413507770.png
>
> i can't add a checkBox at each row
>
> how i can add a CheckBox At the End of each Row ?
>
> -
>
> or if there is any other way to do that plz tell me about it ??
>
> thanks,
> ahmed shoeib

-- 
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 POST request problem

2010-10-11 Thread karteek
Inorder to pass  data using http post we need to set  content-Type
field in http header.
Otherwise the server won't recognize your data which have been sent by
parms.

Try with the following
Example
   httppost.setHeader("Content-Type","your content type supported
by u r server");

On Oct 11, 4:11 am, dashman  wrote:
>         List params = new ArrayList();
>
>         params.add(new BasicNameValuePair("A", "B"));
>
> even an empty params works fine.
>
> but as soon as i add en entry - it fails to response code 400.
>
> the weird thing is i copied this code verbatim from the c2dm
> android sample app - of course i could have done something but
> i've narrowed it down to one line.
>
> the problem happens on both the device and emulator.
>
> On Oct 10, 6:53 pm, Brad Gies  wrote:
>
> >   Need to see how you are setting the params to have any idea of how to
> > help.
>
> > My guess is that you are sending an invalid parameter and the server is
> > refusing the connection because of that.
>
> > Sincerely,
>
> > Brad Gies
> > ---
> > Bistro Bot - Bistro 
> > Blurbhttp://bgies.comhttp://bistroblurb.comhttp://ihottonight.comhttp://fo...
> > ---
>
> > Everything in moderation, including abstinence
>
> > Never doubt that a small group of thoughtful, committed people can
> > change the world. Indeed. It is the only thing that ever has - Margaret Mead
>
> > On 10/10/2010 11:09 AM, dashman wrote:
>
> > > in the following code - i get an http response code
> > > 400 - BAD REQUEST.
>
> > > if i comment out the post.setEntity() line - then it
> > > works fine - response code 200.
>
> > > of course i've got internet permission
>
> > > params is a list of 1 entry - string2string mapping.
>
> > >          URI uri = new URI(urlPath);
>
> > >          HttpPost post = new HttpPost(uri);
>
> > >          UrlEncodedFormEntity entity = new UrlEncodedFormEntity(params,
> > > "UTF-8");
>
> > >          post.setEntity(entity);  // if this line is commented out -
> > > the post results in status 200 OK
>
> > >          DefaultHttpClient client = new DefaultHttpClient();
>
> > >          HttpResponse res = client.execute(post);
>
>

-- 
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: Host not resolved issue

2010-10-11 Thread karteek
> 3. Instead of localhost , i used ipaddress of the machine
means are you running any apache server.
Is your apache server is running?. I did some application with apache
server which is running on my machine and  able to access without port
number
example http://myip/sample.xml
Check your server first and try without port number. May be  helps you
On Oct 11, 1:47 pm, Rajesh Pelluru  wrote:
> I am using like that only..
>
> On Mon, Oct 11, 2010 at 1:59 PM, pramod.deore wrote:
>
>
>
> > Ohh so sorry I just mean remove * and use as
> > 
> > On Oct 11, 1:19 pm, Brad Gies  wrote:
> > >   Why do you have the * in the permission?
>
> > > 
>
> > > Sincerely,
>
> > > Brad Gies
> > > ---
> > > Bistro Bot - Bistro
> > Blurbhttp://bgies.comhttp://bistroblurb.comhttp://ihottonight.comhttp://
> > forcethetruth.com
> >  > ---
>
> > > Everything in moderation, including abstinence
>
> > > Never doubt that a small group of thoughtful, committed people can
> > > change the world. Indeed. It is the only thing that ever has - Margaret
> > Mead
>
> > > On 11/10/2010 1:13 AM, Rajesh Pelluru wrote:
>
> > > > 
>
> > --
> > 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: how to list files on SD card

2010-09-16 Thread karteek
You can use File apis as follows
  File f=new File("/sdcard");
   if(f.isDirectory()){
 String files[]=  f.list();
 for(int i=0;i wrote:
> ANy example to use the api? I am confused.
>
> On Sep 15, 11:26 pm, Vinay S  wrote:
>
> > Pl. look 
> > athttp://developer.android.com/reference/java/io/FilenameFilter.html
>
> > On Sep 16, 8:40 am, cindy  wrote:
>
> > > Hi all,
>
> > >  My application needs to do some clean up. I need to list the files
> > > such as  " ls voice*.amr", and then delete those files. How could I do
> > > it in Android?
>
> > > Thanks !
>
> > > Cindy
>
>

-- 
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: Can we customize spinner dialog

2010-09-16 Thread karteek
Thank you
I created an xml which is having one textview as below
spinner.xml

http://schemas.android.com/apk/res/android";>


while setting adapter for my spinner i did as follows
 ArrayAdapter roomAdapter = new ArrayAdapter(this,
R.layout.spinner, roomsArray);
spinner.setAdapter(roomAdapter);

But still i am getting the display as the screen size, If i change
text width in spinner.xml to some 60px instead of wrap_content
The string is cut into two are three rows but the background display
is still as the device screen width
Any help,
Thanks,
Karteek

On Sep 16, 10:01 am, Shashidhar  wrote:
> Yes, You can do it. While setting the dropdownviewresource for the adapter
> of your spinner, define your own xml layout instead of the android's inbuilt
> resource xml. Your xml can simply have a textview with your required layout
> parameters.
>
> -Shashidhar
>
> On Thu, Sep 16, 2010 at 9:55 AM, Karteek N  wrote:
> > When we select spinner it shows a display of  items which almost the device
> > screen size
>
> > Can we minimize its width or height, I think this question was already
> > posted by some one. But i am unable to find solution
>
> > Thanks,
> > Karteek
>
> > --
> > 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] Can we customize spinner dialog

2010-09-15 Thread Karteek N
When we select spinner it shows a display of  items which almost the device
screen size

Can we minimize its width or height, I think this question was already
posted by some one. But i am unable to find solution

Thanks,
Karteek

-- 
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: Plz help. android emulator on eclipse

2010-07-19 Thread karteek
If you want to give your desired string go and edit the following
res->values->strings.xml hello

On Jul 19, 12:24 pm, xuxu  wrote:
> Hi all,
> I'm newbie with android and eclipse and I got this strange
> thing...when ever I'm running little program that I write on the
> emulator I'm getting: "Hello android, program_name"
> for example: I'm writing a little program could udp_client and I'm
> getting: "Hello android, udp_client"
> can someone tell me if this is the way it should be?
> 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: Remove a row in a Listview

2010-07-08 Thread karteek
use the methode remove with position of the row
mAdapter.remove(2);

On Jul 9, 2:32 am, Albert  wrote:
> Hi all,
>
> Does someone know how to remove a row from a Listview?
>
> I have an Adapter that takes care of the List and when I try
> mAdapter.remove(Object) it does not remove the "Object" I passed but
> instead the last row on the list. I have tried different ways and it
> always ends up deleting the last row.
>
> Thanks in advance,
> Alberto

-- 
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] How to kill application

2010-06-08 Thread Karteek N
I started a sample application and called finish() method when user clicks
the button.
Then it is showing the android home screen and called the onDistroy() method
also.
But if i am executing the 'ps' command in android shell still it is showing
the pid of my application.
What is the meaning of finish()?
Is it not terminate the process?
 if not how can i terminate the process(we can do kill -9 pid in android
shell but i want programmatic approach)

-- 
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] How to kill application

2010-06-08 Thread Karteek N
I started a sample application and called finish() method when user clicks
the button.
Then it is showing the android home screen and called the onDistroy() method
also.
But if i am executing the 'ps' command in android shell still it is showing
the pid of my application.
What is the meaning of finish()?
Is it not terminate the process?
 if not how can i terminate the process(we can do kill -9 pid in android
shell but i want programmatic approach)

-- 
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] How to link libc.so.6

2010-06-03 Thread Karteek N
Hi,
I have created a shared library using arm tool chain.
I implemented a c program in which iam using functions like fgets,strcpy.
So for that we need to give support of arm cross compiled glibc
I generated the .so using the following commands
#arm-none-linux-gnueabi-gcc -fpic -c sample.c
#arm-none-linux-gnueabi-ld -T armelf_linux_eabi.xsc -shared -o libmylib.so
sample.o -L /path of my arm libc(/usr/locaal-arm-linux-gnueabi/sysroot/libc)
-lc
#arm-none-linux-gnueabi-ld libmylib.so

Now i used above library in my android application .
Then in logcat it is displaying error that
06-04 09:32:25.792: INFO/dalvikvm(261): Unable to
dlopen(/data/data/sct.widget/lib/libmylib.so): Cannot load library:
link_image[1721]:30 could not load needed library 'libc.so.6' for
'libmylib.so' (load_library[1051]: Library 'libc.so.6' not found)

Please anyone can help me
Regards,
karteek

-- 
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: Can't we add shared libraries without use of android ndk tools

2010-06-02 Thread karteek
Hi,
I used the following commands to create shared library
arm-none-linux-gnueabi-gcc -fpic -c sample.c
arm-none-linux-gnueabi-ld -T armelf_linux_eabi.xsc -shared -o
libmylib.so sample.o
Now it is working.
But problem is
If iam using any c functions like fgets,strcpy
It is unable to load my shared library
And the logcat is showing as
06-03 11:01:17.283: INFO/dalvikvm(226): Unable to dlopen(/data/data/
sct.widget/lib/libmylib.so): Cannot load library:
reloc_library[1244]:30 cannot locate 'fgets'...

I understand that while creating  libmylib.so we need to give support
of glibc that means we need to link it with our shared library
How can i do this please help me
Regards,
karteek.


On Jun 1, 8:01 pm, karteek  wrote:
> mah thanks for your reply
> 1 I checked in /data/data/mypackage/libs
>   my library is present in the above folder
> Second aproach you suggested me is
> I am able to work with ndk tools
> I observed both libraries that mean one my build and second one is
> through ndk tools
> i used nm tool to see what is in it.
> But i did not understand any thing i am pure in this terminology
> i am pasting the nm tool out put can u suggest any thing
> Thanks in advance.
> # nm libmylib.so //using arm tool chain
> 03d8 t $a
> 03a0 t $a
> 04e8 t $a
> 03a8 t $a
> 04ec t $a
> 03fc t $a
> 0450 t $a
> 0494 t $a
> 03ac t $a
> 03c0 t $a
> 03f4 t $d
> 8620 d $d
> 0440 t $d
> 8510 t $d
> 0488 t $d
> 850c t $d
> 8624 b $d
> 04f0 r $d
> 04e0 t $d
> 0508 r $d
> 8514 d $d
> 03bc t $d
> 0494 T Java_sct_notification_NotificationJNIActivity_getStrings
> 8518 a _DYNAMIC
> 8600 a _GLOBAL_OFFSET_TABLE_
>          w _Jv_RegisterClasses
> 0508 r __FRAME_END__
> 8514 d __JCR_END__
> 8514 d __JCR_LIST__
> 8628 A __bss_end__
> 8624 A __bss_start
> 8624 A __bss_start__
>          w __cxa_finalize@@GLIBC_2.4
> 03fc t __do_global_dtors_aux
> 8510 t __do_global_dtors_aux_fini_array_entry
> 8620 d __dso_handle
> 8628 A __end__
> 0508 A __exidx_end
> 0508 A __exidx_start
> 850c t __frame_dummy_init_array_entry
>          w __gmon_start__
> 8628 A _bss_end__
> 8624 A _edata
> 8628 A _end
> 04e8 T _fini
> 03a0 T _init
> 03d8 t call_gmon_start
> 8624 b completed.6049
> 0450 t frame_dummy
>
> Second one
> # nm libsctlib.so
> 0b94 t $a
> 0ba8 t $a
> 0bf4 t $a
> 0c1c t $a
> 0c68 t $a
> 0c94 t $a
> 0cac t $a
> 0d38 t $a
> 0d40 t $a
> 0d44 t $a
> 0d64 t $a
> 1114 t $a
> 111c t $a
> 1124 t $a
> 112c t $a
> 1260 t $a
> 12cc t $a
> 1394 t $a
> 14b0 t $a
> 14cc t $a
> 1524 t $a
> 15c8 t $a
> 15e8 t $a
> 1654 t $a
> 1684 t $a
> 19c0 t $a
> 1b68 t $a
> 1bc0 t $a
> 1bc8 t $a
> 1bd0 t $a
> 1bf8 t $a
> 1c00 t $a
> 1c1c t $a
> 1c2c t $a
> 1fa8 t $a
> 0b24 t $a
> 0b38 t $a
> 0b8c t $d
> 1110 t $d
> 1248 t $d
> 1670 t $d
> 1fa4 t $d
> 0b34 t $d
> 0b74 t $t
> 0b74 t $t
> 0b75 T Java_sct_notification_NotificationJNIActivity_getStrings
> 3128 a _DYNAMIC
> 31e8 a _GLOBAL_OFFSET_TABLE_
> 1b44 T _Unwind_Backtrace
> 0d40 T _Unwind_Complete
> 0d44 T _Unwind_DeleteException
> 1b20 T _Unwind_ForcedUnwind
> 0d38 T _Unwind_GetCFA
> 1bc8 T _Unwind_GetDataRelBase
> 0bf4 t _Unwind_GetGR
> 1bd0 t _Unwind_GetGR
> 1c00 T _Unwind_GetLanguageSpecificData
> 1c1c T _Unwind_GetRegionStart
> 1bc0 T _Unwind_GetTextRelBase
> 1ab4 T _Unwind_RaiseException
> 1ad8 T _Unwind_Resume
> 1afc T _Unwind_Resume_or_Rethrow
> 0c68 t _Unwind_SetGR
> 0ba8 T _Unwind_VRS_Get
> 1654 T _Unwind_VRS_Pop
> 0c1c T _Unwind_VRS_Set
> 0b94 t _Unwind_decode_target2
> 1b44 T ___Unwind_Backtrace
> 1b20 T ___Unwind_ForcedUnwind
> 1ab4 T ___Unwind_RaiseException
> 1ad8 T ___Unwind_Resume
> 1afc T ___Unwind_Resume_or_Rethrow
> 1124 T __aeabi_unwind_cpp_pr0
> 111c W __aeabi_unwind_cpp_pr1
> 1114 W __aeabi_unwind_cpp_pr2
> 3208 A __bss_end__
> 3208 A __bss_start
> 3208 A __bss_start__
>          w __cxa_begin_cleanup
>          w __cxa_call_unexpected
>          w __cxa_type_match
> 3208 D __data_start
> 3208 A __end__
> 2128 A __exidx_end
> 2018 A __exidx_start
> 12cc T __gnu_Unwind_Backtrace
>          w __gnu_Unwind_Find_exidx
> 14b0 T __

[android-developers] Re: Can't we add shared libraries without use of android ndk tools

2010-06-01 Thread karteek
mah thanks for your reply
1 I checked in /data/data/mypackage/libs
  my library is present in the above folder
Second aproach you suggested me is
I am able to work with ndk tools
I observed both libraries that mean one my build and second one is
through ndk tools
i used nm tool to see what is in it.
But i did not understand any thing i am pure in this terminology
i am pasting the nm tool out put can u suggest any thing
Thanks in advance.
# nm libmylib.so //using arm tool chain
03d8 t $a
03a0 t $a
04e8 t $a
03a8 t $a
04ec t $a
03fc t $a
0450 t $a
0494 t $a
03ac t $a
03c0 t $a
03f4 t $d
8620 d $d
0440 t $d
8510 t $d
0488 t $d
850c t $d
8624 b $d
04f0 r $d
04e0 t $d
0508 r $d
8514 d $d
03bc t $d
0494 T Java_sct_notification_NotificationJNIActivity_getStrings
8518 a _DYNAMIC
8600 a _GLOBAL_OFFSET_TABLE_
 w _Jv_RegisterClasses
0508 r __FRAME_END__
8514 d __JCR_END__
8514 d __JCR_LIST__
8628 A __bss_end__
8624 A __bss_start
8624 A __bss_start__
 w __cxa_finalize@@GLIBC_2.4
03fc t __do_global_dtors_aux
8510 t __do_global_dtors_aux_fini_array_entry
8620 d __dso_handle
8628 A __end__
0508 A __exidx_end
0508 A __exidx_start
850c t __frame_dummy_init_array_entry
 w __gmon_start__
8628 A _bss_end__
8624 A _edata
8628 A _end
04e8 T _fini
03a0 T _init
03d8 t call_gmon_start
8624 b completed.6049
0450 t frame_dummy


Second one
# nm libsctlib.so
0b94 t $a
0ba8 t $a
0bf4 t $a
0c1c t $a
0c68 t $a
0c94 t $a
0cac t $a
0d38 t $a
0d40 t $a
0d44 t $a
0d64 t $a
1114 t $a
111c t $a
1124 t $a
112c t $a
1260 t $a
12cc t $a
1394 t $a
14b0 t $a
14cc t $a
1524 t $a
15c8 t $a
15e8 t $a
1654 t $a
1684 t $a
19c0 t $a
1b68 t $a
1bc0 t $a
1bc8 t $a
1bd0 t $a
1bf8 t $a
1c00 t $a
1c1c t $a
1c2c t $a
1fa8 t $a
0b24 t $a
0b38 t $a
0b8c t $d
1110 t $d
1248 t $d
1670 t $d
1fa4 t $d
0b34 t $d
0b74 t $t
0b74 t $t
0b75 T Java_sct_notification_NotificationJNIActivity_getStrings
3128 a _DYNAMIC
31e8 a _GLOBAL_OFFSET_TABLE_
1b44 T _Unwind_Backtrace
0d40 T _Unwind_Complete
0d44 T _Unwind_DeleteException
1b20 T _Unwind_ForcedUnwind
0d38 T _Unwind_GetCFA
1bc8 T _Unwind_GetDataRelBase
0bf4 t _Unwind_GetGR
1bd0 t _Unwind_GetGR
1c00 T _Unwind_GetLanguageSpecificData
1c1c T _Unwind_GetRegionStart
1bc0 T _Unwind_GetTextRelBase
1ab4 T _Unwind_RaiseException
1ad8 T _Unwind_Resume
1afc T _Unwind_Resume_or_Rethrow
0c68 t _Unwind_SetGR
0ba8 T _Unwind_VRS_Get
1654 T _Unwind_VRS_Pop
0c1c T _Unwind_VRS_Set
0b94 t _Unwind_decode_target2
1b44 T ___Unwind_Backtrace
1b20 T ___Unwind_ForcedUnwind
1ab4 T ___Unwind_RaiseException
1ad8 T ___Unwind_Resume
1afc T ___Unwind_Resume_or_Rethrow
1124 T __aeabi_unwind_cpp_pr0
111c W __aeabi_unwind_cpp_pr1
1114 W __aeabi_unwind_cpp_pr2
3208 A __bss_end__
3208 A __bss_start
3208 A __bss_start__
 w __cxa_begin_cleanup
 w __cxa_call_unexpected
 w __cxa_type_match
3208 D __data_start
3208 A __end__
2128 A __exidx_end
2018 A __exidx_start
12cc T __gnu_Unwind_Backtrace
 w __gnu_Unwind_Find_exidx
14b0 T __gnu_Unwind_ForcedUnwind
1524 T __gnu_Unwind_RaiseException
19d4 T __gnu_Unwind_Restore_VFP
19e4 T __gnu_Unwind_Restore_VFP_D
19f4 T __gnu_Unwind_Restore_VFP_D_16_to_31
1a8c T __gnu_Unwind_Restore_WMMXC
1a04 T __gnu_Unwind_Restore_WMMXD
15e8 T __gnu_Unwind_Resume
15c8 T __gnu_Unwind_Resume_or_Rethrow
19dc T __gnu_Unwind_Save_VFP
19ec T __gnu_Unwind_Save_VFP_D
19fc T __gnu_Unwind_Save_VFP_D_16_to_31
1aa0 T __gnu_Unwind_Save_WMMXC
1a48 T __gnu_Unwind_Save_WMMXD
1c2c T __gnu_unwind_execute
1fa8 T __gnu_unwind_frame
0d64 t __gnu_unwind_pr_common
19c0 T __restore_core_regs
3208 A _bss_end__
3208 A _edata
3208 A _end
0008 N _stack
 U abort
112c t get_eit_entry
 U memcpy
1b68 t next_unwind_byte
19c0 T restore_core_regs
1260 t restore_non_core_regs
0cac t search_EIT_table
0c94 t selfrel_offset31
1bf8 t unwind_UCB_from_context
14cc t unwind_phase2
1394 t unwind_phase2_forced

Regards,
karteek


On Jun 1, 4:32 pm, mah  wrote:
> From what I've seen, the "library not found" error doesn't only occur
> if the library cannot be found, however your first step now should
> probably be to see if it should be found... open an "adb shell" to
> your platform, and change directory to /data/data/
> your.package.name.here. Does the lib directory exist? If so, is
> your .so inside it? If the answer to either of these 

[android-developers] Re: Can't we add shared libraries without use of android ndk tools

2010-06-01 Thread karteek
You are wright.
Now i compiled with  following commands
arm-none-linux-gnueabi-gcc -fPIC -c sample.c -o sample.o
arm-none-linux-gnueabi-gcc -shared -Wl,-soname,libmylib.so -o
libmylib.so sample.o

even though iam getting the same problem

On May 29, 2:34 am, mah  wrote:
> That would likely mean you've compiled your library using an x86
> compiler. That will not run on an ARM processor.
>
> You do not have to use the Android makefile or build system to build
> your library, but you do need to use the compiler that comes with the
> NDK.
>
> On May 27, 3:05 am, karteek  wrote:
>
> > > How did you compile the library if you didn't use the NDK?.
>
> > I compiled using the following commands
> > cc -c -fPIC mycfile.c -o mycfile.o
> > cc -o libmylib.so -shared -Wl,-soname,libmy.so mycfile.o
>
> > On May 27, 11:03 am, David Turner  wrote:
>
> > > How did you compile the library if you didn't use the NDK?. There are 
> > > great
> > > chances that what you generated is not a valid ARM ELF binary that can be
> > > loaded on Android.
>
> > > On Tue, May 25, 2010 at 6:31 AM, Karteek N  wrote:
> > > > Hi all,
> > > > I have gone through android ndk tutorials.
> > > > But i am little confusing in Android.mk file as well as Application.mk 
> > > > file
> > > > so instead of that i used the following approach
> > > > I created a Test.java file which is having one native method.
> > > > i added the static{
>
> > > > System.loadLibrary("mylib");
> > > > }
> > > > By using javah -jni i generated Test.h and using that decleration i
> > > > implemented  a c file
> > > > And i compiled c file and generated the libmylib.so library.
> > > > But now my question is how to add this shared library to my android
> > > > application
> > > > I followed 2 approaches but all throwing exception that Library mylib 
> > > > not
> > > > founed.
> > > > 1 In eclipse BuildPath->ConfigurebuildPath->Android2.1->native given the
> > > > path of my shared library
> > > > 2 I copied shared library to /data/data/myprojectpackagenae/lib/
> > > >   and used the statement in my code as
> > > >    System.load("/data/data/mypackagename/lib/libmylib.so");
>
> > > > In above two cases it is throwing same exception
>
> > > > Where iam wrong?
> > > > Is it  procedure is wright?
> > > > Please 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


[android-developers] How to send date from service to activity

2010-06-01 Thread Karteek N
Hi,
I have one service in one application. In my second application i am binding
to that service
using aidl tool .
Now i want to send some data from my service to activity which is running in
second application.
How can i achieve this.
Any help please,

-- 
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: where is the sdcard in emulator 2.2?

2010-05-28 Thread karteek
> > > i am working with eclips with the new SDK2.2.
while creating u r avd(emulator) there is option called sdcard size
you need to mention size
and in the below there is option called property
there include sdcard support option

On May 28, 2:37 pm, coolbanana  wrote:
> yes,  i did it,
>
> but i can't find the sdcard in eclipse unter DDMS/File Explorer
>
> On May 24, 8:17 pm, Mathias Lin  wrote:
>
>
>
> > There is no (virtual) sdcard in the emulator. You need to create it
> > viahttp://developer.android.com/guide/developing/tools/othertools.html#m...
>
> > On May 21, 7:40 pm,coolbanana wrote:
>
> > > Hi,
>
> > > i am working with eclips with the new SDK2.2.
> > > i cannot find the sdcard in emulator 2.2!
>
> > > thanks
> > > CB
>
> > > --
> > > 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 
> > > athttp://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 
> > athttp://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: Can't we add shared libraries without use of android ndk tools

2010-05-27 Thread karteek
> How did you compile the library if you didn't use the NDK?.
I compiled using the following commands
cc -c -fPIC mycfile.c -o mycfile.o
cc -o libmylib.so -shared -Wl,-soname,libmy.so mycfile.o

On May 27, 11:03 am, David Turner  wrote:
> How did you compile the library if you didn't use the NDK?. There are great
> chances that what you generated is not a valid ARM ELF binary that can be
> loaded on Android.
>
> On Tue, May 25, 2010 at 6:31 AM, Karteek N  wrote:
> > Hi all,
> > I have gone through android ndk tutorials.
> > But i am little confusing in Android.mk file as well as Application.mk file
> > so instead of that i used the following approach
> > I created a Test.java file which is having one native method.
> > i added the static{
>
> > System.loadLibrary("mylib");
> > }
> > By using javah -jni i generated Test.h and using that decleration i
> > implemented  a c file
> > And i compiled c file and generated the libmylib.so library.
> > But now my question is how to add this shared library to my android
> > application
> > I followed 2 approaches but all throwing exception that Library mylib not
> > founed.
> > 1 In eclipse BuildPath->ConfigurebuildPath->Android2.1->native given the
> > path of my shared library
> > 2 I copied shared library to /data/data/myprojectpackagenae/lib/
> >   and used the statement in my code as
> >    System.load("/data/data/mypackagename/lib/libmylib.so");
>
> > In above two cases it is throwing same exception
>
> > Where iam wrong?
> > Is it  procedure is wright?
> > Please 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


[android-developers] Re: Can't we add shared libraries without use of android ndk tools

2010-05-27 Thread karteek
An exception is poping that application is not respondiong with
options force close or wait
And
The logcat showing the following
05-27 11:45:56.193: ERROR/AndroidRuntime(231): Caused by:
java.lang.UnsatisfiedLinkError: Library mylib not found


On May 27, 10:37 am, fadden  wrote:
> On May 25, 6:31 am, Karteek N  wrote:
>
> > In above two cases it is throwing same exception
>
> What exception?  What does the logcat output show?  If it's a dlopen()
> failure you'll see the error message from that function in the log.

-- 
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: Playing Audio During call so that other person on call can hear it

2010-05-26 Thread karteek
In Music application there is a service class called
MediaPlayBackService,java
It is having a telephonestate listener.
This will monitor the telephone state and stops when any change in the
phone state.
If you remove that listener it won't stop song even you answer call .
But i didn't try ever this.
You may take experts  suggestion regarding this.
Means what will happen if we remove phone state listener from music
application

On May 26, 11:14 am, amit  wrote:
> Hi everyone,
> Experienced guys please guide me,
> can we play  audio during call so that other person on the call could
> hear this audio.
>
> Thanks & Regards
> Amit

-- 
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] Can't we add shared libraries without use of android ndk tools

2010-05-25 Thread Karteek N
Hi all,
I have gone through android ndk tutorials.
But i am little confusing in Android.mk file as well as Application.mk file
so instead of that i used the following approach
I created a Test.java file which is having one native method.
i added the static{

System.loadLibrary("mylib");
}
By using javah -jni i generated Test.h and using that decleration i
implemented  a c file
And i compiled c file and generated the libmylib.so library.
But now my question is how to add this shared library to my android
application
I followed 2 approaches but all throwing exception that Library mylib not
founed.
1 In eclipse BuildPath->ConfigurebuildPath->Android2.1->native given the
path of my shared library
2 I copied shared library to /data/data/myprojectpackagenae/lib/
  and used the statement in my code as
   System.load("/data/data/mypackagename/lib/libmylib.so");

In above two cases it is throwing same exception

Where iam wrong?
Is it  procedure is wright?
Please 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] Where dialog is building

2010-05-19 Thread Karteek N
Hi,
When we going for ring tone settings
ie Home->Settings->Sound&DisplaySettings/Phone Ringtone
it is displaying the
ring tones which are added from media player.
If we want to change we can select from the list and press ok.
I want to know the source code of it how it is collecting the data of
ringtones and added to display dialog.
I went to the following file in the google android source code
packages/apps/Settings/src/com/android/settings/SoundAndDisplaySettings.java
But i didn't find how that dialog is building
Any help please,

-- 
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] Changing LandScape to Potrait mode

2010-05-15 Thread Karteek N
Hi,
I have a an application which is having some UI items like Buttons Radio
Buttons etc.
I want to change through code from landscape to portrait mode.
I did  by calling the method
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
But my UI items totally disturbed some of the i am unable to see.
What care i need to take for this
Any one can give me any documents or any help

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: How to create uses-library

2010-05-10 Thread karteek
Log cat is
05-11 11:02:12.062: ERROR/PackageManager(52): Package com.my.lib
requires unavailable shared library com.my.lib; failing!


On May 10, 3:46 pm, Vinay S  wrote:
> Can post the LogCat Output..
>
> -Vinay
>
> On May 10, 12:21 pm, Karteek N  wrote:
>
>
>
> > Hi,
> > In android manifest file there is a tag to include libraries called
> > .
> > Suppose if i have some java files in the package hierarchy called
> > com.my.lib
> > i used the following tag in my manifest file
> > 
> > Now it is compiled successfully.
> > But if i want to launch to emulator it is throwing the following error
> > [2010-05-10 10:38:18 - MyMusicPlayer] Installing MyMusicPlayer.apk...
> > [2010-05-10 10:38:20 - MyMusicPlayer] Installation error:
> > INSTALL_FAILED_MISSING_SHARED_LIBRARY
> > [2010-05-10 10:38:20 - MyMusicPlayer] Please check logcat output for more
> > details.
> > [2010-05-10 10:38:20 - MyMusicPlayer] Launch canceled!
> > And application is not running on emulator.
> > Any help please
>
> > --
> > 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 
> > athttp://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 
> athttp://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: How to create uses-library

2010-05-10 Thread karteek
Sorry I said Java files means it is also using android packages.
As you said uses-library is for only  sdk add-ons.
Can't we generate add ons to include in my applications

My overall idea is to make use some repeated functionality as an
library.
If i want to generate jar file i need to write it as pure Java
application but here it is also using some android api's.
what is the way to achieve this.

On May 10, 4:45 pm, Mark Murphy  wrote:
> Karteek N wrote:
> > In android manifest file there is a tag to include libraries called
> > .
>
> This is for SDK add-ons, like the Google Maps add-on.
>
> > Suppose if i have some java files in the package hierarchy called
> > com.my.lib
> > i used the following tag in my manifest file
> > 
> > Now it is compiled successfully.
> > But if i want to launch to emulator it is throwing the following error
> > [2010-05-10 10:38:18 - MyMusicPlayer] Installing MyMusicPlayer.apk...
> > [2010-05-10 10:38:20 - MyMusicPlayer] Installation error:
> > INSTALL_FAILED_MISSING_SHARED_LIBRARY
> > [2010-05-10 10:38:20 - MyMusicPlayer] Please check logcat output for
> > more details.
> > [2010-05-10 10:38:20 - MyMusicPlayer] Launch canceled!
> > And application is not running on emulator.
> > Any help please
>
> Don't use . Put the JAR in your libs/ directory (and, in
> the case of Eclipse users, add it to your build path).
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> Android 2.x Programming Books:http://commonsware.com/books
>
> --
> 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 
> athttp://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] How to create uses-library

2010-05-10 Thread Karteek N
Hi,
In android manifest file there is a tag to include libraries called
.
Suppose if i have some java files in the package hierarchy called
com.my.lib
i used the following tag in my manifest file

Now it is compiled successfully.
But if i want to launch to emulator it is throwing the following error
[2010-05-10 10:38:18 - MyMusicPlayer] Installing MyMusicPlayer.apk...
[2010-05-10 10:38:20 - MyMusicPlayer] Installation error:
INSTALL_FAILED_MISSING_SHARED_LIBRARY
[2010-05-10 10:38:20 - MyMusicPlayer] Please check logcat output for more
details.
[2010-05-10 10:38:20 - MyMusicPlayer] Launch canceled!
And application is not running on emulator.
Any help please

-- 
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] How to build default applications as a seperate

2010-05-08 Thread Karteek N
Hi ,
I download the android source code. From that i want to run phone
application as seperate application.
I coped the phone application from packages/apps/ folder and placed in my
workspace.
If i am trying to import it shows the following error
*Android requires .class compatibility set to 5.0. Please fix project
properties.*
Why it is giving the above error. where iam wrong.
Please any one help me

Regards,
Karteek

-- 
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: How to load more than one layout file for an activity

2010-04-29 Thread karteek
Thanks for your reply
Its working now.
But i have one button in Dialog i have set on Clicklistener to
button.
When i click on the button it is not responding. Can you give any
suggestion.


On Apr 29, 11:43 am, Vo Trung Liem  wrote:
> Hi,
>
> You can you LayoutInflater to for setting layout dialog.
> Here is example code:
>
> LayoutInflater factory = LayoutInflater.from(this);
> final View testview = factory.inflate(R.layou.new_layout, null);
> // process get all view your new layout
>
> your_dialog.setTitle("'');
> your_dialog.setView(testView);
>
> ...
>
>
>
>
>
> On Thu, Apr 29, 2010 at 2:26 PM, karteek22  wrote:
> > Hi,
> > How can we use more than one layout file.
> > I have implemented a cutom dialog.That means i have created an layout file
> > for dialog.
> > And one layout file for my activity.
> > But whatever the UI items in dialog layout ile if iam using them by
> > findViewById it is giving me null
>
> > I will explain indetails here
> > @Override
> >     public void onCreate(Bundle savedInstanceState) {
> >         super.onCreate(savedInstanceState);
> >         setContentView(R.layout.main);
> >         applicationContext=getApplicationContext();
>
> >      Dialog    folder=new Dialog(this);
> >             folder.setTitle("Creating folder");
> >             folder.setContentView(R.layout.create_folder);
> >           TextView tv=findViewById(R.id.folder_text); //Here folder_text is
> > in my second layoutfile ie in create_folder.xml
> >         //In the above statemet i got the null to tv variable.
> >         folder.show();
>
> >     }
>
> > Any suggestions please
>
> > Regards,
> > Karteek
>
> > --
> > 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 > cr...@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 
> athttp://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: how to connect android phone to pc using adb

2010-04-26 Thread karteek
@Rogerio
My OS is ubuntu.And I already used these commands.But the device is
not getting displayed under ./adb devices.

@AJ
I have the Driver CD that came with the phone.But,it is for
Windows,the driver installer is in .exe.
How do I make it work for linux?

On Apr 26, 5:35 pm, Rogério de Souza Moraes 
wrote:
> What is your S.O.? Linux, windows or MAC?
>
> if it is linux, try to enter in root shell (sudo -s), before do:
> ./adb kill-server
> ./adb start-server
>
> Regards,
>
> Rogerio
>
> 2010/4/26 AJ 
>
>
>
> > check whether you have installed driver for galaxy-spica properly?
>
> > Thanks,
> > AJ
>
> > On Apr 26, 3:19 pm, saikiran n  wrote:
> > > Hi all,
> > >  I am aunable to connect my phone to pc.
> > > I connected it with usb cable to my pc and i opend command prompt where
> > my
> > > android sdk is there
> > > Now i typed
> > > ./adb kill-server
> > > ./adb start-server
> > > then i typed
> > > ./adb shell
> > > it displays me error that device not found
> > > I kept my mobile in usb debug mode through as follows
> > > Setting->Application->Development->USB debug mode
> > > My phone version is 1.5 samsung galaxy-spica
> > > Any help
> > > Regards,
> > > saikiran
>
> > > --
> > > 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 athttp://
> > 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 android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group 
> athttp://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] Is it possible to send sms using adb tool

2010-04-26 Thread Karteek N
Hi all,
Can we send sms using adb tool.
If possible can u provide any document or link

Regards,
Karteek

-- 
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: What is the maximum memory capacity

2010-04-26 Thread karteek
Thanks for your reply.
You mean to say that we can't save the database of more than 16M is it
so.
>a basic app takes already several MBs after you've only just started it.
Sorry i didn't understand above statement.Can u expand statement

On Apr 26, 9:33 am, Anurag Singh  wrote:
> The maximum heap memory an process (app) gets in Android is 16M. That's not
> that much,
> a basic app takes already several MBs after you've only just started it.
>
> - Anurag Singh
>
>
>
> On Mon, Apr 26, 2010 at 9:34 AM, Karteek N  wrote:
> > Hi all,
> > If i have implemented a database in an application.
> > So what ever the tables i create in that database will be saved in
> > /data/data/packagename/databasess
> > My question is how many tables i can create or how much data can i insert.
> > How to know capacity of the database.In which factors will it depends.
> > Please help
>
> > Regards,
> > Karteek
>
> > --
> > 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 
> athttp://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] What is the maximum memory capacity

2010-04-25 Thread Karteek N
Hi all,
If i have implemented a database in an application.
So what ever the tables i create in that database will be saved in
/data/data/packagename/databasess
My question is how many tables i can create or how much data can i insert.
How to know capacity of the database.In which factors will it depends.
Please help

Regards,
Karteek

-- 
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: How to execute "cd sdcard" command

2010-04-22 Thread karteek
Thanks Marks,Bob.
Your help is really appreciated,
I will follow java i/o.

On Apr 22, 9:39 pm, Bob Kerns  wrote:
> Mark points out all the reasons you shouldn't even be trying to do
> this.
>
> But there's more! I assume you're going to take Mark's advice anyway,
> but these are things that are likely to cause you trouble someday in
> the future, so I'll point them out anyway.
>
> First, you are trying to cd to some directory you have no reason to
> believe exists. You don't have any idea what your current directory is
> -- why should you expect it to have a 'sdcard' subdirectory? I expect
> you meant "/sdcard" -- and that might work on your device. It might
> not work on some other device, though. See this class for methods to
> handle this cleanly:
>
> http://developer.android.com/intl/de/reference/android/os/Environment...
> (You'll want to make use of this with Mark's advice, too).
>
> And even if you did manage to cd to a directory named 'sdcard' -- it
> would have NO EFFECT WHATSOEVER on the next command you execute!
>
> You ran a shell and told it to do 'cd sdcard'. When it's done with
> that, it exits. You no longer have a shell with that working
> directory. Now you try to run 'ls' in a new shell. This new shell
> doesn't care what you did in the old shell. It is NOT going to be
> executing in your sdcard directory.
>
> You could put these two commands into a .sh file, and execute that.
> But what's the point? You could supply the same path directly to 'ls'.
> Or even better, use the Java facilities for accessing the filesystem
> and avoid all kinds of bugs you'd probably introduce -- like, for
> example, handling spaces in filenames, etc.
>
> On Apr 22, 5:50 am, Karteek N  wrote:
>
>
>
>
>
> > Hi ,
> > I want to display what are the files and contents in sdcard through
> > application.
> > I am able to print the root folder.But when i execute cd sdcard
> > it throws me exception that permission is denied.
> > When i did the same thing using adb shell i am able to display the sdcard.
> > Is there any way to change permissions like sudo
>
> > I used the following code to display root folder
>
> >  Runtime rt = Runtime.getRuntime();
> >           try {
> >                    Process process;
> >                    process=rt.exec("ls");
> >                  try{
> >                           BufferedReader in =new BufferedReader(new
> > InputStreamReader(process.getInputStream()));
>
> >                          String line;
> >                          while ((line = in.readLine()) != null) {
> >                                Log.d("debug",line);
> >                                 }
> >                           in.close();
>
> >                       } catch (Exception e) {
> >                               e.printStackTrace();
> >                              System.out.println(e.getMessage());
> >                        }
>
> >                    } catch (IOException e) {
>
> >                           e.printStackTrace();
> >                   }
>
> > But when change the above code like
> >   process=rt.exec("cd sdcard");
> >   process=rt.exec("ls");
> > Its throws exception
>
> > Any help please
> > Regards,
> > Karteek
>
> > --
> > 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 
> > athttp://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 
> athttp://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] How to execute "cd sdcard" command

2010-04-22 Thread Karteek N
Hi ,
I want to display what are the files and contents in sdcard through
application.
I am able to print the root folder.But when i execute cd sdcard
it throws me exception that permission is denied.
When i did the same thing using adb shell i am able to display the sdcard.
Is there any way to change permissions like sudo

I used the following code to display root folder

 Runtime rt = Runtime.getRuntime();
  try {
   Process process;
   process=rt.exec("ls");
 try{
  BufferedReader in =new BufferedReader(new
InputStreamReader(process.getInputStream()));

 String line;
 while ((line = in.readLine()) != null) {
   Log.d("debug",line);
}
  in.close();

  } catch (Exception e) {
  e.printStackTrace();
 System.out.println(e.getMessage());
   }


   } catch (IOException e) {

  e.printStackTrace();
  }


But when change the above code like
  process=rt.exec("cd sdcard");
  process=rt.exec("ls");
Its throws exception

Any help please
Regards,
Karteek

-- 
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: change size of controls in a layout

2010-04-21 Thread karteek
If you declared EditText in xml file you can change by


  where you can use any nuber instead of 50

On Apr 22, 12:32 am, dillipk  wrote:
> Hi,
>   How do I change the size of the controls placed in a layout? (by any
> method)
>
>  I tried to change the height of an EditBox ->setHeight(10); doesn't
> seem to work.
>
> Thank you,
>
> -DK
>
> --
> 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 
> athttp://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] import com.google.android.gtalkservice.IGTalkSession

2010-04-15 Thread Karteek N
Hi,
I am implementing GTalk sample application by refering some book
But they mentioned the following imports
import com.google.android.gtalkservice.IGTalkSession;
import com.google.android.gtalkservice.IGTalkService;
import com.google.android.gtalkservice.GTalkServiceConstants;
import com.google.android.gtalkservice.IChatSession;
But when i am importing it is giving me error the import can't be resolved.
I tried those above imports for the following targets
1.1,
1.5,Google api,
1.6.Google api,
2.0,Google api,
2.0.1,Google api,
2.1,Google api
No where the above imports found I am unable to import above things.
Any help
Regards,
Karteek

-- 
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: How can I get all the name of activities in the android system ?

2010-04-15 Thread karteek
here is sample code
  PackageManager appInfo = context.getPackageManager();

List packageList=appInfo.getInstalledPackages(0);
 packageList holds the all the packages in your android device/
emulator
check with ur application package
then you will get u r application information
The application information gives you the all activities
For example your package name is com.example.mypackage
for(int i=0;i wrote:
> Hi :
>      In my project ,I need get all the name of the activities ,not
> only my own application, but also the third party
> application , and how can I get ?   Thank you !

-- 
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

To unsubscribe, reply using "remove me" as the subject.


[android-developers] How to set XMPP settings

2010-04-15 Thread Karteek N
Hi i want to implement gtalk application.
For that we need to set gtalk account on our emulator  with gmail account.
In some book i have seen we need to set it by going to DevTools->XMPP
Settings.

But i have created emultor with 1.5 and 2.0 in both i didn't find this
option .
Even i tried for 1.5 and 2.0 with google API also.
Any one can help me.
Regards,
Karteek

-- 
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

To unsubscribe, reply using "remove me" as the subject.