[android-developers] Re: Link to buy unlocked phone does not work

2008-12-08 Thread Yorgen Valune
so buy a regular locked phone and unlock it by using this site:
http://www.unlock-tmobileg1.com/EN/unlock-G1.php
 
as far as i know 100% success.




From: ARW [EMAIL PROTECTED]
To: Android Developers android-developers@googlegroups.com
Sent: Saturday, December 6, 2008 10:59:10 AM
Subject: [android-developers] Link to buy unlocked phone does not work


On the page http://market.android.com/publish/Home, I see:

  Development phones
  As a registered developer, you can purchase an unlocked phone.
  Buy now »

That is wonderful. Thank you, Google!

But then, when I click on the Buy now link, the browser bounces off
android.brightstarcorp.com back to the same page. Happens on Chrome,
Firefox and IE.

Anyone had better luck with this?

-arw




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



[android-developers] precision of alarms using RTC_WAKEUP

2008-12-08 Thread alex

I am using the AlarmManager to set alarms with RTC_WAKEUP.  And they
work.

Some of the alarms are set for times just a few hours in the future;
others are set for days in the future.

My problem is that some alarms (maybe 20% of them) fire late, up to 15
minutes late.  Others are right on time.  Is this expected behavior?
Has anyone else noticed this?

A related question: if the user powers off and on his/her device, it
seems that the alarms that were set prior to the off/on don't fire.
Is that expected behavior as well?

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



[android-developers] Re: precision of alarms using RTC_WAKEUP

2008-12-08 Thread Dianne Hackborn
On Mon, Dec 8, 2008 at 12:18 AM, alex [EMAIL PROTECTED] wrote:

 My problem is that some alarms (maybe 20% of them) fire late, up to 15
 minutes late.  Others are right on time.  Is this expected behavior?
 Has anyone else noticed this?


Are you sure you are holding a wake lock the entire time you process the
alarm?  Put a log output in your intent receiver to be sure the problem is
the alarm not going off, instead of the CPU going to sleep while your own
code is running,


 A related question: if the user powers off and on his/her device, it
 seems that the alarms that were set prior to the off/on don't fire.
 Is that expected behavior as well?


Yes.

-- 
Dianne Hackborn
Android framework engineer
[EMAIL PROTECTED]

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 Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: New SDK Available

2008-12-08 Thread Dianne Hackborn
It's the same as the G1.

On Sun, Dec 7, 2008 at 4:04 PM, Christine [EMAIL PROTECTED]wrote:


 But we don't know which phone Google will be shipping. Is it similar
 to a US G1 or to a UK G1 which seems to work on a different 3G
 frequency? I guess we'll all know by the end of the week.

 On Dec 7, 11:57 pm, Pierre Bonnefoy [EMAIL PROTECTED]
 wrote:
  A SIM is necessary if you want to make phone calls on a standard cellular
  networks (I mean, you can still make phone calls on WiFi without a SIM).
  2008/12/7 Xavier Mathews [EMAIL PROTECTED]
 
 
 
   I thought that iphone was also an ipod and has over 10,000 apps what
   is the point of a sim?
 



-- 
Dianne Hackborn
Android framework engineer
[EMAIL PROTECTED]

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 Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Alternative to category LAUNCHER for plugins?

2008-12-08 Thread Peli

Thanks for the reply! Will this be supported in the future? Is there
any way I could submit a small patch for this issue? (i.e. Market
should call the MAIN activity of a package regardless of whether it
has category LAUNCHER or not, or at least if it has DEFAULT category -
OR - don't show the launch button). Unfortunately, the Market app
itself does not seem to be open source.

Peli


On 7 Dez., 21:10, Dianne Hackborn [EMAIL PROTECTED] wrote:
 Market unfortunately doesn't support this right now.



 On Sun, Dec 7, 2008 at 11:46 AM, Peli [EMAIL PROTECTED] wrote:

  Hm, my colleague just checked, but the way outlined above did not
  work.

  Which IntentFilter do I have to specify so that the Market app can
  launch my plugin (to show a custom warning message), but it is still
  not included in the list of all LAUNCHER applications?

  If it is not possible currently, that is also ok. I would just like to
  know whether I should invest more time in investigating this or not...

  Peli

  On 7 Dez., 17:48, Peli [EMAIL PROTECTED] wrote:
   Our users complain about the following:
   You're getting hammered by negative comments on oi voice notes
   because after install it gives launch error. I suggest creating an
   idiot window on launch that says this app is an addon, and to use
   within other oi products.

   We provide a plug-in (addon, extension,..) for our shopping list
   application that is called voice notes, which should only appear in
   the menu of shopping list. We do not want that plugin to be listed in
   the list of all applications (as we plan to have more add-ons in the
   future), so we did not specify the android.intent.category.LAUNCHER,
   just the android.intent.category.ALTERNATIVE.

   How can we provide an activity that is launched by the Android
   installer after installation (to display a warning that this has to be
   used from within shopping list), but still does not show up in the
   list of all applications?

   Hm, thinking about it, is it as simple as providing an intent
   android.intent.action.MAIN without the category LAUNCHER? Is this what
   the installer would call? (I have not downloaded the latest SDK yet,
   otherwise I could probably answer this question myself by trying it
   out...)

   Peliwww.openintents.org

 --
 Dianne Hackborn
 Android framework engineer
 [EMAIL PROTECTED]

 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 Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Android Date Picker

2008-12-08 Thread Muthu Kumar K.

Hi All,
can any one help me how do i get the date form DatePicker?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Weird Map Problem (Controlling same map)

2008-12-08 Thread mscwd01

Okay this kind of makes sense, so to ensure the map is always showing
the correct view (i.e. city), one should reposition the map each time
the activity is loaded?

One question though, what happens if someone clicks the back button?
Does the original activity reload automatically, or do you have to add
additional code to reload the activity when someone navigates back to
it having clicked the back button?

Thanks again!

On Dec 8, 1:23 am, Tom Gibara [EMAIL PROTECTED] wrote:
  I have a weird issue, which is probably easily solvable - but the
  cause is alluding me.

  I have two activities, one is created as an intent from the first
  activity. Each activity features a MapView.

 Only one MapActivity is supported per process. Multiple MapActivities
 running simultaneously are likely to interfere in unexpected and undesired
 ways.

 http://code.google.com/android/reference/com/google/android/maps/MapA...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Weird Map Problem (Controlling same map)

2008-12-08 Thread mscwd01

... Just to add to my question above ...
If only one MapActivity is allowed per process - I take it that
means per application??? - How does one properly use 2 or more maps
per application?


On Dec 8, 12:17 pm, mscwd01 [EMAIL PROTECTED] wrote:
 Okay this kind of makes sense, so to ensure the map is always showing
 the correct view (i.e. city), one should reposition the map each time
 the activity is loaded?

 One question though, what happens if someone clicks the back button?
 Does the original activity reload automatically, or do you have to add
 additional code to reload the activity when someone navigates back to
 it having clicked the back button?

 Thanks again!

 On Dec 8, 1:23 am, Tom Gibara [EMAIL PROTECTED] wrote:

   I have a weird issue, which is probably easily solvable - but the
   cause is alluding me.

   I have two activities, one is created as an intent from the first
   activity. Each activity features a MapView.

  Only one MapActivity is supported per process. Multiple MapActivities
  running simultaneously are likely to interfere in unexpected and undesired
  ways.

 http://code.google.com/android/reference/com/google/android/maps/MapA...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Android Dev Phone 1 + Shipping to Germany

2008-12-08 Thread roland

Just checked the shipping fee to France, it costs 180 USD!!! It is
almost the half of the price of device.


On 7 déc, 18:53, Justin (Google Employee) [EMAIL PROTECTED] wrote:
 Any appropriate customs duties and taxes will be added on top of the
 $399 purchase price. You are correct, that this can add a substantial
 the base price. However, it should not add any hassle. Is there some
 specific difficulty you're referring to?

 Cheers,
 Justin
 Android Team @ Google

 On Dec 6, 2:13 am, Marc Seeger [EMAIL PROTECTED] wrote:

  Hi,
  I'm really interested in the possibility of buying a AndroidDev
 Phone1  (--http://code.google.com/android/dev-devices.html), the
  only question I have concerns the shipping.
  According to the site, it will be (?is?) available for order in
  Germany, I can't find any information about the details though.
  The price seems fair, but adding VAT + Import Taxes would add a BIG
  amount of money to the final number (and a lot of hassle).

  Does Google ship all of its devices from the US or are devices for
  European Devs shipped from inside the EU?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Link to buy unlocked phone does not work

2008-12-08 Thread Christine

On Dec 6, 9:59 am, ARW [EMAIL PROTECTED] wrote:

 Anyone had better luck with this?

Yes, I could order a phone. Maybe the site got too much traffic so
soon after the announcement.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: ::CPU usage

2008-12-08 Thread fcalzada

Hi,

Do you have any real benchmark to provide (based on real phone) ?
Like it is done on the jbenchmark site? (Although it's only for java
code)



On Dec 7, 3:06 am, Dianne Hackborn [EMAIL PROTECTED] wrote:
 You really can't judge performance based on the emulator.  Ignoring the CPU
 emulation, there is no emulation of the memory bus, it doesn't do any
 graphics hardware acceleration, etc.

 Ultimately you need to do development on a real device, that is the only way
 to know how your application is actually going to behave.

 On Sat, Dec 6, 2008 at 6:12 AM, Xavier Mathews [EMAIL PROTECTED]wrote:





  Yes it will depending on the processor speed of the device. 50% Is Alot.

  On 12/06/2008, Mark Murphy [EMAIL PROTECTED] wrote:

   Imran wrote:
   Hi All...!!!

          i have developed a small  game application... i have a
   problem... when i run the application  it is using 50% of CPU (mine is
   2Ghz processor )... will this create a problem in actual device..

   Possibly.

   The emulator is inefficient, in that it has to convert ARM instructions
   into x86 instructions for execution on your development PC. This adds a
   fair bit of overhead, which results in a higher-than-expected CPU
   utilization.

   However, it is very difficult to project how a certain CPU utilization
   on the development PC will translate into CPU utilization on a device.

   --
   Mark Murphy (a Commons Guy)
  http://commonsware.com
   _The Busy Coder's Guide to Android Development_ Version 1.9 Available!

  --
  Xavier A. Mathews
  Student/Browser Specialist/Developer/Web-Master
  Google Group Client Based Tech Support Specialist
  Hazel Crest Illinois
  [EMAIL PROTECTED]@[EMAIL PROTECTED]
  Fear of a name, only increases fear of the thing itself.

 --
 Dianne Hackborn
 Android framework engineer
 [EMAIL PROTECTED]

 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 Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Android Dev Phone 1 + Shipping to Germany

2008-12-08 Thread blindfold

To The Netherlands shipping and handling is $178.90. I even got a
phone call from the fraud prevention team of my credit card's bank
today, because they apparently found it a suspicious transaction.
Well, hopefully I'll now have a functional G1 soon.

On Dec 8, 2:03 pm, roland [EMAIL PROTECTED] wrote:
 Just checked the shipping fee to France, it costs 180 USD!!! It is
 almost the half of the price of device.

 On 7 déc, 18:53, Justin (Google Employee) [EMAIL PROTECTED] wrote:

  Any appropriate customs duties and taxes will be added on top of the
  $399 purchase price. You are correct, that this can add a substantial
  the base price. However, it should not add any hassle. Is there some
  specific difficulty you're referring to?

  Cheers,
  Justin
  Android Team @ Google

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



[android-developers] Re: Easy way to identify a missed call? (Broadcast)

2008-12-08 Thread code_android_festival_way

Something new about this topic?

On 5 Dez., 01:01, code_android_festival_way
[EMAIL PROTECTED] wrote:
 Hello!

 At the moment I want to write a small application that gives me LED
 notifications when Imisseda call. (the system only provides me with
 notifications when I get a SMS, email or voicemail messages)

 Is there a broadcast that gets sent directly after the systemmisseda
 call? This would make it very easy to write that app. In addition it
 would be interesting if there is an easy way to get to know if the
 user has confirmed thatmissedcall to stop the notification? (perhaps
 another broadcast gets sent?)

 I know the call log (http://code.google.com/android/reference/android/
 provider/CallLog.Calls.html) but to implement it over broadcasts would
 be much easier. So are there broadcasts from the system available
 covering these situations?

 I'm looking forward reading your answer.

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



[android-developers] Re: Weird Map Problem (Controlling same map)

2008-12-08 Thread Mark Murphy

mscwd01 wrote:
 If only one MapActivity is allowed per process - I take it that
 means per application??? 

By default, yes, though it does not have to be that way:

http://code.google.com/android/intro/appmodel.html

 How does one properly use 2 or more maps
 per application?

If the quoted bit of documentation is correct, you may be able to use 
android:process in your manifest to force your secondary activity to run 
in another process. See the Processes section in the page linked to above.

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

Android Training on the Ranch! -- Mar 16-20, 2009
http://www.bignerdranch.com/schedule.shtml

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



[android-developers] Part of CNET CiUI iPhoneUI libs working in Android

2008-12-08 Thread Fred Grott(shareme)

Just to let everyone know that I was able to get part of the CNET
iPhone CiUI UI lib working on Android using Webkit WebVIew to embed
webkit, see the video of screenshots:

http://www.youtube.com/watch?v=9WKxVYEx0AM
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Android Date Picker

2008-12-08 Thread Mark Murphy

Muthu Kumar K. wrote:
 can any one help me how do i get the date form DatePicker?

It should be provided to the DatePicker.OnDateChangedListener you gave 
the picker.

Or, if you are using DatePickerDialog, it should be provided to the 
DatePickerDialog.OnDateSetListener you gave the dialog.

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

Android Training on the Ranch! -- Mar 16-20, 2009
http://www.bignerdranch.com/schedule.shtml

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



[android-developers] Re: Android Date Picker

2008-12-08 Thread Muthu Kumar K.

hi,
Can any you give me some example, because i am new to Android.
Thanks,
Muthu Kumar K.

On Dec 8, 5:38 pm, Mark Murphy [EMAIL PROTECTED] wrote:
 Muthu Kumar K. wrote:
  can any one help me how do i get the date form DatePicker?

 It should be provided to the DatePicker.OnDateChangedListener you gave
 the picker.

 Or, if you are using DatePickerDialog, it should be provided to the
 DatePickerDialog.OnDateSetListener you gave the dialog.

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

 Android Training on the Ranch! -- Mar 16-20, 
 2009http://www.bignerdranch.com/schedule.shtml
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Basic RPC - which one to use ? JSON / XML / SOAP / HTTP etc etc etc.

2008-12-08 Thread Richard Green

Hi there - I need to do some very basic RPC stuff passing around a few
objects ( very simply serialized ) as well as the usual standard
authentication etc etc. I'm looking for an RPC stack which is both

1) Client side : Natively supported under android (or failing that -
with a minimal of reqd libraries)
2) Server side : Easily configured to run under tomcat - and perhaps
under other servers as well (python / perl perhaps ?)

