[android-developers] Re: A safer way of using SoundPool?

2009-02-16 Thread Jon Colverson

On Feb 16, 6:25 am, Marco Nelissen marc...@android.com wrote:
 Why do you say it's not a public API?

SoundPool is undocumented because it is not ready as a public API and
is subject to change.

http://groups.google.com/group/android-developers/msg/6c360f2d0662be0a

--
Jon

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



[android-developers] Re: DDMS does not list processes

2009-02-16 Thread Greg Krimer

DDMS is indeed the tool for the job. You may want to check out
Romain's recent post on the subject on the Android blog:
http://android-developers.blogspot.com/2009/02/track-memory-allocations.html

I think you have to configure something to get your app to be seen by
DDMS on a real device. I cannot recall exactly what that is right now,
and will try to look it up. But for the moment why not just use the
emulator? When I run my app on the emulator I see it in DDMS right
away and am able to use the allocation tracker. I would not expect
there to be any significant difference in terms of object creation
running your app on the emulator and a real device.

Hope that helps!

Greg

On Feb 15, 8:17 am, Rye ryeterr...@gmail.com wrote:
 I've been trying to locate some excessive object creation to deal with
 hiccuping caused by the garbage collector (any word on upcoming
 improvements to this, btw?), and have discovered that DDMS is the tool
 for the job.  I shut down eclipse and booted up DDMS, and it finds my
 device, but lists no processes running (no matter what I run).

 Initially, it did list the powermanager app that I had installed, so
 I assumed this was causing some kind of conflict and uninstalled it
 and rebooted my device.  Now it simply lists no processes.

 Has anyone had a similar experience?

 Thanks for any help!

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



[android-developers] Selling your apps section in Market help

2009-02-16 Thread Al Sutton

http://market.android.com/support/bin/topic.py?topic=15867


Highlights;

- All fee information is shown in USD, GBP, EUR, AUD, and CAD so I think 
that tells us who is going to be able to sell apps in the coming months.
- Allowable price ranges are $0.99 to $200 (YES $200 - Sheesh) or 0.50 
GBP to 100 GBP.
- Chargebacks for less than $10 USD will be automatically charged back.
- A $3 USD fee may be added to chargebacks on top of the refund.
- The 24 hour refund period starts when the user has *downloaded* the 
app, not when they purchase it.

-- 
==
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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Question about sqlite query with regular expression

2009-02-16 Thread wsgfz...@gmail.com

Is there any way out to achieve
SELECT * FROM tblname
 WHERE name LIKE '%[0-9]%' 

i know we can't do this with sqlite~
but how to deal with such query task with sqlite???

i tried to use REGEXP ~but unluckily it is not pre-defined~
so i tried to define it by myself...but even i couldn't find a way in
android to create a UserDefinedFunction...

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



[android-developers] Re: Question on WebView

2009-02-16 Thread for android
Found the solution .

Extended the WebClient and set the webview to the client.

and implemented the WebClient's onPageFinished.

On Mon, Feb 16, 2009 at 12:53 PM, for android forandr...@gmail.com wrote:

 I am using a WebView in a LinearLayout.Whats the best way to know whether
 the web page has been fully loaded or not?

 i am aware of the method getProgress,but what i am looking for is a
 listener which lets me know when the web view is fully loaded.

 Thanks



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



[android-developers] Problems converting Base64 byte arrray to String.

2009-02-16 Thread sukumar

hi All,

Im trying to convert a byte array which is in Base64 format to String
as below. Data was not assigned properly to the String. Do I need to
pass the encoding type while creating the new String?. Please let me
know the problem. Thanks.

String x = new String (b64byteArray);

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



[android-developers] Setting margins for an imageview using code

2009-02-16 Thread Sagar Parmar
Hello every1,

I want to set margin for an imageview through code. i coudnt find any method
for that .. XML attribute is android:layout_marginLeft..what is the java
method ?? setPadding() does not work in my case.
Please help its urgent..

Thanks in advance

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



[android-developers] Re: Able to install file without adding MIME type in webserver - Very strange!!

2009-02-16 Thread mnj

Hi,

Could someone respond.  Is this the right group  or should I move this
discussion to android-platform/ android-discuss

Thanks,
Manoj

On Feb 12, 2:16 pm, mnj manojgopa...@gmail.com wrote:
 Hi,

 I kept my  .apk file in my apache webserver at Document root path.
 This is the only file at Document Root . I had removed index.html file
 at this location. If I keep the index.html file then other files where
 not displayed if I open the URL i.e http://ip_address using a web
 browser

 Now from my Google phone browser I'm able to download the apk file and
 and install it in Google phone.
 Note 1: I had not done any settings to add theMIMEtypeapplication/
 vnd.android.package-archive  in apache webserver.

 Note 2: I was connecting to my webserver through WiFi.

 But the same apk file I was not able to download from my Gmail (as
 attachment) and I got unknown filetype error in this case.

 After reading few related topics, I came to know about theMIMEtype
 support required in webserver for android applications.

 Now I'm wondering how come file gets installed sucessfully from my
 apache webserver even without adding theMIMEtypeapplication/
 vnd.android.package-archive .

 Any clues what's happening here?

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



[android-developers] How to stop an Activity

2009-02-16 Thread Android

Hi,

I have one Activity, that starts one Service and my service will lunch
one Activity, i wanna to stop the Activity which one started my my
Service after few seconds.
Is there any way to achieve. Has anyone experienced this type of
scenario.

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



[android-developers] Re: DEVICE_POWER permission denied for using goToSleep

2009-02-16 Thread mnj

Hi,

Could someone respond to this DEVICE_POWER issue. Is this supported
in SDK. If not any plans to support this.

Regards,
Manoj

On Feb 3, 3:48 pm, shahzad ahmad shahzad.s.ah...@gmail.com wrote:
 Did u find a way to lock the phone ?



 On Fri, Jan 30, 2009 at 3:31 PM, mnj manojgopa...@gmail.com wrote:

  Yes this permission is set in androidmanifest

  On Jan 29, 5:10 pm, Phill Midwinter ph...@grantmidwinter.com wrote:
   Is it set in the androidmanifest?

   2009/1/29 mnj manojgopa...@gmail.com

Hi,

I wanted to use the funcion goToSleep() in PowerManager Class to force
the device to sleep. But I'm getting an exception and the application
crashes when I call this function. I already have added the
DEVICE_POWER permission in Androidmanifest.xml. When I checked the
logs I could see below error

E/AndroidRuntime( 2158): Caused by: java.lang.SecurityException:
Neither user 10
020 nor current process has android.permission.DEVICE_POWER.

Has anyone faced this issue before. Does application have
DEVICE_POWER permission. or is it disabled.

Regards,
Manoj

   --
   Phill Midwinter
   Director
   Grant Midwinter Limited
   d: 0844 736 5234 x: 0
   m: 07538 082156
   e: ph...@grantmidwinter.com- Hide quoted text -

   - Show quoted text -- 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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: How to stop an Activity

2009-02-16 Thread for android
calling finish will close an activity.

A service should not ideally start an activity,it should throw up a
notification.

On Mon, Feb 16, 2009 at 4:19 PM, Android sunil.mahar...@lntinfotech.comwrote:


 Hi,

 I have one Activity, that starts one Service and my service will lunch
 one Activity, i wanna to stop the Activity which one started my my
 Service after few seconds.
 Is there any way to achieve. Has anyone experienced this type of
 scenario.

 -Sunil
 


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



[android-developers] Re: Android Market broken? Can't see the new release of my app in the Android Market?!

2009-02-16 Thread blindfold

I unpublished my app yesterday (because of a detected bug), and today
it turned out published again. Seems like the Market restore
mechanism is running wild, undoing any changes that one currently
submits.

Regards

On Feb 16, 7:21 am, Mariano Kamp mariano.k...@gmail.com wrote:
 On the other hand it's good that I know now that I am not dreaming ;-)
 The weekend is over, so I guess the Google support stuff will have a
 look at it now or at least later today.

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



[android-developers] Re: Android Market broken? Can't see the new release of my app in the Android Market?!

2009-02-16 Thread Mariano Kamp
At some point yesterday my app was even unpublished. Very strange.

Anyway. I republished my description four hours ago and it seems to be
stable since then.

On Mon, Feb 16, 2009 at 12:03 PM, blindfold seeingwithso...@gmail.comwrote:


 I unpublished my app yesterday (because of a detected bug), and today
 it turned out published again. Seems like the Market restore
 mechanism is running wild, undoing any changes that one currently
 submits.

 Regards

 On Feb 16, 7:21 am, Mariano Kamp mariano.k...@gmail.com wrote:
  On the other hand it's good that I know now that I am not dreaming ;-)
  The weekend is over, so I guess the Google support stuff will have a
  look at it now or at least later today.

 


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



[android-developers] Re: Android Market broken? Can't see the new release of my app in the Android Market?!

2009-02-16 Thread Mariano Kamp
Oops. Wrong, just as I wrote it, it is back to the old description ;-(

Will change it again.

On Mon, Feb 16, 2009 at 12:05 PM, Mariano Kamp mariano.k...@gmail.comwrote:

 At some point yesterday my app was even unpublished. Very strange.

 Anyway. I republished my description four hours ago and it seems to be
 stable since then.


 On Mon, Feb 16, 2009 at 12:03 PM, blindfold seeingwithso...@gmail.comwrote:


 I unpublished my app yesterday (because of a detected bug), and today
 it turned out published again. Seems like the Market restore
 mechanism is running wild, undoing any changes that one currently
 submits.

 Regards

 On Feb 16, 7:21 am, Mariano Kamp mariano.k...@gmail.com wrote:
  On the other hand it's good that I know now that I am not dreaming ;-)
  The weekend is over, so I guess the Google support stuff will have a
  look at it now or at least later today.

 



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



[android-developers] Re: Idea for non-US/UK developers with paid apps (was Setup Merchant Account link now available)

2009-02-16 Thread Sena Gbeckor-Kove

I can't point you to a tutorial as I don't have the time to search for  
one. There are no citizenship restrictions that I know of. You will  
probably also need to set up a UK bank account. Having said that, I  
own a UK company, I am aUK citizen but not a resident and y company  
doesn't have a UK bank account. We have one in another EU country. I  
wonder if Google's checkout forms are able to handle that.

S


On 15 Feb 2009, at 15:16, shimo...@gmail.com wrote:


 Hi,

 Can I do that ?
 Without being in the UK ?
 Without a citizenship ?

 Can you point a tutorial on this ?

 Shimon

 On Feb 15, 3:25 pm, Sena Gbeckor-Kove s...@imkon.com wrote:
 Just set up a UK company. It is very easy and cheap.

 S

 On 15 Feb 2009, at 12:09, Mariano Kamp wrote:



 First - this is REALLY frustrating - by the time I can sign in and
 sellmy apps,
 the market may be filled with competitors.

 and they let me start
 selling NOW,
 and accumulate my funds until they can transfer them to me.

 Amen.

 On Sun, Feb 15, 2009 at 11:18 AM, shimo...@gmail.com  
 shimo...@gmail.com
 wrote:

 Hi,

 I would like to chime in on this.

 First - this is REALLY frustrating - by the time I can sign in and
 sellmy apps,
 the market may be filled with competitors.

 Now - I dont have any problem with competition - I LOVE  
 competition,
 and am sure
 I can make the best app (otherwise I would not be in this  
 business).
 But
 if other apps get to the market MONTHS ahead - it makes it harder  
 to
 even
 impossible to gain the same exposure and market share.

 I think I understand the hardship on Google side, but I think they
 need to
 come up with a solution asap - maybe initiate a solution similar to
 the
 one suggested here, or hurry and make the arrangements to accept
 developers
 from all other countries. Go and buy an ESD that handles it - you
 have
 the money...

 Or - I will settle for a commitment from Google that they will
 eventually
 make it so I can sell and get paid here in Israel (I dont mind
 selling
 only
 in the US - dont need to sell in Israel), and they let me start
 selling NOW,
 and accumulate my funds until they can transfer them to me.

 Anyway - Al - please keep us updated if you are going to suggest  
 such
 an arrangement - I tink I, for one, will be interested.

 Thanks !

 On Feb 14, 10:48 am, Al Sutton a...@funkyandroid.com wrote:
 OK, I'm going to float an idea that I'd like some feedback on from
 developers and (hopefully) someone at Google (Justin, I'd
 appreciate any
 clarification you can give on this).

 My company (Funky Android) is a UK Registered company and I  
 would be
 willing to allow it to act as a publisher for *some* non-US/UK
 developers in order to get their paid apps into the app store.
 What I'd
 look for is a 2% cut of the app sales price on top of the Markets
 30%
 cut in order to cover support and admin costs (i.e. forwarding  
 user
 queries, paying the accountant to make sure the money flow is tax
 efficient and legal, etc.).

 Is this something developers would want and Google would allow?

 Al.

 Mads Kristiansen wrote:
 I'd like to see someone create a solution like armadillo - i.e. a
 wrapper to make apps available in the Android Market while  
 using an
 external DRM/payment solution. There is no word on when I will be
 able
 to publish priced apps form my country, so that could be anywhere
 from
 1 month to years from now (well, probably not, but just to make a
 point). That's a bit of a problem. I'll probably just publish my
 first
 app and then do some shameless self promotion in it ;) instead of
 charging, see what happens with the priced apps and then
 concentrate a
 bit on the iPhone development.

 BR, Mads

 On Sat, Feb 14, 2009 at 8:28 AM, Mariano Kamp
 mariano.k...@gmail.com
 mailto:mariano.k...@gmail.com wrote:

 Google checkout has been working since 2006
