[android-beginners] Re: How to disable connection to internet in android phone?

2009-09-16 Thread kiro

ok, thanks

On Sep 16, 3:34 am, Roman ( T-Mobile USA) roman.baumgaert...@t-
mobile.com wrote:
 There are already several threads on this topic. For example

 http://groups.google.com/group/android-developers/browse_thread/threa...

 Also look for changing the APN settings.

 --
 Roman Baumgaertner
 Sr. SW Engineer-OSDC
 ·T· · ·Mobile· stick together
 The views, opinions and statements in this email are those of the
 author solely in their individual capacity, and do not necessarily
 represent those of T-Mobile USA, Inc.

 On Sep 15, 7:42 am, kiro cih.exe...@gmail.com wrote:

  b.c. it costly by my provider and eats battery
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: how to change text in a Button

2009-09-16 Thread Mark Murphy

cellurl wrote:
 Heres my code.
 I don't see a .setText for View.

Button is a subclass of View.

private void findViews
   // Set up click listeners for all the buttons
   View aboutButton25 = findViewById(R.id.about_button25);

Button aboutButton25=(Button)findViewById(R.id.about_button25);

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android Development Wiki: http://wiki.andmob.org

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



[android-beginners] Android application enable handset

2009-09-16 Thread Ajaz Ahmed
Hi,

Can any one send me the list of android application enable handset, where i
can install my android application?
want to know about company,model  ??

Regards!

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



[android-beginners] Mark/Highlight/Select Text in WebView

2009-09-16 Thread treetop

Hi,

By using built-in browser on Magic or Hero, there is an function in
menu called copy text.
After clicking, we can touchmove to select a region.
In WebView, how can we enable this function?
Thanks!

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



[android-beginners] Re: Android 1.6 SDK is here!

2009-09-16 Thread Rafa Perfeito
Wooray!
Just a quick question. I'm developing on a consumer device (and still
SIM-locked) with 1.5. Can i upgrade it to 1.6? How?

Thanks

On Wed, Sep 16, 2009 at 4:02 AM, er...@motorola.com
ehclonin...@gmail.comwrote:


 Woohoo! You can now have a beer.

 -E

 On Sep 15, 5:22 pm, Xavier Ducrohet x...@android.com wrote:
  http://android-developers.blogspot.com/2009/09/android-16-sdk-is-here...
 
  Enjoy!
  --
  Xavier Ducrohet
  Android Developer Tools Engineer
  Google Inc.
 



-- 
Cumprimentos,

Hugo Rafael Augusto

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



[android-beginners] Re: Development Phone

2009-09-16 Thread Rafa Perfeito
Digging an old question that comes alive with the release of 1.6: what about
OS updates? I have an HTC Magic from a carrier. Can i update to 1.6? How?
Through the carrier?
Thanks

On Tue, Sep 1, 2009 at 1:54 PM, Chi Kit Leung michaelchi...@gmail.comwrote:

 I am using HTC Magic as test and debug environment. Because I need a phone
 to test my App. That is. Moreover, that can prove my App can run in a
 standard environment.


 On Tue, Sep 1, 2009 at 10:46 PM, Ran dahan...@gmail.com wrote:


 Thanks a lot, your answers gave me some clue about the differences and
 now I think I'll be able to do the right decision.
 Thank's again!

 On Aug 28, 8:53 pm, Chris Stratton cs07...@gmail.com wrote:
  On Aug 24, 9:09 am, Ran dahan...@gmail.com wrote:
 
   What is the benefit of working with ADP1 over the other Android
   phones ?
 
  Just to expand on what others have said:
 
  Cost seems comparable betwen a devphoneand a retailphoneat full
  retail or plan price + termination fee, so it's really more a of a
  technical question.
 
  Reasons for a devphone
 
  -sim unlocked (some such as tmobile may? do that if you pay full
  retail or eventually on a plan)
  -can change linux and system libraries
  -can change pre-installed applications
  -tmobile myfaves application sends periodic sms which costs money on
  any other network
 
  Reasons for _not_ getting a devphone
 
  -only one older devphonemodel generally available at present
  -dev phones can't buy paid applications from the market (including
  your own)
  -if you sell apps, you need to restrict yourself to the capabilities
  of your users phones (and test on such a device!)
  -various preinstalled proprietary applications missing (+/- depending
  on your interest)
 
  The not being able to change preinstalled applications is in my mind
  the least anticipated, and most annoying, problem.  There are many
  areas where very small decisions of questionable wisdom in default
  applications really hamper the user experience (even in the using it
  just to make calls sense), but these can't be very readily changed on
  a retailphone, particularly the parts most closely involved in the
   telephone functionality.
 
  As of this moment, I believe most of the retail phones are probably
  still shipping with an easily rooted linux kernel, but that probably
  will get closed up (already fixed in google's tree) and they will be
  limited until another hole is found.

 --
 Regards,
 Michael Leung
 http://www.itblogs.info
 http://www.michaelleung.info

 



-- 
Cumprimentos,

Hugo Rafael Augusto

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



[android-beginners] Re: Development Phone

2009-09-16 Thread Mark Murphy

Rafa Perfeito wrote:
 I have an HTC Magic from a carrier. Can i update to
 1.6? How? Through the carrier?

T-Mobile has not yet announced plans for Android 1.6 for any of their
devices. At some point, in all likelihood, they will make such an
announcement.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Need Android talent? Ask on HADO! http://wiki.andmob.org/hado

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



[android-beginners] Re: Development Phone

2009-09-16 Thread Rafa Perfeito
No T-Mobile for me. TMN from Portugal...But that means that the carrier
itself enables the update?

On Wed, Sep 16, 2009 at 12:23 PM, Mark Murphy mmur...@commonsware.comwrote:


 Rafa Perfeito wrote:
  I have an HTC Magic from a carrier. Can i update to
  1.6? How? Through the carrier?

 T-Mobile has not yet announced plans for Android 1.6 for any of their
 devices. At some point, in all likelihood, they will make such an
 announcement.

 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com | http://twitter.com/commonsguy

 Need Android talent? Ask on HADO! http://wiki.andmob.org/hado

 



-- 
Cumprimentos,

Hugo Rafael Augusto

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



[android-beginners] Re: Development Phone

2009-09-16 Thread Mark Murphy

Rafa Perfeito wrote:
 No T-Mobile for me. TMN from Portugal...

Oops. Sorry. Too early for me to be writing emails, apparently.

This does not bode well for the blog post I am working on...

 But that means that the carrier itself enables the update?

I have seen no evidence that HTC makes firmware upgrades available
directly. They always handle that through whoever distributed the device
(e.g., T-Mobile for the T-Mobile myTouch3G version of the Magic). So, if
you got your device from your carrier, I would expect the carrier will
say when and how to upgrade it, assuming they support such an upgrade.

This is one of the many, many reasons why I hope Android spawns a robust
market for devices not tied to a carrier, where you get the device from
a device manufacturer and use it with a mobile carrier.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Need Android talent? Ask on HADO! http://wiki.andmob.org/hado

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



[android-beginners] Re: About ERROR: unknown virtual device name: 'myavd'

2009-09-16 Thread Nicolas Gramlich

Hi,

just tried this again with the ADT 0.9.3 (downloaded today) and
Android 1.6 r1 (also from today) and in the Virtual Devices-Window I
can see my newly created AVD with a green checker to the left: A
valid Android Virtual Device.

ANDROID_SDK_HOME is properly set to C:\Users\nico; for user and
system-environment variables.

I can also see the emulator-image being properly created in C:\Users
\nico\.android\avd\Emu_1_6.avd\userdata.img.

I'm using Windows7 RC 64Bit with a 64 Bit JDK and Eclipse is running
(or has to run) with its own 32 Bit JRE.

Any ideas?


On 27 Aug., 03:21, Xavier Ducrohet x...@android.com wrote:
 On Wed, Aug 26, 2009 at 4:21 AM, Phoenixphoenixsen...@gmail.com wrote:

  On Aug 25, 4:41 pm, Xavier Ducrohet x...@android.com wrote:
  I see that you have changed the location of the user folders (in S:
  instead of C:)

  There are user folders on both S: and C:.  Only the Desktop and My
  Documents special folders are on S:.  Everything else (including App
  Data) is on C:.  [The documents are shared between operating systems
  on different partitions]

  Android (or Eclipse?) has been the only thing to use S:.

  When the user location is not the default one, we have seen some cases
  where windows reports the location of the user folder differently
  depending on which API you use (the command line tool and Eclipse use
  a Java API, while the emulator use a windows C++ API).

  That would explain why the command line tools and Eclipse could see
  my_avd just fine, but the emulator could not find it.

  But, shouldn't Android be set up to use HOMEDRIVE/HOMEPATH?  Standard
  environment variables.

 I think there are difference on XP/Vista which makes using those hard
 to use (back in the previous SDK we were using LOCALAPPDATA but we
 ended up having the same problem).

 What we use on java is the user.home property setup by the VM. Looks
 like the Java VM thinks your home is in S:\...
 I look again into these 2 env variables and see if they could be used.

  Also, a single line in the installation instructions could have
  prevented this confusion.  When Android can see the AVD from the
  command line and the Eclipse gui, but not from the emulator, and no
  explanation is given (especially on the first test project), it's ...
  disheartening.

 I agree. We should at least have the emulator output a message saying
 where it's looking for the AVD and how to fix the problem if it's not
 where the AVDs are created.

  In any event, with the ANDROID_SDK_HOME variable set to the S:
  home (which is not the real home directory, that is on C:), the
  emulator now works.

 Well we don't want to go and set a permanent env on your machine. I
 guess we could but relying on existing standard env variables should
 be better. I mean, what happens if the user removes it or change the
 location of his/her home folder but doesn't update this?

 In any case we do need to find a solution.

 Xav
 --
 Xavier Ducrohet
 Android Developer Tools Engineer
 Google Inc.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Development Phone

2009-09-16 Thread Juan Delgado

Interesting. Because I bought my Hero unlocked in the UK from an
official reseller and I was indeed expecting some news from HTC
themselves.

On Wed, Sep 16, 2009 at 12:31 PM, Mark Murphy mmur...@commonsware.com wrote:

 Rafa Perfeito wrote:
 No T-Mobile for me. TMN from Portugal...

 Oops. Sorry. Too early for me to be writing emails, apparently.

 This does not bode well for the blog post I am working on...

 But that means that the carrier itself enables the update?

 I have seen no evidence that HTC makes firmware upgrades available
 directly. They always handle that through whoever distributed the device
 (e.g., T-Mobile for the T-Mobile myTouch3G version of the Magic). So, if
 you got your device from your carrier, I would expect the carrier will
 say when and how to upgrade it, assuming they support such an upgrade.

 This is one of the many, many reasons why I hope Android spawns a robust
 market for devices not tied to a carrier, where you get the device from
 a device manufacturer and use it with a mobile carrier.

 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com | http://twitter.com/commonsguy

 Need Android talent? Ask on HADO! http://wiki.andmob.org/hado

 




-- 
Juan Delgado - Zárate
http://zarate.tv
http://blog.zarate.tv

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



[android-beginners] Screen orientation

2009-09-16 Thread Neilz

Hi all.

How do I test screen orientation on the emulator please? Can I tell it
to switch orientation just like you would on the real device?

On a more complex but related matter, I have a Maps app that loses the
map when I change the orientation. My overlays and locations remain
visible, but the map detail has gone leaving a plain blue screen (like
it's over the sea, but it's not!). Any ideas where to start looking
for the problem?

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



[android-beginners] Re: Screen orientation

2009-09-16 Thread Mark Murphy

Neilz wrote:
 How do I test screen orientation on the emulator please? Can I tell it
 to switch orientation just like you would on the real device?

Windows/Linux: Ctrl-F12
Mac with numeric keypad: 5 on the numeric keypad

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 1.0 In Print!

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



[android-beginners] Android Emulator suddenly won't boot...

2009-09-16 Thread furby

I had the 1.5 android emulator starting from Eclipse perfectly
nicely until yesterday when it suddenly won't finish booting. I
haven't installed anything new (Running it on Windows Vista - i know,
uck, but I'm waiting for Win 7 to hurry up), haven't even changed the
java code I am trying to run...

The emulator starts up, get's to the point where it shows Android
with the nice lighting effect that goes from left to right over it and
then just stays in that state. Last night I tested it by starting it
up, going out to the living room, watching two hour long episodes of
the first series of Doctor Who, and then coming back in (Essentially
giving it 1.5 hours to do it's stuff) - it was still stuck in that
state

Any ideas what I did wrong?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] When does one start to develop for 1.6?

2009-09-16 Thread Michael Dorin

I see 1.6 has been released...when is the right time to upgrade to it?
-Mike

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



[android-beginners] Intent filter - Open web link from messaging only

2009-09-16 Thread Oskar

Hi,

I have succeeded to handle if links like www.google.com from messaging
and browser should be opened in browser or in my own application by
using the manifest intent-filter below.

But, I would like further control and only be able to choose where to
open an URL when being in Messaging app and NOT from browser app.

Is it possible?

Thanks,

Oskar




Manifest
---
intent-filter android:label=Send to computer
action 
android:name=android.intent.action.VIEW /
category 
android:name=android.intent.category.BROWSABLE /
category 
android:name=android.intent.category.DEFAULT /
data android:scheme=http/
/intent-filter
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Intent filter - Open web link from messaging only

2009-09-16 Thread Oskar

Hi,

I have succeeded to handle if links like www.google.com from messaging
and browser should be opened in browser or in my own application by
using the manifest intent-filter below.

But, I would like further control and only be able to choose where to
open an URL when being in Messaging app and NOT from browser app.

Is it possible?

Thanks,

Oskar




Manifest
---
intent-filter android:label=Send to computer
action 
android:name=android.intent.action.VIEW /
category 
android:name=android.intent.category.BROWSABLE /
category 
android:name=android.intent.category.DEFAULT /
data android:scheme=http/
/intent-filter
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: What's good to start with?

2009-09-16 Thread Jonte

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



[android-beginners] Must have missed something...1.5-1.6

2009-09-16 Thread Michael Dorin

I thought I followed all the instructions to update the SDK.
I have updated a couple projects and no errors are shown.
When I attempt to launch though, I get:

'Launching ...' has encountered a problem.
An internal error occurred during: Launching ... 

java.lang.NullPointerException

I am running on vista.

Any ideas as to what I may have done wrong?

-Mike

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



[android-beginners] Re: What's good to start with?

2009-09-16 Thread Jonte

great thanks. not sure if my last message got in but if it had sorry.

On Sep 15, 6:51 pm, Yusuf Saib (T-Mobile USA) yusuf.s...@t-
Mobile.com wrote:
 There is a tutorial for taking and modifying pictures with a menu
 here:https://freshbrain.org/group/building-applications-g1-mobile-phone-le...

 Yusuf Saib
 Android
 ·T· · ·Mobile· stick together
 The views, opinions and statements in this email are those of the
 author solely in their individual capacity, and do not necessarily
 represent those of T-Mobile USA, Inc.

 On Sep 14, 7:24 pm, John P. johnny.d.p...@gmail.com wrote:





  Wow, great job taking the initiative to develop on Android!

  I'm not sure of your Java level, but if you have a hard time following
  through the SDK documentation (http://developer.android.com/guide/
  index.html), particularly the Tutorial section, try to get more
  familiarized with programming in general.  I personally like the
  Cookbook types (there's one for Java by Oreilly publisher), but there
  are many free resources available on the internet.  The more you
  program, the better you'll understand object oriented design and
  frameworks.  IMO, the minimum two things you want to master are: 1)
  how to look up information (e.g. API), and 2) how to debug --
  definitely learn how to insert breakpoints and step through your code.

  On Sep 13, 3:33 am, Jonte jonathan.hels...@gmail.com wrote:

   I'm 14 years old and have been programming a little bit with Eclipse
   and Java. I just got a HTC Hero and want to make some easy thing to
   start with. Like showing a picture or some thing that I after that can
   put a menu on and thing like that. My goal is to make a small easy
   game but I got to start some were.

   What is good to start with?

   And were can I find more information about programming in Android?

   Is it just to write the same things as I do when I make a small
   program in Java?

   With great regards

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