Although I have read numerous postings on this (use xyz / use abc) I
haven't found an end to end solution that has both the client code on
it as well as the server side setup - I don't mind running a
standalone tomcat to solely look after the android connections if it
makes it easier. I've started writing my interface classes in the
client code and a dummy implementation so that my client can pretend
it's talking to something somewhere but I'm after an established
mature mechanism so I can just fit this in. The more code examples -
btw - the better...

Thanks in advance,

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



[android-developers] Re: How to create grey menu icons?

2008-12-08 Thread loty

I'm not sure what you are asking - if you asking about how to improve
your graphic design skills I would suggest reading good books on
Photoshop. But before you start google already created bunch of common
icons that you can use in your applications
http://code.google.com/android/migrating/m5-0.9/changes/android.R.drawable.html#android.R.drawable.ic_delete
look at all resources that start with ic_ like ic_delete,
ic_input_add, etc.




On Dec 5, 3:09 pm, Noonien Soong [EMAIL PROTECTED] wrote:
 Hi,

 does anyone know what's the easiest way to create new menu icons for
 the gray menu that pops up when you press the menu button ? I want to
 create custom icons with the same consistent look.

 I mean the icons that can be found in the SDK and are all named
 ic_menu_*.png.

 Is there some sort of a vector graphics template available ?

 Would be great to get that...

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



[android-developers] Re: Android Date Picker

2008-12-08 Thread Mark Murphy

Muthu Kumar K. wrote:
 Can any you give me some example, because i am new to Android.

ApiDemos/src/com/example/android/apis/view/DateWidgets1.java

That example of DatePickerDialog can be found in the samples/ directory 
of your SDK installation.

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

Android Training on the Ranch! -- Mar 16-20, 2009
http://www.bignerdranch.com/schedule.shtml

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



[android-developers] Re: precision of alarms using RTC_WAKEUP

2008-12-08 Thread Dorn Hetzel

Is there a recommended method for setting alarms that will survive a
power cycle ?

On Mon, Dec 8, 2008 at 3:21 AM, Dianne Hackborn [EMAIL PROTECTED] wrote:
 On Mon, Dec 8, 2008 at 12:18 AM, alex [EMAIL PROTECTED] wrote:

 My problem is that some alarms (maybe 20% of them) fire late, up to 15
 minutes late.  Others are right on time.  Is this expected behavior?
 Has anyone else noticed this?

 Are you sure you are holding a wake lock the entire time you process the
 alarm?  Put a log output in your intent receiver to be sure the problem is
 the alarm not going off, instead of the CPU going to sleep while your own
 code is running,


 A related question: if the user powers off and on his/her device, it
 seems that the alarms that were set prior to the off/on don't fire.
 Is that expected behavior as well?

 Yes.

 --
 Dianne Hackborn
 Android framework engineer
 [EMAIL PROTECTED]

 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 Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Debugging in Eclipse.

2008-12-08 Thread Brad Gies
Sorry, this is probably off topic here.

 

Last night, I was debugging a new class I implemented, and everything was
fine, but suddenly in one method none of my variables were showing up in the
variables window.. And in the Expressions window the variables show up, but
are marked as cannot be resolved..Making debugging TOUGH.

 

As far as I can tell, I don't have any step filters enabled. I've run Clean,
and I can't seem to find any more information on the web. I did see the
variables when I first implemented the method.

 

Anyone have any links they could send me, or information?

 

Sincerely,

 

Brad Gies

 

 

-

Brad Gies

27415 Greenfield Rd, # 2,

Southfield, MI, USA

48076

www.bgies.com  www.truckerphone.com 

www.EDI-Easy.com  www.pricebunny.com

-

 

Moderation in everything, including abstinence

 


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



[android-developers] Re: audio recording issues

2008-12-08 Thread Dorn Hetzel

While I am sure any forward looking statement will need to be taken
with a grain of salt, perhaps you could alleviate many of our concerns
with some clue as to the timeframe in which we might expect relief on
this front.  If we knew that in a month or two we could look forward
to at least rudimentary real-time audio we could quit expending energy
on trying to scheme a workaround and just delay our application plans.
 If it's going to be a lot longer than that, we can make appropriate
decisions as well.  Leaving us knowing nothing doesn't really engender
confidence.  Some sort of roadmap with approximate dates would help a
lot!

Regards,

Dorn Hetzel

On Fri, Dec 5, 2008 at 12:12 AM, Dave Sparks [EMAIL PROTECTED] wrote:

 The reason this isn't in 1.0 is because we didn't want to ship a half-
 baked API. We have a solution coming soon in the form of a flexible
 base layer that supports push and pull models. For example, we have
 built an InputStream object on top of it that we will offer as sample
 code.

 In the future, this development will be taking place in the open
 source repo so we can have a real-time dialog about the code as it is
 developed. In the meantime, we are working hard to get the code that
 has been in development since we forked the 1.0 branch moved into the
 open source repo as soon as possible.

 On Dec 4, 6:40 pm, MichaelEGR [EMAIL PROTECTED] wrote:
 On Dec 2, 5:22 am, Dorn Hetzel [EMAIL PROTECTED] wrote:

  Maybe we need to start another mailing list for unrequited android
  realtimeaudio:)

 I'm all for focused discussion on this topic as it crosses between
 native concerns and public APIs via the SDK. In my longer original
 post I mentioned that it would be appropriate to evaluate how to not
 only getting something workable on the G1, but keep in mind that
 Android can/will be used in the future conceivably beyond smart phones
 in devices/hardware that may support expanded audio I/O options. I
 favor PortAudio (www.portaudio.com) for the task as it can provide a
 workable real time audio API for desktop Java and Android audio
 development/porting to other hardware configurations. It is also low
 level enough to say even implement javax.sound on top of it for those
 interested in that particular API. More discussion is welcome
 especially in understanding unspecified work being done for the next
 SDK release.

 Best,
 --Mike
 


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



[android-developers] I am still looking for strong mobile device Android Developers

2008-12-08 Thread Andrew Freundt

If anyone is interested in a permanent salaried position with a large
cutting edge company in Richmond, VA please give me a call or shoot me
a quick e-mail.

I am simply looking for people with several years of mobile device
programming and java development. Beyond this, some Android
experience.

If this sounds like something you or someone you know would be
interested in, let me know!

Regards,

Andrew Freundt
1-800-452-7391
[EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Basic RPC - which one to use ? JSON / XML / SOAP / HTTP etc etc etc.

2008-12-08 Thread skink


hi,

 1) Client side : Natively supported under android (or failing that -
 with a minimal of reqd libraries)

you could take a look in my xml-rpc stuff - just 3 classes including
Base64 decoder/encoder:

http://www.anddev.org/slim_xml-rpc-t3800.html

you have to register to see download link.

for server side i used std python's xmlrpclib module.

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



[android-developers] Astronomical Android Dev Phone 1 shipping free

2008-12-08 Thread elDoudou

Dear Google Team.

Just wanted to react over the now available Android Dev Phone 1
device, which is available at $399. A very good news, if you omit the
$183,81 shipping fee (at least from France), resulting from what is
named UPS Innovations. I was about to purchase it, but at check-out
final stage discovered this price and decided eventually to cancel,
because I think that this shipping price is not fair.

Don't you think that this a bit a pity to pay almost half the price of
the device for being shipped? Are there alternative forthcoming
shipment options? Please, let us know.

Thank you for your help and good work.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Displaying image in SimpleExpandableListAdapter

2008-12-08 Thread androidian

Hmmm...this one wasn't as solved as I thought.  When using a
SimpleExpandableListAdapter, you don't have easy access to the
TextViews inside it.  It looks like I can specify my own layout file
to use for the individual rows, and set TextViews for use by the rows,
and I guess I could set the android:drawableRight attribute on these,
but how can this be dynamic?  i.e. I need to draw a particular
drawable based on a data field of the particular row.  Given that I
can't get access to the individual rows in the java code, how can I
set this image dynamically in XML?