It might be operational since then, but did anyone see  
 Google's
checkout in the wild?
It is in Google's the best interest to finally do something
 about
it and make it mandatory to use for people so that they will
finally start using it, but I don't think it is in the best
interest of developers to be forced to use an exotic payment
system that no user has ever used before.
Given that non-us/uk developers are not allowed to publish  
 their
apps makes the story worse, at least for those developers.

That's the beauty of Apple's solution. They also don't provide
paypal, but at least most user already have an iTunes account
 and
things go very smoothly.

On Sat, Feb 14, 2009 at 12:21 AM, Ivan Soto  
 ivanso...@gmail.com
mailto:ivanso...@gmail.com wrote:

I've been reading a lot about this whole Google Merchant
 thing
and it's actually that Google Checkout only allows to sell
goods from US and UK. It's not an Android thing, it's  
 their
system is not even complete and operational for all
 countries.

Well, I know they 

[android-developers] Re: Idea for non-US/UK developers with paid apps (was Setup Merchant Account link now available)

2009-02-16 Thread Sena Gbeckor-Kove

Sorry, I forgot to add a link. These guys can do it for you.

http://www.companiesmadesimple.com/index.html

S


On 15 Feb 2009, at 15:16, shimo...@gmail.com wrote:


 Hi,

 Can I do that ?
 Without being in the UK ?
 Without a citizenship ?

 Can you point a tutorial on this ?

 Shimon

 On Feb 15, 3:25 pm, Sena Gbeckor-Kove s...@imkon.com wrote:
 Just set up a UK company. It is very easy and cheap.

 S

 On 15 Feb 2009, at 12:09, Mariano Kamp wrote:



 First - this is REALLY frustrating - by the time I can sign in and
 sellmy apps,
 the market may be filled with competitors.

 and they let me start
 selling NOW,
 and accumulate my funds until they can transfer them to me.

 Amen.

 On Sun, Feb 15, 2009 at 11:18 AM, shimo...@gmail.com  
 shimo...@gmail.com
 wrote:

 Hi,

 I would like to chime in on this.

 First - this is REALLY frustrating - by the time I can sign in and
 sellmy apps,
 the market may be filled with competitors.

 Now - I dont have any problem with competition - I LOVE  
 competition,
 and am sure
 I can make the best app (otherwise I would not be in this  
 business).
 But
 if other apps get to the market MONTHS ahead - it makes it harder  
 to
 even
 impossible to gain the same exposure and market share.

 I think I understand the hardship on Google side, but I think they
 need to
 come up with a solution asap - maybe initiate a solution similar to
 the
 one suggested here, or hurry and make the arrangements to accept
 developers
 from all other countries. Go and buy an ESD that handles it - you
 have
 the money...

 Or - I will settle for a commitment from Google that they will
 eventually
 make it so I can sell and get paid here in Israel (I dont mind
 selling
 only
 in the US - dont need to sell in Israel), and they let me start
 selling NOW,
 and accumulate my funds until they can transfer them to me.

 Anyway - Al - please keep us updated if you are going to suggest  
 such
 an arrangement - I tink I, for one, will be interested.

 Thanks !

 On Feb 14, 10:48 am, Al Sutton a...@funkyandroid.com wrote:
 OK, I'm going to float an idea that I'd like some feedback on from
 developers and (hopefully) someone at Google (Justin, I'd
 appreciate any
 clarification you can give on this).

 My company (Funky Android) is a UK Registered company and I  
 would be
 willing to allow it to act as a publisher for *some* non-US/UK
 developers in order to get their paid apps into the app store.
 What I'd
 look for is a 2% cut of the app sales price on top of the Markets
 30%
 cut in order to cover support and admin costs (i.e. forwarding  
 user
 queries, paying the accountant to make sure the money flow is tax
 efficient and legal, etc.).

 Is this something developers would want and Google would allow?

 Al.

 Mads Kristiansen wrote:
 I'd like to see someone create a solution like armadillo - i.e. a
 wrapper to make apps available in the Android Market while  
 using an
 external DRM/payment solution. There is no word on when I will be
 able
 to publish priced apps form my country, so that could be anywhere
 from
 1 month to years from now (well, probably not, but just to make a
 point). That's a bit of a problem. I'll probably just publish my
 first
 app and then do some shameless self promotion in it ;) instead of
 charging, see what happens with the priced apps and then
 concentrate a
 bit on the iPhone development.

 BR, Mads

 On Sat, Feb 14, 2009 at 8:28 AM, Mariano Kamp
 mariano.k...@gmail.com
 mailto:mariano.k...@gmail.com wrote:

 Google checkout has been working since 2006
It might be operational since then, but did anyone see  
 Google's
checkout in the wild?
It is in Google's the best interest to finally do something
 about
it and make it mandatory to use for people so that they will
finally start using it, but I don't think it is in the best
interest of developers to be forced to use an exotic payment
system that no user has ever used before.
Given that non-us/uk developers are not allowed to publish  
 their
apps makes the story worse, at least for those developers.

That's the beauty of Apple's solution. They also don't provide
paypal, but at least most user already have an iTunes account
 and
things go very smoothly.

On Sat, Feb 14, 2009 at 12:21 AM, Ivan Soto  
 ivanso...@gmail.com
mailto:ivanso...@gmail.com wrote:

I've been reading a lot about this whole Google Merchant
 thing
and it's actually that Google Checkout only allows to sell
goods from US and UK. It's not an Android thing, it's  
 their
system is not even complete and operational for all
 countries.

Well, I know they will add more countries like they said  
 in
the email but I wonder what is the ETA on Canada. Google
checkout has been working since 2006 I believe and people
 have
been whining since then. Still nothing has been done. So
seeing how slow is this going, I wonder if they will

[android-developers] Re: Idea for non-US/UK developers with paid apps (was Setup Merchant Account link now available)

2009-02-16 Thread Sena Gbeckor-Kove

I mean between 25 and 100 GBP and done within hours or days depending  
on your preference. The UK is a very easy jurisdiction to do business  
in.

http://www.companiesmadesimple.com/index.html

S
PS no I don't work for them but I have used them before.




On 15 Feb 2009, at 15:13, Edi wrote:


 I don't think it's easy for everybody.
 For example... if you were from Romania (where you can find lots of
 developers)... you wouldn't be familiar with UK law  other legal
 stuff (taxes, etc.). And you will probably be required to travel a few
 times just to sort these out. (and it's not such a short distance
 between these countries)
 Besides, what do you mean by 'cheap'?
 Individual developers prefer simple things



 On Feb 15, 3:25 pm, Sena Gbeckor-Kove s...@imkon.com wrote:
 Just set up a UK company. It is very easy and cheap.

 S

 


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



[android-developers] Re: How do I set proper date and time on emulator?

2009-02-16 Thread sheik

Hi,
 I have a query regarding the date and time settings.Kindly help me
over it.

I like to know
How actually the time is synchronized in the DEV PHONE (Not the
Emulator) 

What actually it does when clicked on ,,,

Settings---DataTime---Automatic.

What does this mean Use network provided valuesIs it referring
to the GPS to get the actual time

Kindly help on this...

Thank you,
regards,
sheik

On Jan 6, 12:25 pm, Naina K kna...@gmail.com wrote:
 Hi,

 No, its working fine in my emulator. I did not get any error message.
 I could selectSettingsand set thetimeanddate. I guess there is
 some problem with the emulator. May be u can try two things, one is
 Close the emulator and start it. If it does not work then I guess u
 need to uninstall  install the emulator again.

 Thanks,

 Naina

 On 1/6/09, Sarath Kamisetty sarath.kamise...@gmail.com wrote:



  Hmm ... When I selectSettingsI see an error message that says That
  action is not currently supported.

  On Mon, Jan 5, 2009 at 9:48 PM, Naina K kna...@gmail.com wrote:

  Hi,

  If u want to set thetimeanddateon the emulator, Click on Menu
  button and selectSettingsand then click onDateTimeto set the
 timezone,timeanddate.

  Thanks,

  Naina

  On 1/5/09, Sarath Kamisetty sarath.kamise...@gmail.com wrote:

  Hi,

  I see that thedateandtimeon my emulator are incorrect. How do I
  set the correctdateandtime?

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



[android-developers] Time Date Settings in DEV PHONE

2009-02-16 Thread sheik

Hi,
 I have a query regarding the date and time settings.Kindly help me
over it.

I like to know
How actually the time is synchronized in the DEV PHONE (Not the
Emulator) 

What actually it does when clicked on ,,,

Settings---DataTime---Automatic.

What does this mean Use network provided valuesIs it referring
to the GPS to get the actual time

Kindly help on this...

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



[android-developers] Re: Idea for non-US/UK developers with paid apps (was Setup Merchant Account link now available)

2009-02-16 Thread Mads Kristiansen
Thanks for the link. That's very interesting! .. :)

On Mon, Feb 16, 2009 at 12:29 PM, Sena Gbeckor-Kove s...@imkon.com wrote:


 I mean between 25 and 100 GBP and done within hours or days depending
 on your preference. The UK is a very easy jurisdiction to do business
 in.

 http://www.companiesmadesimple.com/index.html

 S
 PS no I don't work for them but I have used them before.




 On 15 Feb 2009, at 15:13, Edi wrote:

 
  I don't think it's easy for everybody.
  For example... if you were from Romania (where you can find lots of
  developers)... you wouldn't be familiar with UK law  other legal
  stuff (taxes, etc.). And you will probably be required to travel a few
  times just to sort these out. (and it's not such a short distance
  between these countries)
  Besides, what do you mean by 'cheap'?
  Individual developers prefer simple things
 
 
 
  On Feb 15, 3:25 pm, Sena Gbeckor-Kove s...@imkon.com wrote:
  Just set up a UK company. It is very easy and cheap.
 
  S
 
  


 


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



[android-developers] Re: Is there any way to Abort the instrumentation test case

2009-02-16 Thread Rajendrakumar C

Hi Anshul,

Try with finish()

and also can you tell me how your starting your Instrumentaiton Test
case by using am instrumnent command or anything else...

On Feb 12, 7:37 am, Anshul aaj...@gmail.com wrote:
 I have an instrumentation test case that is waiting for an incoming
 call. I would like to abort this test case after some time from
 outside of this test case. Is there any argument to adb shell am
 instrument command that will stop the on going instrument test case?

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



[android-developers] Re: how can I check if an Activity is visible or not?

2009-02-16 Thread pperotti

Well, that is actually not a bad idea. Thanks for the tip !

On Feb 16, 12:58 am, Marco Nelissen marc...@android.com wrote:
 Since you're going to do this from your service, why don't you have your
 Activity register with the service when it is started or resumed, unregister
 when it is paused or stopped, and then just have the service keep track of
 whether the activity is active that way?

 On Sun, Feb 15, 2009 at 6:44 PM, pperotti pablo.pero...@gmail.com wrote:

  Well ... maybe to clarify what Im trying to get done. I want just to
  launch a notification to the user only if he is not in one of the
  screens (Activities) of my application. If the user find himself
  using the application I just want to move him to the next screen.
  Basically ...

  if ( the user is using my app) {
     startActivity(new Intent(...) );
  }
  else{
    // Launch the appropriate notification just not to be intrusive
  }

  I was checking in the Activity/ActivityManager public interface, but I
  dont quite get how to check if the user is actually using my
  application of not.

  Can you explain me a bit more how to do this with the approach you
  mention ? or if there is an alternative way to do it ?

  Thanks again for the time.
  Pablo

  On Feb 13, 12:57 am, Dianne Hackborn hack...@android.com wrote:
   Please don't do this, these APIs are only really for writing system
   information tools.  For example, for this to work correctly need to
  retrieve
   -all- possible running activities (which can be 10, 20, 30, or more),
  have
   all of that information copied to your process, and look through it for
  the
   activity you are interested in.

   If your code is in a service a good way to do this is to just have the
   activity tell the service when it is resumed.

   On Thu, Feb 12, 2009 at 6:50 PM, Dan Raaka micromys...@gmail.com
  wrote:

Get the RunningTaskInfo through the ActivityManager
and do a name match for the activity name you want to exclude and send
the notification

-Dan