[android-beginners] Re: Development Phone

2009-09-16 Thread Rafa Perfeito
 I have seen no evidence that HTC makes firmware upgrades available
 directly
Well that just sucks...I know there's is a dev phone, but wasn't the
philosophy behind Android to be open to everyone contribution? That should
be independent of the carrier/not carrier choice...

Well, thanks for the response

On Wed, Sep 16, 2009 at 12:34 PM, Juan Delgado zzzar...@gmail.com wrote:


 Interesting. Because I bought my Hero unlocked in the UK from an
 official reseller and I was indeed expecting some news from HTC
 themselves.

 On Wed, Sep 16, 2009 at 12:31 PM, Mark Murphy mmur...@commonsware.com
 wrote:
 
  Rafa Perfeito wrote:
  No T-Mobile for me. TMN from Portugal...
 
  Oops. Sorry. Too early for me to be writing emails, apparently.
 
  This does not bode well for the blog post I am working on...
 
  But that means that the carrier itself enables the update?
 
  I have seen no evidence that HTC makes firmware upgrades available
  directly. They always handle that through whoever distributed the device
  (e.g., T-Mobile for the T-Mobile myTouch3G version of the Magic). So, if
  you got your device from your carrier, I would expect the carrier will
  say when and how to upgrade it, assuming they support such an upgrade.
 
  This is one of the many, many reasons why I hope Android spawns a robust
  market for devices not tied to a carrier, where you get the device from
  a device manufacturer and use it with a mobile carrier.
 
  --
  Mark Murphy (a Commons Guy)
  http://commonsware.com | http://twitter.com/commonsguy
 
  Need Android talent? Ask on HADO! http://wiki.andmob.org/hado
 
  
 



 --
 Juan Delgado - Zárate
 http://zarate.tv
 http://blog.zarate.tv

 



-- 
Cumprimentos,

Hugo Rafael Augusto

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



[android-beginners] Re: Android in Eclipse - package name problem - please help

2009-09-16 Thread Mimi

Thank you so much for your response and info, Raphael.

How can I change the Navigotor view to Java namespaces?

Under the package explorer, View Menu/Package Presentation, I changed
the selection from flat to hierarchical and the reverse. It did not
have an impact on the presenation of com.mimi.App. It is still
hierarchical. Other projects in the same workspace all displayed
'flat' when it comes to com.mimi.App and were not affected by the
changtes of the selection either.

The parse error that I am having on my Manifest file is:

[2009-09-15 17:11:49 -
com.android.ide.eclipse.common.project.AndroidManifestParser] Parser
exception for /Simple Flashlight/AndroidManifest.xml: The processing
instruction target matching [xX][mM][lL] is not allowed.

I think I did move this whole Project folder from one dir to another
when I was organizing my folders. If that is the culprit, I donnot
know why that is and how to fix it.

Any ideas on my error above? Tips, hints and suggestions would be
greatly appreciated.

Many Thanks...Mimi



On Sep 15, 7:46 pm, Raphael r...@android.com wrote:
 First check that you're not using the Navigator view instead (which
 shows files, not Java namespaces).

 In the package explorer, click on the View Menu (a little triangle
 just above the scrollbar in the explorer view. Select Package
 Presentation and change it from flat to hierarchical, or the reverse.

 R/

 On Tue, Sep 15, 2009 at 4:06 PM, Mimi mimik...@gmail.com wrote:

  As I was coding, building and testing my Android App merrily along, it
  seemed all of a sudden, the parsing/compile failed. Error is on the
  Manifest complaining that a file could not be found in the package
  mimi.package.newApp.

  What I found out under the Ecplise Explorer was that the
  com.mimi.package package name was no longer a string but got
  fragmented as folders i.e. src/com/mimi/package. Same with gen/com/
  mimi/package.

  I must have done something unintentionally to cause this but what is
  it? Any ideas and suggestions would be greatly appreciated.

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



[android-beginners] Re: Problems importing Notepad Tutorial projects with Fedora Eclipse 3.4.2, ADT plugin 0.9.1

2009-09-16 Thread Anthony

Well, I still have no idea what causes the Android project creation
dialogue problem with ADT 0.9.1 and Fedora Eclipse 3.4.2... however
after upgrading to the new ADT 0.9.3 (and installing SDK 1.6) the
problem has gone away so it's now a moot point.

Following the update the dialogue elements for selecting a path when
creating a project from existing files do get enabled when they
should, and I'm finally able to use the Notepad Tutorial files
properly.

On Sep 16, 8:00 am, Anthony anthonyhorto...@gmail.com wrote:
 On Sep 15, 10:29 pm, John P. johnny.d.p...@gmail.com wrote:

  I'm confused because if you've successfully done step 2 where you
  presumably clicked on the radio button to Create project from
  existing source, you should get an enabled textfield where you can
  specify the location of the said existing source.  If it is indeed
  true that such textfield does not become enabled, then may I suggest
  creating a new Android project, and manually placing the Notepad
  tutorial files to where the new Android project resides.  Be sure to
  refresh the project from Eclipse so that it picks up your manual
  filesystem changes.

 Yes, that's exactly my problem. When I select the create from existing
 source radio button in the create Android project dialogue I don't get
 an enabled text field and browse button with which to select a path. I
 know I should, and I was hoping that someone had seen a similar ADT
 problem before and could say what's going wrong.  I do get the enabled
 text field and button when creating a general project.

 Thanks for the suggested workaround, that should at least enable me to
 start working through the tutorial. I'd really like to get to the
 bottom of this though.



  On Sep 14, 11:55 am, Anthony anthonyhorto...@gmail.com wrote:

   Hi,

   I've installed the Android SDK (1.5 r3), Eclipse (Fedora Eclipse
   3.4.2), the ADT  DDMS Eclipse plugins (0.9.1.v200905011822-1621), and
   successfully worked my way through the Hello World Tutorial.  However
   I'm not able to get very far into the Notepad Tutorial because I'm not
   able to properly import the project files.  No problems downloading
   the ZIP archive and extracting the files to sub-directories of my
   Eclipse workspace directory, however I'm then unable to open them as
   Android projects in Eclipse.

   The Notepad Tutorial instructs me to:

   1. Start a new Android Project by clicking File  New  Android
   Project.
   2. In the New Android Project dialog, select Create project from
   existing source.
   3. Click Browse and navigate to where you copied the NotepadCodeLab
   (downloaded during setup) and select Notepadv1.

   This is where I hit a problem, as with my combination of ADT plugins
   and Eclipse version the New Android Project dialogue doesn't have a
   'Browse' button or any other way to select a path for the creation of
   a project from existing source!  All I get is an error stating
   AndroidManifest.xml not found in samples. and no way to proceed any
   further.

   As that was a dead end I tried to import Notepadv1 as a General
   Project and use the Android Tools to convert it to an Android project
   afterwards.  The general project dialogue at least gives me the option
   of selecting the path to the Notepadv1 project directory so I'm able
   to create the first project, however when I then right click and
   select Android Tools  Convert to Android Project I get an 'Problem
   Occurred' dialogue windows which tells me that 'Convert Project' has
   encountered a problem.  Notepadv1 does not exist.  The Details
   button doesn't give me any details.

   The project now appears as an Android project, but fails to build
   after a clean or a modification to the files.  The Android ADT error
   in the Problems tab is 'Failed to get output folder!'.  If I try
   Android Tools  FIx Project Properties I get the same error dialogue
   as with Convert Project.

   I've search these groups, and the web in general, and wasn't able to
   come up with any solutions to my problems with what really ought to be
   straightforward.  Can anyone give me some pointers as to what is going
   wrong?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Emulator in Eclipse IDE