On Dec 5, 2:41 pm, androidian [EMAIL PROTECTED] wrote:
 Thanks very much, very helpful !!

 On Dec 5, 1:31 pm, for android [EMAIL PROTECTED] wrote:

  Sorry..

  textView.

   setCompoundDrawablesWithIntrinsicBounds(null, null, drawable, null);
  On Fri, Dec 5, 2008 at 10:00 AM, for android [EMAIL PROTECTED] wrote:

  http://code.google.com/android/reference/android/widget/TextView.html...)http://code.google.com/android/reference/android/widget/TextView.html...

   Add the image like this. in the appropriate position...Probable u want it
   at the right,so use

   textView.setCompoundDrawablesWithIntrinsicBounds(drawable, null, null,
   null);

   On Fri, Dec 5, 2008 at 5:48 AM, androidian [EMAIL PROTECTED] wrote:

   In the documentation for SimpleExpanderListAdapter (http://
   code.google.com/android/reference/android/widget/
  SimpleExpandableListAdapter.htmlhttp://code.google.com/android/reference/android/widget/SimpleExpanda...)
   it says that the views which
   ultimately end up defining the display of the individual group and
   child rows, must be TextViews.

   I think I'm reading this right but I need some clarification...does
   this mean that there's no way to put an image into these group and
   child rows?  e.g. let's say I want my own icon to sit to the right of
   the text in a row...can I do that in any way?

   If not, could I do it by subclassing BaseExpandableListAdapter?  Any
   tips?

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



[android-developers] Re: New SDK Available

2008-12-08 Thread don rhummy

Will the phone work with Sprint? Is there anything that can use android with 
Sprint?


--- On Mon, 12/8/08, Dianne Hackborn [EMAIL PROTECTED] wrote:

 From: Dianne Hackborn [EMAIL PROTECTED]
 Subject: [android-developers] Re: New SDK Available
 To: android-developers@googlegroups.com
 Date: Monday, December 8, 2008, 3:24 AM
 It's the same as the G1.
 
 On Sun, Dec 7, 2008 at 4:04 PM, Christine
 [EMAIL PROTECTED]wrote:
 
 
  But we don't know which phone Google will be
 shipping. Is it similar
  to a US G1 or to a UK G1 which seems to work on a
 different 3G
  frequency? I guess we'll all know by the end of
 the week.
 
  On Dec 7, 11:57 pm, Pierre Bonnefoy
 [EMAIL PROTECTED]
  wrote:
   A SIM is necessary if you want to make phone
 calls on a standard cellular
   networks (I mean, you can still make phone calls
 on WiFi without a SIM).
   2008/12/7 Xavier Mathews
 [EMAIL PROTECTED]
  
  
  
I thought that iphone was also an ipod and
 has over 10,000 apps what
is the point of a sim?
  
 
 
 
 -- 
 Dianne Hackborn
 Android framework engineer
 [EMAIL PROTECTED]
 
 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 Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Android Dev Phone 1 + Shipping to Germany

2008-12-08 Thread GasBot

For all you people overseas, you can always send me $550USD and I'll
ship it to you however you'd like so that you don't get charged all
the import taxes. :D

On Dec 8, 6:37 am, blindfold [EMAIL PROTECTED] wrote:
 To The Netherlands shipping and handling is $178.90. I even got a
 phone call from the fraud prevention team of my credit card's bank
 today, because they apparently found it a suspicious transaction.
 Well, hopefully I'll now have a functional G1 soon.

 On Dec 8, 2:03 pm, roland [EMAIL PROTECTED] wrote:

  Just checked the shipping fee to France, it costs 180 USD!!! It is
  almost the half of the price of device.

  On 7 déc, 18:53, Justin (Google Employee) [EMAIL PROTECTED] wrote:

   Any appropriate customs duties and taxes will be added on top of the
   $399 purchase price. You are correct, that this can add a substantial
   the base price. However, it should not add any hassle. Is there some
   specific difficulty you're referring to?

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



[android-developers] Re: New SDK Available

2008-12-08 Thread Teo

About the new dev phone, there should probably be one mandatory app
submission (if there isn't one already) because otherwise there will
be an avalanche of 'developers' which will affect dev phone supplies
for future devs, or devs in countries which will be included in the
program... I hope i'm making sense :)

Thanks,
Teo

On Dec 8, 5:34 pm, don rhummy [EMAIL PROTECTED] wrote:
 Will thephonework with Sprint? Is there anything that can use android with 
 Sprint?

 --- On Mon, 12/8/08, Dianne Hackborn [EMAIL PROTECTED] wrote:

  From: Dianne Hackborn [EMAIL PROTECTED]
  Subject: [android-developers] Re: New SDK Available
  To: android-developers@googlegroups.com
  Date: Monday, December 8, 2008, 3:24 AM
  It's the same as the G1.

  On Sun, Dec 7, 2008 at 4:04 PM, Christine
  [EMAIL PROTECTED]wrote:

   But we don't know whichphoneGoogle will be
  shipping. Is it similar
   to a US G1 or to a UK G1 which seems to work on a
  different 3G
   frequency? I guess we'll all know by the end of
  the week.

   On Dec 7, 11:57 pm, Pierre Bonnefoy
  [EMAIL PROTECTED]
   wrote:
A SIM is necessary if you want to makephone
  calls on a standard cellular
networks (I mean, you can still makephonecalls
  on WiFi without a SIM).
2008/12/7 Xavier Mathews
  [EMAIL PROTECTED]

 I thought that iphone was also an ipod and
  has over 10,000 apps what
 is the point of a sim?

  --
  Dianne Hackborn
  Android framework engineer
  [EMAIL PROTECTED]

  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 Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: New SDK Available

2008-12-08 Thread Jean-Baptiste Queru

Search back in this thread for my reply about a day ago. The answer is
no, the Android Dev Phone 1 doesn't work with Sprint, because Sprint
is not a GSM operator.

JBQ

On Mon, Dec 8, 2008 at 7:34 AM, don rhummy [EMAIL PROTECTED] wrote:

 Will the phone work with Sprint? Is there anything that can use android with 
 Sprint?


 --- On Mon, 12/8/08, Dianne Hackborn [EMAIL PROTECTED] wrote:

 From: Dianne Hackborn [EMAIL PROTECTED]
 Subject: [android-developers] Re: New SDK Available
 To: android-developers@googlegroups.com
 Date: Monday, December 8, 2008, 3:24 AM
 It's the same as the G1.

 On Sun, Dec 7, 2008 at 4:04 PM, Christine
 [EMAIL PROTECTED]wrote:

 
  But we don't know which phone Google will be
 shipping. Is it similar
  to a US G1 or to a UK G1 which seems to work on a
 different 3G
  frequency? I guess we'll all know by the end of
 the week.
 
  On Dec 7, 11:57 pm, Pierre Bonnefoy
 [EMAIL PROTECTED]
  wrote:
   A SIM is necessary if you want to make phone
 calls on a standard cellular
   networks (I mean, you can still make phone calls
 on WiFi without a SIM).
   2008/12/7 Xavier Mathews
 [EMAIL PROTECTED]
  
  
  
I thought that iphone was also an ipod and
 has over 10,000 apps what
is the point of a sim?
  
 


 --
 Dianne Hackborn
 Android framework engineer
 [EMAIL PROTECTED]

 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 Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: New SDK Available

2008-12-08 Thread Jean-Baptiste Queru

So, you're saying that developers should be forced to release untested
applications?

JBQ

On Mon, Dec 8, 2008 at 7:43 AM, Teo [EMAIL PROTECTED] wrote:

 About the new dev phone, there should probably be one mandatory app
 submission (if there isn't one already) because otherwise there will
 be an avalanche of 'developers' which will affect dev phone supplies
 for future devs, or devs in countries which will be included in the
 program... I hope i'm making sense :)

 Thanks,
 Teo

 On Dec 8, 5:34 pm, don rhummy [EMAIL PROTECTED] wrote:
 Will thephonework with Sprint? Is there anything that can use android with 
 Sprint?

 --- On Mon, 12/8/08, Dianne Hackborn [EMAIL PROTECTED] wrote:

  From: Dianne Hackborn [EMAIL PROTECTED]
  Subject: [android-developers] Re: New SDK Available
  To: android-developers@googlegroups.com
  Date: Monday, December 8, 2008, 3:24 AM
  It's the same as the G1.

  On Sun, Dec 7, 2008 at 4:04 PM, Christine
  [EMAIL PROTECTED]wrote:

   But we don't know whichphoneGoogle will be
  shipping. Is it similar
   to a US G1 or to a UK G1 which seems to work on a
  different 3G
   frequency? I guess we'll all know by the end of
  the week.

   On Dec 7, 11:57 pm, Pierre Bonnefoy
  [EMAIL PROTECTED]
   wrote:
A SIM is necessary if you want to makephone
  calls on a standard cellular
networks (I mean, you can still makephonecalls
  on WiFi without a SIM).
2008/12/7 Xavier Mathews
  [EMAIL PROTECTED]

 I thought that iphone was also an ipod and
  has over 10,000 apps what
 is the point of a sim?

  --
  Dianne Hackborn
  Android framework engineer
  [EMAIL PROTECTED]

  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 Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Overlay, like in the Pictures application

2008-12-08 Thread kelly

Hello,

The pictures application displays a set of left/right arrows in what
I think is an overlay, allowing a user to switch between pictures. I
need to create something similar, but I'm not sure how to do it. Can
anyone give me a general idea of how this is done?

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



[android-developers] Re: New SDK Available

2008-12-08 Thread Al Sutton

Egg meet chicken... chicken meet egg... now who was first?

Al.

Jean-Baptiste Queru wrote:
 So, you're saying that developers should be forced to release untested
 applications?

 JBQ

 On Mon, Dec 8, 2008 at 7:43 AM, Teo [EMAIL PROTECTED] wrote:
   
 About the new dev phone, there should probably be one mandatory app
 submission (if there isn't one already) because otherwise there will
 be an avalanche of 'developers' which will affect dev phone supplies
 for future devs, or devs in countries which will be included in the
 program... I hope i'm making sense :)

 Thanks,
 Teo

 On Dec 8, 5:34 pm, don rhummy [EMAIL PROTECTED] wrote:
 
 Will thephonework with Sprint? Is there anything that can use android with 
 Sprint?

 --- On Mon, 12/8/08, Dianne Hackborn [EMAIL PROTECTED] wrote:

   
 From: Dianne Hackborn [EMAIL PROTECTED]
 Subject: [android-developers] Re: New SDK Available
 To: android-developers@googlegroups.com
 Date: Monday, December 8, 2008, 3:24 AM
 It's the same as the G1.
 
 On Sun, Dec 7, 2008 at 4:04 PM, Christine
 [EMAIL PROTECTED]wrote:
 
 But we don't know whichphoneGoogle will be
   
 shipping. Is it similar
 
 to a US G1 or to a UK G1 which seems to work on a
   
 different 3G
 
 frequency? I guess we'll all know by the end of
   
 the week.
 
 On Dec 7, 11:57 pm, Pierre Bonnefoy
   
 [EMAIL PROTECTED]
 
 wrote:
   
 A SIM is necessary if you want to makephone
 
 calls on a standard cellular
 
 networks (I mean, you can still makephonecalls
 
 on WiFi without a SIM).
 
 2008/12/7 Xavier Mathews
 
 [EMAIL PROTECTED]
 
 I thought that iphone was also an ipod and
   
 has over 10,000 apps what
 
 is the point of a sim?
   
 --
 Dianne Hackborn
 Android framework engineer
 [EMAIL PROTECTED]
 
 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 Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Android Dev Phone 1 + Shipping to Germany

2008-12-08 Thread walterc

just curious:  did anyone who ordered the dev phone receive a ups
tracking number?  is there anyway to know the progress of our orders?
all i received was a email telling me my order was placed and an order
number which i dont really know what to do with (its not a ups
tracking number).  any ideas?

On Dec 8, 11:42 pm, GasBot [EMAIL PROTECTED] wrote:
 For all you people overseas, you can always send me $550USD and I'll
 ship it to you however you'd like so that you don't get charged all
 the import taxes. :D

 On Dec 8, 6:37 am, blindfold [EMAIL PROTECTED] wrote:

  To The Netherlands shipping and handling is $178.90. I even got a
  phone call from the fraud prevention team of my credit card's bank
  today, because they apparently found it a suspicious transaction.
  Well, hopefully I'll now have a functional G1 soon.

  On Dec 8, 2:03 pm, roland [EMAIL PROTECTED] wrote:

   Just checked the shipping fee to France, it costs 180 USD!!! It is
   almost the half of the price of device.

   On 7 déc, 18:53, Justin (Google Employee) [EMAIL PROTECTED] wrote:

Any appropriate customs duties and taxes will be added on top of the
$399 purchase price. You are correct, that this can add a substantial
the base price. However, it should not add any hassle. Is there some
specific difficulty you're referring to?

Cheers,
Justin
Android Team @ Google


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



[android-developers] Home Screen issue

2008-12-08 Thread Billsen

Hi,

When creating shortcut for bookmark on Home screen (the screen with
clock image) in emulator, a default icon is assigned for all bookmarks
for web pages. Is it possible to customize icons for bookmark shortcut
on Home screen. For example, shortcut for Yahoo bookmark has an icon
for Yahoo web page and shortcut for Microsoft has an icon for
Microsoft web page, and so on.

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



[android-developers] Re: I am still looking for strong mobile device Android Developers

2008-12-08 Thread Fred Grott(shareme)

Andrew this if Fred Grott in NW Indiana..

I am currently porting CNEt's CiUI iPhone js UI to uae in Android via
the embedded webkit as app concept, see Video:

http://www.youtube.com/watch?v=9WKxVYEx0AM

T-mobile and Moto were attempting to recruit me

If interested send me email to my gmail account firstname than dot
last name than at symbol gmaildot com..




On Dec 8, 8:55 am, Andrew Freundt [EMAIL PROTECTED] wrote:
 If anyone is interested in a permanent salaried position with a large
 cutting edge company in Richmond, VA please give me a call or shoot me
 a quick e-mail.

 I am simply looking for people with several years of mobile device
 programming and java development. Beyond this, some Android
 experience.

 If this sounds like something you or someone you know would be
 interested in, let me know!

 Regards,

 Andrew Freundt
 1-800-452-7391
 [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: How to create grey menu icons?

2008-12-08 Thread Noonien Soong

Sorry, I guess I can't express myself the right way -- My graphic
design skills are fine.
I was just wondering if I have to find a way how to recreate the EXACT
visual style of the icons myself by toying around in Photoshop for a
while, or
if there is a way to get my hands on the original PSD files with
layers. (Or if the logos were created in a vector graphics program, it
would be nice to get the original files for any of the existing icons
in order to create new icons with EXACTLY the same style) Sure, I can
pull up Photoshop and try it myself but if there's a way to just get
the files that the artist used to create those icons it would speed up
the process a great deal.

Thx



On Dec 8, 9:20 am, loty [EMAIL PROTECTED] wrote:
 I'm not sure what you are asking - if you asking about how to improve
 your graphic design skills I would suggest reading good books on
 Photoshop. But before you start google already created bunch of common
 icons that you can use in your 
 applicationshttp://code.google.com/android/migrating/m5-0.9/changes/android.R.dra...
 look at all resources that start with ic_ like ic_delete,
 ic_input_add, etc.

 On Dec 5, 3:09 pm, Noonien Soong [EMAIL PROTECTED] wrote:

  Hi,

  does anyone know what's the easiest way to create new menu icons for
  the gray menu that pops up when you press the menu button ? I want to
  create custom icons with the same consistent look.

  I mean the icons that can be found in the SDK and are all named
  ic_menu_*.png.

  Is there some sort of a vector graphics template available ?

  Would be great to get that...

  Thx!


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



[android-developers] ListView + SimpleCursorAdapter = NullPointerException

2008-12-08 Thread Chronos

Hello there,

I am trying to access the contact list and display it in a CUSTOM
ListView (ListActivity is not an option). Unfortunately the activity
fails with a NullPointerException :( This may be a simple issue - have
I overlooked something ? Help appreciated ... (I have tried the code
with a ListActivity and got valid results - therefore I assume, the
Cursor instantiation is correct)

Activity Class:
---

import android.app.Activity;
import android.database.Cursor;
import android.os.Bundle;
import android.provider.Contacts;
import android.provider.Contacts.People;
import android.widget.ListView;
import android.widget.SimpleCursorAdapter;

public class Recommendation extends Activity
{
//
// GUI variables
//
private ListViewrecommendationList;
//
// Logic variables
//
private Cursor  contacts;

@Override
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.mainmenu);
recommendationList = (ListView) findViewById
(R.id.recommendationList);
String[] projection = new String[] { People._ID, People.NAME,
People.PRIMARY_EMAIL_ID };
contacts = managedQuery(Contacts.People.CONTENT_URI, projection,
null, null, null);
SimpleCursorAdapter simpleCursorAdapter = new 
SimpleCursorAdapter
(this, android.R.layout.simple_list_item_2, contacts, new String[]
{ People.NAME, People.PRIMARY_EMAIL_ID }, new int[]
{ android.R.id.text1, android.R.id.text2 });
recommendationList.setAdapter(simpleCursorAdapter);
}
}

---

Recommendation.xml:
---

?xml version=1.0 encoding=utf-8?
LinearLayout xmlns:android=http://schemas.android.com/apk/res/
android
android:orientation=vertical
android:layout_width=fill_parent
android:layout_height=fill_parent
android:padding=10dp
ListView xmlns:android=http://schemas.android.com/apk/res/android;
android:id=@+id/recommendationList
android:layout_width=fill_parent
android:layout_height=fill_parent/
/LinearLayout

---

LogCat:
---

12-08 14:30:55.852: ERROR/AndroidRuntime(4287): Uncaught handler:
thread main exiting due to uncaught exception
12-08 14:30:55.900: ERROR/AndroidRuntime(4287):
java.lang.RuntimeException: Unable to start activity ComponentInfo
{de.xxx.android/de.xxx.android.Recommendation}:
java.lang.NullPointerException
12-08 14:30:55.900: ERROR/AndroidRuntime(4287): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2140)
12-08 14:30:55.900: ERROR/AndroidRuntime(4287): at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
2156)
12-08 14:30:55.900: ERROR/AndroidRuntime(4287): at
android.app.ActivityThread.access$1800(ActivityThread.java:112)
12-08 14:30:55.900: ERROR/AndroidRuntime(4287): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1580)
12-08 14:30:55.900: ERROR/AndroidRuntime(4287): at
android.os.Handler.dispatchMessage(Handler.java:88)
12-08 14:30:55.900: ERROR/AndroidRuntime(4287): at
android.os.Looper.loop(Looper.java:123)
12-08 14:30:55.900: ERROR/AndroidRuntime(4287): at
android.app.ActivityThread.main(ActivityThread.java:3742)
12-08 14:30:55.900: ERROR/AndroidRuntime(4287): at
java.lang.reflect.Method.invokeNative(Native Method)
12-08 14:30:55.900: ERROR/AndroidRuntime(4287): at
java.lang.reflect.Method.invoke(Method.java:515)
12-08 14:30:55.900: ERROR/AndroidRuntime(4287): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run
(ZygoteInit.java:739)
12-08 14:30:55.900: ERROR/AndroidRuntime(4287): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:497)
12-08 14:30:55.900: ERROR/AndroidRuntime(4287): at
dalvik.system.NativeStart.main(Native Method)
12-08 14:30:55.900: ERROR/AndroidRuntime(4287): Caused by:
java.lang.NullPointerException
12-08 14:30:55.900: ERROR/AndroidRuntime(4287): at
de.xxx.android.Recommendation.onCreate(Recommendation.java:33)
12-08 14:30:55.900: ERROR/AndroidRuntime(4287): at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:
1122)
12-08 14:30:55.900: ERROR/AndroidRuntime(4287): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2103)
12-08 14:30:55.900: ERROR/AndroidRuntime(4287): ... 11 more

