[android-developers] Re: About Telnet

2008-05-23 Thread juma

Where we have to give telnet commands dos or unix?


--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] how can i show another spinner when one select an item from spinner

2008-05-23 Thread rutu

THIS I S THE CODE WHICH CALLS THE ANOTHER FILE WHICH OPENS ANOTHER
ShowMovie CLASS WHICH HA S TWO SPPINER
public class Movieselect extends MapActivity {
 public void onCreate(Bundle icicle) {
super.onCreate(icicle);
setContentView(R.layout.main);

spinner.setOnItemSelectedListener(new
AdapterView.OnItemSelectedListener(){

public void onItemSelected(AdapterView parent, View v,
int position, long id) {
// TODO Auto-generated method stub
//openSpinner();
}

public void onNothingSelected(AdapterView arg0) {
// TODO Auto-generated method stub

}

});
}

private void openSpinner(){
Intent i = new Intent(this,ShowMovie.class);
startSubActivity(i, ACTIVITY_NAVIGATE);
}
 }

BUT I GETTING AN EXCEPTION android.view.ViewInflate$InflateException
PLEASE HELP ME I WANT TO KNOW HOW THIS CAN BE SOLVED
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] multiple app

2008-05-23 Thread lenin v
Hi,
  Is there anyway to cascade the apps.?  Lets say I want to embed the
browser in my app and still want some of my screen to be visible and be able
to get the pointer and key events.

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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] How to update the progress bar dynamically.

2008-05-23 Thread wipand

Hi,
I've to update the progress bar dynamically. i.e. while playing the
audio, i need to show the progress. But there is no listener where i
can set the progress. How to do that? As the audio plays, i want some
listener to be called on periodic basis, so that i can set the
progress.

Somebody pls help me out.
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] How to add more then one spinner in relative layout

2008-05-23 Thread rutu

?xml version=1.0 encoding=utf-8?
RelativeLayout xmlns:android=http://schemas.android.com/apk/res/
android
android:layout_width=fill_parent
android:layout_height=fill_parent

view class=com.google.android.maps.MapView
android:id=@+id/map
android:layout_width=fill_parent
android:layout_height=fill_parent
 /

Spinner android:id=@+id/spinnerCITY
android:layout_alignParentTop=true
android:layout_width=fill_parent
android:layout_height=wrap_content
android:drawSelectorOnTop=true


 /

  Spinner android:id=@+id/spinnerMOVIE
android:layout_alignParentTop=true
android:layout_width=fill_parent
android:layout_height=wrap_content
android:drawSelectorOnTop=true

 /

 /RelativeLayout

THIS IS THE CODE FOR XML FILE IT IS SHOWING TWO SPINNERS BUT THEY
ARE OVERLAPPING CAN U SUGGEST ME THE WAY HOW TO SOLVE THIS PROBLEM
ONE MORE THING I WANT THIS TEO SDPINNER TO BE IN DIFFERENT VIEW
BECAUSE ONE OF THE SPINNER HAS TO BE VISIBLE AND ONE SHOULD  NOT BE
VISIBLE
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Working with files

2008-05-23 Thread imen

Hi,
In my application, i want to use files that are in my computer. I want
to open a file on the Emulator.

Please, how can i do it ?

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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Working with files

2008-05-23 Thread plusminus

Remember that you are not working on the same machines !
Android-Common-File-Operations will not work !

Regards, plusminus
http://anddev.org
#  Worlds largest Android Development Community / Tutorials

On May 23, 11:16 am, imen [EMAIL PROTECTED] wrote:
 Hi,
 In my application, i want to use files that are in my computer. I want
 to open a file on the Emulator.

 Please, how can i do it ?

 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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Working with files

2008-05-23 Thread senthil arjunan
Hi,
   Use DDMS perspective than use File Explorer..


On Fri, May 23, 2008 at 2:46 PM, imen [EMAIL PROTECTED] wrote:


 Hi,
 In my application, i want to use files that are in my computer. I want
 to open a file on the Emulator.

 Please, how can i do it ?

 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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: How to update the progress bar dynamically.

2008-05-23 Thread vitvikt


You may do it by useing timer.
vitvikt
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: How to update the progress bar dynamically.

2008-05-23 Thread Mark Murphy

wipand wrote:
 I've to update the progress bar dynamically. i.e. while playing the
 audio, i need to show the progress. But there is no listener where i
 can set the progress. How to do that? As the audio plays, i want some
 listener to be called on periodic basis, so that i can set the
 progress.