2009-09-16 Thread mic.ger...@gmail.com

Hi,
I have a problem when I try to launch an AVD in Eclipse.
It never starts and I obtain this error message :

[2009-09-16 16:24:41 - Emulator]emulator: ERROR: no search paths found
in this AVD's configuration.
[2009-09-16 16:24:41 - Emulator]Weird, the AVD's config.ini file is
malformed. Try re-creating it.

I obtain the same error with the 1.5r3 and 1.6r1 SDK.

Thank you for your help.
Michaël
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Emulator in Eclipse IDE

2009-09-16 Thread Jack Ha

It seems like your AVD's config.ini file is missing the image.sysdir.*
entries. Have you tried to create another AVD file and launch the
emulator with that?

--
Jack Ha
Open Source Development Center
・T・ ・ ・Mobile・ stick together
The coverage you need at the price you want

The views, opinions and statements in this email are those of
the author solely in their individual capacity, and do not
necessarily represent those of T-Mobile USA, Inc.



On Sep 16, 7:38 am, mic.ger...@gmail.com mic.ger...@gmail.com
wrote:
 Hi,
 I have a problem when I try to launch an AVD in Eclipse.
 It never starts and I obtain this error message :

 [2009-09-16 16:24:41 - Emulator]emulator: ERROR: no search paths found
 in this AVD's configuration.
 [2009-09-16 16:24:41 - Emulator]Weird, the AVD's config.ini file is
 malformed. Try re-creating it.

 I obtain the same error with the 1.5r3 and 1.6r1 SDK.

 Thank you for your help.
 Michaël
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Android 1.6 SDK is here!

2009-09-16 Thread Romain Guy

Hi Neil,

Sorry for that. Unfortunately we cannot fix all known bugs, we have to
prioritize. Last time I checked we fixed more than 1,300 bugs from our
internal database in Donut btw :)

On Wed, Sep 16, 2009 at 6:04 AM, Neil neilb...@gmail.com wrote:

 I'm very disappointed that bluetooth still doesn't seem to be fixed.

 I'm specifically interested in these issues - not being able to use
 handsfree:
 http://code.google.com/p/android/issues/detail?id=2647
 http://code.google.com/p/android/issues/detail?id=2855

 Neil


 On Sep 16, 12:22 am, Xavier Ducrohet x...@android.com wrote:
 http://android-developers.blogspot.com/2009/09/android-16-sdk-is-here...

 Enjoy!
 --
 Xavier Ducrohet
 Android Developer Tools Engineer
 Google Inc.
 




-- 
Romain Guy
Android framework engineer
romain...@android.com

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

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



[android-beginners] Re: Must have missed something...1.5-1.6

2009-09-16 Thread Justin Anderson
Look at the logcat output

Thanks,
Justin

--
There are only 10 types of people in the world...
Those who know binary and those who don't.
--


On Wed, Sep 16, 2009 at 6:51 AM, Michael Dorin bsddo...@gmail.com wrote:


 I thought I followed all the instructions to update the SDK.
 I have updated a couple projects and no errors are shown.
 When I attempt to launch though, I get:

 'Launching ...' has encountered a problem.
 An internal error occurred during: Launching ... 

 java.lang.NullPointerException

 I am running on vista.

 Any ideas as to what I may have done wrong?

 -Mike

 


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



[android-beginners] Re: About ERROR: unknown virtual device name: 'myavd'

2009-09-16 Thread Xavier Ducrohet

Nicolas,

what's the problem exactly? To be honest, nothing has been done on the
AVD handling since this thread was originally created.

Xav

On Wed, Sep 16, 2009 at 4:32 AM, Nicolas Gramlich stoeps...@gmx.de wrote:

 Hi,

 just tried this again with the ADT 0.9.3 (downloaded today) and
 Android 1.6 r1 (also from today) and in the Virtual Devices-Window I
 can see my newly created AVD with a green checker to the left: A
 valid Android Virtual Device.

 ANDROID_SDK_HOME is properly set to C:\Users\nico; for user and
 system-environment variables.

 I can also see the emulator-image being properly created in C:\Users
 \nico\.android\avd\Emu_1_6.avd\userdata.img.

 I'm using Windows7 RC 64Bit with a 64 Bit JDK and Eclipse is running
 (or has to run) with its own 32 Bit JRE.

 Any ideas?


 On 27 Aug., 03:21, Xavier Ducrohet x...@android.com wrote:
 On Wed, Aug 26, 2009 at 4:21 AM, Phoenixphoenixsen...@gmail.com wrote:

  On Aug 25, 4:41 pm, Xavier Ducrohet x...@android.com wrote:
  I see that you have changed the location of the user folders (in S:
  instead of C:)

  There are user folders on both S: and C:.  Only the Desktop and My
  Documents special folders are on S:.  Everything else (including App
  Data) is on C:.  [The documents are shared between operating systems
  on different partitions]

  Android (or Eclipse?) has been the only thing to use S:.

  When the user location is not the default one, we have seen some cases
  where windows reports the location of the user folder differently
  depending on which API you use (the command line tool and Eclipse use
  a Java API, while the emulator use a windows C++ API).

  That would explain why the command line tools and Eclipse could see
  my_avd just fine, but the emulator could not find it.

  But, shouldn't Android be set up to use HOMEDRIVE/HOMEPATH?  Standard
  environment variables.

 I think there are difference on XP/Vista which makes using those hard
 to use (back in the previous SDK we were using LOCALAPPDATA but we
 ended up having the same problem).

 What we use on java is the user.home property setup by the VM. Looks
 like the Java VM thinks your home is in S:\...
 I look again into these 2 env variables and see if they could be used.

  Also, a single line in the installation instructions could have
  prevented this confusion.  When Android can see the AVD from the
  command line and the Eclipse gui, but not from the emulator, and no
  explanation is given (especially on the first test project), it's ...
  disheartening.

 I agree. We should at least have the emulator output a message saying
 where it's looking for the AVD and how to fix the problem if it's not
 where the AVDs are created.

  In any event, with the ANDROID_SDK_HOME variable set to the S:
  home (which is not the real home directory, that is on C:), the
  emulator now works.

 Well we don't want to go and set a permanent env on your machine. I
 guess we could but relying on existing standard env variables should
 be better. I mean, what happens if the user removes it or change the
 location of his/her home folder but doesn't update this?

 In any case we do need to find a solution.

 Xav
 --
 Xavier Ducrohet
 Android Developer Tools Engineer
 Google Inc.
 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: Android 1.6 SDK is here!

2009-09-16 Thread Kent Loobey

On Tuesday 15 September 2009 15:22:07 Xavier Ducrohet wrote:
 http://android-developers.blogspot.com/2009/09/android-16-sdk-is-here.html

 Enjoy!

From the following link:
http://developer.android.com/sdk/download.html?v=ADT-0.9.3.zip

I downloaded ADT-0.9.3.zip.  I then clicked on the link to:
http://developer.android.com/sdk/0.9.3/upgrading.html

to read the upgrade notes and got the following resullt:

Error 404
File not found


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



[android-beginners] Re: Android 1.6 SDK is here!

2009-09-16 Thread Xavier Ducrohet

Oops, thanks for the info Kent!

Xav

On Wed, Sep 16, 2009 at 8:22 AM, Kent Loobey k...@uoregon.edu wrote:

 On Tuesday 15 September 2009 15:22:07 Xavier Ducrohet wrote:
 http://android-developers.blogspot.com/2009/09/android-16-sdk-is-here.html

 Enjoy!

 From the following link:
 http://developer.android.com/sdk/download.html?v=ADT-0.9.3.zip

 I downloaded ADT-0.9.3.zip.  I then clicked on the link to:
 http://developer.android.com/sdk/0.9.3/upgrading.html

 to read the upgrade notes and got the following resullt:

 Error 404
 File not found


 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: Android in Eclipse - package name problem - please help

2009-09-16 Thread Jack Ha

It seems likes your AndroidManifest.xml file is corrupted. Make sure
there are no spaces before this line:

?xml version=1.0 encoding=utf-8?

--
Jack Ha
Open Source Development Center
・T・ ・ ・Mobile・ stick together
The coverage you need at the price you want

The views, opinions and statements in this email are those of
the author solely in their individual capacity, and do not
necessarily represent those of T-Mobile USA, Inc.