On Feb 12, 5:34 pm, pperotti pablo.pero...@gmail.com wrote:
 Hi, does anybody knows if it is possible to check if an Activity is
  at
 a moment of the time visible ?

 My question is because I want to implement a service and only invoke
  a
 different activity (by launching an Intent) only if the previous
 activity was visible. In case for instance, the user is in a
  different
 application I just want to send a notification.

 My problem is that I dont know how to determine if my application is
 being use at a particular time, so, I can properly move to the user
  to
 the right screen.

 Thanks !
 Pablo

   --
   Dianne Hackborn
   Android framework engineer
   hack...@android.com

   Note: please don't send private questions to me, as I don't have time to
   provide private support.  All such questions should be posted on public
   forums, where I and others can see and answer them.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Idea for non-US/UK developers with paid apps (was Setup Merchant Account link now available)

2009-02-16 Thread bouvetloz...@gmail.com

There are no citizenship, nor UK bank account, nor UK company
registration restriction. It accepts a UK contact address and a credit
card (any) info. So it's unclear for me what the restriction is.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Question on WebView

2009-02-16 Thread Fred Grott(shareme)

WebChromeCliennt not WebClient than its accessible to javascript :)

On Feb 16, 3:11 am, for android forandr...@gmail.com wrote:
 Found the solution .

 Extended the WebClient and set the webview to the client.

 and implemented the WebClient's onPageFinished.

 On Mon, Feb 16, 2009 at 12:53 PM, for android forandr...@gmail.com wrote:
  I am using a WebView in a LinearLayout.Whats the best way to know whether
  the web page has been fully loaded or not?

  i am aware of the method getProgress,but what i am looking for is a
  listener which lets me know when the web view is fully loaded.

  Thanks


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



[android-developers] Audio stops after some time in android from video/Music player

2009-02-16 Thread getandroid

Hi,

   As mentioned audio stops after some random number of times when
played from either Music/Video player. After some debugging, I found
that the problem is:

In android_audio_output.cpp-audout_thread_func() there is a call to
wait(iAudioThreadSem-Wait()) just before the while(1) and it is
waiting indefinitely for something.

Can anybody tell me what is it waiting for and why is it not able to
come out? From what I can understand, it is waiting for a signal
(semaphore) but where is it expecting a signal from?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: How do I set proper date and time on emulator?

2009-02-16 Thread David Turner
It is referring to the fact that some GSM network are capable of sending the
current date and timezone to the device.

However this feature is optional and not always implemented (it generally
isn't in most European countries, as far as
I know, it is in the US).

On Mon, Feb 16, 2009 at 12:29 PM, sheik sheik...@gmail.com wrote:


 Hi,
  I have a query regarding the date and time settings.Kindly help me
 over it.

 I like to know
 How actually the time is synchronized in the DEV PHONE (Not the
 Emulator) 

 What actually it does when clicked on ,,,

 Settings---DataTime---Automatic.

 What does this mean Use network provided valuesIs it referring
 to the GPS to get the actual time

 Kindly help on this...

 Thank you,
 regards,
 sheik

 On Jan 6, 12:25 pm, Naina K kna...@gmail.com wrote:
  Hi,
 
  No, its working fine in my emulator. I did not get any error message.
  I could selectSettingsand set thetimeanddate. I guess there is
  some problem with the emulator. May be u can try two things, one is
  Close the emulator and start it. If it does not work then I guess u
  need to uninstall  install the emulator again.
 
  Thanks,
 
  Naina
 
  On 1/6/09, Sarath Kamisetty sarath.kamise...@gmail.com wrote:
 
 
 
   Hmm ... When I selectSettingsI see an error message that says That
   action is not currently supported.
 
   On Mon, Jan 5, 2009 at 9:48 PM, Naina K kna...@gmail.com wrote:
 
   Hi,
 
   If u want to set thetimeanddateon the emulator, Click on Menu
   button and selectSettingsand then click onDateTimeto set the
  timezone,timeanddate.
 
   Thanks,
 
   Naina
 
   On 1/5/09, Sarath Kamisetty sarath.kamise...@gmail.com wrote:
 
   Hi,
 
   I see that thedateandtimeon my emulator are incorrect. How do I
   set the correctdateandtime?
 
   Thanks,
   Sarath
 


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



[android-developers] Re: Question on WebView

2009-02-16 Thread for android
I am confused now since there is no documentation of the difference between
WebChromeClient and WebViewClient .

Also in the WebChromeClient there is no equilvalent to onPageFinished.

On Mon, Feb 16, 2009 at 5:26 PM, Fred Grott(shareme)
fred.gr...@gmail.comwrote:


 WebChromeCliennt not WebClient than its accessible to javascript :)

 On Feb 16, 3:11 am, for android forandr...@gmail.com wrote:
  Found the solution .
 
  Extended the WebClient and set the webview to the client.
 
  and implemented the WebClient's onPageFinished.
 
  On Mon, Feb 16, 2009 at 12:53 PM, for android forandr...@gmail.com
 wrote:
   I am using a WebView in a LinearLayout.Whats the best way to know
 whether
   the web page has been fully loaded or not?
 
   i am aware of the method getProgress,but what i am looking for is a
   listener which lets me know when the web view is fully loaded.
 
   Thanks
 
 
 


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



[android-developers] Re: Show dialog on creation - question?

2009-02-16 Thread Evgeny V
Any suggestions on it?

Thanks,
Evgeny

On Sat, Feb 14, 2009 at 1:31 AM, EvgenyV evgen...@gmail.com wrote:


 Hi!
 I'm trying to show dialog OK/Cancel and then continue construction
 after user closed the dialog.
 Unfortunately the dialog get visibility only AFTER the creation of
 myclass was completed.
 In my example Run( ) method will never run.

 There is code:

 public class MyClass extends Activity
 {
 private _boolFlag = false;

 @Override
public void onCreate(Bundle savedInstanceState) {
try {

super.onCreate(savedInstanceState);
some code...
showDialog(Dialog.BUTTON2);
if(_boolFlag)
 Run().// never run
}
   }


@Override
protected Dialog onCreateDialog(int id)
{
switch (id)
{
case Dialog.BUTTON2:
return  new AlertDialog.Builder(this)
.setIcon(R.drawable.files_down_32)
.setTitle(title)
.setPositiveButton(Ok, new
 DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int
 whichButton) {
_boolFlag = true;
}
}).create();
}
return null;
}

 private void Run()
 {

 }

 }

 What can I do except to move the dialog to the caller activity?

 Thanks in advance,
 Evgeny
 


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



[android-developers] Re: Question on WebView

2009-02-16 Thread Fred Grott(shareme)

Pulled down the source and look at the javadoc docs

On Feb 16, 6:08 am, for android forandr...@gmail.com wrote:
 I am confused now since there is no documentation of the difference between
 WebChromeClient and WebViewClient .

 Also in the WebChromeClient there is no equilvalent to onPageFinished.

 On Mon, Feb 16, 2009 at 5:26 PM, Fred Grott(shareme)
 fred.gr...@gmail.comwrote:



  WebChromeCliennt not WebClient than its accessible to javascript :)

  On Feb 16, 3:11 am, for android forandr...@gmail.com wrote:
   Found the solution .

   Extended the WebClient and set the webview to the client.

   and implemented the WebClient's onPageFinished.

   On Mon, Feb 16, 2009 at 12:53 PM, for android forandr...@gmail.com
  wrote:
I am using a WebView in a LinearLayout.Whats the best way to know
  whether
the web page has been fully loaded or not?

i am aware of the method getProgress,but what i am looking for is a
listener which lets me know when the web view is fully loaded.

Thanks


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



[android-developers] Query regarding application not responding

2009-02-16 Thread parth Chothani
While playing mp3 player along with the animation, if i do pause and play
several times, the application displays force close or wait. The main thread
and the timer thread are running normally,but the click event does not  work
after doing pause and play several times. How to solve this ?

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



[android-developers] Re: Question on WebView

2009-02-16 Thread Fred Grott(shareme)

Sorry your are right WEbClient for that



On Feb 16, 6:08 am, for android forandr...@gmail.com wrote:
 I am confused now since there is no documentation of the difference between
 WebChromeClient and WebViewClient .

 Also in the WebChromeClient there is no equilvalent to onPageFinished.

 On Mon, Feb 16, 2009 at 5:26 PM, Fred Grott(shareme)
 fred.gr...@gmail.comwrote:



  WebChromeCliennt not WebClient than its accessible to javascript :)

  On Feb 16, 3:11 am, for android forandr...@gmail.com wrote:
   Found the solution .

   Extended the WebClient and set the webview to the client.

   and implemented the WebClient's onPageFinished.

   On Mon, Feb 16, 2009 at 12:53 PM, for android forandr...@gmail.com
  wrote:
I am using a WebView in a LinearLayout.Whats the best way to know
  whether
the web page has been fully loaded or not?

i am aware of the method getProgress,but what i am looking for is a
listener which lets me know when the web view is fully loaded.

Thanks


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



[android-developers] Re: On android.media.MediaRecorder, can it record the voice of speaker?

2009-02-16 Thread Shawn_Chiu

Hello, Dave
Thanks for your reply.
I do agree with you that HTC G1 could not record uplink or downlink
audio, but I wrote an application myself to record the audio while
there exists a conversation. It could record the voice from microphone
no matter the AudioSource is MIC or DEFAULT. Actually, they do the
same thing.
Would other devices such like speaker or both speakermic could be
supported in further release?
BR
Shawn

On Feb 16, 7:12 am, Dave Sparks davidspa...@android.com wrote:
 The G1 does not support recording uplink or downlink audio.

 On Feb 14, 6:20 am, Shawn_Chiu qiuping...@gmail.com wrote:

  Hello, buddies
  It's about android.media.MediaRecorder.
  I want to implement a feature to record the conversation, both voice
  from speaker and microphone. But I tried on G1 phone, the
 MediaRecorderonly could record the voice from microphone. I looked
  into the Android doc, there are only two audio sources, MIC and DEFAULT
  (either to record microphone). So these are my questions:
  1. whether can I implement it or not?
  2. will more audio sources be supported? If so, which release or when?
  Thank you:-0
  Shawn
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: How to stop an Activity

2009-02-16 Thread Sunil . Maharana
I have added the below code in my Activity to stop the Activity, but it 
doesn't  stop my Activity.

protected void onDestroy() {
finish();
// TODO Auto-generated method stub
super.onDestroy(); }

My objective is to stop/kill the current Activity, so that it will go back 
to my previous Activity.

Thanks  Regards,
Sunil





for android forandr...@gmail.com 
Sent by: android-developers@googlegroups.com
02/16/2009 04:25 PM
Please respond to
android-developers@googlegroups.com


To
android-developers@googlegroups.com
cc

Subject
[android-developers] Re: How to stop an Activity






calling finish will close an activity.

A service should not ideally start an activity,it should throw up a 
notification.

On Mon, Feb 16, 2009 at 4:19 PM, Android sunil.mahar...@lntinfotech.com 
wrote:

Hi,

I have one Activity, that starts one Service and my service will lunch
one Activity, i wanna to stop the Activity which one started my my
Service after few seconds.
Is there any way to achieve. Has anyone experienced this type of
scenario.

-Sunil





__


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



[android-developers] Re: Alarm Manager forgets repeating alarms?

2009-02-16 Thread Mariano Kamp
Great Tip, Dianne. Also very helpful for my other issue with notifications
(adb shell dumpsys notification).

On Sun, Feb 15, 2009 at 11:30 PM, Dianne Hackborn hack...@android.comwrote:

 You can't expand the size of the log.  You can however use adb shell
 dumpsys alarm to see the current state of the alarm manager, which might
 help.

 On Sun, Feb 15, 2009 at 9:18 AM, Mariano Kamp mariano.k...@gmail.comwrote:

 Nope, not until somebody broke into my house and rebooted it during my
 sleep ;-)

 The other problem in finding the source of my issue is, that I can't go
 back very long in the Android log files. My logfile tells me that the alarms
 weren't fired, but the logfile doesn't contain any more information to
 correlate that ;-(

 Any idea how to expand the logfile, like to 12 hours?



 On Sun, Feb 15, 2009 at 6:12 PM, Miguel Paraz mpa...@gmail.com wrote:


 On Feb 15, 6:29 am, Mariano Kamp mariano.k...@gmail.com wrote:
This question is a bit strange, but does anybody know about a common
  gotcha when using the AlarmManager? And not knowing it sometimes leads
  to the AlarmManger forgetting alarms?
 
I have a repeating task that runs once an hour. Some nights it runs
  without a hitch and some nights it runs a couple of times and then it
  isn't.

 Is it because your device is fully powered off and restarted?

 I think we need to wait for a PIM type API for have long-term
 persisting alarms.







 --
 Dianne Hackborn
 Android framework engineer
 hack...@android.com

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



 


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



[android-developers] Re: Problem with sound on Notifications on Emulator

2009-02-16 Thread Mark Murphy

Marco Nelissen wrote:
 On Sat, Feb 7, 2009 at 12:03 PM, pperotti pablo.pero...@gmail.com
 mailto:pablo.pero...@gmail.com wrote:
 (...)
 
Uri uri = Uri.parse(android.resource://com.pp/ +
 R.raw.test_cbr);
 
 
 This is the second time in as many days I see somebody trying to access
 a resource that way. Is there some misguided tutorial somewhere that
 claims that this works, or is the documentation misleading in some way?

I can tell you:

-- The documentation for ContentResolver has SCHEME_ANDROID_RESOURCE
defined as android.resource

-- Joe Onorato, back in March 2008, described the above pattern for
accessing resources:

http://groups.google.com/group/android-developers/browse_thread/thread/74cc21c9e613f608/7ecb48800e7faab1

(also at http://tinyurl.com/ansdr7 in case that URL gets munged by your
mail client)

That being said, I haven't used this scheme in ages, so if it is
officially deprecated, that would be good to know. Particularly since I
can think of one Android book that will need a-fixin' if this scheme is
no longer usable... ;-)