---

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



[android-developers] OpenAL

2008-12-08 Thread reillyse

Hi All,
I've been searching for 3D audio support on the Android
platform. I've used openAL on other platforms (IPhone and Linux) but I
can't find any mention of it in the android docs. Is there another way
to do 3d sound on the android platform ? I know openAL is open source
and correct me if I'm wrong but I thought the audio chips in iphone
and G1 were the same, so is there any barrier to using openal on the
android platform  ?


regards,

Sean



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



[android-developers] Innovation on Mobile Applications

2008-12-08 Thread Bala

Hi all,

Around this time last year, Google announced the Android Developer
Challenge. Instead of building one single applications, I was writing
this document , Innovation on Mobile Applications. It opens up a
whole spectrum of opportunities for mobile applications. Please read
this document and let me know your comments.

Here is the url to access this document:
http://www.peopledemocracy.com/innovation/Mobile_Internet.pdf


Thanks
Bala

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



[android-developers] RE:vertical scrollbar +code without using xml file.

2008-12-08 Thread yashoda

Hi.
vertical scrollbar +code without using xml file. using only code.

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



[android-developers] Android Dev Phone - shipping to Canada?

2008-12-08 Thread J Dietrich

So, I signed up for the Market, and then suffered a severe bout of Jaw
Drop when I saw that it was going to cost $264.19 to ship to Canada. I
quickly retreated from purchasing what had been looking like one hell
of an x-mas present for myself.

According to the Help/FAQ, the fee includes applicable customs,
duties, import and country specific other fees. As anyone in Canada
ordering from the US knows, duties and taxes are levied somewhat
arbitrarily - it's not uncommon to receive something with no
additional taxes levied, despite accurate declared value that
technically warrants it. Even when they are levied, they are charged
through to the party receiving the shipment, and it's hard to see how
they could ever come in so high as to approach this up-front cost -
higher than *every* other country on the list.

Phone: 399.00 USD = 499.63 CAD
Shipping: 264.19 USD = 331.19 CAD (66% of the cost of the device!)
Total: 830.82 CAD :(

No regrets about joining the Market, as I am going to develop on this
platform in any case. I'm just disappointed that I won't be dabbling
with real hardware over the holidays, and I know other developers here
who are in the same boat - all willing to lay out the price of the
phone, but not about to pay 66% on top for shipping.

Can someone please take a stab at breaking down or otherwise
rationalizing this number, helping me (and other Canucks scratching
their heads and/or already being preyed upon by eBay sellers) to
understand this? For $18.99, I could have this next-day shipped to a
location in NY state a mere 5km away. Why are these heavy additional
charges rolled into the shipping cost, and why are the extra charges
for Canada so high relative to all other countries?

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



[android-developers] Re: Android Dev Phone 1 + Shipping to Germany

2008-12-08 Thread Eugene Andres

I just tried to buy one Android Dev Phone for Spain, but when checking
out it wanted to charge me $170 shipping (UPS Innovations (Tracking) -
$170.14) with no alternative shipping method. I cancelled it, of
course. What kind of shipping could be *that* expensive? It's just
unacceptable for something that can weigh maybe 1KG at most. Not even
with insurance and any kind of special delivery could it be that
much.

Maybe I should stop building apps and start a shipping business :-)