On Sep 16, 6:31 am, Mimi mimik...@gmail.com wrote:
 Thank you so much for your response and info, Raphael.

 How can I change the Navigotor view to Java namespaces?

 Under the package explorer, View Menu/Package Presentation, I changed
 the selection from flat to hierarchical and the reverse. It did not
 have an impact on the presenation of com.mimi.App. It is still
 hierarchical. Other projects in the same workspace all displayed
 'flat' when it comes to com.mimi.App and were not affected by the
 changtes of the selection either.

 The parse error that I am having on my Manifest file is:

 [2009-09-15 17:11:49 -
 com.android.ide.eclipse.common.project.AndroidManifestParser] Parser
 exception for /Simple Flashlight/AndroidManifest.xml: The processing
 instruction target matching [xX][mM][lL] is not allowed.

 I think I did move this whole Project folder from one dir to another
 when I was organizing my folders. If that is the culprit, I donnot
 know why that is and how to fix it.

 Any ideas on my error above? Tips, hints and suggestions would be
 greatly appreciated.

 Many Thanks...Mimi

 On Sep 15, 7:46 pm, Raphael r...@android.com wrote:

  First check that you're not using the Navigator view instead (which
  shows files, not Java namespaces).

  In the package explorer, click on the View Menu (a little triangle
  just above the scrollbar in the explorer view. Select Package
  Presentation and change it from flat to hierarchical, or the reverse.

  R/

  On Tue, Sep 15, 2009 at 4:06 PM, Mimi mimik...@gmail.com wrote:

   As I was coding, building and testing my Android App merrily along, it
   seemed all of a sudden, the parsing/compile failed. Error is on the
   Manifest complaining that a file could not be found in the package
   mimi.package.newApp.

   What I found out under the Ecplise Explorer was that the
   com.mimi.package package name was no longer a string but got
   fragmented as folders i.e. src/com/mimi/package. Same with gen/com/
   mimi/package.

   I must have done something unintentionally to cause this but what is
   it? Any ideas and suggestions would be greatly appreciated.

   Many Thanks...Mimi


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



[android-beginners] Re: Must have missed something...1.5-1.6

2009-09-16 Thread Xavier Ducrohet

I'm guessing this is Eclipse showing you that?

If so, can you post your .log file (located in your workspace in the
.metadata folder)
(it may be big, try to only post the end of it, or whatever part
contain the error)

thanks
xav

On Wed, Sep 16, 2009 at 5:51 AM, Michael Dorin bsddo...@gmail.com wrote:

 I thought I followed all the instructions to update the SDK.
 I have updated a couple projects and no errors are shown.
 When I attempt to launch though, I get:

 'Launching ...' has encountered a problem.
 An internal error occurred during: Launching ... 

 java.lang.NullPointerException

 I am running on vista.

 Any ideas as to what I may have done wrong?

 -Mike

 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: Android 1.6 SDK is here!

2009-09-16 Thread Kingcrowley

out of interest the TTS stuff is that based on the eyes-free project?

On Sep 16, 4:28 pm, Xavier Ducrohet x...@android.com wrote:
 Oops, thanks for the info Kent!

 Xav



 On Wed, Sep 16, 2009 at 8:22 AM, Kent Loobey k...@uoregon.edu wrote:

  On Tuesday 15 September 2009 15:22:07 Xavier Ducrohet wrote:
 http://android-developers.blogspot.com/2009/09/android-16-sdk-is-here...

  Enjoy!

  From the following link:
 http://developer.android.com/sdk/download.html?v=ADT-0.9.3.zip

  I downloaded ADT-0.9.3.zip.  I then clicked on the link to:
 http://developer.android.com/sdk/0.9.3/upgrading.html

  to read the upgrade notes and got the following resullt:

  Error 404
  File not found

 --
 Xavier Ducrohet
 Android Developer Tools Engineer
 Google Inc.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Must have missed something...1.5-1.6

2009-09-16 Thread Michael Dorin

Found it.
I didn't re-do the run configuration for my project.
Once I did that it started to work.

-Mike

On Wed, Sep 16, 2009 at 10:34 AM, Xavier Ducrohet x...@android.com wrote:

 I'm guessing this is Eclipse showing you that?

 If so, can you post your .log file (located in your workspace in the
 .metadata folder)
 (it may be big, try to only post the end of it, or whatever part
 contain the error)

 thanks
 xav

 On Wed, Sep 16, 2009 at 5:51 AM, Michael Dorin bsddo...@gmail.com wrote:

 I thought I followed all the instructions to update the SDK.
 I have updated a couple projects and no errors are shown.
 When I attempt to launch though, I get:

 'Launching ...' has encountered a problem.
 An internal error occurred during: Launching ... 

 java.lang.NullPointerException

 I am running on vista.

 Any ideas as to what I may have done wrong?

 -Mike

 




 --
 Xavier Ducrohet
 Android Developer Tools Engineer
 Google Inc.

 


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



[android-beginners] Re: Android Emulator suddenly won't boot...

2009-09-16 Thread Jack Ha

Have you looked at the adb logcat output?

--
Jack Ha
Open Source Development Center
・T・ ・ ・Mobile・ stick together
The coverage you need at the price you want

The views, opinions and statements in this email are those of
the author solely in their individual capacity, and do not
necessarily represent those of T-Mobile USA, Inc.


On Sep 16, 5:10 am, furby wookie...@gmail.com wrote:
 I had the 1.5 android emulator starting from Eclipse perfectly
 nicely until yesterday when it suddenly won't finish booting. I
 haven't installed anything new (Running it on Windows Vista - i know,
 uck, but I'm waiting for Win 7 to hurry up), haven't even changed the
 java code I am trying to run...

 The emulator starts up, get's to the point where it shows Android
 with the nice lighting effect that goes from left to right over it and
 then just stays in that state. Last night I tested it by starting it
 up, going out to the living room, watching two hour long episodes of
 the first series of Doctor Who, and then coming back in (Essentially
 giving it 1.5 hours to do it's stuff) - it was still stuck in that
 state

 Any ideas what I did wrong?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Must have missed something...1.5-1.6

2009-09-16 Thread Xavier Ducrohet

Hmm this shouldn't have been needed. I'll try to reproduce it here.

Xav

On Wed, Sep 16, 2009 at 8:43 AM, Michael Dorin bsddo...@gmail.com wrote:

 Found it.
 I didn't re-do the run configuration for my project.
 Once I did that it started to work.

 -Mike

 On Wed, Sep 16, 2009 at 10:34 AM, Xavier Ducrohet x...@android.com wrote:

 I'm guessing this is Eclipse showing you that?

 If so, can you post your .log file (located in your workspace in the
 .metadata folder)
 (it may be big, try to only post the end of it, or whatever part
 contain the error)

 thanks
 xav

 On Wed, Sep 16, 2009 at 5:51 AM, Michael Dorin bsddo...@gmail.com wrote:

 I thought I followed all the instructions to update the SDK.
 I have updated a couple projects and no errors are shown.
 When I attempt to launch though, I get:

 'Launching ...' has encountered a problem.
 An internal error occurred during: Launching ... 

 java.lang.NullPointerException

 I am running on vista.

 Any ideas as to what I may have done wrong?

 -Mike

 




 --
 Xavier Ducrohet
 Android Developer Tools Engineer
 Google Inc.

 


 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: Android application enable handset

2009-09-16 Thread Jack Ha

http://en.wikipedia.org/wiki/Android_(operating_system)#Hardware_products_running_Android

--
Jack Ha
Open Source Development Center
・T・ ・ ・Mobile・ stick together
The coverage you need at the price you want

The views, opinions and statements in this email are those of
the author solely in their individual capacity, and do not
necessarily represent those of T-Mobile USA, Inc.


On Sep 16, 3:10 am, Ajaz Ahmed ajazahme...@gmail.com wrote:
 Hi,

 Can any one send me the list of android application enable handset, where i
 can install my android application?
 want to know about company,model  ??

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



[android-beginners] Re: Problem displaying notifications

2009-09-16 Thread Tikoze

I got the notification working!  For anyone else who is having a
similar problem, I have pasted the code below.  For me, it is in the
onCreate method of a service class.

public void onCreate()
{
Intent launchIntent = new Intent(this, ActivityListView.class);

CharSequence tickerText = getText(R.string.app_name);
CharSequence descriptionText = getText
(R.string.notifier_description);
PendingIntent contentIntent =
PendingIntent.getActivity(this, 0, launchIntent,
PendingIntent.FLAG_UPDATE_CURRENT);

Notification notifier = new Notification
(R.drawable.alt_launcher_icon, tickerText, System.currentTimeMillis
());
notifier.setLatestEventInfo(getBaseContext(), tickerText,
descriptionText, contentIntent);
notifier.contentView = new RemoteViews(com.magouyaware.multitasker,
R.layout.notifier);

notifier.flags = Notification.FLAG_NO_CLEAR |
Notification.FLAG_ONGOING_EVENT |
 Notification.DEFAULT_LIGHTS | 
Notification.DEFAULT_SOUND |
 Notification.DEFAULT_VIBRATE;

NotificationManager mgr = (NotificationManager)getSystemService
(NOTIFICATION_SERVICE);
mgr.notify(R.string.app_notifier_id, notifier);

stopSelf();
}
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Have anyone used mediaplayer to run rtsp streaming successfully either on the emulator or on the HTC device?

2009-09-16 Thread yjshi

Have anyone used mediaplayer to run rtsp streaming successfully either
on the emulator or on the HTC device?
Could anyone give me an example to play the rtsp streaming
successfully?
I tried it too many times ,but always failed.
Could anyone tell me some suggestions? Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Screen orientation

2009-09-16 Thread Neilz

Thanks, all sorted :-)

On Sep 16, 1:06 pm, Mark Murphy mmur...@commonsware.com wrote:
 Neilz wrote:
  How do I test screen orientation on the emulator please? Can I tell it
  to switch orientation just like you would on the real device?

 Windows/Linux: Ctrl-F12
 Mac with numeric keypad: 5 on the numeric keypad

 --
 Mark Murphy (a Commons 
 Guy)http://commonsware.com|http://twitter.com/commonsguy

 _Android Programming Tutorials_ Version 1.0 In Print!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Math functions in Android - HELP

2009-09-16 Thread GlennovitS

Hey

I'm about to make an app with some different math functions..

How can I make a TAN, COS, and SIN function in andriod?. I dont know
how to start on this..

Please help me..

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



[android-beginners] Re: Math functions in Android - HELP

2009-09-16 Thread Mark Murphy

GlennovitS wrote:
 Hey
 
 I'm about to make an app with some different math functions..
 
 How can I make a TAN, COS, and SIN function in andriod?. I dont know
 how to start on this..
 
 Please help me..

Look at the Math class:

http://developer.android.com/reference/java/lang/Math.html

This is standard Java, nothing unique to Android.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Need Android talent? Ask on HADO! http://wiki.andmob.org/hado

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



[android-beginners] Re: Android Emulator suddenly won't boot...

2009-09-16 Thread Roman ( T-Mobile USA)

Are you able to run the emulator via command line?

May be your AVD image got corrupted ...

--
Roman Baumgaertner
Sr. SW Engineer-OSDC
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.

On Sep 16, 8:44 am, Jack Ha jack...@t-mobile.com wrote:
 Have you looked at the adb logcat output?

 --
 Jack Ha
 Open Source Development Center
 ・T・ ・ ・Mobile・ stick together
 The coverage you need at the price you want

 The views, opinions and statements in this email are those of
 the author solely in their individual capacity, and do not
 necessarily represent those of T-Mobile USA, Inc.

 On Sep 16, 5:10 am, furby wookie...@gmail.com wrote:

  I had the 1.5 android emulator starting from Eclipse perfectly
  nicely until yesterday when it suddenly won't finish booting. I
  haven't installed anything new (Running it on Windows Vista - i know,
  uck, but I'm waiting for Win 7 to hurry up), haven't even changed the
  java code I am trying to run...

  The emulator starts up, get's to the point where it shows Android
  with the nice lighting effect that goes from left to right over it and
  then just stays in that state. Last night I tested it by starting it
  up, going out to the living room, watching two hour long episodes of
  the first series of Doctor Who, and then coming back in (Essentially
  giving it 1.5 hours to do it's stuff) - it was still stuck in that
  state

  Any ideas what I did wrong?


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



[android-beginners] Re: Android Emulator suddenly won't boot...

2009-09-16 Thread Timothy Collins
I am going to try recreating my AVD tonight when I get home...

On Wed, Sep 16, 2009 at 1:31 PM, Roman ( T-Mobile USA) 
roman.baumgaert...@t-mobile.com wrote:


 Are you able to run the emulator via command line?

 May be your AVD image got corrupted ...

 --
 Roman Baumgaertner
 Sr. SW Engineer-OSDC
 ·T· · ·Mobile· stick together
 The views, opinions and statements in this email are those of the
 author solely in their individual capacity, and do not necessarily
 represent those of T-Mobile USA, Inc.

 On Sep 16, 8:44 am, Jack Ha jack...@t-mobile.com wrote:
  Have you looked at the adb logcat output?
 
  --
  Jack Ha
  Open Source Development Center
  ・T・ ・ ・Mobile・ stick together
  The coverage you need at the price you want
 
  The views, opinions and statements in this email are those of
  the author solely in their individual capacity, and do not
  necessarily represent those of T-Mobile USA, Inc.
 
  On Sep 16, 5:10 am, furby wookie...@gmail.com wrote:
 
   I had the 1.5 android emulator starting from Eclipse perfectly
   nicely until yesterday when it suddenly won't finish booting. I
   haven't installed anything new (Running it on Windows Vista - i know,
   uck, but I'm waiting for Win 7 to hurry up), haven't even changed the
   java code I am trying to run...
 
   The emulator starts up, get's to the point where it shows Android
   with the nice lighting effect that goes from left to right over it and
   then just stays in that state. Last night I tested it by starting it
   up, going out to the living room, watching two hour long episodes of
   the first series of Doctor Who, and then coming back in (Essentially
   giving it 1.5 hours to do it's stuff) - it was still stuck in that
   state
 
   Any ideas what I did wrong?
 
 
 


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



[android-beginners] Re: Android 1.6 SDK is here!

2009-09-16 Thread Natalya Dobry
I downloaded the SDK 1.6 , i run emulator and i do not see TTS and other
feature why ?Natalya

On Wed, Sep 16, 2009 at 6:18 PM, Romain Guy romain...@google.com wrote:


 Hi Neil,

 Sorry for that. Unfortunately we cannot fix all known bugs, we have to
 prioritize. Last time I checked we fixed more than 1,300 bugs from our
 internal database in Donut btw :)

 On Wed, Sep 16, 2009 at 6:04 AM, Neil neilb...@gmail.com wrote:
 
  I'm very disappointed that bluetooth still doesn't seem to be fixed.
 
  I'm specifically interested in these issues - not being able to use
  handsfree:
  http://code.google.com/p/android/issues/detail?id=2647
  http://code.google.com/p/android/issues/detail?id=2855
 
  Neil
 
 
  On Sep 16, 12:22 am, Xavier Ducrohet x...@android.com wrote:
  http://android-developers.blogspot.com/2009/09/android-16-sdk-is-here.
 ..
 
  Enjoy!
  --
  Xavier Ducrohet
  Android Developer Tools Engineer
  Google Inc.
  
 



 --
 Romain Guy
 Android framework engineer
 romain...@android.com

 Note: please don't send private questions to me, as I don't have time
 to provide private support.  All such questions should be posted on
 public forums, where I and others can see and answer them

 


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



[android-beginners] Re: Android 1.6 SDK is here!

2009-09-16 Thread Xavier Ducrohet

When did you download the SDK?
See my other message sent last night:
http://groups.google.com/group/android-beginners/msg/c8ac776bd538f8f6

Xav

On Wed, Sep 16, 2009 at 10:32 AM, Natalya Dobry natalyado...@gmail.com wrote:
 I downloaded the SDK 1.6 , i run emulator and i do not see TTS and other
 feature why ?
 Natalya

 On Wed, Sep 16, 2009 at 6:18 PM, Romain Guy romain...@google.com wrote:

 Hi Neil,

 Sorry for that. Unfortunately we cannot fix all known bugs, we have to
 prioritize. Last time I checked we fixed more than 1,300 bugs from our
 internal database in Donut btw :)

 On Wed, Sep 16, 2009 at 6:04 AM, Neil neilb...@gmail.com wrote:
 
  I'm very disappointed that bluetooth still doesn't seem to be fixed.
 
  I'm specifically interested in these issues - not being able to use
  handsfree:
  http://code.google.com/p/android/issues/detail?id=2647
  http://code.google.com/p/android/issues/detail?id=2855
 
  Neil
 
 
  On Sep 16, 12:22 am, Xavier Ducrohet x...@android.com wrote:
 
  http://android-developers.blogspot.com/2009/09/android-16-sdk-is-here...
 
  Enjoy!
  --
  Xavier Ducrohet
  Android Developer Tools Engineer
  Google Inc.
  
 



 --
 Romain Guy
 Android framework engineer
 romain...@android.com

 Note: please don't send private questions to me, as I don't have time
 to provide private support.  All such questions should be posted on
 public forums, where I and others can see and answer them




 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: Android 1.6 SDK is here!

2009-09-16 Thread Natalya Dobry
I will try to download the new one but the Speech recognition i do not have
too.

On Wed, Sep 16, 2009 at 8:40 PM, Xavier Ducrohet x...@android.com wrote:


 When did you download the SDK?
 See my other message sent last night:
 http://groups.google.com/group/android-beginners/msg/c8ac776bd538f8f6

 Xav

 On Wed, Sep 16, 2009 at 10:32 AM, Natalya Dobry natalyado...@gmail.com
 wrote:
  I downloaded the SDK 1.6 , i run emulator and i do not see TTS and other
  feature why ?
  Natalya
 
  On Wed, Sep 16, 2009 at 6:18 PM, Romain Guy romain...@google.com
 wrote:
 
  Hi Neil,
 
  Sorry for that. Unfortunately we cannot fix all known bugs, we have to
  prioritize. Last time I checked we fixed more than 1,300 bugs from our
  internal database in Donut btw :)
 
  On Wed, Sep 16, 2009 at 6:04 AM, Neil neilb...@gmail.com wrote:
  
   I'm very disappointed that bluetooth still doesn't seem to be fixed.
  
   I'm specifically interested in these issues - not being able to use
   handsfree:
   http://code.google.com/p/android/issues/detail?id=2647
   http://code.google.com/p/android/issues/detail?id=2855
  
   Neil
  
  
   On Sep 16, 12:22 am, Xavier Ducrohet x...@android.com wrote:
  
  
 http://android-developers.blogspot.com/2009/09/android-16-sdk-is-here...
  
   Enjoy!
   --
   Xavier Ducrohet
   Android Developer Tools Engineer
   Google Inc.
   
  
 
 
 
  --
  Romain Guy
  Android framework engineer
  romain...@android.com
 
  Note: please don't send private questions to me, as I don't have time
  to provide private support.  All such questions should be posted on
  public forums, where I and others can see and answer them
 
 
 
 
  
 



 --
 Xavier Ducrohet
 Android Developer Tools Engineer
 Google Inc.

 


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