-- 
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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: 2d background image on a 3d OpenGL game

2009-02-16 Thread quakeboy

I have learnt quite a lot of developing mobile applications in this
project.

I have improved the speed to a good extent by using the points given
in the
android performance optimization tips documentation in android
development site.

I must not have been blaming opengl es alone. I made a great deal
visible speed difference by just using the local reference for arrays
before looping and by using final and static at proper places and by
avoiding enums, and class member referencing.

but still my speed drops when I draw the background as a textured
quad. and I am not able to get the drawtexfOES to work.

@Jon
Can you please help me by posting a sample code of what parameters to
pass to

1. glTexParameterfv
2. glDrawTexfOES

to get them to paint the texture properly. I get a red color only, and
not the actual texture. I use a 2d ortho with 320,480 as extents..
with ortho camera's bottom left at 0,0



On Feb 13, 10:30 am, Jon Colverson jjc1...@gmail.com wrote:
 On Feb 13, 5:06 am, quakeboy prasna...@gmail.com wrote:

  Thank you very much for your reply. I checked out the extension, I did
  not know I can add other extensions except the ones in GL10Ext..
  I read the jsr239 docs and found how to load it too.. Thanks a lot
  once again.

 I didn't need to do anything unusual to load it; I just usedGL11Ext.

  Yes I forgot to add that Opengl is NOT running in separate like in
  Android samples.
  I call the draw and render on the touch screen event.

 Ahh, that's an unusual way of doing things. I'm not certain that's
 what is causing the slowness, but it seems likely.

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



[android-developers] Re: Idea for non-US/UK developers with paid apps (was Setup Merchant Account link now available)

2009-02-16 Thread bouvetloz...@gmail.com

Sure, a debit card. I used it in Checkout previously (probably last
time for Market registration) so if I choose the 'Credit card only'
option it shows the 'Credit card info: saved - not shown for security
purposes' line, so it's accepted, although issued outside US/UK. I'm
outside UK/US and not hurry but it seems that it could be possible to
fill the seller registration form.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Idea for non-US/UK developers with paid apps (was Setup Merchant Account link now available)

2009-02-16 Thread Sena Gbeckor-Kove

I think we need some clarification from Google on this. I'll read all  
the terms closer to when my product is ready but I find it hard to  
believe Google will accept just a credit card.

S


On 16 Feb 2009, at 14:01, bouvetloz...@gmail.com wrote:


 Sure, a debit card. I used it in Checkout previously (probably last
 time for Market registration) so if I choose the 'Credit card only'
 option it shows the 'Credit card info: saved - not shown for security
 purposes' line, so it's accepted, although issued outside US/UK. I'm
 outside UK/US and not hurry but it seems that it could be possible to
 fill the seller registration form.
 


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



Fwd: [android-developers] Re: Android Emulator

2009-02-16 Thread atif ali
So is there a simpler way I can do it? Because my aim is to show the users
the application I built befre they download it. What should I do to
accomplish this?

-- Forwarded message --
From: atif ali m.atif@gmail.com
Date: Wed, Feb 11, 2009 at 1:36 PM
Subject: Re: [android-developers] Re: Android Emulator
To: di...@android.com


Thank you for your help. So is there a simpler way I can do it? Because my
aim is to show the users the application I built befre they download it.
What should I do to accomplish this?


On 2/11/09, David Turner di...@android.com wrote:

 the emulator is a native application. If would take considerable work to
 make it into an Active X component (which would only work on IE), or a
 NSPlugin. It uses signals in a very special way which might be really
 hostile to a browser environment. Furthermore, it needs about 192 MB of disk
 images to work properly (plus about 120 MB of memory). that's not the thing
 you'd want to run in a web browser today (maybe in 5 years, who knows)

 On Tue, Feb 10, 2009 at 5:39 PM, Zoraiz m.atif@gmail.com wrote:


 I want to use Android Emulator in my website. The idea is that I will
 deploy my application in that emulator and so the users can check that
 application before downloading it. Is there a way we can install or
 use emulator on a web server?




 


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



[android-developers] How to retrieve current keyboard configuration (without configuration changes)?

2009-02-16 Thread blindfold

How can I detect if the G1 keyboard is hidden or open at application
startup? My app always runs in landscape mode, but I can only find how
to detect keyboard configuration *changes* (through
onConfigurationChanged()). So how can I retrieve the current keyboard
configuration (open or closed) at application startup?

Thanks!

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



[android-developers] Re: Android Emulator

2009-02-16 Thread Mads Kristiansen
How about creating a screen cast demonstrating the key features to users?
/ Mads

On Mon, Feb 16, 2009 at 2:14 PM, atif ali m.atif@gmail.com wrote:

 So is there a simpler way I can do it? Because my aim is to show the users
 the application I built befre they download it. What should I do to
 accomplish this?

 -- Forwarded message --
 From: atif ali m.atif@gmail.com
 Date: Wed, Feb 11, 2009 at 1:36 PM
 Subject: Re: [android-developers] Re: Android Emulator
 To: di...@android.com


 Thank you for your help. So is there a simpler way I can do it? Because my
 aim is to show the users the application I built befre they download it.
 What should I do to accomplish this?


 On 2/11/09, David Turner di...@android.com wrote:

 the emulator is a native application. If would take considerable work to
 make it into an Active X component (which would only work on IE), or a
 NSPlugin. It uses signals in a very special way which might be really
 hostile to a browser environment. Furthermore, it needs about 192 MB of disk
 images to work properly (plus about 120 MB of memory). that's not the thing
 you'd want to run in a web browser today (maybe in 5 years, who knows)

 On Tue, Feb 10, 2009 at 5:39 PM, Zoraiz m.atif@gmail.com wrote:


 I want to use Android Emulator in my website. The idea is that I will
 deploy my application in that emulator and so the users can check that
 application before downloading it. Is there a way we can install or
 use emulator on a web server?






 


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



[android-developers] Re: Show dialog on creation - question?

2009-02-16 Thread Stoyan Damov

How about you show the dialog *before* you start the activity?

On Mon, Feb 16, 2009 at 2:10 PM, Evgeny V evgen...@gmail.com wrote:
 Any suggestions on it?

 Thanks,
 Evgeny

 On Sat, Feb 14, 2009 at 1:31 AM, EvgenyV evgen...@gmail.com wrote:

 Hi!
 I'm trying to show dialog OK/Cancel and then continue construction
 after user closed the dialog.
 Unfortunately the dialog get visibility only AFTER the creation of
 myclass was completed.
 In my example Run( ) method will never run.

 There is code:

 public class MyClass extends Activity
 {
 private _boolFlag = false;

 @Override
public void onCreate(Bundle savedInstanceState) {
try {

super.onCreate(savedInstanceState);
some code...
showDialog(Dialog.BUTTON2);
if(_boolFlag)
 Run().// never run
}
   }


@Override
protected Dialog onCreateDialog(int id)
{
switch (id)
{
case Dialog.BUTTON2:
return  new AlertDialog.Builder(this)
.setIcon(R.drawable.files_down_32)
.setTitle(title)
.setPositiveButton(Ok, new
 DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int
 whichButton) {
_boolFlag = true;
}
}).create();
}
return null;
}

 private void Run()
 {

 }

 }

 What can I do except to move the dialog to the caller activity?

 Thanks in advance,
 Evgeny 


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



[android-developers] Re: Able to install file without adding MIME type in webserver - Very strange!!

2009-02-16 Thread Stoyan Damov

Is that an ADP1 phone or a G1?

On Mon, Feb 16, 2009 at 12:41 PM, mnj manojgopa...@gmail.com wrote:

 Hi,

 Could someone respond.  Is this the right group  or should I move this
 discussion to android-platform/ android-discuss

 Thanks,
 Manoj

 On Feb 12, 2:16 pm, mnj manojgopa...@gmail.com wrote:
 Hi,

 I kept my  .apk file in my apache webserver at Document root path.
 This is the only file at Document Root . I had removed index.html file
 at this location. If I keep the index.html file then other files where
 not displayed if I open the URL i.e http://ip_address using a web
 browser

 Now from my Google phone browser I'm able to download the apk file and
 and install it in Google phone.
 Note 1: I had not done any settings to add theMIMEtypeapplication/
 vnd.android.package-archive  in apache webserver.

 Note 2: I was connecting to my webserver through WiFi.

 But the same apk file I was not able to download from my Gmail (as
 attachment) and I got unknown filetype error in this case.

 After reading few related topics, I came to know about theMIMEtype
 support required in webserver for android applications.

 Now I'm wondering how come file gets installed sucessfully from my
 apache webserver even without adding theMIMEtypeapplication/
 vnd.android.package-archive .

 Any clues what's happening here?

 Regards,
 Manoj
 


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



[android-developers] Re: 2d background image on a 3d OpenGL game

2009-02-16 Thread Jon Colverson

On Feb 16, 12:57 pm, quakeboy prasna...@gmail.com wrote:
 but still my speed drops when I draw the background as a textured
 quad. and I am not able to get the drawtexfOES to work.

 @Jon
 Can you please help me by posting a sample code of what parameters to
 pass to

 1. glTexParameterfv
 2. glDrawTexfOES

 to get them to paint the texture properly. I get a red color only, and
 not the actual texture. I use a 2d ortho with 320,480 as extents..
 with ortho camera's bottom left at 0,0

This is what I'm doing:

gl.glBindTexture(GL10.GL_TEXTURE_2D, name);
GLUtils.texImage2D(GL10.GL_TEXTURE_2D, 0, b, 0);
((GL11) gl).glTexParameteriv(GL10.GL_TEXTURE_2D,
GL11Ext.GL_TEXTURE_CROP_RECT_OES,
new int[] {0, 0, 320, 480}, 0);

((GL11Ext) gl).glDrawTexiOES(0, 0, 0, 320, 480);

Could the problem be not binding the texture before setting the
parameters?

--
Jon

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



[android-developers] Re: Selling your apps section in Market help

2009-02-16 Thread Blake B.