As someone else suggested, you can use the standard Java Timer/TimerTask 
classes in java.util. Just start a periodic timer when playback begins 
and stop it when playback ends. When the timer fires, use either a 
Handler or UIThreadUtilities#runOnUIThread() to update the progress bar 
on the UI thread.

If you set the progress bar's maximum to be the length of the audio clip 
in seconds, you can just increment the progress bar by 1 via a 
one-second periodic Timer, keeping the per-increment logic to a minimum.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android Training on the Ranch in September! http://www.bignerdranch.com

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: How to add more then one spinner in relative layout

2008-05-23 Thread dolan kundu
Hi rutu,
In your 1st question, to avoid overlapping of d spinner, set the  y-axis in
the xml page related with the spinner.
In your 2nd question, create button or what ever you want. then make these
as boolean value by setChecked .

Thanks,
Dolan.

On Fri, May 23, 2008 at 1:17 PM, rutu [EMAIL PROTECTED] wrote:


 ?xml version=1.0 encoding=utf-8?
 RelativeLayout xmlns:android=http://schemas.android.com/apk/res/
 android
android:layout_width=fill_parent
android:layout_height=fill_parent

 view class=com.google.android.maps.MapView
android:id=@+id/map
android:layout_width=fill_parent
android:layout_height=fill_parent
 /

Spinner android:id=@+id/spinnerCITY
android:layout_alignParentTop=true
android:layout_width=fill_parent
android:layout_height=wrap_content
android:drawSelectorOnTop=true


 /

  Spinner android:id=@+id/spinnerMOVIE
android:layout_alignParentTop=true
android:layout_width=fill_parent
android:layout_height=wrap_content
android:drawSelectorOnTop=true

 /

  /RelativeLayout

THIS IS THE CODE FOR XML FILE IT IS SHOWING TWO SPINNERS BUT THEY
 ARE OVERLAPPING CAN U SUGGEST ME THE WAY HOW TO SOLVE THIS PROBLEM
 ONE MORE THING I WANT THIS TEO SDPINNER TO BE IN DIFFERENT VIEW
 BECAUSE ONE OF THE SPINNER HAS TO BE VISIBLE AND ONE SHOULD  NOT BE
 VISIBLE
 


--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Working on another Android story

2008-05-23 Thread gjs

Hi,

I spent about 500 hours on g2code 4 Android - not a winner, but in top
25% for all categories - http://www.g2code.com
This was done outside of my day job, at night and on weekends as well
as taking two weeks annual leave, so the cost in effort was
significant but there is no dollar figure.
The project involved a port from j2me to android, android development,
create web and database server components, create mockup demo
components, create brief youtube video, write ADC submission paper and
lots and lots of testing.

Regards

On May 23, 2:10 am, Vasanth Sridharan [EMAIL PROTECTED]
wrote:
 Hey All,
 Thanks for all your responses so far, they've definitely helped with my
 stories. I'm working on another one about the cost to develop these
 applications. Obviously cost is a tough thing to nail down, but if you could
 figure out based on number of hours spent and salary or however makes sense
 for your specific application, that would be great.

 Thanks,
 Vasanth Sridharan
 Reporter
 Silicon Alley Insider
 C: (408) 455-2254http://www.alleyinsider.comhttp://www.vasanthsridharan.com
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: AlertDialog Item Icons

2008-05-23 Thread Megha Joshi
Hi,

This is not possible in the m5 release of the SDK, but a future SDK will
provide a setAdapter() method on AlertDialog.Builder, which will make it
easy to add custom views that have the icon and text.

Thanks,
Megha

On Wed, May 21, 2008 at 5:35 PM, Gil [EMAIL PROTECTED] wrote:


 Hi everyone,

 I want to create an dialog list that has icons as well as text. I know
 this is possible because I have no trouble creating it by using a
 submenu item with the associated items (which can have icons). My
 question is: can I use the AlertDialog.Builder to achieve the same
 result? Currently the AlertDialog.Builder allows an array of resource
 items. Can resource array items be more complex (not just strings)? Is
 there another way to create such list dialogs?


 


--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] real phone authentication

2008-05-23 Thread jcmb

Does an Android provide a programmatic way for a developer to confirm
that the device currently being run is a phone and not an emulator?
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Problem in Sending Sms through telnet

2008-05-23 Thread juma

Hi,

  I use the m5 version only.

  When i use the emulator control it becomes grayed.

Thanks
judy
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---