[android-beginners] build path error (solved)

2009-09-16 Thread jbrohan

Hello
I'm working with a new install of Eclipse and the 1.6 Android
software. When I was trying out the Hello, Android example I got a
Build Path error.

After much thrutching around the error went away when I
 Select the HelloAndroid project
choose Java Build Path
Click the Android 1.5 checkbox

Worked for me hope it works for you
John

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



[android-beginners] Stuck at starting Intent ??

2009-09-16 Thread Mimi

Dear all,

I am stuck when running a simple App with this last message on my
Console:

[2009-09-16 14:24:49 - Simple Flashlight] ActivityManager: Starting:
Intent { comp={com.mimi.simpleflashlight/
com.mimi.simpleflashlight.RedFlashlightActivity} }

This simple App worked before this run. Any ideas, hints, suggestions
would be greatly appreciated.

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



[android-beginners] Re: Android 1.6 SDK is here!

2009-09-16 Thread Natalya Dobry
I downloaded the new one i see Google Map but TTS and Speech recognition is
not therePS: I work on emulator
May be  i need to download the libraries from some where can you gave me the
link ?

On Wed, Sep 16, 2009 at 9:03 PM, Natalya Dobry natalyado...@gmail.comwrote:

 I will try to download the new one but the Speech recognition i do not have
 too.


 On Wed, Sep 16, 2009 at 8:40 PM, Xavier Ducrohet x...@android.com wrote:


 When did you download the SDK?
 See my other message sent last night:
 http://groups.google.com/group/android-beginners/msg/c8ac776bd538f8f6

 Xav

 On Wed, Sep 16, 2009 at 10:32 AM, Natalya Dobry natalyado...@gmail.com
 wrote:
  I downloaded the SDK 1.6 , i run emulator and i do not see TTS and other
  feature why ?
  Natalya
 
  On Wed, Sep 16, 2009 at 6:18 PM, Romain Guy romain...@google.com
 wrote:
 
  Hi Neil,
 
  Sorry for that. Unfortunately we cannot fix all known bugs, we have to
  prioritize. Last time I checked we fixed more than 1,300 bugs from our
  internal database in Donut btw :)
 
  On Wed, Sep 16, 2009 at 6:04 AM, Neil neilb...@gmail.com wrote:
  
   I'm very disappointed that bluetooth still doesn't seem to be fixed.
  
   I'm specifically interested in these issues - not being able to use
   handsfree:
   http://code.google.com/p/android/issues/detail?id=2647
   http://code.google.com/p/android/issues/detail?id=2855
  
   Neil
  
  
   On Sep 16, 12:22 am, Xavier Ducrohet x...@android.com wrote:
  
  
 http://android-developers.blogspot.com/2009/09/android-16-sdk-is-here...
  
   Enjoy!
   --
   Xavier Ducrohet
   Android Developer Tools Engineer
   Google Inc.
   
  
 
 
 
  --
  Romain Guy
  Android framework engineer
  romain...@android.com
 
  Note: please don't send private questions to me, as I don't have time
  to provide private support.  All such questions should be posted on
  public forums, where I and others can see and answer them
 
 
 
 
  
 



 --
 Xavier Ducrohet
 Android Developer Tools Engineer
 Google Inc.

 



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



[android-beginners] Re: Stuck at starting Intent ??

2009-09-16 Thread Yusuf Saib (T-Mobile USA)

In addition to the Console, look at the logcat output, either in
Eclipse in a tab near the console, or from the command line by typing
adb logcat. It has more info of the type you need to figure out what
happened.



Yusuf Saib
Android
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.



On Sep 16, 11:35 am, Mimi mimik...@gmail.com wrote:
 Dear all,

 I am stuck when running a simple App with this last message on my
 Console:

 [2009-09-16 14:24:49 - Simple Flashlight] ActivityManager: Starting:
 Intent { comp={com.mimi.simpleflashlight/
 com.mimi.simpleflashlight.RedFlashlightActivity} }

 This simple App worked before this run. Any ideas, hints, suggestions
 would be greatly appreciated.

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



[android-beginners] Re: Android 1.6 SDK is here!

2009-09-16 Thread Xavier Ducrohet

What do you mean by TTS is not there (What did you try exactly)?

Did you go to Settings  Speech Synthesis ? The Listen to an example
item should be enabled.

Xav

On Wed, Sep 16, 2009 at 11:37 AM, Natalya Dobry natalyado...@gmail.com wrote:
 I downloaded the new one i see Google Map but TTS and Speech recognition is
 not there
 PS: I work on emulator
 May be  i need to download the libraries from some where can you gave me the
 link ?

 On Wed, Sep 16, 2009 at 9:03 PM, Natalya Dobry natalyado...@gmail.com
 wrote:

 I will try to download the new one but the Speech recognition i do not
 have too.

 On Wed, Sep 16, 2009 at 8:40 PM, Xavier Ducrohet x...@android.com wrote:

 When did you download the SDK?
 See my other message sent last night:
 http://groups.google.com/group/android-beginners/msg/c8ac776bd538f8f6

 Xav

 On Wed, Sep 16, 2009 at 10:32 AM, Natalya Dobry natalyado...@gmail.com
 wrote:
  I downloaded the SDK 1.6 , i run emulator and i do not see TTS and
  other
  feature why ?
  Natalya
 
  On Wed, Sep 16, 2009 at 6:18 PM, Romain Guy romain...@google.com
  wrote:
 
  Hi Neil,
 
  Sorry for that. Unfortunately we cannot fix all known bugs, we have to
  prioritize. Last time I checked we fixed more than 1,300 bugs from our
  internal database in Donut btw :)
 
  On Wed, Sep 16, 2009 at 6:04 AM, Neil neilb...@gmail.com wrote:
  
   I'm very disappointed that bluetooth still doesn't seem to be fixed.
  
   I'm specifically interested in these issues - not being able to use
   handsfree:
   http://code.google.com/p/android/issues/detail?id=2647
   http://code.google.com/p/android/issues/detail?id=2855
  
   Neil
  
  
   On Sep 16, 12:22 am, Xavier Ducrohet x...@android.com wrote:
  
  
   http://android-developers.blogspot.com/2009/09/android-16-sdk-is-here...
  
   Enjoy!
   --
   Xavier Ducrohet
   Android Developer Tools Engineer
   Google Inc.
   
  
 
 
 
  --
  Romain Guy
  Android framework engineer
  romain...@android.com
 
  Note: please don't send private questions to me, as I don't have time
  to provide private support.  All such questions should be posted on
  public forums, where I and others can see and answer them
 
 
 
 
  
 



 --
 Xavier Ducrohet
 Android Developer Tools Engineer
 Google Inc.





 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: Android 1.6 SDK is here!

2009-09-16 Thread Natalya Dobry
Ok Thanks a lot , I found it, i thought that it is should looks like in
Video guide.
How can i found speech recognition ?
in SDK 1.5 i had speech recognition enabled i saw the microphone symbol near
the google search but now
i do not see it.Can you help me with this.