On Dec 8, 12:52 am, Christine [EMAIL PROTECTED] wrote:
 In my experience, it depends on what Google puts in the shipping
 papers, what UPS tells the people at Customs and the mood of the
 people at Customs. Sometimes you pay nothing, sometimes you pay taxes
 of various kinds. I suggest Google should write free sample, $399
 administrative cost.

 :-)

 On Dec 7, 6:53 pm, Justin (Google Employee) [EMAIL PROTECTED] wrote:



  Any appropriate customs duties and taxes will be added on top of the
  $399 purchase price. You are correct, that this can add a substantial
  the base price. However, it should not add any hassle. Is there some
  specific difficulty you're referring to?

  Cheers,
  Justin
  Android Team @ Google

  On Dec 6, 2:13 am, Marc Seeger [EMAIL PROTECTED] wrote:

   Hi,
   I'm really interested in the possibility of buying a Android Dev
   Phone 1  (--http://code.google.com/android/dev-devices.html), the
   only question I have concerns the shipping.
   According to the site, it will be (?is?) available for order in
   Germany, I can't find any information about the details though.
   The price seems fair, but adding VAT + Import Taxes would add a BIG
   amount of money to the final number (and a lot of hassle).

   Does Google ship all of its devices from the US or are devices for
   European Devs shipped from inside the EU?- Hide quoted text -

 - Show quoted text -

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



[android-developers] G1 Developer Version UMTS Band / Frequencies?

2008-12-08 Thread Varjohaltia

I've been trying to find the technical specifications of the G1
developer version, to no avail. Is the hardware the same as the T-
Mobile G1, i.e. UMTS band IV only, i.e. no 3G with anyone but T-
Mobile? Will there be a version that also has bands I or II?

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



[android-developers] Re: Astronomical Android Dev Phone 1 shipping free

2008-12-08 Thread J Dietrich

I had created a new post some hours ago about the Canadian shipping
costs (which are the highest for some reason), but it appears to have
been eaten by /dev/null... I'll repost here, with apologies if the
thread was created and I'm just not seeing it:

According to the Help/FAQ, the fee includes applicable customs,
duties, import and country specific other fees. As anyone in Canada
ordering from the US knows, duties and taxes are levied somewhat
arbitrarily - it's not uncommon to receive something with no
additional taxes levied, despite accurate declared value that
technically warrants it. Even when they are levied, they are charged
through to the party receiving the shipment, and it's hard to see how
they could ever come in so high as to approach this up-front cost -
higher than *every* other country on the list:

Phone: 399.00 USD = 499.63 CAD
Shipping: 264.19 USD = 331.19 CAD (66% of the cost of the device!)
Total: 830.82 CAD :(

No regrets about joining the Market, as I am going to develop on this
platform in any case. I'm just disappointed that I won't be dabbling
with real hardware over the holidays, and I know other developers here
who are in the same boat - all willing to lay out the price of the
phone, but not about to pay 66% on top for shipping.

Can someone please take a stab at breaking down or otherwise
rationalizing this number, helping me (and other Canucks scratching
their heads and/or already being preyed upon by eBay sellers) to
understand this? For $18.99, I could have this next-day shipped to a
location in NY state a mere 5km away. Why are these heavy additional
charges rolled into the shipping cost, and why are the extra charges
for Canada so high relative to all other countries?


On Dec 8, 10:14 am, Mark Murphy [EMAIL PROTECTED] wrote:
 elDoudou wrote:
  Just wanted to react over the now available Android Dev Phone 1
  device, which is available at $399. A very good news, if you omit the
  $183,81 shipping fee (at least from France), resulting from what is
  named UPS Innovations.

 The shipping fee apparently also covers import duties and the like.

 --
 Mark Murphy (a Commons Guy)http://commonsware.com
 _The Busy Coder's Guide to Android Development_ Version 1.9 Available!

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



[android-developers] G1 and PS3 question

2008-12-08 Thread Ryan

I plan on putting 4-6 gigs of music on my G1.  I then want to stream
that music using bluetooth or wi-fi to my stereo system.  I figured
the best way to do this would be to use the bluetooth/ wi-fi abilities
of the PS3.  The idea is to control the music heard throughout the
house using the G1.  I can see that it's possible.  But, my question
is does an application(s) or software exist to make this happen?
Thanks and cheers, Ryan

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



[android-developers] How to track the changes in the EditField

2008-12-08 Thread selva

Hi,

How can i track the text chage in the Edit filed .


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



[android-developers] Android Dev Phone 1 Specification

2008-12-08 Thread focuser

Is the hardware of this phone Android Dev Phone 1 identical to T-
Mobile G1 except it's
fully unlocked?

I couldn't find GPS, compass, and Motion Sensor in the hardware
specification published on the Android Market site.  Just wondering if
this
information is actually accurate.


Hardware Features

* Touch screen
* Trackball
* 3.2 Megapixel camera with auto focus
* Wi-Fi
* Bluetooth v2.0
  o Handsfree profile v1.5
  o Headset profile v1.0
* 3G WCDMA (1700/2100 MHz)
* Quad-band GSM (850/900/1800/1900 MHz)
* QWERTY slider keyboard
* Includes 1GB MicroSD card (Can be replaced with up to 16GB card)
* Included in the box
  o HTC Android Dev Phone 1
  o USB Cable
  o AC Adapter (with US plug)
  o Stereo Hands-Free Headset
  o Battery
  o Getting Starting Guide
  o 1G Micro SD Card (inserted into Device)


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



[android-developers] How to configure android emulator disk space?

2008-12-08 Thread chunkai.hw...@gmail.com

Hi,

I want to compile a native c++ program with gnueabi-g++ running on
android emplator,
but it was failed to copy the runtime c++ library to android emulator
due to not enough disk space of emulator.How to set the emulator disk
space,or I have to compile a android image with the source?
Thanks for any help.

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



[android-developers] Want a dialog

2008-12-08 Thread M.Manjunatha

Hi Folks,

I am writing a app on android. I want a dialog to be displayed at the
bottom of the screen which will contain some buttons.

May I know which class i should use to write this dialog.

Can i use showDialog()? if yes, how can i make it display at the
bottom of the screen?

Regards,
Manju

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



[android-developers] How to track the selected item in spinner control

2008-12-08 Thread selva

Hi,

Which event i need to listen to track the selected or selection change
event in a spinner control.



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



[android-developers] Shipping a European dev phone to the US?

2008-12-08 Thread Jiri

I'm interested in buying the Android Dev Phone 1, which I'd mainly use
in Finland and elsewhere in Europe. This means that I'd need to get
the version that uses the Finnish GSM and UMTS band, and of course
comes with a 230V charger.

I'll be visiting the US over the holidays, so it'd be very convenient
(read: probably faster and cheaper) for me to get the phone shipped to
a friend's place and pick it up from there. So my question is, is it
possible to get the European version of the phone shipped to an US
address?

Thanks,

-Jiri

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



[android-developers] Developer Phone... Upgrade?

2008-12-08 Thread Netherside

I purchased my phone for full price just prior to the developer phone
announcement, and I was very disappointed on missing out on that.  I
am wondering if it will be possible to upgrade through Google.  I
understand the liability with TMobile, but I would be willing to sign
a developer agreement voiding their warranty service, As I did when I
was a developer for Danger.  Thank you.

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



[android-developers] Re: Android Dev Phone 1 + Shipping to Germany

2008-12-08 Thread [EMAIL PROTECTED]

The only shiping available to germany seams to be dhl for 178$, thats
a lot.

On 8 Dez., 00:52, Christine [EMAIL PROTECTED] wrote:
 In my experience, it depends on what Google puts in the shipping
 papers, what UPS tells the people at Customs and the mood of the
 people at Customs. Sometimes you pay nothing, sometimes you pay taxes
 of various kinds. I suggest Google should write free sample, $399
 administrative cost.

 :-)

 On Dec 7, 6:53 pm, Justin (Google Employee) [EMAIL PROTECTED] wrote:

  Any appropriate customs duties and taxes will be added on top of the
  $399 purchase price. You are correct, that this can add a substantial
  the base price. However, it should not add any hassle. Is there some
  specific difficulty you're referring to?

  Cheers,
  Justin
  Android Team @ Google

  On Dec 6, 2:13 am, Marc Seeger [EMAIL PROTECTED] wrote:

   Hi,
   I'm really interested in the possibility of buying a Android Dev
   Phone 1  (--http://code.google.com/android/dev-devices.html), the
   only question I have concerns the shipping.
   According to the site, it will be (?is?) available for order in
   Germany, I can't find any information about the details though.
   The price seems fair, but adding VAT + Import Taxes would add a BIG
   amount of money to the final number (and a lot of hassle).

   Does Google ship all of its devices from the US or are devices for
   European Devs shipped from inside the EU?

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



[android-developers] Android Mobile Applications Developer - Richmond, VA

2008-12-08 Thread [EMAIL PROTECTED]

Salary + 10-15% bonus (level and performance dependent)

We are currently recruiting software developers with experience in
programming for mobile devices. The successful candidate will join the
device development team and get a unique opportunity to shape the
future of T-Mobile’s device portfolio.

Major areas of responsibility include the following:

Rapid prototyping of mobile applications in cooperation with marketing
and product development teams
Development of User Interfaces for mobile devices
Development of client software for messaging and web based
applications
Application pretesting, porting and integration in extensive
collaboration and interaction with other development teams such as UI
designers, mobile requirements SMEs, software vendors, and handset
OEMs
Cooperation with Hardware teams regarding software porting and
testing
Scouting of mobile applications market in the search of new innovative
applications, software concepts and mobile technologies
Passion for improving and perfecting mobile devices and mobile
services
Qualifications:
5 plus years experience in mobile Java programming (a must have),
experience in programming for Android a plus
Experience in managing or participating in open source software
development projects
Familiarity with Flash Flash/Light, Windows Mobile, Symbian
Knowledge of Mobile Internet Standardisation. OMA, IETF  3GPP.
Knowledge of development life cycle management and tools (version
control, documentation)
Familiarity with software architecture (embedded or open OS) for
mobile and consumer electronics devices
Familiarity with client server technologies and mobile networks: EDGE,
UMTS, SMS, MMS, IMS, location, SynchML, presence
Ability to work cross-functionally in a fast-paced and constantly
changing work environment.
Effective written and verbal communication and presentation skills.
MS or BS in Telecommunications Engineering, EE, Computer Science, or
equivalent experience
Proven ability to lead a team a plus

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



[android-developers] Re: OpenAL

2008-12-08 Thread Dave Sparks

Android does not have support for OpenAL at this time. The G1 and
iPhone chipsets are not the same, and even if they were, the software
stacks are different.

On Dec 8, 8:15 am, reillyse [EMAIL PROTECTED] wrote:
 Hi All,
 I've been searching for 3D audio support on the Android
 platform. I've used openAL on other platforms (IPhone and Linux) but I
 can't find any mention of it in the android docs. Is there another way
 to do 3d sound on the android platform ? I know openAL is open source
 and correct me if I'm wrong but I thought the audio chips in iphone
 and G1 were the same, so is there any barrier to using openal on the
 android platform  ?

 regards,

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



[android-developers] ConnectivityManager with the emulator

2008-12-08 Thread nimbus83

Hello,

I want to implement with the emulator an application that receives
information when the network connection is connected or disconnected.
How can I register a receiver that gets the changes in the network
connection?

I have tried this:

public class ConnectionChangeReceiver extends BroadcastReceiver {

@Override
public void onReceive(Context context, Intent intent) {
ConnectivityManager connectivityManager =
(ConnectivityManager)
context.getSystemService(Context.CONNECTIVITY_SERVICE);
NetworkInfo activeNetInfo = 
connectivityManager.getActiveNetworkInfo
();
NetworkInfo mobNetInfo = 
connectivityManager.getNetworkInfo
(ConnectivityManager.TYPE_MOBILE);
}
}

IntentFilter intentFilter = new IntentFilter();
registerReceiver(new 
ConnectionChangeReceiver(), intentFilter);

What should be the input of the filter so that the ConnectivityManager
sends information to my receiver?

And one more question.

I have done some tests with the emulator with the following code:

ConnectivityManager connManager = (ConnectivityManager)
getSystemService(Context.CONNECTIVITY_SERVICE);
NetworkInfo activeNetworkInfo = connManager.getActiveNetworkInfo();

I get the information that the MOBILE network type is available and
its state is CONNECTED. If I disable the local area connection on my
PC I get the same information. How can make the network information
change? How can I disable/enable the connection for simulations?

Thank you in advance.

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



[android-developers] Re: audio recording issues

2008-12-08 Thread Dave Sparks

I can only tell you that the feature is done. The timing of when you
see a device in the field that supports it is up to the deployment
manager.

It's important to remember that Android is a platform, and just
because the platform advances doesn't necessarily mean that all
devices are advancing in lockstep. Each deployment manager will make
choices based on their own business case. For example, the G1 has
different deployments based on region.

On Dec 8, 6:49 am, Dorn Hetzel [EMAIL PROTECTED] wrote:
 While I am sure any forward looking statement will need to be taken
 with a grain of salt, perhaps you could alleviate many of our concerns
 with some clue as to the timeframe in which we might expect relief on
 this front.  If we knew that in a month or two we could look forward
 to at least rudimentary real-time audio we could quit expending energy
 on trying to scheme a workaround and just delay our application plans.
  If it's going to be a lot longer than that, we can make appropriate
 decisions as well.  Leaving us knowing nothing doesn't really engender
 confidence.  Some sort of roadmap with approximate dates would help a
 lot!

 Regards,

 Dorn Hetzel

 On Fri, Dec 5, 2008 at 12:12 AM, Dave Sparks [EMAIL PROTECTED] wrote:

  The reason this isn't in 1.0 is because we didn't want to ship a half-
  baked API. We have a solution coming soon in the form of a flexible
  base layer that supports push and pull models. For example, we have
  built an InputStream object on top of it that we will offer as sample
  code.

  In the future, this development will be taking place in the open
  source repo so we can have a real-time dialog about the code as it is
  developed. In the meantime, we are working hard to get the code that
  has been in development since we forked the 1.0 branch moved into the
  open source repo as soon as possible.

  On Dec 4, 6:40 pm, MichaelEGR [EMAIL PROTECTED] wrote:
  On Dec 2, 5:22 am, Dorn Hetzel [EMAIL PROTECTED] wrote:

   Maybe we need to start another mailing list for unrequited android
   realtimeaudio:)

  I'm all for focused discussion on this topic as it crosses between
  native concerns and public APIs via the SDK. In my longer original
  post I mentioned that it would be appropriate to evaluate how to not
  only getting something workable on the G1, but keep in mind that
  Android can/will be used in the future conceivably beyond smart phones
  in devices/hardware that may support expanded audio I/O options. I
  favor PortAudio (www.portaudio.com) for the task as it can provide a
  workable real time audio API for desktop Java and Android audio
  development/porting to other hardware configurations. It is also low
  level enough to say even implement javax.sound on top of it for those
  interested in that particular API. More discussion is welcome
  especially in understanding unspecified work being done for the next
  SDK release.

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



[android-developers] Re: Android Dev Phone 1 Specification

2008-12-08 Thread szeldon

Damn, great question. I assumed that this device is exactly the same
as T-Mobile's G1 except from the fact that this is unlocked. I've
already ordered this phone and now I'm a little confused.

On Dec 8, 1:35 am, focuser [EMAIL PROTECTED] wrote:
 Is the hardware of this phone Android Dev Phone 1 identical to T-
 Mobile G1 except it's
 fully unlocked?

 I couldn't find GPS, compass, and Motion Sensor in the hardware
 specification published on the Android Market site.  Just wondering if
 this
 information is actually accurate.

 Hardware Features

     * Touch screen
     * Trackball
     * 3.2 Megapixel camera with auto focus
     * Wi-Fi
     * Bluetooth v2.0
           o Handsfree profile v1.5
           o Headset profile v1.0
     * 3G WCDMA (1700/2100 MHz)
     * Quad-band GSM (850/900/1800/1900 MHz)
     * QWERTY slider keyboard
     * Includes 1GB MicroSD card (Can be replaced with up to 16GB card)
     * Included in the box
           o HTC Android Dev Phone 1
           o USB Cable
           o AC Adapter (with US plug)
           o Stereo Hands-Free Headset
           o Battery
           o Getting Starting Guide
           o 1G Micro SD Card (inserted into Device)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Android Dev Phone 1 Specification

2008-12-08 Thread Justin (Google Employee)

 I couldn't find GPS, compass, and Motion Sensor in the hardware
 specification published on the Android Market site.

These hardware features are part of the Android Dev Phone 1. They're
present, but not listed in the features. It would be pretty silly to
provide a developer device, and then not include some of the most used
hardware.

Cheers,
Justin
Android Team @ Google

On Dec 7, 4:35 pm, focuser [EMAIL PROTECTED] wrote:
 Is the hardware of this phone Android Dev Phone 1 identical to T-
 Mobile G1 except it's
 fully unlocked?

 I couldn't find GPS, compass, and Motion Sensor in the hardware
 specification published on the Android Market site.  Just wondering if
 this
 information is actually accurate.

 Hardware Features

     * Touch screen
     * Trackball
     * 3.2 Megapixel camera with auto focus
     * Wi-Fi
     * Bluetooth v2.0
           o Handsfree profile v1.5
           o Headset profile v1.0
     * 3G WCDMA (1700/2100 MHz)
     * Quad-band GSM (850/900/1800/1900 MHz)
     * QWERTY slider keyboard
     * Includes 1GB MicroSD card (Can be replaced with up to 16GB card)
     * Included in the box
           o HTC Android Dev Phone 1
           o USB Cable
           o AC Adapter (with US plug)
           o Stereo Hands-Free Headset
           o Battery
           o Getting Starting Guide
           o 1G Micro SD Card (inserted into Device)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Creating a TabHost with Tabs containing Activities WITHOUT extending TabActivity

2008-12-08 Thread mscwd01

I need a way to create a TabHost which has an intent as the tabs
content, e.g:

TabHost tabs = (TabHost)findViewById(R.id.tabhost);
tabs.setup();
TabSpec spec1 = tabs.newTabSpec(TabOne);
spec1.setIndicator(Tab One, this.getResources().getDrawable
(R.drawable.tab_icon));
spec1.setContent(new Intent(this, MyTabClass.class));
tabs.addTab(spec1);

Without extending TabActivity.

I am currently extending MapActivity, which I cannot change as it is
needed. Therefore, I currently get the following error at runtime,
when the tab is clicked:
java.lang.IllegalStateException: Did you forget to call 'public void
setup(LocalActivityManager activityGroup)'?

Is there a way to call setup(LocalActivityManager activityGroup)
WITHOUT extending TabActivity?

Please say there is ;)

Thanks


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



[android-developers] Re: How to configure android emulator disk space?

2008-12-08 Thread David Turner
disk space is not configurable at the moment. the partition sizes reflect
the ones on the G1.
we may add a feature to allow arbitrary partition sizes in the future, but
for now, you will have
to hack the emulator sources to do that (search for 0x420 in
android_main.c).

as for anything built with gnueabi, chances are that it will not work at
all,
*unless* you build a totally static executable (i.e. one that doesn't even
link dynamically
to the Android C library), given that it is not compatible with the Android
ABI.

On Mon, Dec 8, 2008 at 7:25 AM, [EMAIL PROTECTED] [EMAIL PROTECTED]
 wrote:


 Hi,

 I want to compile a native c++ program with gnueabi-g++ running on
 android emplator,
 but it was failed to copy the runtime c++ library to android emulator
 due to not enough disk space of emulator.How to set the emulator disk
 space,or I have to compile a android image with the source?
 Thanks for any help.

 


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



[android-developers] Re: Shipping a European dev phone to the US?

2008-12-08 Thread Justin (Google Employee)

The charger that ships with the Dev Phone 1 works from 100-240V, so it
supports European voltages, but you may need a plug adapter to
physically adapt the plug.

Additionally, if it doesn't come with one, you can just buy a USB-
miniUSB cable and charge your phone from your computer (this is what
I often do).

Cheers,
Justin
Android Team @ Google

On Dec 8, 1:32 am, Jiri [EMAIL PROTECTED] wrote:
 I'm interested in buying the Android Dev Phone 1, which I'd mainly use
 in Finland and elsewhere in Europe. This means that I'd need to get
 the version that uses the Finnish GSM and UMTS band, and of course
 comes with a 230V charger.

 I'll be visiting the US over the holidays, so it'd be very convenient
 (read: probably faster and cheaper) for me to get the phone shipped to
 a friend's place and pick it up from there. So my question is, is it
 possible to get the European version of the phone shipped to an US
 address?

 Thanks,

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



[android-developers] Re: Android Dev Phone 1 + Shipping to Germany

2008-12-08 Thread szeldon

When logged to an Android Market, see this for details:

http://android.brightstarcorp.com/help.php

This contains information as follows:

Outside the US
For Orders shipping outside the US, shipping pricing includes cost of
shipping service and the applicable customs, duties, import and
country specific other fees.

So this price is not only for a package. This wasn't obvious, at least
for me.

On Dec 8, 9:02 am, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
 The only shiping available to germany seams to be dhl for 178$, thats
 a lot.

 On 8 Dez., 00:52, Christine [EMAIL PROTECTED] wrote:

  In my experience, it depends on what Google puts in the shipping
  papers, what UPS tells the people at Customs and the mood of the
  people at Customs. Sometimes you pay nothing, sometimes you pay taxes
  of various kinds. I suggest Google should write free sample, $399
  administrative cost.

  :-)

  On Dec 7, 6:53 pm, Justin (Google Employee) [EMAIL PROTECTED] wrote:

   Any appropriate customs duties and taxes will be added on top of the
   $399 purchase price. You are correct, that this can add a substantial
   the base price. However, it should not add any hassle. Is there some
   specific difficulty you're referring to?

   Cheers,
   Justin
   Android Team @ Google

   On Dec 6, 2:13 am, Marc Seeger [EMAIL PROTECTED] wrote:

Hi,
I'm really interested in the possibility of buying a Android Dev
Phone 1  (--http://code.google.com/android/dev-devices.html), the
only question I have concerns the shipping.
According to the site, it will be (?is?) available for order in
Germany, I can't find any information about the details though.
The price seems fair, but adding VAT + Import Taxes would add a BIG
amount of money to the final number (and a lot of hassle).

Does Google ship all of its devices from the US or are devices for
European Devs shipped from inside the EU?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Eclipse problem viewing threads on emulator

2008-12-08 Thread Greg

Hi All,

In Eclipse there is an android Threads view which, I assume, will
allow me to monitor the threads I am creating.  However, the view
simply comes up and says 'Thread updates not enabled for selected
client (use toolbar button to enable)'.

I see no toolbar button that has anything to do with this and googling
for this message came up with nada.   I also see nothing regarding
threads in the android run configuration for the project.  Can anyone
point me in the right direction here for what I need to do to actually
enable this view?

Thanks,

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



[android-developers] Re: Android Dev Phone - shipping to Canada?

2008-12-08 Thread Justin (Google Employee)

 Even when they are levied, they are charged
 through to the party receiving the shipment,

Not in this case. In this case the duties and taxes have been charged
to the shipper, which is why the cost of shipping *and handling* is
much more than just the shipping cost.

As to the amount, I'm not a lawyer or a customs specialist. Therefore,
I assume the costs vary by country according to the laws of that
country. While it is true that sometimes duties are not assessed
depending on how shipments are labeled, it doesn't mean that legally
they shouldn't be.

Cheers,
Justin
Android Team @ Google

On Dec 8, 4:30 am, J Dietrich [EMAIL PROTECTED] wrote:
 So, I signed up for the Market, and then suffered a severe bout of Jaw
 Drop when I saw that it was going to cost $264.19 to ship to Canada. I
 quickly retreated from purchasing what had been looking like one hell
 of an x-mas present for myself.

 According to the Help/FAQ, the fee includes applicable customs,
 duties, import and country specific other fees. As anyone in Canada
 ordering from the US knows, duties and taxes are levied somewhat
 arbitrarily - it's not uncommon to receive something with no
 additional taxes levied, despite accurate declared value that
 technically warrants it. Even when they are levied, they are charged
 through to the party receiving the shipment, and it's hard to see how
 they could ever come in so high as to approach this up-front cost -
 higher than *every* other country on the list.

 Phone: 399.00 USD = 499.63 CAD
 Shipping: 264.19 USD = 331.19 CAD (66% of the cost of the device!)
 Total: 830.82 CAD :(

 No regrets about joining the Market, as I am going to develop on this
 platform in any case. I'm just disappointed that I won't be dabbling
 with real hardware over the holidays, and I know other developers here
 who are in the same boat - all willing to lay out the price of the
 phone, but not about to pay 66% on top for shipping.

 Can someone please take a stab at breaking down or otherwise
 rationalizing this number, helping me (and other Canucks scratching
 their heads and/or already being preyed upon by eBay sellers) to
 understand this? For $18.99, I could have this next-day shipped to a
 location in NY state a mere 5km away. Why are these heavy additional
 charges rolled into the shipping cost, and why are the extra charges
 for Canada so high relative to all other countries?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Logcat timestamps?

2008-12-08 Thread Ward Willats

I see when ddms shows a log the entires are timestamped.

Is there a way to get adb logcat to timestamp entries?

-- Ward

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



[android-developers] Re: Astronomical Android Dev Phone 1 shipping free

2008-12-08 Thread Brian Manning

On Mon, Dec 8, 2008 at 7:18 AM, J Dietrich [EMAIL PROTECTED] wrote:
 Can someone please take a stab at breaking down or otherwise
 rationalizing this number, helping me (and other Canucks scratching
 their heads and/or already being preyed upon by eBay sellers) to
 understand this? For $18.99, I could have this next-day shipped to a
 location in NY state a mere 5km away. Why are these heavy additional
 charges rolled into the shipping cost, and why are the extra charges
 for Canada so high relative to all other countries?

Customs Canada is *very* hungry and the Tim Hortons down the street is
open 24 hours a day, eh?

Enjoy,

Brian

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



[android-developers] Re: ConnectivityManager with the emulator

2008-12-08 Thread nimbus83

Thank you David!

In the meantime I found the right action for the IntentFilter. It is
android.net.conn.CONNECTIVITY_CHANGE.


On 8 Dez., 18:58, David Turner [EMAIL PROTECTED] wrote:
 pressing F8 will toggle the emulator network on/off.

 On Mon, Dec 8, 2008 at 9:09 AM, nimbus83 [EMAIL PROTECTED] wrote:

  Hello,

  I want to implement with the emulator an application that receives
  information when the network connection is connected or disconnected.
  How can I register a receiver that gets the changes in the network
  connection?

  I have tried this:

         public class ConnectionChangeReceiver extends BroadcastReceiver {

                [EMAIL PROTECTED]
                 public void onReceive(Context context, Intent intent) {
                         ConnectivityManager connectivityManager =
  (ConnectivityManager)
  context.getSystemService(Context.CONNECTIVITY_SERVICE);
                         NetworkInfo activeNetInfo =
  connectivityManager.getActiveNetworkInfo
  ();
                         NetworkInfo mobNetInfo =
  connectivityManager.getNetworkInfo
  (ConnectivityManager.TYPE_MOBILE);
                 }
         }

                                 IntentFilter intentFilter = new
  IntentFilter();
                                 registerReceiver(new
  ConnectionChangeReceiver(), intentFilter);

  What should be the input of the filter so that the ConnectivityManager
  sends information to my receiver?

  And one more question.

  I have done some tests with the emulator with the following code:

  ConnectivityManager connManager = (ConnectivityManager)
  getSystemService(Context.CONNECTIVITY_SERVICE);
  NetworkInfo activeNetworkInfo = connManager.getActiveNetworkInfo();

  I get the information that the MOBILE network type is available and
  its state is CONNECTED. If I disable the local area connection on my
  PC I get the same information. How can make the network information
  change? How can I disable/enable the connection for simulations?

  Thank you in advance.

  Best wishes!


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



[android-developers] Any way to reject a call programmatically

2008-12-08 Thread Jay-andro

Is there any direct (or convoluted) way to reject an incoming call,
i.e. send it directly to voicemail. Meaning
(a) if a call is coming in and matches certain criteria
(b) send the call to VM, and stop the ringing. (programmatically)
I've got (a) under control but I dont know how to do (b).
Any ideas?
Thanks
Jay
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Android Dev Phone - shipping to Canada?

2008-12-08 Thread Joe Bowser

Brightstar has a history of screwing up International Orders, which
can be found by looking at the history of the One Laptop Per Child's
G1G1 program.  In that case, getting the device was the issue, not the
cost of the shipping.  It took Brightstar almost six months to figure
out how to ship to Canada for cheap, and it seems that they've
promptly forgot how to do that with the astronomical shipping cost for
the Dev Phone.  It shouldn't cost that much to ship it to Canada.

I honestly want to know why Brightstar has so much trouble shipping to
Canada, because every other company that I have ever dealt with hasn't
had a problem shipping across the border.  If we could get some
justification from them, that would be helpful, since every cool
device that I want (either for dev work, or for personal) seems to
inflict their unique brand of pain.

On Dec 8, 10:00 am, Justin (Google Employee) [EMAIL PROTECTED]
wrote:
  Even when they are levied, they are charged
  through to the party receiving the shipment,

 Not in this case. In this case the duties and taxes have been charged
 to the shipper, which is why the cost of shipping *and handling* is
 much more than just the shipping cost.

 As to the amount, I'm not a lawyer or a customs specialist. Therefore,
 I assume the costs vary by country according to the laws of that
 country. While it is true that sometimes duties are not assessed
 depending on how shipments are labeled, it doesn't mean that legally
 they shouldn't be.

 Cheers,
 Justin
 Android Team @ Google

 On Dec 8, 4:30 am, J Dietrich [EMAIL PROTECTED] wrote:

  So, I signed up for the Market, and then suffered a severe bout of Jaw
  Drop when I saw that it was going to cost $264.19 to ship to Canada. I
  quickly retreated from purchasing what had been looking like one hell
  of an x-mas present for myself.

  According to the Help/FAQ, the fee includes applicable customs,
  duties, import and country specific other fees. As anyone in Canada
  ordering from the US knows, duties and taxes are levied somewhat
  arbitrarily - it's not uncommon to receive something with no
  additional taxes levied, despite accurate declared value that
  technically warrants it. Even when they are levied, they are charged
  through to the party receiving the shipment, and it's hard to see how
  they could ever come in so high as to approach this up-front cost -
  higher than *every* other country on the list.

  Phone: 399.00 USD = 499.63 CAD
  Shipping: 264.19 USD = 331.19 CAD (66% of the cost of the device!)
  Total: 830.82 CAD :(

  No regrets about joining the Market, as I am going to develop on this
  platform in any case. I'm just disappointed that I won't be dabbling
  with real hardware over the holidays, and I know other developers here
  who are in the same boat - all willing to lay out the price of the
  phone, but not about to pay 66% on top for shipping.

  Can someone please take a stab at breaking down or otherwise
  rationalizing this number, helping me (and other Canucks scratching
  their heads and/or already being preyed upon by eBay sellers) to
  understand this? For $18.99, I could have this next-day shipped to a
  location in NY state a mere 5km away. Why are these heavy additional
  charges rolled into the shipping cost, and why are the extra charges
  for Canada so high relative to all other countries?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Is there any API for the Messaging notification settings ?

2008-12-08 Thread jarkman

I'm looking for the API for access to the Messaging (SMS/MMS)
notificaiton settings, specifically the ringtone  vibrate settings.

Analogy with the phone would seem to suggest there should be an API,
but I can't find one. What am I missing ?

Thanks,

Richard

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



[android-developers] Suppressing unwanted options in image handler

2008-12-08 Thread Jake Maui
I'm getting a chooser for this even though I don't specify chooser.  I want
this to go directly to the email handler intent and not
even show the MMS option.   Is there a way to suppress this option?

Thanks

   Intent intent = new Intent(Intent.ACTION_SEND);
intent.setType(image/png);
intent.putExtra(Intent.EXTRA_STREAM, photoUri);
startActivity(intent);

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



[android-developers] Re: Android Dev Phone - shipping to Canada?

2008-12-08 Thread J Dietrich

I've spoken with Canada Customs and had it confirmed that a phone w/
$399USD value would incur a max of $64 in taxes (PST+GST) at current
exchange rates. Being manufactured outside of NAFTA zones, it is
possibly subject to duties of 6% (about $30), though I was just
explicitly told by someone at customs that this is rarely applied,
esp. for gear like cel phones. I'm pretty sure that it is not illegal
when it doesn't get applied, but IANAL either. UPS charges a brokerage
fee of $51 for $500+ value.

Allow for $20 of other misc charges, and go as high as $15 on the
exchange spread for the CC/bank. You've still got $180 CAD here in
what I think it's safe to call worst case, and that's a far cry from
the $330+ CAD being charged.

I will more than likely ship to the US and get it over here myself -
which will likely only cost me a lunch break and an extra $64 (taxes).
But the hassle, and the lack of a real explanation for the incredibly
high extra fee makes me think twice -- not a great first experience on
what I hope will be a fun and productive ride with this platform.
Loads of US companies have no problems shipping to Canada without
incurring these kind of costs - I'm really disappointed that Google/
Brightstar managed to get it so wrong. Why does Google hate Canada? ;)


On Dec 8, 1:00 pm, Justin (Google Employee) [EMAIL PROTECTED] wrote:
  Even when they are levied, they are charged
  through to the party receiving the shipment,

 Not in this case. In this case the duties and taxes have been charged
 to the shipper, which is why the cost of shipping *and handling* is
 much more than just the shipping cost.

 As to the amount, I'm not a lawyer or a customs specialist. Therefore,
 I assume the costs vary by country according to the laws of that
 country. While it is true that sometimes duties are not assessed
 depending on how shipments are labeled, it doesn't mean that legally
 they shouldn't be.

 Cheers,
 Justin
 Android Team @ Google

 On Dec 8, 4:30 am, J Dietrich [EMAIL PROTECTED] wrote:

  So, I signed up for the Market, and then suffered a severe bout of Jaw
  Drop when I saw that it was going to cost $264.19 to ship to Canada. I
  quickly retreated from purchasing what had been looking like one hell
  of an x-mas present for myself.

  According to the Help/FAQ, the fee includes applicable customs,
  duties, import and country specific other fees. As anyone in Canada
  ordering from the US knows, duties and taxes are levied somewhat
  arbitrarily - it's not uncommon to receive something with no
  additional taxes levied, despite accurate declared value that
  technically warrants it. Even when they are levied, they are charged
  through to the party receiving the shipment, and it's hard to see how
  they could ever come in so high as to approach this up-front cost -
  higher than *every* other country on the list.

  Phone: 399.00 USD = 499.63 CAD
  Shipping: 264.19 USD = 331.19 CAD (66% of the cost of the device!)
  Total: 830.82 CAD :(

  No regrets about joining the Market, as I am going to develop on this
  platform in any case. I'm just disappointed that I won't be dabbling
  with real hardware over the holidays, and I know other developers here
  who are in the same boat - all willing to lay out the price of the
  phone, but not about to pay 66% on top for shipping.

  Can someone please take a stab at breaking down or otherwise
  rationalizing this number, helping me (and other Canucks scratching
  their heads and/or already being preyed upon by eBay sellers) to
  understand this? For $18.99, I could have this next-day shipped to a
  location in NY state a mere 5km away. Why are these heavy additional
  charges rolled into the shipping cost, and why are the extra charges
  for Canada so high relative to all other countries?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Android Dev Phone - shipping to Canada?

2008-12-08 Thread Al Sutton

Why not start a buddy programme... you team up with a buddy in the US, 
get the device shipped to their house, and then collect it from them and 
buy them a thankyou gift. It's got to be cheaper than Brightstars PP + 
Taxes

Al.


Joe Bowser wrote:
 Brightstar has a history of screwing up International Orders, which
 can be found by looking at the history of the One Laptop Per Child's
 G1G1 program.  In that case, getting the device was the issue, not the
 cost of the shipping.  It took Brightstar almost six months to figure
 out how to ship to Canada for cheap, and it seems that they've
 promptly forgot how to do that with the astronomical shipping cost for
 the Dev Phone.  It shouldn't cost that much to ship it to Canada.

 I honestly want to know why Brightstar has so much trouble shipping to
 Canada, because every other company that I have ever dealt with hasn't
 had a problem shipping across the border.  If we could get some
 justification from them, that would be helpful, since every cool
 device that I want (either for dev work, or for personal) seems to
 inflict their unique brand of pain.

 On Dec 8, 10:00 am, Justin (Google Employee) [EMAIL PROTECTED]
 wrote:
   
 Even when they are levied, they are charged
 through to the party receiving the shipment,
   
 Not in this case. In this case the duties and taxes have been charged
 to the shipper, which is why the cost of shipping *and handling* is
 much more than just the shipping cost.

 As to the amount, I'm not a lawyer or a customs specialist. Therefore,
 I assume the costs vary by country according to the laws of that
 country. While it is true that sometimes duties are not assessed
 depending on how shipments are labeled, it doesn't mean that legally
 they shouldn't be.

 Cheers,
 Justin
 Android Team @ Google

 On Dec 8, 4:30 am, J Dietrich [EMAIL PROTECTED] wrote:

 
 So, I signed up for the Market, and then suffered a severe bout of Jaw
 Drop when I saw that it was going to cost $264.19 to ship to Canada. I
 quickly retreated from purchasing what had been looking like one hell
 of an x-mas present for myself.
   
 According to the Help/FAQ, the fee includes applicable customs,
 duties, import and country specific other fees. As anyone in Canada
 ordering from the US knows, duties and taxes are levied somewhat
 arbitrarily - it's not uncommon to receive something with no
 additional taxes levied, despite accurate declared value that
 technically warrants it. Even when they are levied, they are charged
 through to the party receiving the shipment, and it's hard to see how
 they could ever come in so high as to approach this up-front cost -
 higher than *every* other country on the list.
   
 Phone: 399.00 USD = 499.63 CAD
 Shipping: 264.19 USD = 331.19 CAD (66% of the cost of the device!)
 Total: 830.82 CAD :(
   
 No regrets about joining the Market, as I am going to develop on this
 platform in any case. I'm just disappointed that I won't be dabbling
 with real hardware over the holidays, and I know other developers here
 who are in the same boat - all willing to lay out the price of the
 phone, but not about to pay 66% on top for shipping.
   
 Can someone please take a stab at breaking down or otherwise
 rationalizing this number, helping me (and other Canucks scratching
 their heads and/or already being preyed upon by eBay sellers) to
 understand this? For $18.99, I could have this next-day shipped to a
 location in NY state a mere 5km away. Why are these heavy additional
 charges rolled into the shipping cost, and why are the extra charges
 for Canada so high relative to all other countries?
   
 
   


-- 
==
Funky Android Limited is registered in England  Wales with the 
company number  6741909. The registered head office is Kemp House, 
152-160 City Road, London,  EC1V 2NX, UK. 

The views expressed in this email are those of the author and not 
necessarily those of Funky Android Limited, it's associates, or it's 
subsidiaries.


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



[android-developers] Re: G1 and PS3 question

2008-12-08 Thread Xavier Mathews

What does this have to do with android? To answer your question i dont
think that there an applaction for it you will have to do it manualy.

On 12/08/2008, Ryan [EMAIL PROTECTED] wrote:

 I plan on putting 4-6 gigs of music on my G1.  I then want to stream
 that music using bluetooth or wi-fi to my stereo system.  I figured
 the best way to do this would be to use the bluetooth/ wi-fi abilities
 of the PS3.  The idea is to control the music heard throughout the
 house using the G1.  I can see that it's possible.  But, my question
 is does an application(s) or software exist to make this happen?
 Thanks and cheers, Ryan

 



-- 
Xavier A. Mathews
Student/Browser Specialist/Developer/Web-Master
Google Group Client Based Tech Support Specialist
Hazel Crest Illinois
[EMAIL PROTECTED]@[EMAIL PROTECTED]
Fear of a name, only increases fear of the thing itself.

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



[android-developers] Re: New SDK Available

2008-12-08 Thread Josh Roesslein
Adding an one app mandatory submission requirement will only result in a
surge of untested, low quality apps flooding the app store.
I'm sure there will be enough dev phones to go around. If not then its the
good old first come first served. :)

On Mon, Dec 8, 2008 at 9:58 AM, Al Sutton [EMAIL PROTECTED] wrote:


 Egg meet chicken... chicken meet egg... now who was first?

 Al.

 Jean-Baptiste Queru wrote:
  So, you're saying that developers should be forced to release untested
  applications?
 
  JBQ
 
  On Mon, Dec 8, 2008 at 7:43 AM, Teo [EMAIL PROTECTED] wrote:
 
  About the new dev phone, there should probably be one mandatory app
  submission (if there isn't one already) because otherwise there will
  be an avalanche of 'developers' which will affect dev phone supplies
  for future devs, or devs in countries which will be included in the
  program... I hope i'm making sense :)
 
  Thanks,
  Teo
 
  On Dec 8, 5:34 pm, don rhummy [EMAIL PROTECTED] wrote:
 
  Will thephonework with Sprint? Is there anything that can use android
 with Sprint?
 
  --- On Mon, 12/8/08, Dianne Hackborn [EMAIL PROTECTED] wrote:
 
 
  From: Dianne Hackborn [EMAIL PROTECTED]
  Subject: [android-developers] Re: New SDK Available
  To: android-developers@googlegroups.com
  Date: Monday, December 8, 2008, 3:24 AM
  It's the same as the G1.
 
  On Sun, Dec 7, 2008 at 4:04 PM, Christine
  [EMAIL PROTECTED]wrote:
 
  But we don't know whichphoneGoogle will be
 
  shipping. Is it similar
 
  to a US G1 or to a UK G1 which seems to work on a
 
  different 3G
 
  frequency? I guess we'll all know by the end of
 
  the week.
 
  On Dec 7, 11:57 pm, Pierre Bonnefoy
 
  [EMAIL PROTECTED]
 
  wrote:
 
  A SIM is necessary if you want to makephone
 
  calls on a standard cellular
 
  networks (I mean, you can still makephonecalls
 
  on WiFi without a SIM).
 
  2008/12/7 Xavier Mathews
 
  [EMAIL PROTECTED]
 
  I thought that iphone was also an ipod and
 
  has over 10,000 apps what
 
  is the point of a sim?
 
  --
  Dianne Hackborn
  Android framework engineer
  [EMAIL PROTECTED]
 
  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 Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Problem configuring build path

2008-12-08 Thread Aniruddha

Hi.

  I am trying to call one android application from another. Both these
applications are working fine independently. The commands I have given
are:
Intent intent = new Intent();
intent.setClassName(android.sip.simpleclient,
android.sip.simpleclient.SIPclient.class);
startActivity(intent);

  But I am getting the error message stating that
android.sip.simpleclient can't be resolved. I tried the Fix project
setup option but it gave the message No proposals were found. So,
then I tried to manually configure the build path of the project. But
even after adding the target project folder into the Required
projects on the build path, the package needed is not being resolved.

  Please give me some advice regarding this. What am I missing?

Thanks and Regards.
Aniruddha.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: New SDK Available

2008-12-08 Thread Michael

Except the phones that don't support the networks they use.  I.e. the
T-Mobile G1.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Android Market HTTP Links?

2008-12-08 Thread mathiastck

Yes you can:

http://code.google.com/android/devel/sign-publish.html

The Using Intents to Launch the Market Application on a Device
section describes the url pattern.  It also works if these urls are
used on links on pages viewed from and Android phone.  They don't work
if you just type them directly into the browser, they have to be
links, to generate the right intent.

On Dec 7, 9:27 pm, cyntacks [EMAIL PROTECTED] wrote:
 Hi,

 Is it possible to link from a webpage to the Android Market? That
 is, can I place a link on our company website which if clicked from an
 Android mobile device it would automagically open the Android
 Market, bringing the user to that particular app?

 Thanks for the help,

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



[android-developers] Re: New SDK Available

2008-12-08 Thread don rhummy

 Well any phone works with sprint you will just have to pay
 more if it
 is not a sprint phone.

Wait, I thought the phone didn't work with Sprint. Does it?


  

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



[android-developers] Re: New SDK Available

2008-12-08 Thread Xavier Mathews

Well anyone can use the tmobile network i have it on my psp slim.

On 12/08/2008, Michael [EMAIL PROTECTED] wrote:

 Except the phones that don't support the networks they use.  I.e. the
 T-Mobile G1.
 



-- 
Xavier A. Mathews
Student/Browser Specialist/Developer/Web-Master
Google Group Client Based Tech Support Specialist
Hazel Crest Illinois
[EMAIL PROTECTED]@[EMAIL PROTECTED]
Fear of a name, only increases fear of the thing itself.

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



[android-developers] Re: Android Dev Phone 1 + Shipping to Germany

2008-12-08 Thread blindfold

 did anyone who ordered the dev phone receive a upstrackingnumber?

Not yet, but that is supposedly to come later (http://
android.brightstarcorp.com/help.php):

 How can I track my order?
 Once your order ships, you will receive an email with your shipment tracking 
 information.
 With the information provided you will be able to track the status of your 
 shipment via
 the shipping carrier's web site.

On Dec 8, 5:05 pm, walterc [EMAIL PROTECTED] wrote:
 just curious:  did anyone who ordered the dev phone receive a 
 upstrackingnumber?  is there anyway to know the progress of our orders?
 all i received was a email telling me my order was placed and an order
 number which i dont really know what to do with (its not a 
 upstrackingnumber).  any ideas?

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



[android-developers] Re: New SDK Available

2008-12-08 Thread don rhummy

Thanks for the reply.

Sorry to be a pest about this but no where in the Google press release did i 
see anything saying it's only GSM. Where was that specified?


--- On Mon, 12/8/08, Josh Roesslein [EMAIL PROTECTED] wrote:

 From: Josh Roesslein [EMAIL PROTECTED]
 Subject: [android-developers] Re: New SDK Available
 To: android-developers@googlegroups.com
 Date: Monday, December 8, 2008, 2:43 PM
 Sprint uses cdma in most of its coverage areas. Since the g1
 is a GSM phone
 it probably will not work.
 
 On Mon, Dec 8, 2008 at 1:38 PM, don rhummy
 [EMAIL PROTECTED] wrote:
 
 
   Well any phone works with sprint you will just
 have to pay
   more if it
   is not a sprint phone.
 
  Wait, I thought the phone didn't work with Sprint.
 Does it?
 
 
 
 
  
 
 
 

  

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



[android-developers] Re: Problem debugging the application -MediaPlayer

2008-12-08 Thread Dave Sparks

I'm not a Java developer, but this seems like a problem in your
manifest.

On Dec 6, 1:37 pm, sam [EMAIL PROTECTED] wrote:
 I'm on the 1.0 SDK and I'm having the exact same problem... I spent a
 few hours on the forums  googling, but the only suggestion I can find
 is to make sure you call setContentView(...) before you call
 findViewById. I can't seem to get past this -- I can't lookup any of
 my views from onCreate. Posting relevant portion of main activity --
 am I doing anything stupid/wrong here?

 public void onCreate(Bundle savedInstanceState) {
 super.onCreate(savedInstanceState);
 setContentView(R.layout.main);

 Button btn = (Button)this.findViewById(R.id.btn_about);   /*
 RuntimeException here */
 if(btn != null)
 {
 return; /* set a breakpoint here*/
 }
 }

 Thanks

 Sam

 On Nov 19, 11:23 am, [EMAIL PROTECTED]

 [EMAIL PROTECTED] wrote:
  Start by downloading the current SDK 1.0. Then take a look at the
  sample code posted on this forum.

  On Nov 19, 12:29 am, Dagger [EMAIL PROTECTED] wrote:

   Some one help I am using 0.9 SDK

   On Nov 19, 12:58 pm, Dagger [EMAIL PROTECTED] wrote:

I am having the same problem but I am only implementing the Activity
Class which is included in the package by default.
THis is the partial code.

public class ActiveOctave extends Activity implements OnErrorListener,
OnBufferingUpdateListener, OnCompletionListener,
OnPreparedListener, SurfaceHolder.Callback {

private static final String TAG = VideoPlayer;
private MediaPlayer mp;
private SurfaceView mPreview;
private EditText mPath;
private SurfaceHolder holder;
private ImageButton mPlay;
private ImageButton mPause;
private ImageButton mReset;
private ImageButton mStop;
private String current;
/**
 * Called when the activity is first created.
 */
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);

setContentView(R.layout.main);
// Set up the play/pause/reset/stop buttons
mPreview = (SurfaceView) findViewById(R.id.surface);
mPath = (EditText) findViewById(R.id.path);
mPlay = (ImageButton) findViewById(R.id.play);
mPause = (ImageButton) findViewById(R.id.pause);
mReset = (ImageButton) findViewById(R.id.reset);
mStop = (ImageButton) findViewById(R.id.stop);

This is my Debug Stack.
Thread [3 main] (Suspended (exception RuntimeException))
ActivityThread.performLaunchActivity(ActivityThread
$ActivityRecord)
line: 2131
ActivityThread.handleLaunchActivity(ActivityThread
$ActivityRecord)
line: 2147
ActivityThread.access$1800(ActivityThread, ActivityThread
$ActivityRecord) line: 112
ActivityThread$H.handleMessage(Message) line: 1572
ActivityThread$H(Handler).dispatchMessage(Message) line: 88
Looper.loop() line: 123
ActivityThread.main(String[]) line: 3708
Method.invokeNative(Object, Object[], Class, Class[], Class,
int,
boolean) line: not available [native method]
Method.invoke(Object, Object...) line: 492
ZygoteInit$MethodAndArgsCaller.run() line: 734
ZygoteInit.main(String[]) line: 492
NativeStart.main(String[]) line: not available [native method]

Please help what to Do.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: When will we get a Firm Date on app sales

2008-12-08 Thread John Lauricella

I am having trouble making out a development roadmap for my applications in the 
Android Market without any ideas as to when I will be able to sell them.
I realize that the apps now available must remain free, but my decisions on 
feature sets and possible updates are dependent on how long the wait is until I 
can recoup some money.
I have heard early next year. Is that the best estimate?
If there is no date envisioned, is there a recommendation as to where else to 
go to sell Android apps?
thanks,
JJL
_
Send e-mail faster without improving your typing skills.
http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_speed_122008
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: MediaPlayer and onSaveInstanceState?

2008-12-08 Thread ben rosenberg

bump


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



[android-developers] AIDL callback interface from Service to Activity oddity

2008-12-08 Thread DulcetTone

I have 2 activities (call them 1 and 2), Activity 1 includes a
Service.

If the Service tries to make an AIDL call to Activity 1, the call
works fine.

If, however, the Service tries the same AIDL call to Activity 2 (the
remote activity), it never arrives for processing at the remote
activity.  No RemoteException is triggered during the call from the
Service, either.

Is there anything magic I must do to make an AIDL interface work from
a Service to a remote Activity?

It bears mention that the remote Activity is easily making calls by a
separate AIDL interface to the Service.

tone

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



[android-developers] Show images from internal and external content

2008-12-08 Thread fala70

Hi,

I am going crazy to show a few images from Media.INTERNAL_CONTENT_URI
or Media.EXTERNAL_CONTENT_URI.
I need to show a few images from Internal or External memory, using an
Activity similar to ImageSwitcher1.java from ApiDemo.

I know if the image is on Internal or External memory and I know also
the image name. I modified the getView function of ImageSwitcher1.java
so:

public View getView(int position, View convertView, ViewGroup parent)
{
ImageView i = new ImageView(mContext);

try{
cur.moveToPosition(position);
Uri ur=null;

if (cur.getInt(7)==1)
ur = Media.INTERNAL_CONTENT_URI;
else
ur = Media.EXTERNAL_CONTENT_URI;
Uri uri=Uri.withAppendedPath(ur, cur.getString(5));
i.setImageURI(uri);
i.setAdjustViewBounds(true);
i.setLayoutParams(new Gallery.LayoutParams(
LayoutParams.WRAP_CONTENT,
LayoutParams.WRAP_CONTENT));
i.setBackgroundResource(R.drawable.picture_frame);
}
catch(Exception ex){

}
return i;
}


The problem is that is showed correctly only the first image, then
crash. Where can I find a sample that show images from internal and
external content ?

help please.
thanks
Stefano
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Rotate MapView

2008-12-08 Thread David C

Bump  can anyone provide insight here?

Did the MapView onDraw() API change to final at some point? If the
recommended method to rotate a MapView is canvas.rotate() how can that
be achieved if not via onDraw()?

Personally I'd prefer to see the MapView API extended to support
setBearing() or something similar, but nothing like that exists.
sigh

On Dec 7, 11:23 am, David C [EMAIL PROTECTED] wrote:
 A few threads have discussed using canvas.rotate() as a means to
 rotate a MapView. However, onDraw() is declared final for MapView
 and so can't be over-ridden. Is there an alternative way to manipulate
 the MapView canvas than from onDraw()?

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



[android-developers] Re: Resources for Android Wifi Programming

2008-12-08 Thread Doughy

Ok, thanks for your help.

Is it possible to compile/run code from the Eclipse plugin so that the
application runs directly on the device via the USB cable?  Or do I
need to create the file, then navigate to it separately from the
phone?

On Dec 7, 11:23 am, Jean-Baptiste Queru [EMAIL PROTECTED] wrote:
 -The emulator doesn't emulatorwifi, you'll have to use a real device for that.

 -In the current version of Android, you'll find that thewifisupport
 is mostly suitable for infrastructure-based connections (i.e.
 communicating through an access point), not for ad-hoc connections.
 You can just blindly establish network connections, and they'll be
 routed overwifiif that's available, or you can use the
 ConnectivityManagerhttp://code.google.com/android/reference/android/net/ConnectivityMana...
 if you want some finer-grained controls over whenwifiis available.

 JBQ

 On Sat, Dec 6, 2008 at 4:15 PM, Doughy [EMAIL PROTECTED] wrote:

  Does anyone know where I can get some tutorials on developingwifi
  applications for android?  I have some great ideas, but I am
  struggling to find some good introductions to using thewifi
  capabilities in Android.  Furthermore, is it possible to debugwifi
  applications in the emulator.  My emulator is crashing every time I
  try to run something simple.  For example, the application crashes
  when I use:

  TextView rssLabel = (TextView)findViewById(R.id.rssLabel);
  WifiManager wm = (WifiManager)getSystemService(Context.WIFI_SERVICE);
  WifiInfo wfinfo = wm.getConnectionInfo();

  Thanks for your help.


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



[android-developers] Out Of Memory issue

2008-12-08 Thread elephantbug

Hi,

Our application sometimes runs out of memory, especially on the map
view. Below it the exception we got, anyone can give any hint about
what might be the cause? Is there any known issue about MapView?

W/System.err(  193): OutOfMemory
E/MapView (  193): IllegalStateException on drawMap. Wiping cache.
E/MapView (  193): java.lang.IllegalStateException: null image
E/MapView (  193):  at com.google.googlenav.map.MapTile.getImage
(Unknown Source)
E/MapView (  193):  at com.google.googlenav.map.Map.a(Unknown
Source)
E/MapView (  193):  at com.google.googlenav.map.Map.drawMap
(Unknown Source)
E/MapView (  193):  at com.google.android.maps.MapView.drawMap
(MapView.java:996)
E/MapView (  193):  at com.google.android.maps.MapView.onDraw
(MapView.java:442)
E/MapView (  193):  at android.view.View.draw(View.java:5326)
E/MapView (  193):  at android.view.ViewGroup.drawChild
(ViewGroup.java:1420)
E/MapView (  193):  at android.view.ViewGroup.dispatchDraw
(ViewGroup.java:1192)
E/MapView (  193):  at android.view.ViewGroup.drawChild
(ViewGroup.java:1418)
E/MapView (  193):  at android.view.ViewGroup.dispatchDraw
(ViewGroup.java:1192)
E/MapView (  193):  at android.view.ViewGroup.drawChild
(ViewGroup.java:1418)
E/MapView (  193):  at android.view.ViewGroup.dispatchDraw
(ViewGroup.java:1192)
E/MapView (  193):  at android.view.ViewGroup.drawChild
(ViewGroup.java:1418)
E/MapView (  193):  at android.view.ViewGroup.dispatchDraw
(ViewGroup.java:1192)
E/MapView (  193):  at android.view.ViewGroup.drawChild
(ViewGroup.java:1418)
E/MapView (  193):  at android.view.ViewGroup.dispatchDraw
(ViewGroup.java:1192)
E/MapView (  193):  at android.view.View.draw(View.java:5329)
E/MapView (  193):  at android.widget.FrameLayout.draw
(FrameLayout.java:324)
E/MapView (  193):  at com.android.internal.policy.impl.PhoneWindow
$DecorView.draw(PhoneWindow.java:1701)
E/MapView (  193):  at android.view.ViewRoot.draw(ViewRoot.java:
980)
E/MapView (  193):  at android.view.ViewRoot.performTraversals
(ViewRoot.java:829)
E/MapView (  193):  at android.view.ViewRoot.handleMessage
(ViewRoot.java:1103)
E/MapView (  193):  at android.os.Handler.dispatchMessage
(Handler.java:88)
E/MapView (  193):  at android.os.Looper.loop(Looper.java:123)
E/MapView (  193):  at android.app.ActivityThread.main
(ActivityThread.java:3742)
E/MapView (  193):  at java.lang.reflect.Method.invokeNative
(Native Method)
E/MapView (  193):  at java.lang.reflect.Method.invoke(Method.java:
515)
E/MapView (  193):  at com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:739)
E/MapView (  193):  at com.android.internal.os.ZygoteInit.main
(ZygoteInit.java:497)
E/MapView (  193):  at dalvik.system.NativeStart.main(Native
Method)

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



[android-developers] Re: Android Market HTTP Links?

2008-12-08 Thread cyntacks

mathiastck,

Awesome! I completely missed that... This completes my app, now lets
just hope the rigorous in emulator testing was enough for the real
device.

Thanks again,

Kevin


On Dec 8, 2:37 pm, mathiastck [EMAIL PROTECTED] wrote:
 Yes you can:

 http://code.google.com/android/devel/sign-publish.html

 The Using Intents to Launch the Market Application on a Device
 section describes the url pattern.  It also works if these urls are
 used on links on pages viewed from and Android phone.  They don't work
 if you just type them directly into the browser, they have to be
 links, to generate the right intent.

 On Dec 7, 9:27 pm, cyntacks [EMAIL PROTECTED] wrote:

  Hi,

  Is it possible to link from a webpage to the Android Market? That
  is, can I place a link on our company website which if clicked from an
  Android mobile device it would automagically open the Android
  Market, bringing the user to that particular app?

  Thanks for the help,

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



[android-developers] Re: New SDK Available

2008-12-08 Thread Josh Roesslein
Here are some specs on the G1 --
http://www.htc.com/www/product/g1/specification.html

Of interest is the networking section.

HSPA/WCDMA and Quad-band GSM/GPRS/EDGE are supported.

Keep in mind WCDMA is a lot different than the standard CDMA. Its often
called UMTS and the only major
telecoms in the USA that support it are T-mobile and Att.

On Mon, Dec 8, 2008 at 2:05 PM, don rhummy [EMAIL PROTECTED] wrote:


 Thanks for the reply.

 Sorry to be a pest about this but no where in the Google press release did
 i see anything saying it's only GSM. Where was that specified?


 --- On Mon, 12/8/08, Josh Roesslein [EMAIL PROTECTED] wrote:

  From: Josh Roesslein [EMAIL PROTECTED]
  Subject: [android-developers] Re: New SDK Available
  To: android-developers@googlegroups.com
  Date: Monday, December 8, 2008, 2:43 PM
  Sprint uses cdma in most of its coverage areas. Since the g1
  is a GSM phone
  it probably will not work.
 
  On Mon, Dec 8, 2008 at 1:38 PM, don rhummy
  [EMAIL PROTECTED] wrote:
 
  
Well any phone works with sprint you will just
  have to pay
more if it
is not a sprint phone.
  
   Wait, I thought the phone didn't work with Sprint.
  Does it?
  
  
  
  
   
  
 
 



 


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



[android-developers] Re: G1 and PS3 question

2008-12-08 Thread Michael

I'm doing this right now with Music Player Daemon (http://
www.musicpd.org/) and an application I wrote for Android to control
the player (currently unreleased).  It works great but my music is
stored on the server, not on the G1.  If you want to keep your music
on the G1, you'd need a player that streamed to the internet, and I
suspect that it'd drain your battery fast.  As far as I know, there is
no such player yet available - but one could be written.

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



[android-developers] Re: Weird Map Problem (Controlling same map)

2008-12-08 Thread mscwd01

I've had a look at the documentation you suggested, however I think im
misunderstanding how you launch a new activity in a seperate process.
Is there a demo which illustrates this?

On Dec 8, 12:36 pm, Mark Murphy [EMAIL PROTECTED] wrote:
 mscwd01 wrote:
  If only one MapActivity is allowed per process - I take it that
  means per application???

 By default, yes, though it does not have to be that way:

 http://code.google.com/android/intro/appmodel.html

  How does one properly use 2 or more maps
  per application?

 If the quoted bit of documentation is correct, you may be able to use
 android:process in your manifest to force your secondary activity to run
 in another process. See the Processes section in the page linked to above.

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

 Android Training on the Ranch! -- Mar 16-20, 
 2009http://www.bignerdranch.com/schedule.shtml
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] developer needed to write a theme application

2008-12-08 Thread androidinsider

Greetings,

Android Insider is looking for a developer to create a theme
application that switches between custom themes for Android OS. We
need you to figure out current possibilities and ways of skinning
Android OS. Unlike others, this is a paid job, and PAY IS GOOD.

Please reply to this thread or email to [EMAIL PROTECTED]

Thank you!

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



[android-developers] Text Messages

2008-12-08 Thread tanshi...@gmail.com

Hi there. Unfortunately there aren't any functions once a text message
has been received. For example, could you create the following:

Use detail: you can select either phone number, email address or web
address from the message sent to you
Forward
Edit
Get Message details
If you are sent a picture, then save that to the pictures directory.

Thanks!

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



[android-developers] Re: How can I send CJK text via SMS on G1

2008-12-08 Thread pusher

Yes. It's very interesting for me too.

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



  1   2   >