Ok, maybe I missed this along the way (or heard comments of this and
couldn't believe it to be true), but this statement seems clear in the
Setting the price of applications section:

If you have previously published an application for free, you cannot
change it to have a price.

This seems to mean that any app that has been in the Market up to this
point that plans on charging a price now will have to re-package
itself as a new application.  If the app contains a database or other
private data not accessible to other apps, I suppose that means we
will have to release ANOTHER version of the FREE app that includes
some kind of support for exporting data, then have the user download/
install this version and run it IN ADDITION TO the new paid version if
they want to migrate their data to the new paid version?  This seems
like a major headache for users and developers alike.

Am I reading this correctly?



On Feb 16, 2:57 am, Al Sutton a...@funkyandroid.com wrote:
 http://market.android.com/support/bin/topic.py?topic=15867

 Highlights;

 - All fee information is shown in USD, GBP, EUR, AUD, and CAD so I think
 that tells us who is going to be able to sell apps in the coming months.
 - Allowable price ranges are $0.99 to $200 (YES $200 - Sheesh) or 0.50
 GBP to 100 GBP.
 - Chargebacks for less than $10 USD will be automatically charged back.
 - A $3 USD fee may be added to chargebacks on top of the refund.
 - The 24 hour refund period starts when the user has *downloaded* the
 app, not when they purchase it.

 --
 ==
 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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Sensor problem with keyboard open

2009-02-16 Thread blindfold

Why do the sensor values in onSensorChanged() barely change with
(compass) heading when the keyboard is open? The heading values are
fine with the keyboard closed. Is this a known bug? BTW, my app always
runs in landscape mode.

Thanks

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



[android-developers] Re: A safer way of using SoundPool?

2009-02-16 Thread Blake B.

Great idea, Jon.  Thanks for sharing the code.  I'm about to start
work on sound in my game, so I'll look into using this.

Hopefully, Google realizes that many are using SoundPool and will keep
the existing API in place for a while, even if deprecated, long enough
to migrate apps.  I think we are all interested in keeping Android's
good name and not annoying users without need.


On Feb 16, 2:05 am, Jon Colverson jjc1...@gmail.com wrote:
 On Feb 16, 6:25 am, Marco Nelissen marc...@android.com wrote:

  Why do you say it's not a public API?

 SoundPool is undocumented because it is not ready as a public API and
 is subject to change.

 http://groups.google.com/group/android-developers/msg/6c360f2d0662be0a

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



[android-developers] Re: Setup Merchant Account link now available

2009-02-16 Thread shimo...@gmail.com

I would believe Google are not that easy to trick - the UK address
will probably be checked against the credit card billing address.

Anyway - no point in registering a UK address/credit card for them to
send my money to - how will I get it ?

I tend to think Al's solution is the only current way...

Thanks !

On Feb 14, 7:12 pm, bouvetloz...@gmail.com bouvetloz...@gmail.com
wrote:
 The first page of Checkout registration doesn't strictly require US/UK
 citizenship, only a contact address in US/UK and a credit card number.
 Of course I have to pay local taxes using the local rules, but it
 seems that Google doesn't need my local tax number for the payment.
 Sure, it's a strange idea.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Selling your apps section in Market help

2009-02-16 Thread Al Sutton

Developers could always add a couple of features and charge for the 
feature added version.

Al.

Blake B. wrote:
 Ok, maybe I missed this along the way (or heard comments of this and
 couldn't believe it to be true), but this statement seems clear in the
 Setting the price of applications section:

 If you have previously published an application for free, you cannot
 change it to have a price.

 This seems to mean that any app that has been in the Market up to this
 point that plans on charging a price now will have to re-package
 itself as a new application.  If the app contains a database or other
 private data not accessible to other apps, I suppose that means we
 will have to release ANOTHER version of the FREE app that includes
 some kind of support for exporting data, then have the user download/
 install this version and run it IN ADDITION TO the new paid version if
 they want to migrate their data to the new paid version?  This seems
 like a major headache for users and developers alike.

 Am I reading this correctly?



 On Feb 16, 2:57 am, Al Sutton a...@funkyandroid.com wrote:
   
 http://market.android.com/support/bin/topic.py?topic=15867

 Highlights;

 - All fee information is shown in USD, GBP, EUR, AUD, and CAD so I think
 that tells us who is going to be able to sell apps in the coming months.
 - Allowable price ranges are $0.99 to $200 (YES $200 - Sheesh) or 0.50
 GBP to 100 GBP.
 - Chargebacks for less than $10 USD will be automatically charged back.
 - A $3 USD fee may be added to chargebacks on top of the refund.
 - The 24 hour refund period starts when the user has *downloaded* the
 app, not when they purchase it.

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


-- 
==
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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Setup Merchant Account link now available

2009-02-16 Thread Al Sutton

Don't assume a UK bank account is that easy.

It took me about a month and a half to get a business account for my 
company, and part of that involved a face to face interview at the bank 
with myself and the other director where we produced our passports and a 
proof of home address. Prior to that one bank turned down the 
application because we mentioned the words mobile phone even though it 
was in the sentance The primary focus of the business is the 
development of software to be used on mobile phones.

You should also make yourself aware of the legal requirements for 
reporting accounts to Companies House (the companies registration office 
for England and Wales), and V.A.T. which is a Tax UK companies have to 
charge if their earnings exceed a set level.

So as you can probably guess, setting up a UK company is quite easy, but 
there are a number of legal issues involved in running the company that 
you'll also have to be aware of.

Al.

Sena Gbeckor-Kove wrote:
 I believe a UK company and bank account should be enough and that  
 should only take a week to set up. Even by post.

 S



 On 16 Feb 2009, at 15:08, shimo...@gmail.com wrote:

   
 I would believe Google are not that easy to trick - the UK address
 will probably be checked against the credit card billing address.

 Anyway - no point in registering a UK address/credit card for them to
 send my money to - how will I get it ?

 I tend to think Al's solution is the only current way...

 Thanks !

 On Feb 14, 7:12 pm, bouvetloz...@gmail.com bouvetloz...@gmail.com
 wrote:
 
 The first page of Checkout registration doesn't strictly require US/ 
 UK
 citizenship, only a contact address in US/UK and a credit card  
 number.
 Of course I have to pay local taxes using the local rules, but it
 seems that Google doesn't need my local tax number for the payment.
 Sure, it's a strange idea.

   


 
   


-- 
==
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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Setup Merchant Account link now available

2009-02-16 Thread Al Sutton

And at the moment there is still no answer as to whether or not Google 
will allow it (you can track the question at 
http://www.google.com/support/forum/p/Android+Market/thread?tid=0d53b75e0f699d18hl=en).

I've got to admit that given the amount of time it's taking someone from 
Google to even comment on the idea I'm sorely tempted to drop the idea 
because who knows what could happen between a problem happening and 
Google getting round to answering questions about it, and when you're 
dealing with peoples money things get all that more heated no matter how 
small the amount.

Al.



shimo...@gmail.com wrote:
 I would believe Google are not that easy to trick - the UK address
 will probably be checked against the credit card billing address.

 Anyway - no point in registering a UK address/credit card for them to
 send my money to - how will I get it ?

 I tend to think Al's solution is the only current way...

 Thanks !

 On Feb 14, 7:12 pm, bouvetloz...@gmail.com bouvetloz...@gmail.com
 wrote:
   
 The first page of Checkout registration doesn't strictly require US/UK
 citizenship, only a contact address in US/UK and a credit card number.
 Of course I have to pay local taxes using the local rules, but it
 seems that Google doesn't need my local tax number for the payment.
 Sure, it's a strange idea.
 
 
   


-- 
==
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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Setup Merchant Account link now available

2009-02-16 Thread Sena Gbeckor-Kove

Agreed.

S



On 16 Feb 2009, at 15:49, Al Sutton wrote:


 And at the moment there is still no answer as to whether or not Google
 will allow it (you can track the question at
 http://www.google.com/support/forum/p/Android+Market/thread?tid=0d53b75e0f699d18hl=en)
  
 .

 I've got to admit that given the amount of time it's taking someone  
 from
 Google to even comment on the idea I'm sorely tempted to drop the idea
 because who knows what could happen between a problem happening and
 Google getting round to answering questions about it, and when you're
 dealing with peoples money things get all that more heated no matter  
 how
 small the amount.

 Al.



 shimo...@gmail.com wrote:
 I would believe Google are not that easy to trick - the UK address
 will probably be checked against the credit card billing address.

 Anyway - no point in registering a UK address/credit card for them to
 send my money to - how will I get it ?

 I tend to think Al's solution is the only current way...

 Thanks !

 On Feb 14, 7:12 pm, bouvetloz...@gmail.com bouvetloz...@gmail.com
 wrote:

 The first page of Checkout registration doesn't strictly require  
 US/UK
 citizenship, only a contact address in US/UK and a credit card  
 number.
 Of course I have to pay local taxes using the local rules, but it
 seems that Google doesn't need my local tax number for the payment.
 Sure, it's a strange idea.





 -- 
 ==
 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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Setup Merchant Account link now available

2009-02-16 Thread Sena Gbeckor-Kove

Absolutely, I'm not trying to play down the issues involved in running  
one, but it is possible to set the company up and get an introduction  
from your accountants, or formation company. Usually for around 50GBP  
to get an account setup expedited.

Having set up the company, the onus is on you to make sure you run it  
legally which isn't particularly onerous.

S



On 16 Feb 2009, at 15:45, Al Sutton wrote:


 Don't assume a UK bank account is that easy.

 It took me about a month and a half to get a business account for my
 company, and part of that involved a face to face interview at the  
 bank
 with myself and the other director where we produced our passports  
 and a
 proof of home address. Prior to that one bank turned down the
 application because we mentioned the words mobile phone even  
 though it
 was in the sentance The primary focus of the business is the
 development of software to be used on mobile phones.

 You should also make yourself aware of the legal requirements for
 reporting accounts to Companies House (the companies registration  
 office
 for England and Wales), and V.A.T. which is a Tax UK companies have to
 charge if their earnings exceed a set level.

 So as you can probably guess, setting up a UK company is quite easy,  
 but
 there are a number of legal issues involved in running the company  
 that
 you'll also have to be aware of.

 Al.

 Sena Gbeckor-Kove wrote:
 I believe a UK company and bank account should be enough and that
 should only take a week to set up. Even by post.

 S



 On 16 Feb 2009, at 15:08, shimo...@gmail.com wrote:


 I would believe Google are not that easy to trick - the UK address
 will probably be checked against the credit card billing address.

 Anyway - no point in registering a UK address/credit card for them  
 to
 send my money to - how will I get it ?

 I tend to think Al's solution is the only current way...

 Thanks !

 On Feb 14, 7:12 pm, bouvetloz...@gmail.com  
 bouvetloz...@gmail.com
 wrote:

 The first page of Checkout registration doesn't strictly require  
 US/
 UK
 citizenship, only a contact address in US/UK and a credit card
 number.
 Of course I have to pay local taxes using the local rules, but it
 seems that Google doesn't need my local tax number for the payment.
 Sure, it's a strange idea.








 -- 
 ==
 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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Able to install file without adding MIME type in webserver - Very strange!!

2009-02-16 Thread Manoj Gopalakrishnan
This is a G1 phone.

Regards,
Manoj

On Mon, Feb 16, 2009 at 6:49 PM, Stoyan Damov stoyan.da...@gmail.comwrote:


 Is that an ADP1 phone or a G1?

 On Mon, Feb 16, 2009 at 12:41 PM, mnj manojgopa...@gmail.com wrote:
 
  Hi,
 
  Could someone respond.  Is this the right group  or should I move this
  discussion to android-platform/ android-discuss
 
  Thanks,
  Manoj
 
  On Feb 12, 2:16 pm, mnj manojgopa...@gmail.com wrote:
  Hi,
 
  I kept my  .apk file in my apache webserver at Document root path.
  This is the only file at Document Root . I had removed index.html file
  at this location. If I keep the index.html file then other files where
  not displayed if I open the URL i.e http://ip_address using a web
  browser
 
  Now from my Google phone browser I'm able to download the apk file and
  and install it in Google phone.
  Note 1: I had not done any settings to add theMIMEtypeapplication/
  vnd.android.package-archive  in apache webserver.
 
  Note 2: I was connecting to my webserver through WiFi.
 
  But the same apk file I was not able to download from my Gmail (as
  attachment) and I got unknown filetype error in this case.
 
  After reading few related topics, I came to know about theMIMEtype
  support required in webserver for android applications.
 
  Now I'm wondering how come file gets installed sucessfully from my
  apache webserver even without adding theMIMEtypeapplication/
  vnd.android.package-archive .
 
  Any clues what's happening here?
 
  Regards,
  Manoj
  
 

 


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



[android-developers] Re: Selling your apps section in Market help

2009-02-16 Thread Blake B.

Your interpretation would make more sense, but that doesn't seem to be
the way it's being done.

I don't have the option on my current app to change from free.  When I
unpublish it and attempt to Upload an application, I have the option
to set a price, but the publish site won't allow me to upload my .apk
because it sees that that application package has already been
published, and asks that I upgrade that app.

Am I the only one that this was a suprise to?  I am really not looking
forward to the annoyed user comments  emails.  I had planned for a
much easier transition.  What are others doing to migrate data between
free  paid versions of an app?


On Feb 16, 8:39 am, Al Sutton a...@funkyandroid.com wrote:
 Developers could always add a couple of features and charge for the
 feature added version.

 Al.





 Blake B. wrote:
  Ok, maybe I missed this along the way (or heard comments of this and
  couldn't believe it to be true), but this statement seems clear in the
  Setting the price of applications section:

  If you have previously published an application for free, you cannot
  change it to have a price.

  This seems to mean that any app that has been in the Market up to this
  point that plans on charging a price now will have to re-package
  itself as a new application.  If the app contains a database or other
  private data not accessible to other apps, I suppose that means we
  will have to release ANOTHER version of the FREE app that includes
  some kind of support for exporting data, then have the user download/
  install this version and run it IN ADDITION TO the new paid version if
  they want to migrate their data to the new paid version?  This seems
  like a major headache for users and developers alike.

  Am I reading this correctly?

  On Feb 16, 2:57 am, Al Sutton a...@funkyandroid.com wrote:

 http://market.android.com/support/bin/topic.py?topic=15867

  Highlights;

  - All fee information is shown in USD, GBP, EUR, AUD, and CAD so I think
  that tells us who is going to be able to sell apps in the coming months.
  - Allowable price ranges are $0.99 to $200 (YES $200 - Sheesh) or 0.50
  GBP to 100 GBP.
  - Chargebacks for less than $10 USD will be automatically charged back.
  - A $3 USD fee may be added to chargebacks on top of the refund.
  - The 24 hour refund period starts when the user has *downloaded* the
  app, not when they purchase it.

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

 --
 ==
 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.- 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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Selling your apps section in Market help

2009-02-16 Thread Al Sutton

You may need to refactor your code to change the package name to 
something line com.blah.nonfree.App and rebuild your apk.

It would seem to offer the quickest solution.

Al.

Blake B. wrote:
 Your interpretation would make more sense, but that doesn't seem to be
 the way it's being done.

 I don't have the option on my current app to change from free.  When I
 unpublish it and attempt to Upload an application, I have the option
 to set a price, but the publish site won't allow me to upload my .apk
 because it sees that that application package has already been
 published, and asks that I upgrade that app.

 Am I the only one that this was a suprise to?  I am really not looking
 forward to the annoyed user comments  emails.  I had planned for a
 much easier transition.  What are others doing to migrate data between
 free  paid versions of an app?


 On Feb 16, 8:39 am, Al Sutton a...@funkyandroid.com wrote:
   
 Developers could always add a couple of features and charge for the
 feature added version.

 Al.





 Blake B. wrote:
 
 Ok, maybe I missed this along the way (or heard comments of this and
 couldn't believe it to be true), but this statement seems clear in the
 Setting the price of applications section:
   
 If you have previously published an application for free, you cannot
 change it to have a price.
   
 This seems to mean that any app that has been in the Market up to this
 point that plans on charging a price now will have to re-package
 itself as a new application.  If the app contains a database or other
 private data not accessible to other apps, I suppose that means we
 will have to release ANOTHER version of the FREE app that includes
 some kind of support for exporting data, then have the user download/
 install this version and run it IN ADDITION TO the new paid version if
 they want to migrate their data to the new paid version?  This seems
 like a major headache for users and developers alike.
   
 Am I reading this correctly?
   
 On Feb 16, 2:57 am, Al Sutton a...@funkyandroid.com wrote:
   
 http://market.android.com/support/bin/topic.py?topic=15867
 
 Highlights;
 
 - All fee information is shown in USD, GBP, EUR, AUD, and CAD so I think
 that tells us who is going to be able to sell apps in the coming months.
 - Allowable price ranges are $0.99 to $200 (YES $200 - Sheesh) or 0.50
 GBP to 100 GBP.
 - Chargebacks for less than $10 USD will be automatically charged back.
 - A $3 USD fee may be added to chargebacks on top of the refund.
 - The 24 hour refund period starts when the user has *downloaded* the
 app, not when they purchase it.
 
 --
 ==
 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.
 
 --
 ==
 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.- Hide quoted text -

 - Show quoted text -
 
 
   


-- 
==
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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Selling your apps section in Market help

2009-02-16 Thread Blake B.

I'm not worried about the code migration - that's only a half-hour
work (max) with eclipse  Subversion.

I'm concerned about the user experience in transitioning their data to
the new paid version.  The user has data in user preferences and a
sqlLite database that they will expect to be able to continue to have
(as they have had in each free upgrade).  Both of these data are
private to the app belonging to the old package and cannot be accessed
by my new app (in the new package).  Is there a way around this that I
am not aware of?

Right now it seems users will have to go through an intermediate step
of downloading a new version of the free app that will be able to
export data to a public location on their SD Card that new new paid
version can then find an import.  Ick.



On Feb 16, 9:08 am, Al Sutton a...@funkyandroid.com wrote:
 You may need to refactor your code to change the package name to
 something line com.blah.nonfree.App and rebuild your apk.

 It would seem to offer the quickest solution.

 Al.





 Blake B. wrote:
  Your interpretation would make more sense, but that doesn't seem to be
  the way it's being done.

  I don't have the option on my current app to change from free.  When I
  unpublish it and attempt to Upload an application, I have the option
  to set a price, but the publish site won't allow me to upload my .apk
  because it sees that that application package has already been
  published, and asks that I upgrade that app.

  Am I the only one that this was a suprise to?  I am really not looking
  forward to the annoyed user comments  emails.  I had planned for a
  much easier transition.  What are others doing to migrate data between
  free  paid versions of an app?

  On Feb 16, 8:39 am, Al Sutton a...@funkyandroid.com wrote:

  Developers could always add a couple of features and charge for the
  feature added version.

  Al.

  Blake B. wrote:

  Ok, maybe I missed this along the way (or heard comments of this and
  couldn't believe it to be true), but this statement seems clear in the
  Setting the price of applications section:

  If you have previously published an application for free, you cannot
  change it to have a price.

  This seems to mean that any app that has been in the Market up to this
  point that plans on charging a price now will have to re-package
  itself as a new application.  If the app contains a database or other
  private data not accessible to other apps, I suppose that means we
  will have to release ANOTHER version of the FREE app that includes
  some kind of support for exporting data, then have the user download/
  install this version and run it IN ADDITION TO the new paid version if
  they want to migrate their data to the new paid version?  This seems
  like a major headache for users and developers alike.

  Am I reading this correctly?

  On Feb 16, 2:57 am, Al Sutton a...@funkyandroid.com wrote:

 http://market.android.com/support/bin/topic.py?topic=15867

  Highlights;

  - All fee information is shown in USD, GBP, EUR, AUD, and CAD so I think
  that tells us who is going to be able to sell apps in the coming months.
  - Allowable price ranges are $0.99 to $200 (YES $200 - Sheesh) or 0.50
  GBP to 100 GBP.
  - Chargebacks for less than $10 USD will be automatically charged back.
  - A $3 USD fee may be added to chargebacks on top of the refund.
  - The 24 hour refund period starts when the user has *downloaded* the
  app, not when they purchase it.

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

  --
  ==
  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.- Hide quoted text -

  - Show quoted text -

 --
 ==
 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.- 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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at

[android-developers] Re: fill_parent issue with ListView cells

2009-02-16 Thread kamenjar

I mean how do I span the text across multiple lines and have it
centered?
Even when I change what you suggested I still get something like this
(use fixed font)

---
Item 1 
---
  Text that spans
two lines
---
  Appears to fill
 the cell
---
Item 4 
---

I expected Item 1 and Item 4 to be BOTH center-aligned and fill the
cell so that area marked with XX is clickable.

LinearLayout
android:id=@+id/LinearLayout01
xmlns:android=http://schemas.android.com/apk/res/android;
android:minHeight=46px
android:layout_width=fill_parent
android:layout_height=wrap_content
android:gravity=center
TextView
android:layout_width=fill_parent
android:layout_height=wrap_content
android:id=@+id/label
android:layout_marginLeft=5px
android:gravity=center
/TextView
/LinearLayout
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Publishing my app

2009-02-16 Thread Nox

Yes,but how can I sign it with jarsigner?
I mean where can I find jarsigner?




On 16 Feb., 00:14, Mark Murphy mmur...@commonsware.com wrote:
 Nox wrote:
  I`ve developed an application,but I don`t know how to upload it into
  the Android Market!!!

  If I click to upload there always appers this error message:

  The apk is not properly signed.

  But how can I sign it???

 http://developer.android.com/guide/publishing/app-signing.html

 --
 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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Publishing my app

2009-02-16 Thread Kumaravel Kandasami
It should have shipped with you %JAVA_HOME%\bin directory.



Kumar_/|\_
www.saisk.com
ku...@saisk.com
making a profound difference with knowledge and creativity...


On Mon, Feb 16, 2009 at 10:20 AM, Nox v.beh...@googlemail.com wrote:


 Yes,but how can I sign it with jarsigner?
 I mean where can I find jarsigner?




 On 16 Feb., 00:14, Mark Murphy mmur...@commonsware.com wrote:
  Nox wrote:
   I`ve developed an application,but I don`t know how to upload it into
   the Android Market!!!
 
   If I click to upload there always appers this error message:
 
   The apk is not properly signed.
 
   But how can I sign it???
 
  http://developer.android.com/guide/publishing/app-signing.html
 
  --
  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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Publishing my app

2009-02-16 Thread Sundog

http://www.google.com/search?hl=enq=jarsignerrlz=1W1GPEA_enaq=foq=

On Feb 16, 9:20 am, Nox v.beh...@googlemail.com wrote:
 Yes,but how can I sign it with jarsigner?
 I mean where can I find jarsigner?

 On 16 Feb., 00:14, Mark Murphy mmur...@commonsware.com wrote:



  Nox wrote:
   I`ve developed an application,but I don`t know how to upload it into
   the Android Market!!!

   If I click to upload there always appers this error message:

   The apk is not properly signed.

   But how can I sign it???

 http://developer.android.com/guide/publishing/app-signing.html

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

  Android Training on the Ranch! -- Mar 16-20, 
  2009http://www.bignerdranch.com/schedule.shtml- 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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: fill_parent issue with ListView cells

2009-02-16 Thread kamenjar

Also to clarify the strings are Item 1 and Item 4, the  is
just used to explain the blank area.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: A safer way of using SoundPool?

2009-02-16 Thread Dave Sparks

I believe we were able to do the fixes for SoundPool without changing
the public API. There are no plans to deprecate it at this time.

On Feb 16, 6:05 am, Blake B. bbuckle...@yahoo.com wrote:
 Great idea, Jon.  Thanks for sharing the code.  I'm about to start
 work on sound in my game, so I'll look into using this.

 Hopefully, Google realizes that many are using SoundPool and will keep
 the existing API in place for a while, even if deprecated, long enough
 to migrate apps.  I think we are all interested in keeping Android's
 good name and not annoying users without need.

 On Feb 16, 2:05 am, Jon Colverson jjc1...@gmail.com wrote:

  On Feb 16, 6:25 am, Marco Nelissen marc...@android.com wrote:

   Why do you say it's not a public API?

  SoundPool is undocumented because it is not ready as a public API and
  is subject to change.

 http://groups.google.com/group/android-developers/msg/6c360f2d0662be0a

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



[android-developers] Re: On android.media.MediaRecorder, can it record the voice of speaker?

2009-02-16 Thread Dave Sparks

You might be able to get away with recording the mic - I haven't
checked. I'm pretty sure if you change the sample rate to something
other than 8KHz, it will kill uplink audio.

We may be able to support access to and downlink audio in a future
release (not in Cupcake or the release after that).

On Feb 16, 4:18 am, Shawn_Chiu qiuping...@gmail.com wrote:
 Hello, Dave
 Thanks for your reply.
 I do agree with you that HTC G1 could not record uplink or downlink
 audio, but I wrote an application myself to record the audio while
 there exists a conversation. It could record the voice from microphone
 no matter the AudioSource is MIC or DEFAULT. Actually, they do the
 same thing.
 Would other devices such like speaker or both speakermic could be
 supported in further release?
 BR
 Shawn

 On Feb 16, 7:12 am, Dave Sparks davidspa...@android.com wrote:

  The G1 does not support recording uplink or downlink audio.

  On Feb 14, 6:20 am, Shawn_Chiu qiuping...@gmail.com wrote:

   Hello, buddies
   It's about android.media.MediaRecorder.
   I want to implement a feature to record the conversation, both voice
   from speaker and microphone. But I tried on G1 phone, the
  MediaRecorderonly could record the voice from microphone. I looked
   into the Android doc, there are only two audio sources, MIC and DEFAULT
   (either to record microphone). So these are my questions:
   1. whether can I implement it or not?
   2. will more audio sources be supported? If so, which release or when?
   Thank you:-0
   Shawn
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Audio stops after some time in android from video/Music player

2009-02-16 Thread Dave Sparks

Please don't cross-post. This question isn't appropriate for the
application developer forum.

On Feb 16, 4:01 am, getandroid sampath...@gmail.com wrote:
 Hi,

As mentioned audio stops after some random number of times when
 played from either Music/Video player. After some debugging, I found
 that the problem is:

 In android_audio_output.cpp-audout_thread_func() there is a call to
 wait(iAudioThreadSem-Wait()) just before the while(1) and it is
 waiting indefinitely for something.

 Can anybody tell me what is it waiting for and why is it not able to
 come out? From what I can understand, it is waiting for a signal
 (semaphore) but where is it expecting a signal from?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: playing video from browser in sdk1.1

2009-02-16 Thread Dave Sparks

This list is for application developers. Please post questions about
source code in one of the open source forums (android-porting, android-
platform, or android-framework).

Short answer: There are no plans to publish source to any of the
Google properties at this time.

On Feb 15, 8:10 pm, Harishkumar V harishpres...@gmail.com wrote:
 Dear All,

 I have downloaded android source from android git tree and built it, loaded
 the new images into emulator.
 but when i opened up the browser and browse throughhttp://youtube.com, only
 the blank white screen appears.
 i am able to browse other websites.http://m.youtube.comworks fine, videos are 
 listed and if i try to play
 video, the same error, it loads and does not play video.

 is youtube app available in the current source.
 any link or reference available abt youtube player in the android source or
 how to build it in from the source.

 In frameworks/base/packages/SettingsProvider/etc/bookmarks.xml, the
 com.google.android.youtube was mentioned. how to get the package.

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



[android-developers] Re: Problem with SDK 1.1 - can not see javadoc

2009-02-16 Thread g1bb

Anyone figure this out?

On Feb 13, 9:41 am, Alexey avolo...@gmail.com wrote:
 Same here.

 On Feb 10, 2:26 am, tranbinh.b...@gmail.com



 tranbinh.b...@gmail.com wrote:
  Dear all,
  I have just upgraded the SDK version to 1.1.
  But after that, I can not see thejavadocof the methods. Example: I
  can not see thejavadocof onCreate() when I move the mouse over this
  method.
  Has anyone got into this trouble?- 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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: package isn't signed correctly error on customer install - Market problem??

2009-02-16 Thread Brad Gies



Did you sign the update correctly, but with a different key than the
previous version of your app?

Sincerely,
 
Brad Gies
 
 
-
Brad Gies
27415 Greenfield Rd, # 2,
Southfield, MI, USA
48076
-
 
Moderation in everything, including abstinence


A customer wrote me that his upgrade of my app would not install and
gave the following error:

package isn't signed correctly

The install worked find for me but I was getting a lot of bad reviews
because of this error and I removed the app.

How is this possible;  you can't upload an app to Google Markets
without it being signed correctly?




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



[android-developers] Cannot use custom style that inherit from translucent android theme

2009-02-16 Thread Adrien Guichard

if I do add the property:
android:theme=@style/android:Theme.Translucent.NoTitleBar

to my activity into the manifest file, it does work.


if I want to use a custom style that inherit from this style, even
without setting any properties into my style.xml:
   android:theme=@style/MyTranslucent
and
   style name=MyTranslucent
parent=android:style/android:Theme.Translucent.NoTitleBar/style

it does not work. But if I inherit from another android style (i.e.
Dialog for exemple), it does work...


has someone a solution?
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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Idea for non-US/UK developers with paid apps (was Setup Merchant Account link now available)

2009-02-16 Thread Al Sutton

I know this is going to disappoint a number of people, but my company 
will now not be offering the republishing service . The main reason for 
this is lack of response from Google.

It's now been nearly three days since the idea was floated, and it's the 
end of the working day here in the UK (a region Google is suppose to be 
supporting for this), and nobody from Google has even acknowledged the 
idea has been floated let alone said it's allowable under the Market TCs.

The view of the company directors is that it would represent too higher 
risk to publish other peoples applications into an environment where 
chargebacks may happen automatically without any ability to challenge 
them and without the support from Google by responding in a timely 
fashion to explain if the reason for the chargeback could be resolved 
(e.g. bug, poor documentation, etc.). We felt that if they won't even 
acknowledge an idea within one business day which would solve a huge 
hurdle for a large number of Android developers then the chances of them 
dealing with queries about individual chargebacks in a reasonable time 
frame is next to none.

In short I'm sorry guys but if Google weren't willing to step up to the 
plate and help us make this happen then it just isn't feasible.

Al.

Al Sutton wrote:
 OK, I'm going to float an idea that I'd like some feedback on from 
 developers and (hopefully) someone at Google (Justin, I'd appreciate any 
 clarification you can give on this).

 My company (Funky Android) is a UK Registered company and I would be 
 willing to allow it to act as a publisher for *some* non-US/UK 
 developers in order to get their paid apps into the app store. What I'd 
 look for is a 2% cut of the app sales price on top of the Markets 30% 
 cut in order to cover support and admin costs (i.e. forwarding user 
 queries, paying the accountant to make sure the money flow is tax 
 efficient and legal, etc.).

 Is this something developers would want and Google would allow?

 Al.

 Mads Kristiansen wrote:
   
 I'd like to see someone create a solution like armadillo - i.e. a 
 wrapper to make apps available in the Android Market while using an 
 external DRM/payment solution. There is no word on when I will be able 
 to publish priced apps form my country, so that could be anywhere from 
 1 month to years from now (well, probably not, but just to make a 
 point). That's a bit of a problem. I'll probably just publish my first 
 app and then do some shameless self promotion in it ;) instead of 
 charging, see what happens with the priced apps and then concentrate a 
 bit on the iPhone development.

 BR, Mads

 On Sat, Feb 14, 2009 at 8:28 AM, Mariano Kamp mariano.k...@gmail.com 
 mailto:mariano.k...@gmail.com wrote:

  Google checkout has been working since 2006
 It might be operational since then, but did anyone see Google's
 checkout in the wild?
 It is in Google's the best interest to finally do something about
 it and make it mandatory to use for people so that they will
 finally start using it, but I don't think it is in the best
 interest of developers to be forced to use an exotic payment
 system that no user has ever used before.
 Given that non-us/uk developers are not allowed to publish their
 apps makes the story worse, at least for those developers.

 That's the beauty of Apple's solution. They also don't provide
 paypal, but at least most user already have an iTunes account and
 things go very smoothly.

 On Sat, Feb 14, 2009 at 12:21 AM, Ivan Soto ivanso...@gmail.com
 mailto:ivanso...@gmail.com wrote:

 I've been reading a lot about this whole Google Merchant thing
 and it's actually that Google Checkout only allows to sell
 goods from US and UK. It's not an Android thing, it's their
 system is not even complete and operational for all countries.

 Well, I know they will add more countries like they said in
 the email but I wonder what is the ETA on Canada. Google
 checkout has been working since 2006 I believe and people have
 been whining since then. Still nothing has been done. So
 seeing how slow is this going, I wonder if they will actually
 add Canada (or more countries) in a matter of months or years
 or what?



 On Fri, Feb 13, 2009 at 4:06 PM, Mariano Kamp
 mariano.k...@gmail.com mailto:mariano.k...@gmail.com wrote:

 Yeah, that is really really bad and even worse and too
 late communicated. I wonder why?

 On Fri, Feb 13, 2009 at 7:55 PM, Ivan Soto
 ivanso...@gmail.com mailto:ivanso...@gmail.com wrote:

 I knew you wouldn't be able to buy or sell IN Canada.
 But I had no idea that if I was IN Canada I wouldn't
 be able to sell to another countries.

 Now I'm sad.


 On Fri, Feb 13, 2009 at 11:29 AM, Al 

[android-developers] Re: Problem with sound on Notifications on Emulator

2009-02-16 Thread Marco Nelissen
Interesting, I didn't know that. Looks like that is only partially
implemented: you can get an InputStream from such a resource-Uri, but there
isn't actually a content provider that handles that scheme and can give you
a file descriptor for it, which means it can't work for media playback.


On Mon, Feb 16, 2009 at 4:48 AM, Mark Murphy mmur...@commonsware.comwrote:


 Marco Nelissen wrote:
  On Sat, Feb 7, 2009 at 12:03 PM, pperotti pablo.pero...@gmail.com
  mailto:pablo.pero...@gmail.com wrote:
  (...)
 
 Uri uri = Uri.parse(android.resource://com.pp/ +
  R.raw.test_cbr);
 
 
  This is the second time in as many days I see somebody trying to access
  a resource that way. Is there some misguided tutorial somewhere that
  claims that this works, or is the documentation misleading in some way?

 I can tell you:

 -- The documentation for ContentResolver has SCHEME_ANDROID_RESOURCE
 defined as android.resource

 -- Joe Onorato, back in March 2008, described the above pattern for
 accessing resources:


 http://groups.google.com/group/android-developers/browse_thread/thread/74cc21c9e613f608/7ecb48800e7faab1

 (also at http://tinyurl.com/ansdr7 in case that URL gets munged by your
 mail client)

 That being said, I haven't used this scheme in ages, so if it is
 officially deprecated, that would be good to know. Particularly since I
 can think of one Android book that will need a-fixin' if this scheme is
 no longer usable... ;-)

 --
 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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: How to stop an Activity

2009-02-16 Thread Marco Nelissen
You put it in the wrong place. Your Activity's onDestroy() won't be called
until after your activity is already stopped, so putting a call to finish()
in there is kinda pointless.


On Mon, Feb 16, 2009 at 4:33 AM, sunil.mahar...@lntinfotech.com wrote:


 I have added the below code in my Activity to stop the Activity, but it
 doesn't  stop my Activity.

 *protected* *void* onDestroy() {
 finish();
 // *TODO* Auto-generated method stub
 *super*.onDestroy(); }

 My objective is to stop/kill the current Activity, so that it will go back
 to my previous Activity.

 Thanks  Regards,
 Sunil




  *for android forandr...@gmail.com*
 Sent by: android-developers@googlegroups.com

 02/16/2009 04:25 PM
  Please respond to
 android-developers@googlegroups.com

   To
 android-developers@googlegroups.com  cc
   Subject
 [android-developers] Re: How to stop an Activity




 calling finish will close an activity.

 A service should not ideally start an activity,it should throw up a
 notification.

 On Mon, Feb 16, 2009 at 4:19 PM, Android 
 *sunil.mahar...@lntinfotech.com*sunil.mahar...@lntinfotech.com
 wrote:

 Hi,

 I have one Activity, that starts one Service and my service will lunch
 one Activity, i wanna to stop the Activity which one started my my
 Service after few seconds.
 Is there any way to achieve. Has anyone experienced this type of
 scenario.

 -Sunil





 __

 __

 


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



[android-developers] How to remove app from the Market

2009-02-16 Thread A T
Is there a way to remove my application from the Market? I tried
Unpublishing it but after a few hours it just gets re-published... Is
there a way to permanently delete?
Thanks,

AT

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



[android-developers] Re: How to stop an Activity

2009-02-16 Thread Dianne Hackborn
And will make your activity disappear if the user flips the lid or otherwise
changes the screen orientation. :)

On Mon, Feb 16, 2009 at 10:08 AM, Marco Nelissen marc...@android.comwrote:

 You put it in the wrong place. Your Activity's onDestroy() won't be called
 until after your activity is already stopped, so putting a call to finish()
 in there is kinda pointless.



 On Mon, Feb 16, 2009 at 4:33 AM, sunil.mahar...@lntinfotech.com wrote:


 I have added the below code in my Activity to stop the Activity, but it
 doesn't  stop my Activity.

 *protected* *void* onDestroy() {
 finish();
 // *TODO* Auto-generated method stub
 *super*.onDestroy(); }

 My objective is to stop/kill the current Activity, so that it will go back
 to my previous Activity.

 Thanks  Regards,
 Sunil




  *for android forandr...@gmail.com*
 Sent by: android-developers@googlegroups.com

 02/16/2009 04:25 PM
  Please respond to
 android-developers@googlegroups.com

   To
 android-developers@googlegroups.com  cc
   Subject
 [android-developers] Re: How to stop an Activity




 calling finish will close an activity.

 A service should not ideally start an activity,it should throw up a
 notification.

 On Mon, Feb 16, 2009 at 4:19 PM, Android *sunil.mahar...@lntinfotech.com
 * sunil.mahar...@lntinfotech.com wrote:

 Hi,

 I have one Activity, that starts one Service and my service will lunch
 one Activity, i wanna to stop the Activity which one started my my
 Service after few seconds.
 Is there any way to achieve. Has anyone experienced this type of
 scenario.

 -Sunil





 __

 __




 



-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

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

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



[android-developers] Re: How to remove app from the Market

2009-02-16 Thread Stjepan Rajko

On Mon, Feb 16, 2009 at 11:27 AM, A T somecs...@gmail.com wrote:
 Is there a way to remove my application from the Market? I tried
 Unpublishing it but after a few hours it just gets re-published... Is
 there a way to permanently delete?

I think you are doing the right thing, but it appears that the Market
may be broken at the moment:

http://groups.google.com/group/android-developers/browse_thread/thread/41ead1bc456d1276

Stjepan

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



[android-developers] Re: How to retrieve current keyboard configuration (without configuration changes)?

2009-02-16 Thread Dianne Hackborn
getResources().getConfiguration().

On Mon, Feb 16, 2009 at 5:15 AM, blindfold seeingwithso...@gmail.comwrote:


 How can I detect if the G1 keyboard is hidden or open at application
 startup? My app always runs in landscape mode, but I can only find how
 to detect keyboard configuration *changes* (through
 onConfigurationChanged()). So how can I retrieve the current keyboard
 configuration (open or closed) at application startup?

 Thanks!

 



-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

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

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



[android-developers] Conditionally Show View?

2009-02-16 Thread julius

Hi,

I have a form which is used to edit an object and when adding the
object I want the user to be able to select from a Spinner, but after
saving I'd like to use the same View, but in place of the Spinner have
a TextView. Is there a conditional option in the xml so if no Spinner
is set up it shows the TextView instead (and vice-versa)?

Sorta like:
ListView android:id=@+id/android:list
  android:layout_width=wrap_content
android:layout_height=wrap_content/
TextView android:id=@+id/android:empty
  android:layout_width=wrap_content
android:layout_height=wrap_content
android:text=No Services Configured.../

In this case if the list is empty then the TextView shows... (at least
I think that's how it works :))

(BTW - I posted this about 13 hours ago in android-beginners and it
didn't turn up so I'm posting again. My apologies if it turns up
twice.)

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



[android-developers] Re: Setup Merchant Account link now available

2009-02-16 Thread maribou

Al,
It's a national holiday in the US.  That's probably why you cannot get
any response from Google.  Besides, they will be quite busy ironing
out the wrinkles of the paid market launch for the next few days.
Please wait a bit before giving up on the idea.

On Feb 16, 9:49 am, Al Sutton a...@funkyandroid.com wrote:
 And at the moment there is still no answer as to whether or not Google
 will allow it (you can track the question 
 athttp://www.google.com/support/forum/p/Android+Market/thread?tid=0d53b...).

 I've got to admit that given the amount of time it's taking someone from
 Google to even comment on the idea I'm sorely tempted to drop the idea
 because who knows what could happen between a problem happening and
 Google getting round to answering questions about it, and when you're
 dealing with peoples money things get all that more heated no matter how
 small the amount.

 Al.



 shimo...@gmail.com wrote:
  I would believe Google are not that easy to trick - the UK address
  will probably be checked against the credit card billing address.

  Anyway - no point in registering a UK address/credit card for them to
  send my money to - how will I get it ?

  I tend to think Al's solution is the only current way...

  Thanks !

  On Feb 14, 7:12 pm, bouvetloz...@gmail.com bouvetloz...@gmail.com
  wrote:

  The first page of Checkout registration doesn't strictly require US/UK
  citizenship, only a contact address in US/UK and a credit card number.
  Of course I have to pay local taxes using the local rules, but it
  seems that Google doesn't need my local tax number for the payment.
  Sure, it's a strange idea.

 --
 ==
 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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Android North America 3G

2009-02-16 Thread Robert Zaleski

My friend runs a build of Android on his  HTC Tilt phone.  I wouldn't
say it's Production Ready but he makes calls on it and such.  I
think he also mentioned that the same group are working on the HTC
Touch Pro as well.  As I understand it this is just typical Open
Source hacking.  He has made calls, SMS, and has a data connection
(May just be Edge) on it.  If you googled around I would think you
could find more info on builds and such.  I can get details Tuesday if
no one else posts them and you want them.  He runs Windows Mobile and
starts up an app that takes over the phone and loads android.

On Feb 14, 9:13 am, rarewolf rarew...@gmail.com wrote:
 As interested as I am in Android on my next smart phone, there doesn't
 seem to be one available with North American 3G (ie, UMTS 850/1900).
 Which will be the first to have Android ported?  HTC Touch Pro, SE
 Xperia X1a, Toshiba TG01 ... and feel free to before  after WMC'09.

 TIA and cheerios from the Avalon Peninsula, Newfoundland Canada  :)

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



[android-developers] How to install android on htc tytn ii

2009-02-16 Thread John J. Martinez
hi, you know, how to install android on htc tytn ii?

Atn, John

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



[android-developers] Re: How to use proxy server on the g1?

2009-02-16 Thread alejandro.cale...@gmail.com

Someone find any solution out for this? In my case, In the work, there
is a wifi signal trough the proxy.

Thanks.

On Feb 4, 6:55 am, Al Sutton a...@funkyandroid.com wrote:
 Sounds like an opportunity for someone to write an app. The source for
 theproxysettings page is in;

 /packages/apps/Settings/src/com/android/settings/ProxySelector.java

 in the git repository, so couldn't someone write an app using that, add
 in some buttons to change configuration and some optional Geo-location
 to switchproxysettings automatically based one where you are and it'll
 probably be a popular app.

 Or is it another piece of  functionality limited to the in-crowd who can
 get their app signed with the right certificate?

 Al.http://andappstore.com/



 friedger wrote:
  I am interested as well.
  Friedger

  On Jan 30, 3:18 pm, joff m...@j0ff.com wrote:

  Anyone figured this one out yet?

  On Jan 24, 9:38 pm, DJMoran danmo...@blueyonder.co.uk wrote:

  I also need the exact same help, my school uses aproxyserver to
  access the web.

  Also my home wireless doesn't need aproxyto access the web.

  I know the iPhone and iPod touch can use multipleproxysettings
  depending on the network it is connected to but what about the G1

  On Jan 10, 1:52 pm, kevkev...@googlemail.com

  kevkev...@googlemail.com wrote:

  Does anyone know how to connect to the internet via aproxyserver on
  a g1 handset? I need to use aproxyserver at school to get on the
  internet onwifi.

  Cheers

 --
 ==
 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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] How does Market portect my Android applications

2009-02-16 Thread htcand...@gmail.com

Market pay system has been launched  it provides region filtering 
copy protection, does anyone know how these filtering  protection are
done?

1. the filtering is done only @ server side ?  what if an device wants
to install a application for different region through web or adb??
2. How does Android Market protect my application form extract from a
device? server side ? or application installer ?

I need more information to see if I need to implement other scheme
myself for doing these!

THANX

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



[android-developers] Re: Problem accessing Google Weather API

2009-02-16 Thread pillsoon.p...@gmail.com

I have same problem, too. It was working fine, but suddenly only
saying FileNotFoundException.

I haven't found any question or posting about this problem for 4 days.
So, I guess it's only for some country.

I guess you are in Japan, right? I'm in Korea. That's why I'm thinking
like that.

I think if this problem is common for all, there should be some
complaints.

I'm trying to fix this. If you find a solution first, please share it.

Thanks and good luck!


On 2월12일, 오후10시38분, Rockingteam androidmai...@gmail.com wrote:
 Hi,

 I have an application that uses GoogleWeatherAPI.
 The application was working fine till yesterday night and today
 morning all of sudden am getting an exception that says :

 http://403Unauthorized access
 java.io.FileNotFoundException:http://www.google.com/ig/api?weather=Tokyo,Japan

 Is there any change in the service provided by Google.

 Looking forward for help on this.

 Thanks in advance.

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



[android-developers] Re: Option to make your application the default for said activity

2009-02-16 Thread Ben Williamson

Ben Williamson wrote:
 I'm working on a social bookmarking tool and I was hoping someone 
 could help me figure out how to give an option to make my application 
 the default application for bookmarking. I've noticed Steel has the 
 option to set it as the default web browser, Exact call log has the 
 same ability for the call history anyone know how this is 
 accomplished?


 Regards.
Stupid question, don't know what I was thinking but there is no 
definitive bookmark app already on the phone, and Im guessing  hooking 
into the browsers bookmarks would be out of the question

New question, does anyone know how to hook into the systems long click 
default action for text boxes I would like to hook into this, check 
the string as a valid url, and then add a list option to bookmark it... 
or am I just barking up the wrong tree?


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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Option to make your application the default for said activity

2009-02-16 Thread Ben Williamson

I'm working on a social bookmarking tool and I was hoping someone could 
help me figure out how to give an option to make my application the 
default application for bookmarking. I've noticed Steel has the option 
to set it as the default web browser, Exact call log has the same 
ability for the call history anyone know how this is accomplished?


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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



答复: [android-developers] Problems conver ting Base64 byte arrray to String.

2009-02-16 Thread Tony Huang

Yes,I think so.
-邮件原件-
发件人: android-developers@googlegroups.com 
[mailto:android-develop...@googlegroups.com] 代表 sukumar
发送时间: 2009年2月16日 17:16
收件人: Android Developers
主题: [android-developers] Problems converting Base64 byte arrray to String.


hi All,

Im trying to convert a byte array which is in Base64 format to String
as below. Data was not assigned properly to the String. Do I need to
pass the encoding type while creating the new String?. Please let me
know the problem. Thanks.

String x = new String (b64byteArray);

Regards,
Sukumar.


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



[android-developers] SOS calls via other networks?

2009-02-16 Thread John

I recently aquired a dev version of the G1 and one thing I keep
noticing I thought odd was the phone never shows that it can make SOS
calls. Not a big thing, unless there was some kind of life threatening
emergency :) but can the phone make SOS calls via another network if
out of range of the network it normally connects with?

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



[android-developers] Playing simple sounds on the emulator

2009-02-16 Thread Gökhan Yamaç

Hi,

I am working on the Eclipse Emulator and with SDK 1.0 Release 2. What
I would like to do is to play a simple C note with with code. Does
android provide the necessary interface to produce such note sounds?
Is there a sound library and API I can readily use on the device (and
emulator)?

Thank you

Gokhan

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



[android-developers] Using LIKE in Android SQLITE

2009-02-16 Thread hc

I want to do a query equivalent to this

SELECT * FROM search_table WHERE keyword LIKE '%abc%';

How can I do this? I have tried out different methods using rawQuery
but I can't do this. Hope someone can hep with this. THanks

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



[android-developers] how to change google login service

2009-02-16 Thread jc

my G1 is firmware 1.1. i cannot find dev tools, which is supposed to
allow users to change the basic setting of login id  password. i'm
wondering how to change them for gmail, calendar and contact in
default data sync. thanks.

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



[android-developers] How to use sound in animation

2009-02-16 Thread saneep

Hi All,

 I wanted to know that how to use sound in animation,Actually i wanted
to  create a online bidding game and i want to use sounds in that
animation.

Can u let me know how to do this.





Thanks,
Sandeep

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



[android-developers] Integrating my external library

2009-02-16 Thread Ashutosh Agrawal
Hi,

 

Though I have gone through the available documentation and the source code,
I am somewhat ambiguous about the approach to follow for integrating my
external library (daemon/service which is written in C) in Android
architecture. I think the following main actions needs to be done

 

1.  Port and Make the service as an external library with Android tool
chain
2.  Write an application framework for connecting application world to
my external library i.e. providing Java API interface and mapping the
corresponding C APIs by JNI
3.  Write a Java application according to the Android analogy and use my
application framework (2). 

 

I would appreciate if somebody from Android team can correct my
understanding on this, and would provide me the piece of advice.

 

 

Thanks in advance,

Ashutosh

 

 


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



[android-developers] Draging tha markers

2009-02-16 Thread sampath

Is possible to Cliking on a map marker and drag the marker along with
map to desired location.

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



[android-developers] some problems with permission when using adb-G1

2009-02-16 Thread flank

x...@xx-t23:/opt/android-sdk-linux_x86-1.0_r2/tools$ adb shell
$ ls
sqlite_stmt_journals
cache
sdcard
etc
init
default.prop
logo.rle
init.trout.rc
system
data
sys
proc
init.goldfish.rc
init.rc
sbin
root
dev ..//It works normally
$ cd data
$ ls
opendir failed, Permission denied .//have no permission
$ cd cache
cd: can't cd to cache //maybe  the same reason above
$

please help,does it mean I should get the G1's root permission?

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



[android-developers] Re: Question about sqlite query with regular expression

2009-02-16 Thread hc

I'm looking for a solution as well. Anyone?

On Feb 16, 5:10 pm, wsgfz...@gmail.com wsgfz...@gmail.com wrote:
 Is there any way out to achieve
 SELECT * FROM tblname
  WHERE name LIKE '%[0-9]%' 

 i know we can't do this with sqlite~
 but how to deal with such query task with sqlite???

 i tried to use REGEXP ~but unluckily it is not pre-defined~
 so i tried to define it by myself...but even i couldn't find a way in
 android to create a UserDefinedFunction...

 anyone can help me ..?

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



[android-developers] Using LIKE in Android SQLITE

2009-02-16 Thread honcheng
I want to do a query equivalent to this

SELECT * FROM search_table WHERE keyword LIKE '%abc%';

How can I do this? I have tried out different methods using rawQuery
but I can't do this. Hope someone can hep with this. THanks

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



[android-developers] TOSHIBA G900

2009-02-16 Thread Doctor ZIP
Будет ли портироватся для этой модели комуникатора?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] File explorer

2009-02-16 Thread John J. Martinez
you know any file explorer for Android?

John J.

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



[android-developers] Send SMS to Email

2009-02-16 Thread Noam

Hello everyone,
I would like to send an SMS from the device to an email. I use this
code for it:

SmsManager sm = SmsManager.getDefault();
 sm.sendTextMessage(bodyText, null, test123, null, null);

When the bodyText variable is set to 1234567890, then it works.
When the bodyText variable is set to any character, even n, it
tells me a java.lang.StringIndexOutOfBoundsException.

Is there any way to trick it so that it will let me send to an email?

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



[android-developers] Re: button animation problem

2009-02-16 Thread Romain Guy

How do you change the layout params?

On Mon, Feb 16, 2009 at 7:37 AM, Christian Wiesbauer
christian.wiesba...@bdc.at wrote:
 Hi,



 I rotate a button 90 degrees anti-clockwise with a RotateAnimation. I also
 change the position of this button with AbsoluteLayout.LayoutParams. My
 problem is that after these steps the button cannot be clicked or focused.
 If I click on the old position (before the animation) the onClick event is
 called. How can I set the click area to the new position? Does
 TouchDelegate do the trick?



 Thanks,



 Christian Wiesbauer



 




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

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

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



  1   2   >