Regards,
Natalya

On Wed, Sep 16, 2009 at 9:47 PM, Xavier Ducrohet x...@android.com wrote:


 What do you mean by TTS is not there (What did you try exactly)?

 Did you go to Settings  Speech Synthesis ? The Listen to an example
 item should be enabled.

 Xav

 On Wed, Sep 16, 2009 at 11:37 AM, Natalya Dobry natalyado...@gmail.com
 wrote:
  I downloaded the new one i see Google Map but TTS and Speech recognition
 is
  not there
  PS: I work on emulator
  May be  i need to download the libraries from some where can you gave me
 the
  link ?
 
  On Wed, Sep 16, 2009 at 9:03 PM, Natalya Dobry natalyado...@gmail.com
  wrote:
 
  I will try to download the new one but the Speech recognition i do not
  have too.
 
  On Wed, Sep 16, 2009 at 8:40 PM, Xavier Ducrohet x...@android.com
 wrote:
 
  When did you download the SDK?
  See my other message sent last night:
  http://groups.google.com/group/android-beginners/msg/c8ac776bd538f8f6
 
  Xav
 
  On Wed, Sep 16, 2009 at 10:32 AM, Natalya Dobry 
 natalyado...@gmail.com
  wrote:
   I downloaded the SDK 1.6 , i run emulator and i do not see TTS and
   other
   feature why ?
   Natalya
  
   On Wed, Sep 16, 2009 at 6:18 PM, Romain Guy romain...@google.com
   wrote:
  
   Hi Neil,
  
   Sorry for that. Unfortunately we cannot fix all known bugs, we have
 to
   prioritize. Last time I checked we fixed more than 1,300 bugs from
 our
   internal database in Donut btw :)
  
   On Wed, Sep 16, 2009 at 6:04 AM, Neil neilb...@gmail.com wrote:
   
I'm very disappointed that bluetooth still doesn't seem to be
 fixed.
   
I'm specifically interested in these issues - not being able to
 use
handsfree:
http://code.google.com/p/android/issues/detail?id=2647
http://code.google.com/p/android/issues/detail?id=2855
   
Neil
   
   
On Sep 16, 12:22 am, Xavier Ducrohet x...@android.com wrote:
   
   
   
 http://android-developers.blogspot.com/2009/09/android-16-sdk-is-here...
   
Enjoy!
--
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

   
  
  
  
   --
   Romain Guy
   Android framework engineer
   romain...@android.com
  
   Note: please don't send private questions to me, as I don't have
 time
   to provide private support.  All such questions should be posted on
   public forums, where I and others can see and answer them
  
  
  
  
   
  
 
 
 
  --
  Xavier Ducrohet
  Android Developer Tools Engineer
  Google Inc.
 
 
 
 
 
  
 



 --
 Xavier Ducrohet
 Android Developer Tools Engineer
 Google Inc.

 


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



[android-beginners] Re: Android 1.6 SDK is here!

2009-09-16 Thread Nox

Hello everybody,
I´m new with Android and I´ve got a Samsung Galaxy, but it doesn´t
display that there´s an update!!!

Do you know what to do???


Thanks in advance
Viktor

On 16 Sep., 20:58, Natalya Dobry natalyado...@gmail.com wrote:
 Ok Thanks a lot , I found it, i thought that it is should looks like in
 Video guide.
 How can i found speech recognition ?
 in SDK 1.5 i had speech recognition enabled i saw the microphone symbol near
 the google search but now
 i do not see it.Can you help me with this.

 Regards,
 Natalya

 On Wed, Sep 16, 2009 at 9:47 PM, Xavier Ducrohet x...@android.com wrote:

  What do you mean by TTS is not there (What did you try exactly)?

  Did you go to Settings  Speech Synthesis ? The Listen to an example
  item should be enabled.

  Xav

  On Wed, Sep 16, 2009 at 11:37 AM, Natalya Dobry natalyado...@gmail.com
  wrote:
   I downloaded the new one i see Google Map but TTS and Speech recognition
  is
   not there
   PS: I work on emulator
   May be  i need to download the libraries from some where can you gave me
  the
   link ?

   On Wed, Sep 16, 2009 at 9:03 PM, Natalya Dobry natalyado...@gmail.com
   wrote:

   I will try to download the new one but the Speech recognition i do not
   have too.

   On Wed, Sep 16, 2009 at 8:40 PM, Xavier Ducrohet x...@android.com
  wrote:

   When did you download the SDK?
   See my other message sent last night:
  http://groups.google.com/group/android-beginners/msg/c8ac776bd538f8f6

   Xav

   On Wed, Sep 16, 2009 at 10:32 AM, Natalya Dobry 
  natalyado...@gmail.com
   wrote:
I downloaded the SDK 1.6 , i run emulator and i do not see TTS and
other
feature why ?
Natalya

On Wed, Sep 16, 2009 at 6:18 PM, Romain Guy romain...@google.com
wrote:

Hi Neil,

Sorry for that. Unfortunately we cannot fix all known bugs, we have
  to
prioritize. Last time I checked we fixed more than 1,300 bugs from
  our
internal database in Donut btw :)

On Wed, Sep 16, 2009 at 6:04 AM, Neil neilb...@gmail.com wrote:

 I'm very disappointed that bluetooth still doesn't seem to be
  fixed.

 I'm specifically interested in these issues - not being able to
  use
 handsfree:
http://code.google.com/p/android/issues/detail?id=2647
http://code.google.com/p/android/issues/detail?id=2855

 Neil

 On Sep 16, 12:22 am, Xavier Ducrohet x...@android.com wrote:

 http://android-developers.blogspot.com/2009/09/android-16-sdk-is-here...

 Enjoy!
 --
 Xavier Ducrohet
 Android Developer Tools Engineer
 Google Inc.

--
Romain Guy
Android framework engineer
romain...@android.com

Note: please don't send private questions to me, as I don't have
  time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

   --
   Xavier Ducrohet
   Android Developer Tools Engineer
   Google Inc.

  --
  Xavier Ducrohet
  Android Developer Tools Engineer
  Google Inc.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Android 1.6 SDK is here!

2009-09-16 Thread Xavier Ducrohet

this release is for the SDK. Device updates are completely unrelated to this.

Xav

On Wed, Sep 16, 2009 at 12:30 PM, Nox v.beh...@googlemail.com wrote:

 Hello everybody,
 I´m new with Android and I´ve got a Samsung Galaxy, but it doesn´t
 display that there´s an update!!!

 Do you know what to do???


 Thanks in advance
 Viktor

 On 16 Sep., 20:58, Natalya Dobry natalyado...@gmail.com wrote:
 Ok Thanks a lot , I found it, i thought that it is should looks like in
 Video guide.
 How can i found speech recognition ?
 in SDK 1.5 i had speech recognition enabled i saw the microphone symbol near
 the google search but now
 i do not see it.Can you help me with this.

 Regards,
 Natalya

 On Wed, Sep 16, 2009 at 9:47 PM, Xavier Ducrohet x...@android.com wrote:

  What do you mean by TTS is not there (What did you try exactly)?

  Did you go to Settings  Speech Synthesis ? The Listen to an example
  item should be enabled.

  Xav

  On Wed, Sep 16, 2009 at 11:37 AM, Natalya Dobry natalyado...@gmail.com
  wrote:
   I downloaded the new one i see Google Map but TTS and Speech recognition
  is
   not there
   PS: I work on emulator
   May be  i need to download the libraries from some where can you gave me
  the
   link ?

   On Wed, Sep 16, 2009 at 9:03 PM, Natalya Dobry natalyado...@gmail.com
   wrote:

   I will try to download the new one but the Speech recognition i do not
   have too.

   On Wed, Sep 16, 2009 at 8:40 PM, Xavier Ducrohet x...@android.com
  wrote:

   When did you download the SDK?
   See my other message sent last night:
  http://groups.google.com/group/android-beginners/msg/c8ac776bd538f8f6

   Xav

   On Wed, Sep 16, 2009 at 10:32 AM, Natalya Dobry 
  natalyado...@gmail.com
   wrote:
I downloaded the SDK 1.6 , i run emulator and i do not see TTS and
other
feature why ?
Natalya

On Wed, Sep 16, 2009 at 6:18 PM, Romain Guy romain...@google.com
wrote:

Hi Neil,

Sorry for that. Unfortunately we cannot fix all known bugs, we have
  to
prioritize. Last time I checked we fixed more than 1,300 bugs from
  our
internal database in Donut btw :)

On Wed, Sep 16, 2009 at 6:04 AM, Neil neilb...@gmail.com wrote:

 I'm very disappointed that bluetooth still doesn't seem to be
  fixed.

 I'm specifically interested in these issues - not being able to
  use
 handsfree:
http://code.google.com/p/android/issues/detail?id=2647
http://code.google.com/p/android/issues/detail?id=2855

 Neil

 On Sep 16, 12:22 am, Xavier Ducrohet x...@android.com wrote:

 http://android-developers.blogspot.com/2009/09/android-16-sdk-is-here...

 Enjoy!
 --
 Xavier Ducrohet
 Android Developer Tools Engineer
 Google Inc.

--
Romain Guy
Android framework engineer
romain...@android.com

Note: please don't send private questions to me, as I don't have
  time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

   --
   Xavier Ducrohet
   Android Developer Tools Engineer
   Google Inc.

  --
  Xavier Ducrohet
  Android Developer Tools Engineer
  Google Inc.
 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: Have anyone used mediaplayer to run rtsp streaming successfully either on the emulator or on the HTC device?

2009-09-16 Thread Balwinder Kaur (T-Mobile USA)

Here is a related thread 
http://groups.google.com/group/android-developers/browse_thread/thread/0dcefbbd59ac638d

This piece of code works on a HTC device.

public class AMLRTSTPStreaming extends Activity implements

MediaPlayer.OnPreparedListener,

MediaPlayer.OnErrorListener,

MediaPlayer.OnCompletionListener{
/** Called when the activity is first created. */

private static VideoView mVideoView;

@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
mVideoView = (VideoView) findViewById(R.id.MainVideoView);
mVideoView.setVideoURI(Uri.parse(rtsp://video2.americafree.tv/
AFTVHorrorH26496.sdp));
mVideoView.setOnPreparedListener(this);
mVideoView.setOnErrorListener(this);
mVideoView.setOnCompletionListener(this);

mVideoView.setMediaController(new MediaController(this));
mVideoView.requestFocus();

}

public void onPrepared(MediaPlayer mp) {
mp.start();
}

public boolean onError(MediaPlayer mp, int what, int extra) {

Toast.makeText(this, Sorry, can't play video. Error =+ what,
Toast.LENGTH_LONG).show();
return false;
}

public void onCompletion(MediaPlayer mp) {
Toast.makeText(this, Done. Completed. Finito!,
Toast.LENGTH_LONG).show();
}
}

It works on a HTC device, but not the standard HTC Android 1.5 image.
I have a Google ION flashed with the cyanogenmod build.
http://forum.xda-developers.com/showthread.php?t=537204

For the Android 1.5 build I have the following errors
E/PlayerDriver(   35): Command PLAYER_INIT completed with an error or
info PVMFFailure
E/MediaPlayer(  538): error (1, -1)
E/MediaPlayer(  538): Error (1,-1)
D/VideoView(  538): Error: 1,-1

Does this help :) ?

Balwinder Kaur
Open Source Development Center
·T· · ·Mobile· stick together

The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.

On Sep 16, 9:02 am, yjshi shiyaju...@gmail.com wrote:
 Have anyone used mediaplayer to run rtsp streaming successfully either
 on the emulator or on the HTC device?
 Could anyone give me an example to play the rtsp streaming
 successfully?
 I tried it too many times ,but always failed.
 Could anyone tell me some suggestions? Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: When does one start to develop for 1.6?

2009-09-16 Thread Balwinder Kaur (T-Mobile USA)

Now would be a time as good as any to start developing apps with the
SDK 1.6 and new Level 4 APIs.
As per the Google official blog, devices with 1.6 will start appearing
in October. 
http://android-developers.blogspot.com/2009/09/android-16-sdk-is-here.html.

Balwinder Kaur
Open Source Development Center
·T· · ·Mobile· stick together

The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.

On Sep 16, 5:27 am, MrChaz mrchazmob...@googlemail.com wrote:
 It takes them a while to push the update to peoples phone so there is
 no need to rush anything out.
 It's a good idea to try your apps out on an 1.6 version of the
 emulator to make sure everything works smoothly though.

 On Sep 16, 1:12 pm, Michael Dorin bsddo...@gmail.com wrote:

  I see 1.6 has been released...when is the right time to upgrade to it?
  -Mike


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



[android-beginners] Re: How to use MediaStore to get content URI of audio file saved in sdcard ?

2009-09-16 Thread Balwinder Kaur (T-Mobile USA)

Environment.getExternalStorageDirectory() to get a File.
And Uri.fromFile(File f) to get the Uri.

Balwinder Kaur
Open Source Development Center
·T· · ·Mobile· stick together

The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.



On Sep 15, 12:35 pm, Harshit Mapara hnmap...@gmail.com wrote:
 Hi All,

 I searched this , but can't find any related info.
 Here is what I want to do:

 In  /sdcard/downloads  folder, there is a xyz.mp3 file.
 I want to save the content URI of xyz.mp3 file into my database.
 xyz.mp3 is huge, so it can't be saved in database, but I want to save
 it's URI in database with other records in row. So always I can get
 the URI string and using content resolver I can get the xyz.mp3 file
 by providing its content URI. ( I guess using openOuputStream method
 of contentResolver)

 So the question is, how do I do this?? how can I get content URI of
 xyz.mp3 ? I guess it can be done using MediaStore, but I don't get
 enough help from documentation to accomplish this.

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



[android-beginners] Re: When does one start to develop for 1.6?

2009-09-16 Thread Jeffrey Blattman




that's fine if you want your app to not be available on most devices
for some time. the date when 1.6 devices start appearing in one thing,
the date when most devices will have been updated is another. that's
really what you should be targeting.

i'd say target your 1.6 app release for ~1 month after the last
provider makes their OTA 1.6 update available.

On 9/16/09 3:31 PM, Balwinder Kaur (T-Mobile USA) wrote:

  
Now would be a time as good as any to start developing apps with the
SDK 1.6 and new Level 4 APIs.
As per the Google official blog, devices with 1.6 will start appearing
in October. http://android-developers.blogspot.com/2009/09/android-16-sdk-is-here.html.

Balwinder Kaur
Open Source Development Center
T  Mobile stick together

The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.

On Sep 16, 5:27am, MrChaz mrchazmob...@googlemail.com wrote:
  
  
It takes them a while to push the update to peoples phone so there is
no need to rush anything out.
It's a good idea to try your apps out on an 1.6 version of the
emulator to make sure everything works smoothly though.

On Sep 16, 1:12pm, Michael Dorin bsddo...@gmail.com wrote:



  I see 1.6 has been released...when is the right time to upgrade to it?
-Mike
  




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

  


-- 





[android-beginners] Re: Have anyone used mediaplayer to run rtsp streaming successfully either on the emulator or on the HTC device?

2009-09-16 Thread yj shi
Does its Multimedia Framework use the opencore ?
My app use the opencore Multimedia framework,but it doesn't work.
Thanks a lot .

2009/9/17 Balwinder Kaur (T-Mobile USA) balwinder.k...@t-mobile.com


 Here is a related thread
 http://groups.google.com/group/android-developers/browse_thread/thread/0dcefbbd59ac638d

 This piece of code works on a HTC device.

 public class AMLRTSTPStreaming extends Activity implements

  MediaPlayer.OnPreparedListener,

  MediaPlayer.OnErrorListener,

  MediaPlayer.OnCompletionListener{
/** Called when the activity is first created. */

private static VideoView mVideoView;

@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
mVideoView = (VideoView) findViewById(R.id.MainVideoView);
mVideoView.setVideoURI(Uri.parse(rtsp://video2.americafree.tv/
 AFTVHorrorH26496.sdp));
mVideoView.setOnPreparedListener(this);
mVideoView.setOnErrorListener(this);
mVideoView.setOnCompletionListener(this);

mVideoView.setMediaController(new MediaController(this));
mVideoView.requestFocus();

}

public void onPrepared(MediaPlayer mp) {
mp.start();
}

public boolean onError(MediaPlayer mp, int what, int extra) {

Toast.makeText(this, Sorry, can't play video. Error =+
 what,
 Toast.LENGTH_LONG).show();
return false;
}

public void onCompletion(MediaPlayer mp) {
Toast.makeText(this, Done. Completed. Finito!,
 Toast.LENGTH_LONG).show();
}
 }

 It works on a HTC device, but not the standard HTC Android 1.5 image.
 I have a Google ION flashed with the cyanogenmod build.
 http://forum.xda-developers.com/showthread.php?t=537204

 For the Android 1.5 build I have the following errors
 E/PlayerDriver(   35): Command PLAYER_INIT completed with an error or
 info PVMFFailure
 E/MediaPlayer(  538): error (1, -1)
 E/MediaPlayer(  538): Error (1,-1)
 D/VideoView(  538): Error: 1,-1

 Does this help :) ?

 Balwinder Kaur
 Open Source Development Center
 ·T· · ·Mobile· stick together

 The views, opinions and statements in this email are those of the
 author solely in their individual capacity, and do not necessarily
 represent those of T-Mobile USA, Inc.

 On Sep 16, 9:02 am, yjshi shiyaju...@gmail.com wrote:
  Have anyone used mediaplayer to run rtsp streaming successfully either
  on the emulator or on the HTC device?
  Could anyone give me an example to play the rtsp streaming
  successfully?
  I tried it too many times ,but always failed.
  Could anyone tell me some suggestions? Thanks.
 


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



[android-beginners] Could anyone make mediaplayer play the rtsp streaming work successfully on the standard HTC Android 1.5 image ???

2009-09-16 Thread yjshi

Could anyone make mediaplayer play the rtsp streaming work
successfully on the standard HTC Android 1.5 image ???
I have tried a lot ,but It always failed.
I will be very appreciate,if you could give me an answer.
Thanks a lot.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Have anyone used mediaplayer to run rtsp streaming successfully either on the emulator or on the HTC device?

2009-09-16 Thread yj shi
Is this device G1 or G2?
On G1 ,it may could play.
But on G2,there is some problems.

2009/9/17 Balwinder Kaur (T-Mobile USA) balwinder.k...@t-mobile.com


 Here is a related thread
 http://groups.google.com/group/android-developers/browse_thread/thread/0dcefbbd59ac638d

 This piece of code works on a HTC device.

 public class AMLRTSTPStreaming extends Activity implements

  MediaPlayer.OnPreparedListener,

  MediaPlayer.OnErrorListener,

  MediaPlayer.OnCompletionListener{
/** Called when the activity is first created. */

private static VideoView mVideoView;

@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
mVideoView = (VideoView) findViewById(R.id.MainVideoView);
mVideoView.setVideoURI(Uri.parse(rtsp://video2.americafree.tv/
 AFTVHorrorH26496.sdp));
mVideoView.setOnPreparedListener(this);
mVideoView.setOnErrorListener(this);
mVideoView.setOnCompletionListener(this);

mVideoView.setMediaController(new MediaController(this));
mVideoView.requestFocus();

}

public void onPrepared(MediaPlayer mp) {
mp.start();
}

public boolean onError(MediaPlayer mp, int what, int extra) {

Toast.makeText(this, Sorry, can't play video. Error =+
 what,
 Toast.LENGTH_LONG).show();
return false;
}

public void onCompletion(MediaPlayer mp) {
Toast.makeText(this, Done. Completed. Finito!,
 Toast.LENGTH_LONG).show();
}
 }

 It works on a HTC device, but not the standard HTC Android 1.5 image.
 I have a Google ION flashed with the cyanogenmod build.
 http://forum.xda-developers.com/showthread.php?t=537204

 For the Android 1.5 build I have the following errors
 E/PlayerDriver(   35): Command PLAYER_INIT completed with an error or
 info PVMFFailure
 E/MediaPlayer(  538): error (1, -1)
 E/MediaPlayer(  538): Error (1,-1)
 D/VideoView(  538): Error: 1,-1

 Does this help :) ?

 Balwinder Kaur
 Open Source Development Center
 ·T· · ·Mobile· stick together

 The views, opinions and statements in this email are those of the
 author solely in their individual capacity, and do not necessarily
 represent those of T-Mobile USA, Inc.

 On Sep 16, 9:02 am, yjshi shiyaju...@gmail.com wrote:
  Have anyone used mediaplayer to run rtsp streaming successfully either
  on the emulator or on the HTC device?
  Could anyone give me an example to play the rtsp streaming
  successfully?
  I tried it too many times ,but always failed.
  Could anyone tell me some suggestions? Thanks.
 


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



[android-beginners] Re: MediaPlayer and rtsp streaming problems

2009-09-16 Thread yj shi
Is this playing on G1?
It could not play on G2.
Could you give me some suggestion.
Thanks.


2009/9/12 sDroid hvn4...@gmail.com


 No problem on youtube streaming on a HTC device.

  VideoView video = (VideoView) findViewById(R.id.video);
  video.setVideoURI(Uri.parse(rtsp://gg.rtsp-youtube.l.google.com/
 CiQLENy73wIaGwkmhu4NTf6vwRMYESARFEgGUghzdGFuZGFyZAw=/0/0/0/video.
 3gphttp://gg.rtsp-youtube.l.google.com/%0ACiQLENy73wIaGwkmhu4NTf6vwRMYESARFEgGUghzdGFuZGFyZAw=/0/0/0/video.%0A3gp
 ));
  video.start();



 On Aug 10, 11:59 am, Borut borut.daga...@gmail.com wrote:
  Hi
 
  I have difficulties with rtsp streaming in MediaPlayer.
  The code is quite straightforward:
 
  android.media.MediaPlayer player = new
 android.media.MediaPlayer();
 
 player.setDataSource(rtsp://stream.xxx.xxx.xxx/link.sdp); //this
  link is not alive, only for demo
  player.prepare();
 
  Prepare() throws an exception:
  08-09 09:54:20.156: ERROR/PlayerDriver(35): Command PLAYER_PREPARE
  completed with an error orinfoPVMFFailure
  08-09 09:54:20.168: ERROR/MediaPlayer(396): error (1, -1)
  08-09 09:54:20.198: WARN/System.err(396): java.io.IOException: Prepare
  failed.: status=0x1
  08-09 09:54:20.218: WARN/System.err(396): at
  android.media.MediaPlayer.prepare(Native Method)
  
  
  
 
  Has anybody else faced similar problems with MediaPlayer on android
  1.5 (emulator and G1 developer'sphone)?
 
  btw: rtsp link works ok, cause I have tried it also from the web
  browser in android, and it plays well.

 


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



[android-beginners] CheckboxPreference vs. CheckBoxPreference

2009-09-16 Thread Tikoze

I just ran into this and thought I would post this for anyone else who
might be struggling with the same problem.

In creating preferences, I had the following code in res/xml to define
my preference activity:

PreferenceScreen xmlns:android=http://schemas.android.com/apk/res/
android
CheckboxPreference
android:key=App_Start_Notification
android:title=Notify When AppSwipe Starts
/
CheckboxPreference
android:key=Boot_Notification
android:title=Notify On Boot
/
/PreferenceScreen

ADT did not complain about this (and is usually pretty good about
catching errors) so I thought everything was fine.  However, when I
went to access my preference activity I got a crash and logcat gave a
ClassNotFoundException.

Turns out it was a simple change: Checkbox should have been CheckBox!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Development Phone

2009-09-16 Thread pro


I'm also very new to Android. And I would like to have the following -

1) I want to add and / or del any apps I want to - For this just any
phone would do it? Or I need an unlocked one?
2) I would also like to craft part of OS and / or base framework - For
this, Is it enough to have an unlocked phone ? I'm getting a T mobile
G1 unlocked, is it fine for (2)?

3) I think the emulator should allow us to test out various form
factors, since it might not be possible to buy and test all available
phones out there...

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



[android-beginners] help

2009-09-16 Thread Rc3375

i have a file that was created in eclipse. the screen has been
designed with one field that the user would enter a value such as
123.45, and the rest of the fields are calculated from the 123.45.
all the EDITTEXT fields have their default values(public static final
int calculate_id=0x7f050006).(from the R.java file.  they are assigned
a value from the calculation(R.id.calculate_id =  xx;).  all the
values in the R.java file seem the default to  public static final int
calculate_id=xx.  the R.id.calculate_id = XX fails.  it does
not matter if XX is an integer,double or float.  is there a way to
convert the R.id.calculate_id(EditText) field  to either float or
double?  i have tried to parse it and cast it.  but everytime that is
done and you recompile the file, the R.java file will revert to the
orginal settings.  literally driving me nuts...help
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: help

2009-09-16 Thread Raphael

You're mixing a few things:
- the id of a view (i.e. R.id.calculate_id) is just that: an
identifier that lets you *find* the object in question.
- you can't assign to that id, it's just a constant integer

Instead you should do:
- find the view based on the id:
EditText myEditField = (EditText) findViewById(R.id.calculate_id);

- use some of the EditText methods to change the text:
   http://developer.android.com/reference/android/widget/EditText.html
e.g:
  myEditField.setText(42);

I *strongly* suggest you get an introductory book on Android or look
at some of the samples under SDK/platform-1.6/samples/

HTH
R/

On Wed, Sep 16, 2009 at 8:39 PM, Rc3375 rcobb3...@gmail.com wrote:

 i have a file that was created in eclipse. the screen has been
 designed with one field that the user would enter a value such as
 123.45, and the rest of the fields are calculated from the 123.45.
 all the EDITTEXT fields have their default values(public static final
 int calculate_id=0x7f050006).(from the R.java file.  they are assigned
 a value from the calculation(R.id.calculate_id =  xx;).  all the
 values in the R.java file seem the default to  public static final int
 calculate_id=xx.  the R.id.calculate_id = XX fails.  it does
 not matter if XX is an integer,double or float.  is there a way to
 convert the R.id.calculate_id(EditText) field  to either float or
 double?  i have tried to parse it and cast it.  but everytime that is
 done and you recompile the file, the R.java file will revert to the
 orginal settings.  literally driving me nuts...help

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



[android-beginners] Re: CheckboxPreference vs. CheckBoxPreference

2009-09-16 Thread Raphael

Yes indeed, ADT doesn't complain about this: your preference can use
any custom class that you define. ADT doesn't currently support
handling custom classes (one day we'll add it) so it doesn't know this
class does not exist till runtime.

R/

On Wed, Sep 16, 2009 at 8:31 PM, Tikoze janderson@gmail.com wrote:

 I just ran into this and thought I would post this for anyone else who
 might be struggling with the same problem.

 In creating preferences, I had the following code in res/xml to define
 my preference activity:

 PreferenceScreen xmlns:android=http://schemas.android.com/apk/res/
 android
        CheckboxPreference
                android:key=App_Start_Notification
                android:title=Notify When AppSwipe Starts
        /
        CheckboxPreference
                android:key=Boot_Notification
                android:title=Notify On Boot
        /
 /PreferenceScreen

 ADT did not complain about this (and is usually pretty good about
 catching errors) so I thought everything was fine.  However, when I
 went to access my preference activity I got a crash and logcat gave a
 ClassNotFoundException.

 Turns out it was a simple change: Checkbox should have been CheckBox!
 


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



[android-beginners] Re: CheckboxPreference vs. CheckBoxPreference

2009-09-16 Thread Justin Anderson
Ok, that makes sense...  It through me for a loop though, so I figured I
would post what I found just in case anyone else had a similar problem.

--
There are only 10 types of people in the world...
Those who know binary and those who don't.
--


On Wed, Sep 16, 2009 at 10:34 PM, Raphael r...@android.com wrote:


 Yes indeed, ADT doesn't complain about this: your preference can use
 any custom class that you define. ADT doesn't currently support
 handling custom classes (one day we'll add it) so it doesn't know this
 class does not exist till runtime.

 R/

 On Wed, Sep 16, 2009 at 8:31 PM, Tikoze janderson@gmail.com wrote:
 
  I just ran into this and thought I would post this for anyone else who
  might be struggling with the same problem.
 
  In creating preferences, I had the following code in res/xml to define
  my preference activity:
 
  PreferenceScreen xmlns:android=http://schemas.android.com/apk/res/
  android
 CheckboxPreference
 android:key=App_Start_Notification
 android:title=Notify When AppSwipe Starts
 /
 CheckboxPreference
 android:key=Boot_Notification
 android:title=Notify On Boot
 /
  /PreferenceScreen
 
  ADT did not complain about this (and is usually pretty good about
  catching errors) so I thought everything was fine.  However, when I
  went to access my preference activity I got a crash and logcat gave a
  ClassNotFoundException.
 
  Turns out it was a simple change: Checkbox should have been CheckBox!
  
 

 


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



[android-beginners] Re: When does one start to develop for 1.6?

2009-09-16 Thread Raphael

On Wed, Sep 16, 2009 at 5:59 PM, Jeffrey Blattman
jeffrey.blatt...@gmail.com wrote:

 that's fine if you want your app to not be available on most devices for some 
 time. the date when 1.6 devices start appearing in one thing, the date when 
 most devices will have been updated is another. that's really what you should 
 be targeting.


What Balwinder meant is that you want to start using the SDK 1.6 to
make sure your apps are compatible with Android 1.6. You should keep
your minSdkVersion to whatever is the minimum API supported by your
app -- simply test them using an AVD based on the API level 4 to run
the emulator using Android 1.6 .

However, yes, if you try to publish an app using minSdkVersion=4 today
on Market, nobody will be able to download it.

R/


 i'd say target your 1.6 app release for ~1 month after the last provider 
 makes their OTA 1.6 update available.

 On 9/16/09 3:31 PM, Balwinder Kaur (T-Mobile USA) wrote:

 Now would be a time as good as any to start developing apps with the
 SDK 1.6 and new Level 4 APIs.
 As per the Google official blog, devices with 1.6 will start appearing
 in October. 
 http://android-developers.blogspot.com/2009/09/android-16-sdk-is-here.html.

 Balwinder Kaur
 Open Source Development Center
 ·T· · ·Mobile· stick together

 The views, opinions and statements in this email are those of the
 author solely in their individual capacity, and do not necessarily
 represent those of T-Mobile USA, Inc.

 On Sep 16, 5:27 am, MrChaz mrchazmob...@googlemail.com wrote:


 It takes them a while to push the update to peoples phone so there is
 no need to rush anything out.
 It's a good idea to try your apps out on an 1.6 version of the
 emulator to make sure everything works smoothly though.

 On Sep 16, 1:12 pm, Michael Dorin bsddo...@gmail.com wrote:



 I see 1.6 has been released...when is the right time to upgrade to it?
 -Mike




 


 --

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



[android-beginners] Re: Android in Eclipse - package name problem - please help

2009-09-16 Thread Raphael

On Wed, Sep 16, 2009 at 6:31 AM, Mimi mimik...@gmail.com wrote:

 Thank you so much for your response and info, Raphael.

 How can I change the Navigotor view to Java namespaces?

You can't. The navigator displays files from your disk. It doesn't
know about namespaces.


 Under the package explorer, View Menu/Package Presentation, I changed
 the selection from flat to hierarchical and the reverse. It did not
 have an impact on the presenation of com.mimi.App. It is still

That's because your top namespace has no other things into it.

R/

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



[android-beginners] Re: Screen orientation

2009-09-16 Thread Raphael

On Wed, Sep 16, 2009 at 5:06 AM, Mark Murphy mmur...@commonsware.com wrote:
 Windows/Linux: Ctrl-F12
 Mac with numeric keypad: 5 on the numeric keypad

and

$ ~/sdk/tools/emulator.exe -help-keys

  When running the emulator, use the following keypresses:

HOMEHome button
F2, PAGEUP  Menu (Soft-Left) button
Shift-F2, PAGEDOWN  Star (Soft-Right) button
ESCAPE  Back button
F3  Call/Dial button
F4  Hangup/EndCall button
F7  Power button
F5  Search button
KEYPAD_PLUS, Ctrl-F5Volume up button
KEYPAD_MINUS, Ctrl-F6   Volume down button
Ctrl-KEYPAD_5, Ctrl-F3  Camera button
KEYPAD_7, Ctrl-F11  switch to previous layout
KEYPAD_9, Ctrl-F12  switch to next layout
F8  toggle cell network on/off
F9  toggle code profiling
Alt-ENTER   toggle fullscreen mode
F6  toggle trackball mode
DELETE  show trackball
KEYPAD_5DPad center
KEYPAD_4DPad left
KEYPAD_6DPad right
KEYPAD_8DPad up
KEYPAD_2DPad down
KEYPAD_MULTIPLY increase onion alpha
KEYPAD_DIVIDE   decrease onion alpha

  note that NumLock must be deactivated for keypad keys to work

R/

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



[android-beginners] Re: Must have missed something...1.5-1.6

2009-09-16 Thread Raphael

Please send the workspace/.metadata/.log file to Xavier by private
mail to help us understand the issue.
R/

On Wed, Sep 16, 2009 at 8:47 AM, Xavier Ducrohet x...@android.com wrote:

 Hmm this shouldn't have been needed. I'll try to reproduce it here.

 Xav

 On Wed, Sep 16, 2009 at 8:43 AM, Michael Dorin bsddo...@gmail.com wrote:

 Found it.
 I didn't re-do the run configuration for my project.
 Once I did that it started to work.

 -Mike

 On Wed, Sep 16, 2009 at 10:34 AM, Xavier Ducrohet x...@android.com wrote:

 I'm guessing this is Eclipse showing you that?

 If so, can you post your .log file (located in your workspace in the
 .metadata folder)
 (it may be big, try to only post the end of it, or whatever part
 contain the error)

 thanks
 xav

 On Wed, Sep 16, 2009 at 5:51 AM, Michael Dorin bsddo...@gmail.com wrote:

 I thought I followed all the instructions to update the SDK.
 I have updated a couple projects and no errors are shown.
 When I attempt to launch though, I get:

 'Launching ...' has encountered a problem.
 An internal error occurred during: Launching ... 

 java.lang.NullPointerException

 I am running on vista.

 Any ideas as to what I may have done wrong?

 -Mike

 




 --
 Xavier Ducrohet
 Android Developer Tools Engineer
 Google Inc.

 


 




 --
 Xavier Ducrohet
 Android Developer Tools Engineer
 Google Inc.

 


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