[android-developers] Re: Get application ID of my app on the market

2009-02-27 Thread Wah

Unfortunately my previous app version had an upgrade link that uses
the id=blah style to help user to upgrade to a new version, so it's
hard to change at least for the users already installed my app. Is
there absolutely no way to find my app ID?

Wah

On Feb 22, 1:51 pm, "Jay Freeman (saurik)"  wrote:
> You are probably better off using the package name:
>
> market://search?q=pname:com.whatever.name
>
> That way the link will always point to the most recent version of your
> application and not need to be updated. -J
>
> (As I just joined this group I am going to get moderated when I send
> this message, so I also CC'd the original poster.)
>
> On Feb 22, 1:14 pm, Wah  wrote:
>
> > Hi:
>
> > I hope to figure out the direct URL link to my application on the
> > market likehttp://market:blahblah
>
> > I was able to find the applicationIDpreviously by going to the UI
> > interface to upload application, and looking at the URL link that can
> > edit theapp.
>
> > However, this method doesn't seem to work any more because the now the
> > edit URL link contains only the package name and not theappID.
>
> > Any idea how to get the applicationID?
>
> > Wah
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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: Call the developer!!

2009-02-27 Thread Mattaku Betsujin
I didn't enter a support number. Google copied it from my developer profile.

As I said in my last mail, 99.9% of the developers don't want to provide
phone support.

By your logic, Google may as well list my home address because *some*
developers may want to provide free full body massage to their users.


On Fri, Feb 27, 2009 at 11:34 PM, Al Sutton  wrote:

>
> Some of the 'phone numbers are most likely valid support numbers entered
> by developers to offer users support.
>
> Can you suggest a method for Google to use to distinguish between those
> people who checked the application profile and entered a number they
> wanted to be used and those who uploaded their app, published it, didn't
> check the details, and hence have their number on show?
>
> Al.
>
> Mattaku Betsujin wrote:
> > I have read his thread and changed my number to that of Paris Hilton.
> > So if anyone wants to talk to a hot girl for support, get my app!
> >
> > But regardless, Google still should remove the phone numbers. This is
> > insane.
> >
> > On Fri, Feb 27, 2009 at 11:08 PM, Al Sutton  > > wrote:
> >
> >
> > Read the thread JBQ has pointed you at. It shows how to remove your
> > 'phone number, and tells you why it's being shown.
> >
> > Al.
> >
> > Mattaku Betsujin wrote:
> > > Please take remove the number for ALL apps NOW!
> > >
> > > Who in their right mind would think of providing phone tech support
> > > for a .99 app? This is ridiculous!
> > >
> > > Those developers who are desperate for human contact are free to
> put
> > > their phone numbers on their web sites.
> > >
> > > On Fri, Feb 27, 2009 at 5:03 PM, Jean-Baptiste Queru
> > mailto:j...@android.com>
> > > >> wrote:
> > >
> > >
> > >
> >
> http://groups.google.com/group/android-discuss/browse_thread/thread/e3772a897dbb0080/ff4eca3dca2fc7de#ff4eca3dca2fc7de
> > >
> > > JBQ
> > >
> > > On Fri, Feb 27, 2009 at 4:59 PM, Mattaku Betsujin
> > >  > 
> >  > >>
> > > wrote:
> > > > Google, please tell me this is a big foul up. Today my phone
> > > number appeared
> > > > in the Market listing of my app, and my answering machine
> > is full of
> > > > messages by people saying how much they like my app.
> > > >
> > > > I though the phone number will never be listed. How dare you!
> > > >
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Jean-Baptiste M. "JBQ" Queru
> > > Android Engineer, Google.
> > >
> > > Please don't contact me directly.
> > >
> > >
> > >
> > >
> > > >
> >
> >
> > --
> >
> > * Written an Android App? - List it at http://andappstore.com/ *
> >
> > ==
> > 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.
> >
> >
> >
> >
> >
> > >
>
>
> --
>
> * Written an Android App? - List it at http://andappstore.com/ *
>
> ==
> 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: Is there a standard list of android icons for our apps?

2009-02-27 Thread Mattaku Betsujin
Download the Android source code and search for *.png. You will find tons of
images.

On Fri, Feb 27, 2009 at 7:57 PM, Edward Falk  wrote:

>
> From: Anil 
>
> > for example: for error dialogs, confirm dialogs, progress...
> > I looked in the res/drawable in the android.jar but couldn't see
> > thumbnails to determine what they look like.
> > thanks,
>
> Bump
>
> Any options other than looking at res/drawable in android.jar?  I
> prefer not to do that because using undocumented features tend to get
> you eaten by a grue.
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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: Call the developer!!

2009-02-27 Thread Al Sutton

Some of the 'phone numbers are most likely valid support numbers entered 
by developers to offer users support.

Can you suggest a method for Google to use to distinguish between those 
people who checked the application profile and entered a number they 
wanted to be used and those who uploaded their app, published it, didn't 
check the details, and hence have their number on show?

Al.

Mattaku Betsujin wrote:
> I have read his thread and changed my number to that of Paris Hilton. 
> So if anyone wants to talk to a hot girl for support, get my app!
>
> But regardless, Google still should remove the phone numbers. This is 
> insane.
>
> On Fri, Feb 27, 2009 at 11:08 PM, Al Sutton  > wrote:
>
>
> Read the thread JBQ has pointed you at. It shows how to remove your
> 'phone number, and tells you why it's being shown.
>
> Al.
>
> Mattaku Betsujin wrote:
> > Please take remove the number for ALL apps NOW!
> >
> > Who in their right mind would think of providing phone tech support
> > for a .99 app? This is ridiculous!
> >
> > Those developers who are desperate for human contact are free to put
> > their phone numbers on their web sites.
> >
> > On Fri, Feb 27, 2009 at 5:03 PM, Jean-Baptiste Queru
> mailto:j...@android.com>
> > >> wrote:
> >
> >
> >
> 
> http://groups.google.com/group/android-discuss/browse_thread/thread/e3772a897dbb0080/ff4eca3dca2fc7de#ff4eca3dca2fc7de
> >
> > JBQ
> >
> > On Fri, Feb 27, 2009 at 4:59 PM, Mattaku Betsujin
> >  
>  >>
> > wrote:
> > > Google, please tell me this is a big foul up. Today my phone
> > number appeared
> > > in the Market listing of my app, and my answering machine
> is full of
> > > messages by people saying how much they like my app.
> > >
> > > I though the phone number will never be listed. How dare you!
> > >
> > > >
> > >
> >
> >
> >
> > --
> > Jean-Baptiste M. "JBQ" Queru
> > Android Engineer, Google.
> >
> > Please don't contact me directly.
> >
> >
> >
> >
> > >
>
>
> --
>
> * Written an Android App? - List it at http://andappstore.com/ *
>
> ==
> 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.
>
>
>
>
>
> >


-- 

* Written an Android App? - List it at http://andappstore.com/ *

==
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: Dev Phone and RC33 update

2009-02-27 Thread Al Sutton

I've just re-read your last paragraph and felt I should address some of 
the claims you've made.

To crack the AndAppStore uses 1024 RSA encryption which is considered 
secure, and even if a cracker got the public key used to decrypt the 
license information in the application that would only show them what's 
in the license, it wouldn't allow them to create their own licenses, and 
so it works on all Android platforms.

If you compare this to the current Android Copy Protection mechanism, it 
relies on applications not being installed on rooted devices (be it G1 
or ADP1), and once a cracker has got the apk on a rooted device and 
copied it they are then free to distribute it as and when they wish.

JBQ has pointed out that the current system suffered under time 
constraints, and I have *never *called the engineers a bunch of 
amateurs, or claimed to be the worlds greatest security expert, the 
point I'm making is that Google, as an organisation, agreed to, 
designed, developed, and rolled out a solution which did not meet the 
needs of developers from day 1.

Al.

Jon Colverson wrote:
> On Feb 27, 10:12 pm, Al Sutton  wrote:
>   
>> DRM tends to be based on Cryptography and yes, all cryptography is
>> breakable
>> 
>
> NO, NO, NO, NO, NO, NO, NO!
>
> Cryptography is intended to be used for, and effective at,
> transmitting a message secretly between two parties (A -> B) without a
> third-party (E, for eavesdropper) being able to intercept it. The goal
> of DRM is transmit a message (in this case, the application) to the
> user's device, without the user being able to get access to it.
> Unfortunately the user owns the device and can do whatever they like
> with it, so B is the same person as E, and cryptography cannot solve
> this problem. If you encrypt the software then you simply move the
> problem. You can then put the encrypted software in plain sight, but
> you have to hide the keys and the temporarily unencrypted software on
> the device. You can try and make it difficult to find the keys, but
> major players have spent millions of dollars trying to do this and
> failed. It may take a substantial amount of effort and/or special
> equipment to break the DRM, but once it is broken the unencrypted
> software can be as freely distributed as anything else and the whole
> system is worthless.
>
> Also, the statement "all cryptography is breakable" is false. One-time
> pad cryptography is provably unbreakable and quantum cryptography is
> provably unbreakable according to known physics. More practically, RSA
> cryptography is effective and not proven to be breakable unless you
> have a quantum computer lying around or you're sitting on a proof of
> P=NP that you haven't gotten around to publishing yet.
>
> All DRM is breakable, and not because of the strength of any
> cryptography used with it.
>
>   
>> Most DRM doesn't cause anyone any pain when the content is used in the
>> manner for which a license has been purchased, the "pain" tends to come
>> when people want to use content in ways they may not have a license for
>> (e.g. ripping a movie to a hard disk in a different format, moving
>> software between machines).
>> 
>
> Or, "Fair use" as it is referred to in some jurisdictions.
>
>   
>> I'd happily accept measures to allow content
>> providers (such as developers) to protect themselves against the
>> minority of users who rip them off by freely handing out copies of
>> applications because at the level we're dealing with sales of 10 or 20
>> 
>
> No DRM can stop a determined attacker. The Android DRM stops the un-
> determined one. Therefore the Android DRM is as good as any DRM can
> be. Stop complaining about it as if Google engineers are all amateurs
> and you're the world's greatest computer security expert. The
> AndAppStore DRM is as trivial to break as any other. It wouldn't even
> require an unlocked device or an ADP1 to break it.
>
> --
> Jon
>
> >
>   


-- 

* Written an Android App? - List it at http://andappstore.com/ *

==
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: Change Theme by preferences

2009-02-27 Thread Ivan Soto
bump?Any ideas?

On Thu, Feb 26, 2009 at 8:42 PM, Ivan Soto  wrote:

> Hi,
> I'm trying to give an option to users to be able to change the theme to the
> light one. I can't find any command or anything for this. I know I can set
> this in the Manifest file but this is not what I'm looking for.
>
> 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: Call the developer!!

2009-02-27 Thread Mattaku Betsujin
I have read his thread and changed my number to that of Paris Hilton. So if
anyone wants to talk to a hot girl for support, get my app!

But regardless, Google still should remove the phone numbers. This is
insane.

On Fri, Feb 27, 2009 at 11:08 PM, Al Sutton  wrote:

>
> Read the thread JBQ has pointed you at. It shows how to remove your
> 'phone number, and tells you why it's being shown.
>
> Al.
>
> Mattaku Betsujin wrote:
> > Please take remove the number for ALL apps NOW!
> >
> > Who in their right mind would think of providing phone tech support
> > for a .99 app? This is ridiculous!
> >
> > Those developers who are desperate for human contact are free to put
> > their phone numbers on their web sites.
> >
> > On Fri, Feb 27, 2009 at 5:03 PM, Jean-Baptiste Queru  > > wrote:
> >
> >
> >
> http://groups.google.com/group/android-discuss/browse_thread/thread/e3772a897dbb0080/ff4eca3dca2fc7de#ff4eca3dca2fc7de
> >
> > JBQ
> >
> > On Fri, Feb 27, 2009 at 4:59 PM, Mattaku Betsujin
> > mailto:mattaku.betsu...@gmail.com>>
> > wrote:
> > > Google, please tell me this is a big foul up. Today my phone
> > number appeared
> > > in the Market listing of my app, and my answering machine is full
> of
> > > messages by people saying how much they like my app.
> > >
> > > I though the phone number will never be listed. How dare you!
> > >
> > > >
> > >
> >
> >
> >
> > --
> > Jean-Baptiste M. "JBQ" Queru
> > Android Engineer, Google.
> >
> > Please don't contact me directly.
> >
> >
> >
> >
> > >
>
>
> --
>
> * Written an Android App? - List it at http://andappstore.com/ *
>
> ==
> 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: Call the developer!!

2009-02-27 Thread Al Sutton

Read the thread. It answers your concern.

Al.

Kevin E. Phillips, Sr. wrote:
> Yes, please for the love of all that is HOLY take this out of the 
> marketplace. Isn't it enough we provide and email address and website? 
> I cannot take the phone ringing 100 time a day asking when I am going 
> to update my app and add such and such feature.
>
> Mattaku Betsujin wrote:
>> Please take remove the number for ALL apps NOW!
>>
>> Who in their right mind would think of providing phone tech support 
>> for a .99 app? This is ridiculous!
>>
>> Those developers who are desperate for human contact are free to put 
>> their phone numbers on their web sites.
>>
>> On Fri, Feb 27, 2009 at 5:03 PM, Jean-Baptiste Queru > > wrote:
>>
>>
>> 
>> http://groups.google.com/group/android-discuss/browse_thread/thread/e3772a897dbb0080/ff4eca3dca2fc7de#ff4eca3dca2fc7de
>>
>> JBQ
>>
>> On Fri, Feb 27, 2009 at 4:59 PM, Mattaku Betsujin
>> mailto:mattaku.betsu...@gmail.com>>
>> wrote:
>> > Google, please tell me this is a big foul up. Today my phone
>> number appeared
>> > in the Market listing of my app, and my answering machine is
>> full of
>> > messages by people saying how much they like my app.
>> >
>> > I though the phone number will never be listed. How dare you!
>> >
>> > >
>> >
>>
>>
>>
>> --
>> Jean-Baptiste M. "JBQ" Queru
>> Android Engineer, Google.
>>
>> Please don't contact me directly.
>>
>>
>>
>>
>>
>
>
> >


-- 

* Written an Android App? - List it at http://andappstore.com/ *

==
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: Call the developer!!

2009-02-27 Thread Al Sutton

Read the thread JBQ has pointed you at. It shows how to remove your 
'phone number, and tells you why it's being shown.

Al.

Mattaku Betsujin wrote:
> Please take remove the number for ALL apps NOW!
>
> Who in their right mind would think of providing phone tech support 
> for a .99 app? This is ridiculous!
>
> Those developers who are desperate for human contact are free to put 
> their phone numbers on their web sites.
>
> On Fri, Feb 27, 2009 at 5:03 PM, Jean-Baptiste Queru  > wrote:
>
>
> 
> http://groups.google.com/group/android-discuss/browse_thread/thread/e3772a897dbb0080/ff4eca3dca2fc7de#ff4eca3dca2fc7de
>
> JBQ
>
> On Fri, Feb 27, 2009 at 4:59 PM, Mattaku Betsujin
> mailto:mattaku.betsu...@gmail.com>>
> wrote:
> > Google, please tell me this is a big foul up. Today my phone
> number appeared
> > in the Market listing of my app, and my answering machine is full of
> > messages by people saying how much they like my app.
> >
> > I though the phone number will never be listed. How dare you!
> >
> > >
> >
>
>
>
> --
> Jean-Baptiste M. "JBQ" Queru
> Android Engineer, Google.
>
> Please don't contact me directly.
>
>
>
>
> >


-- 

* Written an Android App? - List it at http://andappstore.com/ *

==
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: Dev Phone and RC33 update

2009-02-27 Thread Al Sutton

Jon,

To give you some background about me so you can understand that I'm not 
just shooting in the breeze here, one of the companies I am director of 
sells a piece of software I designed which securely stores information 
using cryptography, the piece of software in question has been tested 
and bought by a large number organisations including the US Federal 
Aviation Authority, Boeing, Fujitsu, Unisys, and several governmental 
organisations around the world. Don't take this as an "I know 
everything" statement, I'm offering this up so that you're aware I'm not 
basing my viewpoints on a quick scan of Wikipedia.

Cryptography inherently has nothing to do with transmission, it is 
purely about securing information. That secured information can then be 
stored or transmitted, but cryptography and the use of cryptographically 
secured information are two separate things. There are a number of 
protocols outside of cryptography which ensure secure transit 
(Diffie-Hellman key exchange for example), but the use of Cryptography 
is not inextricably tied to information transmission.

DRM is Digital Rights Management. It's not about securing applications 
in transit (although copy-protection systems sometimes are labelled 
DRM), it's aboute ensuring an what a user wants to do with some content 
is an approved usage in the context in which they are operating. This 
isn't neccessarily about encrypting applications, in fact the system at 
AndAppStore[1] doesn't rely on encrypting the application, it purely 
relies on using an encrypted piece of data which thae application uses 
to determine what rights a user has available to them.

One time pads are "breakable", all that needs to happen is you need to 
obtain a copy of the pad. Brute force and key guessing is not the only 
way to get around cryptography.

RSA encryption has been shown to be vulnerable with the RSA Technologies 
$10,000 prize for decrypting a message secured with RSA-576 being 
claimed in 2003[2], and the once lauded DES encryption system has been 
shown to be vulnerable with data encrypted using a 56 bit key being 
"cracked" in 22 mins[3].

Quantum cryptography is still a long way from being a practicality for 
daily use and is in it's infancy. Many crypto systems have claimed to 
required hundreds or thousands of years to crack, many have be broken 
either by methods not considered by the original inventors or by more 
powerful machines. As I said originally "the aim of it is to ensure the 
information is worthless by the time it's broken".

"Fair use" is a legal concept which DRM mechanism should take into 
account. In many parts of the EU there is no concept of "Fair use" 
allowing even a single backup copy let alone transferring content into a 
different format.

DRM can't stop a determined attacker, but good DRM makes the content 
worthless by the time it's been cracked, and the current Android Copy 
Protection system isn't a good DRM implementation because a casual 
attacker can follow a simple set of instructions to by-pass it.

Al.

[1] http://andappstore.com/AndroidPhoneApplications/licensing.jsp
[2] http://www.rsa.com/rsalabs/node.asp?id=2096
[3] http://www.theregister.co.uk/2001/07/25/rsa_poses_200_000_crypto/

Jon Colverson wrote:
> On Feb 27, 10:12 pm, Al Sutton  wrote:
>   
>> DRM tends to be based on Cryptography and yes, all cryptography is
>> breakable
>> 
>
> NO, NO, NO, NO, NO, NO, NO!
>
> Cryptography is intended to be used for, and effective at,
> transmitting a message secretly between two parties (A -> B) without a
> third-party (E, for eavesdropper) being able to intercept it. The goal
> of DRM is transmit a message (in this case, the application) to the
> user's device, without the user being able to get access to it.
> Unfortunately the user owns the device and can do whatever they like
> with it, so B is the same person as E, and cryptography cannot solve
> this problem. If you encrypt the software then you simply move the
> problem. You can then put the encrypted software in plain sight, but
> you have to hide the keys and the temporarily unencrypted software on
> the device. You can try and make it difficult to find the keys, but
> major players have spent millions of dollars trying to do this and
> failed. It may take a substantial amount of effort and/or special
> equipment to break the DRM, but once it is broken the unencrypted
> software can be as freely distributed as anything else and the whole
> system is worthless.
>
> Also, the statement "all cryptography is breakable" is false. One-time
> pad cryptography is provably unbreakable and quantum cryptography is
> provably unbreakable according to known physics. More practically, RSA
> cryptography is effective and not proven to be breakable unless you
> have a quantum computer lying around or you're sitting on a proof of
> P=NP that you haven't gotten around to publishing yet.
>
> All DRM is breakable, and not because of the strength of any
> cryptography us

[android-developers] Re: Call the developer!!

2009-02-27 Thread Kevin E. Phillips, Sr.
Yes, please for the love of all that is HOLY take this out of the 
marketplace. Isn't it enough we provide and email address and website? I 
cannot take the phone ringing 100 time a day asking when I am going to 
update my app and add such and such feature.

Mattaku Betsujin wrote:
> Please take remove the number for ALL apps NOW!
>
> Who in their right mind would think of providing phone tech support 
> for a .99 app? This is ridiculous!
>
> Those developers who are desperate for human contact are free to put 
> their phone numbers on their web sites.
>
> On Fri, Feb 27, 2009 at 5:03 PM, Jean-Baptiste Queru  > wrote:
>
>
> 
> http://groups.google.com/group/android-discuss/browse_thread/thread/e3772a897dbb0080/ff4eca3dca2fc7de#ff4eca3dca2fc7de
>
> JBQ
>
> On Fri, Feb 27, 2009 at 4:59 PM, Mattaku Betsujin
> mailto:mattaku.betsu...@gmail.com>>
> wrote:
> > Google, please tell me this is a big foul up. Today my phone
> number appeared
> > in the Market listing of my app, and my answering machine is full of
> > messages by people saying how much they like my app.
> >
> > I though the phone number will never be listed. How dare you!
> >
> > >
> >
>
>
>
> --
> Jean-Baptiste M. "JBQ" Queru
> Android Engineer, Google.
>
> Please don't contact me directly.
>
>
>
>
> >


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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: CheckBoxPreference onClick Problems (Really Easy)

2009-02-27 Thread Noam

Can anyone help me?

On Feb 26, 2:59 pm, Noam  wrote:
> Anyone?
>
> On Feb 25, 7:39 pm, Noam  wrote:
>
>
>
> > Hello everyone,
> > I have a checkboxpreference called passProtect.
> > When the user clicks on it, I want it to run a method "someMethod".
> > How do I get it to do that?
>
> > 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: Stuck with getting package name

2009-02-27 Thread Sohail

It seems that you people are sleeping!!

On Feb 25, 7:47 am, Dianne Hackborn  wrote:
> Fwiw, this is s not something you should do in a normal app.  Going
> it getting a list of running apps, arbitrarily bounded to 100, is a big clue
> of this.
>
> And in general, there is no one single package name associated with a pid.
> You really shouldn't be dealing with pids; the identity of most everything
> is based on its uid, and the pid is fairly irrelevent.  (Not that a uid
> necessarily has a single package name associated with it either.)
>
>
>
> On Tue, Feb 24, 2009 at 3:41 PM, sm1  wrote:
>
> > In free app *Device Internals for r1*, I get the running services this
> > way:
>
> >  StringBuffer getRunningServices(ActivityManager am){
> >    StringBuffer buf = new StringBuffer();
> >    buf.append("\n\nRunning Services:");
> >    List list = null;
> >    try{
> >      list = am.getRunningServices(100);
> >    }catch(Throwable ex){
> >      buf.append("\n "+ex);
> >      return buf;
> >    }
> >    if(list.isEmpty()){
> >      buf.append(" None listed.");
> >      return buf;
> >    }
> >    int i = 1;
> >    for(ActivityManager.RunningServiceInfo info: list){
> >      buf.append("\n ["+i+"] pid {"+info.pid+"}:");
> >      buf.append("\n  foreground {"+info.foreground+"}");
> >      buf.append("\n  active since {"+info.activeSince+"} millis =
> > "+millisToSignHhMmSs(info.activeSince)+" "+HMS);
> >      buf.append("\n  last activity time {"+info.lastActivityTime+"}
> > millis = "+millisToSignHhMmSs(info.lastActivityTime)+" "+HMS);
> >      buf.append("\n  client count {"+info.clientCount+"}");
> >      buf.append("\n  crash count {"+info.crashCount+"}");
> >      buf.append("\n  service class {"+info.service.getClassName()
> > +"}");
> >      buf.append("\n  process {"+info.process+"}");
> >      if(info.restarting==0){
> >        buf.append("\n  restarting at {"+info.restarting+"} zero means
> > not scheduled to restart");
> >      }else{
> >        buf.append("\n  restarting at {"+info.restarting+"} millis =
> > "+millisToSignHhMmSs(info.restarting)+" "+HMS);
> >      }
> >      buf.append("\n  started {"+info.started+"}");
> >      //buf.append("\n  toString {"+info.toString()+"}");
> >      ++i;
> >    }
> >    return buf;
> >  }
>
> > And this will get you one process name if you know the Pid:
>
> >  /** @return null when givenPid not found in list of 100 first
> > services. */
> >  String getProcessNameFromPid(int givenPid){
> >    ActivityManager am = (ActivityManager) getSystemService
> > (Context.ACTIVITY_SERVICE);
> >    List list =
> > am.getRunningServices(100);
> >    for(ActivityManager.RunningServiceInfo info: list){
> >      if(info.pid == givenPid){
> >        return info.process;
> >      }
> >    }
> >    return null;
> >  }
>
> > cheers,
> > serge
>
> > On Feb 24, 4:23 am, sohail khan  wrote:
> > > Hi all,
>
> > > How do I get the Package Name if I am having the PID of the process. For
> > > example, if I want to output a list of currently
> > > running processes, I can get the PIDs but how do I get the names of the
> > > PIDs?
>
> > > Thanks.
> > > --
> > > sohail
>
> --
> 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: Stuck with getting package name

2009-02-27 Thread Sohail

It seems that you people are sleeping!!

On Feb 25, 7:47 am, Dianne Hackborn  wrote:
> Fwiw, this is s not something you should do in a normal app.  Going
> it getting a list of running apps, arbitrarily bounded to 100, is a big clue
> of this.
>
> And in general, there is no one single package name associated with a pid.
> You really shouldn't be dealing with pids; the identity of most everything
> is based on its uid, and the pid is fairly irrelevent.  (Not that a uid
> necessarily has a single package name associated with it either.)
>
>
>
> On Tue, Feb 24, 2009 at 3:41 PM, sm1  wrote:
>
> > In free app *Device Internals for r1*, I get the running services this
> > way:
>
> >  StringBuffer getRunningServices(ActivityManager am){
> >    StringBuffer buf = new StringBuffer();
> >    buf.append("\n\nRunning Services:");
> >    List list = null;
> >    try{
> >      list = am.getRunningServices(100);
> >    }catch(Throwable ex){
> >      buf.append("\n "+ex);
> >      return buf;
> >    }
> >    if(list.isEmpty()){
> >      buf.append(" None listed.");
> >      return buf;
> >    }
> >    int i = 1;
> >    for(ActivityManager.RunningServiceInfo info: list){
> >      buf.append("\n ["+i+"] pid {"+info.pid+"}:");
> >      buf.append("\n  foreground {"+info.foreground+"}");
> >      buf.append("\n  active since {"+info.activeSince+"} millis =
> > "+millisToSignHhMmSs(info.activeSince)+" "+HMS);
> >      buf.append("\n  last activity time {"+info.lastActivityTime+"}
> > millis = "+millisToSignHhMmSs(info.lastActivityTime)+" "+HMS);
> >      buf.append("\n  client count {"+info.clientCount+"}");
> >      buf.append("\n  crash count {"+info.crashCount+"}");
> >      buf.append("\n  service class {"+info.service.getClassName()
> > +"}");
> >      buf.append("\n  process {"+info.process+"}");
> >      if(info.restarting==0){
> >        buf.append("\n  restarting at {"+info.restarting+"} zero means
> > not scheduled to restart");
> >      }else{
> >        buf.append("\n  restarting at {"+info.restarting+"} millis =
> > "+millisToSignHhMmSs(info.restarting)+" "+HMS);
> >      }
> >      buf.append("\n  started {"+info.started+"}");
> >      //buf.append("\n  toString {"+info.toString()+"}");
> >      ++i;
> >    }
> >    return buf;
> >  }
>
> > And this will get you one process name if you know the Pid:
>
> >  /** @return null when givenPid not found in list of 100 first
> > services. */
> >  String getProcessNameFromPid(int givenPid){
> >    ActivityManager am = (ActivityManager) getSystemService
> > (Context.ACTIVITY_SERVICE);
> >    List list =
> > am.getRunningServices(100);
> >    for(ActivityManager.RunningServiceInfo info: list){
> >      if(info.pid == givenPid){
> >        return info.process;
> >      }
> >    }
> >    return null;
> >  }
>
> > cheers,
> > serge
>
> > On Feb 24, 4:23 am, sohail khan  wrote:
> > > Hi all,
>
> > > How do I get the Package Name if I am having the PID of the process. For
> > > example, if I want to output a list of currently
> > > running processes, I can get the PIDs but how do I get the names of the
> > > PIDs?
>
> > > Thanks.
> > > --
> > > sohail
>
> --
> 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: Call the developer!!

2009-02-27 Thread Mattaku Betsujin
Please take remove the number for ALL apps NOW!

Who in their right mind would think of providing phone tech support for a
.99 app? This is ridiculous!

Those developers who are desperate for human contact are free to put their
phone numbers on their web sites.

On Fri, Feb 27, 2009 at 5:03 PM, Jean-Baptiste Queru wrote:

>
>
> http://groups.google.com/group/android-discuss/browse_thread/thread/e3772a897dbb0080/ff4eca3dca2fc7de#ff4eca3dca2fc7de
>
> JBQ
>
> On Fri, Feb 27, 2009 at 4:59 PM, Mattaku Betsujin
>  wrote:
> > Google, please tell me this is a big foul up. Today my phone number
> appeared
> > in the Market listing of my app, and my answering machine is full of
> > messages by people saying how much they like my app.
> >
> > I though the phone number will never be listed. How dare you!
> >
> > >
> >
>
>
>
> --
> Jean-Baptiste M. "JBQ" Queru
> Android Engineer, Google.
>
> Please don't contact me directly.
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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] displaying contents

2009-02-27 Thread karthick

hi...am an engg student from india and of course a novice to
android. am developing an application for remote administration
through mobiles so i have to display file contents of a remote
machine in mobile... as android doesn't support WML,can u suggest me a
way to display ...please
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Storing images as blob in sqlite

2009-02-27 Thread And-Rider

Thank you very much for your help.But after changing the query as per
your advice i am still ending up getting the same error..

Is the way i use to convert images as byte the correct way or is there
any better way to store retrieve the images...?

On Feb 27, 10:06 pm, Nathan  wrote:
> It's not really the recommended way to store images but the following
> code has worked for me.
>
> db.execSQL("UPDATE " + TABLE_NAME + " SET image = ? WHERE id = ?", new
> Object[] { image_bytes, id } );
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Is there a standard list of android icons for our apps?

2009-02-27 Thread Edward Falk

From: Anil 

> for example: for error dialogs, confirm dialogs, progress...
> I looked in the res/drawable in the android.jar but couldn't see
> thumbnails to determine what they look like.
> thanks,

Bump

Any options other than looking at res/drawable in android.jar?  I
prefer not to do that because using undocumented features tend to get
you eaten by a grue.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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: Recording Audio

2009-02-27 Thread Dave Sparks

That's because it doesn't get registered as a music file. We felt that
most people did not want to have voice messages from friends show up
in the party shuffle playlists. It could be very embarrasing, if you
know what I mean. :)

On Feb 26, 11:06 pm, MMF  wrote:
> Hi Dave,
>
> If I record using this Soundrecorder app, it creates a .3gpp file.
> But this file is not getting listed in the Music app.
> I have tried restarting the emulator.
> Any idea what could be the reason for this?
>
> Thanks
> ~
>
> On 2/27/09, Dave Sparks  wrote:
>
>
>
> > I confess, I don't write much Java code (I work on the native media
> > framework), so I could be wrong about this. This API looks promising
> > though:
>
> > Environment.getDataDirectory()
>
> > Hopefully someone knowledgeable will correct me if I have steered you
> > wrong.
>
> > On Feb 26, 2:40 pm, benmccann  wrote:
> >> >> each application has its own private data directory /
> >> >> data/app-private/app-package. I believe your working directory is set
> >> >> to this directory by default
>
> >> Cool.  So it sounds like I should just be able to use a relative path
> >> from the current location then.  Unfortunately, I'm getting the
> >> following exception (with no clues as to why start is failing):
>
> >> 02-26 14:34:55.132: ERROR/AndroidRuntime(164):
> >> java.lang.RuntimeException: start failed.
> >> 02-26 14:34:55.132: ERROR/AndroidRuntime(164): at
> >> android.media.MediaRecorder.start(Native Method)
>
> >> Here's my code:
>
> >> final MediaRecorder recorder = new MediaRecorder();
> >> recorder.setAudioSource(MediaRecorder.AudioSource.MIC);
> >> recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
> >> recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);
> >> recorder.setOutputFile("test.3gpp");
> >> recorder.prepare();
> >> recorder.start();
>
> >> On Feb 26, 12:14 am, Dave Sparks  wrote:
>
> >> > You can get the path to external storage (e.g. SD card) with
> >> > Environment.getExternalStorageDirectory(). This is world read/
> >> > writable.
>
> >> > Alternatively, each application has its own private data directory /
> >> > data/app-private/app-package. I believe your working directory is set
> >> > to this directory by default. This is onboard flash, so it will
> >> > survive the user ejecting an SD card. However, there is a limited
> >> > amount to go around, so you don't want to store monster media files
> >> > there.
>
> >> > On Feb 25, 9:22 pm, benmccann  wrote:
>
> >> > > >> setOutputFile() expects a path to where you want the file stored.
>
> >> > > Yep, figured that much by the method name, but what's a valid path?  I
> >> > > mean I'm figuring it's UNIX-like, but other than that I'm in the
> >> > > dark.  Is there a preferred place for apps to store data?  Are there
> >> > > certain directories that I have permission to write to?  What
> >> > > directories exist on the device by default?  It'd be nice for the docs
> >> > > on data storage to mention any of these
> >> > > things:http://developer.android.com/guide/topics/data/data-storage.html
>
> >> > > >> You can take a look at the source to SoundRecorder in the open
> >> > > >> source tree for some working code
>
> >> > > Thanks for the example.  This would be a much better example than the
> >> > > one in the docs that won't compile and implies content must first be
> >> > > added to a database:
> >> > >http://developer.android.com/guide/topics/media/index.html
>
> >> > > On Feb 24, 8:03 pm, Dave Sparks  wrote:
>
> >> > > > setOutputFile() expects a path to where you want the file stored.
>
> >> > > > You can take a look at the source to SoundRecorder in the open
> >> > > > source
> >> > > > tree for some working code:
>
> >> > > >http://android.git.kernel.org/?p=platform/packages/apps/SoundRecorder...
>
> >> > > > On Feb 24, 4:43 pm, benmccann  wrote:
>
> >> > > > > Hi,
> >> > > > > I'd like to create anaudiorecordingin Android.  (Actually, I just
> >> > > > > want access to the mic withoutrecordingit, but it seems that's not
> >> > > > > supported so I'll have to create arecordingand tail the file).
> >> > > > > I'm having a very hard time getting started.  Mostly I'm just
> >> > > > > hoping
> >> > > > > that someone from Google reads this and will update the
> >> > > > > documentation
> >> > > > > because the example won't compile - it looks like it's from some
> >> > > > > previous version of the SDK because there's an error in every
> >> > > > > other
> >> > > > > line.  I made my best guess as to what the usage should be, but I
> >> > > > > keep
> >> > > > > getting a number of different exceptions.
> >> > > > > One question I had is whether I can just specify an arbitrary path
> >> > > > > to
> >> > > > > the MediaRecorder to startrecordingor whether I have to create an
> >> > > > > entry in the content database.  The JavaDoc for
> >> > > > > MediaRecorder.setOutputFile isn't clear on what it's expecting.
>
> >> > > > > Thanks,
> >> > >

[android-developers] Re: top offset for an activity window

2009-02-27 Thread Dianne Hackborn
Normally activity windows are FILL_PARENT x FILL_PARENT, so they will fill
the entire screen.  If you want one that doesn't fill the screen, you should
set android:theme="@android:style/Theme.Dialog" in your manifest.

On Fri, Feb 27, 2009 at 5:24 PM, Dan Raaka  wrote:

>
> I am trying to set an offset to the window created by the activity ..
> I am doing something like this ..
>
> public void onCreate(Bundle savedInstanceState) {
>
>   .
>   Window w = this.getWindow();
>   w.setGravity(Gravity.BOTTOM); // window.lp says default gravity
> ignores x and y values
>   WindowManager.LayoutParams lp = w.getAttributes();
>   lp.y =100; // initial value is 0
>   w.setAttributes(lp);
>  ...
> }
>
> Now I am expecting the the window to be anchored at (x=0,y=100), but
> the activity takes the full screen, what am i missing here ?
>
>
>
>
>
> >
>


-- 
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: Start activity within a thread

2009-02-27 Thread Rohit

I think the problem is that the activity I want to do is not started
in startMyActivity() but by a method that is called from
startMyActivity()

public void run()
{
  someObject.method();
}

SomeObject.method(){
   //This starts the new activity

}

Rohit


On Feb 24, 1:56 am, dillirao malipeddi 
wrote:
> create a handler like  sample code
>
>     final Handler mHandler = new Handler();
>     Runnable MyActivity= new Runnable()
> {
> public void run()
> {
> startMyActivity();
>
> }
> };
>
> in your thread use mHandler.post(MyActivity);
>
> and in startMyActivity() {}
>
> UI changes or new Activity loading etc...
>  you can do the work as your wish
>
> --
>
> it's necessary  to stop the progress
>
>
>
> On Tue, Feb 24, 2009 at 2:53 PM, Rohit  wrote:
>
> > What do you mean by "use handler to start the activity". could you
> > give me some example code?
>
> > rohit
>
> > On Feb 24, 1:21 am, Rohit  wrote:
> > > well y is an instance of of my class and foo() is defined by me so I
> > > start an activity, however, the caller (from the thread.run()) method
> > > is not something that  I do. I just noticed someone calling it like
> > > that (from the Thread.run() method) and it was not working, hence my
> > > question...Is the problem that it is being called from a thread or
> > > that there is a progree dialog being showed? or neither?
>
> > > Rohit
>
> > > On Feb 23, 8:06 pm, dillirao malipeddi 
> > > wrote:
>
> > > > you must stop the progress by dialog by dismissdialog() and
>
> > > > from your thread you must use handler to start an activity
>
> > > > the right way to start any UI tasks in the thread is by using handlers
>
> > > > On Tue, Feb 24, 2009 at 5:46 AM, Rohit  wrote:
>
> > > > > There is an activity that shows a progress dialog and starts a new
> > > > > thread to do some work. One method that is called from this thread
> > > > > starts a new activity.
>
> > > > > i.e. ThreadX has a run() method that calls y.foo(). y.foo() starts a
> > > > > new activity with teh flag Intent.FLAG_ACTIVITY_NEW_TASK
>
> > > > > When I run this - I see the progress dialog but I dont see the new
> > > > > activity starting up from within the thread. All the context
> > > > > information is present to the thread.
>
> > > > > Thanks
> > > > > Rohit
>
> > > > --
> > > > Dilli Rao. M
> > > > ARIJASOFT
> > > > +91 - 9703073540
>
> --
> Dilli Rao. M
> ARIJASOFT
> +91 - 9703073540
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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] scrolling a textview within a linearlayout gets to dark screen

2009-02-27 Thread Allie

Hi :

I have a linearlayout with a textview showing a list of strings. When
I scroll the list up and down, at the end of the list, the screen
scrolls into dark screen. How can I get rid of the dark screen beyond
the text view list ?

My xml file is as following:

http://schemas.android.com/apk/res/
android"
xmlns:app="http://schemas.android.com/apk/res/
com.example.android.apis"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="1"
android:layout_marginBottom="35dip">




--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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: Start activity within a thread

2009-02-27 Thread Rohit

Hey Dilirao - Could you give a more elaborate example. I did something
like you mentioned but it didnt work. Maybe I did something wrong

Rohit


On Feb 24, 1:56 am, dillirao malipeddi 
wrote:
> create a handler like  sample code
>
>     final Handler mHandler = new Handler();
>     Runnable MyActivity= new Runnable()
> {
> public void run()
> {
> startMyActivity();
>
> }
> };
>
> in your thread use mHandler.post(MyActivity);
>
> and in startMyActivity() {}
>
> UI changes or new Activity loading etc...
>  you can do the work as your wish
>
> --
>
> it's necessary  to stop the progress
>
>
>
> On Tue, Feb 24, 2009 at 2:53 PM, Rohit  wrote:
>
> > What do you mean by "use handler to start the activity". could you
> > give me some example code?
>
> > rohit
>
> > On Feb 24, 1:21 am, Rohit  wrote:
> > > well y is an instance of of my class and foo() is defined by me so I
> > > start an activity, however, the caller (from the thread.run()) method
> > > is not something that  I do. I just noticed someone calling it like
> > > that (from the Thread.run() method) and it was not working, hence my
> > > question...Is the problem that it is being called from a thread or
> > > that there is a progree dialog being showed? or neither?
>
> > > Rohit
>
> > > On Feb 23, 8:06 pm, dillirao malipeddi 
> > > wrote:
>
> > > > you must stop the progress by dialog by dismissdialog() and
>
> > > > from your thread you must use handler to start an activity
>
> > > > the right way to start any UI tasks in the thread is by using handlers
>
> > > > On Tue, Feb 24, 2009 at 5:46 AM, Rohit  wrote:
>
> > > > > There is an activity that shows a progress dialog and starts a new
> > > > > thread to do some work. One method that is called from this thread
> > > > > starts a new activity.
>
> > > > > i.e. ThreadX has a run() method that calls y.foo(). y.foo() starts a
> > > > > new activity with teh flag Intent.FLAG_ACTIVITY_NEW_TASK
>
> > > > > When I run this - I see the progress dialog but I dont see the new
> > > > > activity starting up from within the thread. All the context
> > > > > information is present to the thread.
>
> > > > > Thanks
> > > > > Rohit
>
> > > > --
> > > > Dilli Rao. M
> > > > ARIJASOFT
> > > > +91 - 9703073540
>
> --
> Dilli Rao. M
> ARIJASOFT
> +91 - 9703073540
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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] top offset for an activity window

2009-02-27 Thread Dan Raaka

I am trying to set an offset to the window created by the activity ..
I am doing something like this ..

public void onCreate(Bundle savedInstanceState) {

   .
   Window w = this.getWindow();
   w.setGravity(Gravity.BOTTOM); // window.lp says default gravity
ignores x and y values
   WindowManager.LayoutParams lp = w.getAttributes();
   lp.y =100; // initial value is 0
   w.setAttributes(lp);
  ...
}

Now I am expecting the the window to be anchored at (x=0,y=100), but
the activity takes the full screen, what am i missing here ?





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



[android-developers] Can I download my code off my phone?

2009-02-27 Thread 3D

I just finished a couple hours of work updating my app and I have it
running on my phone in debug mode (unsigned).  I accidentally replaced
my recent files with old ones and that recent work is now gone.  Is
there a way to extract my code from my phone?  Keep in mind that it
was not signed I believe so should be in debug mode.  Please help.
Thanks!

I'll be re-doing all the work now but maybe you can respond soon
enough and save me the time.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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: Call the developer!!

2009-02-27 Thread Jean-Baptiste Queru

http://groups.google.com/group/android-discuss/browse_thread/thread/e3772a897dbb0080/ff4eca3dca2fc7de#ff4eca3dca2fc7de

JBQ

On Fri, Feb 27, 2009 at 4:59 PM, Mattaku Betsujin
 wrote:
> Google, please tell me this is a big foul up. Today my phone number appeared
> in the Market listing of my app, and my answering machine is full of
> messages by people saying how much they like my app.
>
> I though the phone number will never be listed. How dare you!
>
> >
>



-- 
Jean-Baptiste M. "JBQ" Queru
Android Engineer, Google.

Please don't contact me directly.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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] Call the developer!!

2009-02-27 Thread Mattaku Betsujin
Google, please tell me this is a big foul up. Today my phone number appeared
in the Market listing of my app, and my answering machine is full of
messages by people saying how much they like my app.

I though the phone number will never be listed. How dare you!

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



[android-developers] Re: Dev Phone and RC33 update

2009-02-27 Thread Jon Colverson

On Feb 27, 10:12 pm, Al Sutton  wrote:
> DRM tends to be based on Cryptography and yes, all cryptography is
> breakable

NO, NO, NO, NO, NO, NO, NO!

Cryptography is intended to be used for, and effective at,
transmitting a message secretly between two parties (A -> B) without a
third-party (E, for eavesdropper) being able to intercept it. The goal
of DRM is transmit a message (in this case, the application) to the
user's device, without the user being able to get access to it.
Unfortunately the user owns the device and can do whatever they like
with it, so B is the same person as E, and cryptography cannot solve
this problem. If you encrypt the software then you simply move the
problem. You can then put the encrypted software in plain sight, but
you have to hide the keys and the temporarily unencrypted software on
the device. You can try and make it difficult to find the keys, but
major players have spent millions of dollars trying to do this and
failed. It may take a substantial amount of effort and/or special
equipment to break the DRM, but once it is broken the unencrypted
software can be as freely distributed as anything else and the whole
system is worthless.

Also, the statement "all cryptography is breakable" is false. One-time
pad cryptography is provably unbreakable and quantum cryptography is
provably unbreakable according to known physics. More practically, RSA
cryptography is effective and not proven to be breakable unless you
have a quantum computer lying around or you're sitting on a proof of
P=NP that you haven't gotten around to publishing yet.

All DRM is breakable, and not because of the strength of any
cryptography used with it.

> Most DRM doesn't cause anyone any pain when the content is used in the
> manner for which a license has been purchased, the "pain" tends to come
> when people want to use content in ways they may not have a license for
> (e.g. ripping a movie to a hard disk in a different format, moving
> software between machines).

Or, "Fair use" as it is referred to in some jurisdictions.

> I'd happily accept measures to allow content
> providers (such as developers) to protect themselves against the
> minority of users who rip them off by freely handing out copies of
> applications because at the level we're dealing with sales of 10 or 20

No DRM can stop a determined attacker. The Android DRM stops the un-
determined one. Therefore the Android DRM is as good as any DRM can
be. Stop complaining about it as if Google engineers are all amateurs
and you're the world's greatest computer security expert. The
AndAppStore DRM is as trivial to break as any other. It wouldn't even
require an unlocked device or an ADP1 to break it.

--
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: Getting build number/version programatically

2009-02-27 Thread mark . kahrl


   I need to do it programmatically, but thanks.

   M

On Feb 27, 3:49 pm, sm1  wrote:
> You could use *Device Internals for r1* which is free in Tools, and
> scroll to section *android.os.Build*, it will list you the fields and
> values that you can obtain from this class and you can pick the one
> that suits your requirements. You can also see other classes that give
> you other similar values.
>
> serge
>
> On Feb 27, 4:21 pm, Mark Murphy  wrote:
>
>
>
> > Mark K wrote:
> > >   Does anyone know of a way to get the version/build number
> > > programatically?
>
> > Check out android.os.Build and android.os.Build.VERSION.
>
> > Note that some of these values may be unusual in the emulator (e.g.,
> > null brand).
>
> > --
> > Mark Murphy (a Commons Guy)http://commonsware.com
> > _The Busy Coder's Guide to Android Development_ Version 2.0 Available!- 
> > 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: Getting build number/version programatically

2009-02-27 Thread mark . kahrl


  Thanks for  that info, I guess that should have been intuitively
obvious to the casual observer

On Feb 27, 1:21 pm, Mark Murphy  wrote:
> Mark K wrote:
> >   Does anyone know of a way to get the version/build number
> > programatically?
>
> Check out android.os.Build and android.os.Build.VERSION.
>
> Note that some of these values may be unusual in the emulator (e.g.,
> null brand).
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> _The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Getting build number/version programatically

2009-02-27 Thread sm1

You could use *Device Internals for r1* which is free in Tools, and
scroll to section *android.os.Build*, it will list you the fields and
values that you can obtain from this class and you can pick the one
that suits your requirements. You can also see other classes that give
you other similar values.

serge

On Feb 27, 4:21 pm, Mark Murphy  wrote:
> Mark K wrote:
> >   Does anyone know of a way to get the version/build number
> > programatically?
>
> Check out android.os.Build and android.os.Build.VERSION.
>
> Note that some of these values may be unusual in the emulator (e.g.,
> null brand).
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> _The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
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 get more sales on the Android Market

2009-02-27 Thread clark

I'm a developer but I would fall under the unix/linux sysadmin
category in terms of paying for apps myself.  There are a lot of
simple apps, like the Temperature Conversion App for $0.99, that
really should not be charged for and in those cases I am going to look
for a free version or make the app myself if I really need it.  Now if
it is a really killer app, that has a good design and is well
developed, then I may just purchase it.  An example of what I would
consider polished and worth the money is SpaceTime 3.0. http://www.spacetime.us/

If I do decide to by an app, which has not happened yet, price is
going to be a HUGE factor.  I can see paying $1.00 or $2.00 for an
app, but as the price gets into the $5.00 range and greater, I simply
pass it on by.  I understand that with the 30% plus taxes are things
to consider when pricing an app and if there were a lot more users of
the phone, we may see more purchases coming in.  BTW, does anyone have
any numbers regarding the # of G1 phones that are out there?  I'm
curious how many potential customers there are.

I'm personally looking forward to the time when more Android powered
devices are out there.  Perhaps at that point there will be a decent
size user base to sell our apps to.


Anyhow, I look forward to hear what others have to say regarding this
matter as it seems very important to us developers.

P.S. Any developers around that have an app on the market for $1.00 or
$0.99, and if so, how have your sales been (if you don't mind telling
us).


Regards,
~clark

On Feb 27, 2:22 pm, Stoyan Damov  wrote:
> Voted (Spend some time adding features).
>
> Now, for the "Next week I’ll tabulate the results and implement your
> recommendation." - please, post the results here, I'm sure no one will
> consider the post off-topic ;)
>
> I see disturbing 60% on dropping the price (though the actual
> participants number is quite low):
> # Just reduce the price to $0.99 and see what happens. (40%)
> # Remove the free version and reduce the price of the paid version to
> $0.99. (20%)
>
> Dropping the price IMHO is the worse decision. Here's how it goes - if
> you drop the price:
>
> 1) you'll definitely piss all of your existing customers (now that
> might be just 1 or 2, but imagine he's an influential blogger - good
> luck then :)
> 2) many will see the price dropped, and you'll be probably tempted to
> even put that in the description of your app - *very* bad idea - if
> I'm one of those potential customers and see you price drop, I'll wait
> for you to drop it again (unless it's like $0.99 or I need the app
> very badly, in which case I'd already be a customer...)
> 3) you're dumping the rest of the developers with similar applications
> - it's not good because they might need to drop their prices as well
> and that's bad 1) and bad 2)
>
> Now, there are apps for $0.99 and nobody needs them. There are stupid
> games (like mine), which cost $5 and again no one needs them, but at
> least games are an impulse buy. I've had quite a few customers
> enjoying themselves for ~2 days (I already said the 24 hour period is
> a myth) and cancelling - that's fine, I put a bit more effort and
> designed 40 more levels and a level editor (ok, a bit more than a bit
> more effort ;) - this got my rating a bit up. There are games like
> mine, which cost even more than $5 and although developed by *very*
> wellknown professional game companies (and I'm *the* absolute newbie
> in games) and absolute killers on iphone have fewer downloads and
> sales.
>
> Bottom line is there are passengers for every train -- I'm not
> dropping the price - there are games *very* similar to mine which cost
> a fraction of it, but I know I can't sell mine for < $5 - here's why -
> T-Mobile gets 30%, then ~40% taxes, then what's left is something like
> ~$2. Given the ratio between the downloads of my free version (5K+ for
> 1 week) and sales (< 100) I don't think $5 is that high price. But
> then again, games are purely an impulse buy.
>
> There will always be customers thinking along the lines of "not worth
> $5" - these don't buy  here either,
> which is also an impulse buy. These guys are so lucky with the 24-our
> refund period they even say that in their ratings (luckily not on my
> game) saying "played, kind of fun, refund - thanks Google". I'm
> counting on the the other guys, who are like me and buy the magazine -
> they *know* they'll enjoy it just for a couple of days but that's
> fine.
>
> Cheers,
> Stoyan
>
>
>
> On Fri, Feb 27, 2009 at 11:13 PM, Ed Burnette  wrote:
>
> > What do you do when you put an application on the Android Market and
> > nobody buys it? That’s the subject of today’s installation of Market
> > Moves (http://blogs.zdnet.com/Burnette/?p=816). At the end there is a
> > poll asking for your input on what to try next. Should I get rid of
> > the free version? Reduce the price on the paid one? Add some more
> > features? These are questions that every Android developer will fac

[android-developers] Re: Google Checkout and charity donation

2009-02-27 Thread Mattaku Betsujin
Good idea. I'll try. My app is built around a WebView so this should be no
problem.

Thx.

On Fri, Feb 27, 2009 at 1:24 PM, Inderjeet Singh  wrote:

> Just create a Google Checkout Buy Now/Donation button with donations, and
> stick it in a Web view. Will that not work for you?
>
>
>
> On Wed, Feb 18, 2009 at 10:01 AM, Mattaku Betsujin <
> mattaku.betsu...@gmail.com> wrote:
>
>> Hello Google
>>
>> I want to put up a button on my app for people to donate to my favorite
>> charity. I could redirect it to a web page, but it will be really easy it
>> people can just one-click and say "donate $5.00 to the Church of
>> Nonflammable Hell through Google checkout" than pulling out their credit
>> card and gong through 10 steps.
>>
>> Google, could you do that?
>>
>>
>>
>>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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] Weird problem with connecting to a service

2009-02-27 Thread ATrubka

I'm trying to connect to a service, but for some reason connection's
onServiceConnected() never gets invoked with no other errors. It's not
the only service I have and they work fine. Even more. This one was
working before as well, but after adding other services to application
it stopped working. I'm probably doing something wrong, but can't find
any problems...

Debug output below shows that:
1. bindService was invoked.
2. AudioPlayerService was created.
3. AudioPlayerService.onBind() method was invoked.
4. But connection never received call to onServiceConnected() and as a
result never obtained remote interface.

Here's onCreate and onBind methods that shows there's nothing that can
slow them down.

public void onCreate() {
super.onCreate();
Log.d(getClass().getSimpleName(), "Created");
}

public IBinder onBind(Intent intent) {
Log.d(getClass().getSimpleName(), "Binding");
return _audioPlayerRemoteInterface;
}


Service configuration



Log

02-27 16:24:04.392: DEBUG/AudioPlayerServiceConnection(8736): Opening
service connection for intent Intent { comp={com.tourizo.android/
com.tourizo.android.services.AudioPlayerService} }
02-27 16:24:04.563: DEBUG/AudioPlayerService(8776): Created
02-27 16:24:04.573: DEBUG/AudioPlayerService(8776): Binding
02-27 16:24:04.592: INFO/jdwp(8776): received file descriptor 26 from
ADB
02-27 16:24:12.682: WARN/ActivityManager(47): Launch timeout has
expired, giving up wake lock!
02-27 16:24:12.695: WARN/ActivityManager(47): Activity idle timeout
for HistoryRecord{435024a8 {com.tourizo.android/
com.tourizo.android.activities.ChapterActivity}}
02-27 16:24:24.393: DEBUG/AndroidRuntime(8736): Shutting down VM

Could you please help me? Am I doing something wrong?

Thank you in advance!
  A.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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] Get NinePatchDrawable from file?

2009-02-27 Thread zl25drexel

Hi all

does anyone know a way to load a NinePatchDrawable from a filename

I tried NinePatchDrawable.createFromPath(), but that only gives me a
BitmapDrawable

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: What happens between two View.onDraw calls? (Game, FPS)

2009-02-27 Thread Markus Junginger

Thanks for the clarification.

I will switch to SurfaceView some time. Maybe I will do some
comparisons in terms of performance of the two approaches. Anyone done
this before?

Another thought was if it would matter in terms of performance if one
could directly write to hardware buffers to prevent copying. But I
guess copying 300KB (320x480x2 Bytes) of memory for every frame does
not take long anyway.

Markus
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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 get more sales on the Android Market

2009-02-27 Thread Stoyan Damov

Voted (Spend some time adding features).

Now, for the "Next week I’ll tabulate the results and implement your
recommendation." - please, post the results here, I'm sure no one will
consider the post off-topic ;)

I see disturbing 60% on dropping the price (though the actual
participants number is quite low):
# Just reduce the price to $0.99 and see what happens. (40%)
# Remove the free version and reduce the price of the paid version to
$0.99. (20%)

Dropping the price IMHO is the worse decision. Here's how it goes - if
you drop the price:

1) you'll definitely piss all of your existing customers (now that
might be just 1 or 2, but imagine he's an influential blogger - good
luck then :)
2) many will see the price dropped, and you'll be probably tempted to
even put that in the description of your app - *very* bad idea - if
I'm one of those potential customers and see you price drop, I'll wait
for you to drop it again (unless it's like $0.99 or I need the app
very badly, in which case I'd already be a customer...)
3) you're dumping the rest of the developers with similar applications
- it's not good because they might need to drop their prices as well
and that's bad 1) and bad 2)

Now, there are apps for $0.99 and nobody needs them. There are stupid
games (like mine), which cost $5 and again no one needs them, but at
least games are an impulse buy. I've had quite a few customers
enjoying themselves for ~2 days (I already said the 24 hour period is
a myth) and cancelling - that's fine, I put a bit more effort and
designed 40 more levels and a level editor (ok, a bit more than a bit
more effort ;) - this got my rating a bit up. There are games like
mine, which cost even more than $5 and although developed by *very*
wellknown professional game companies (and I'm *the* absolute newbie
in games) and absolute killers on iphone have fewer downloads and
sales.

Bottom line is there are passengers for every train -- I'm not
dropping the price - there are games *very* similar to mine which cost
a fraction of it, but I know I can't sell mine for < $5 - here's why -
T-Mobile gets 30%, then ~40% taxes, then what's left is something like
~$2. Given the ratio between the downloads of my free version (5K+ for
1 week) and sales (< 100) I don't think $5 is that high price. But
then again, games are purely an impulse buy.

There will always be customers thinking along the lines of "not worth
$5" - these don't buy  here either,
which is also an impulse buy. These guys are so lucky with the 24-our
refund period they even say that in their ratings (luckily not on my
game) saying "played, kind of fun, refund - thanks Google". I'm
counting on the the other guys, who are like me and buy the magazine -
they *know* they'll enjoy it just for a couple of days but that's
fine.

Cheers,
Stoyan


On Fri, Feb 27, 2009 at 11:13 PM, Ed Burnette  wrote:
>
> What do you do when you put an application on the Android Market and
> nobody buys it? That’s the subject of today’s installation of Market
> Moves (http://blogs.zdnet.com/Burnette/?p=816). At the end there is a
> poll asking for your input on what to try next. Should I get rid of
> the free version? Reduce the price on the paid one? Add some more
> features? These are questions that every Android developer will face.
> Please have a look, add your vote for the best approach, and share
> your experiences in marketing your own apps in the talkback section.
>
> Thanks,
> -- Ed Burnette
> Author, "Hello, Android", http://www.pragprog.com/titles/eband
> Webmaster, Planet Android blog aggregator, http://www.planetandroid.com
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
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 get more sales on the Android Market

2009-02-27 Thread Al Sutton

I think you've missed a key factor in what may affect sales;

- There is a huge momentum for free-applications and pay-for 
applications are a new concept.

I see things at the moment as being similar to the Unix/Linux market 
place. I know many good Unix sysadmins who would rather spend hours or 
days seaching out a piece of free software (or writing it themselves) as 
opposed to paying even $20 for a commercial offering, and Android seems 
to be in the same boat. I'm sure there are many people who will try 
every single free twitter client before they'd even consider paying 99 
cents for one.

I don't know how this will play out over time, we may end up with an 
iPhone like market where paid-apps are common, we may end up with a 
Linux environment where people will still hack their code or "make-do" 
with a free piece of software. Only time will tell.

Al.


Ed Burnette wrote:
> What do you do when you put an application on the Android Market and
> nobody buys it? That’s the subject of today’s installation of Market
> Moves (http://blogs.zdnet.com/Burnette/?p=816). At the end there is a
> poll asking for your input on what to try next. Should I get rid of
> the free version? Reduce the price on the paid one? Add some more
> features? These are questions that every Android developer will face.
> Please have a look, add your vote for the best approach, and share
> your experiences in marketing your own apps in the talkback section.
>
> Thanks,
> -- Ed Burnette
> Author, "Hello, Android", http://www.pragprog.com/titles/eband
> Webmaster, Planet Android blog aggregator, http://www.planetandroid.com
> >
>   


-- 

* Written an Android App? - List it at http://andappstore.com/ *

==
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 Market Business and Program Policies

2009-02-27 Thread Al Sutton

PayPal were the payment processor involved in the chargeback my company 
was involved in and they relied on us to provide the information.

Al.

Raymond C. Rodgers wrote:
> I haven't read through the terms recently, but it seems to me that 
> Google will likely provide that same proof and try to fight the 
> chargeback, but if the chargeback isn't rejected that they'll pass it 
> along to you. That's just a guess on my part, but I believe that PayPal 
> does something similar currently. Otherwise both services would develop 
> a very unhappy developer-merchant base rather quickly.
>
> Raymond
> Al Sutton wrote:
>   
>> The shady part is that if the user had bought from the developer 
>> directly (i.e. the developer had a merchant account with a bank which 
>> could process credit cards), the developer has the opportunity to refute 
>> the chargeback and the chargeback may not be processed.
>>
>> This is something that happened to one of the companies I'm involved in 
>> recently, and because we were able to provide the proof that the 
>> customer ordered it, and proof that they had not complained to us, the 
>> chargeback was rejected.
>>
>> Al.
>>
>> Inderjeet Singh wrote:
>>   
>> 
>>> On Wed, Feb 18, 2009 at 10:04 AM, Al Sutton >> > wrote:
>>>
>>>
>>>
>>> >> - "Google is not responsible for billing disputes arising from
>>> purchases
>>> >> on Android Market." compared to the dev distribution agreement
>>> which
>>> >> says "Products sold for less than $10 may be automatically
>>> charged back
>>> >> to the Developer"... so what is it, do Google do auto
>>> chargebacks or is
>>> >> it all down to the developer?
>>> >>
>>> >>
>>> > I do not know how it works exactly, but looks like it means that :
>>> > - from the user point of view, they can't dispute the payment
>>> directly
>>> > with google.
>>> > - But if google is refused a payment (refund required from the bank
>>> > ?), they will just charge back the developper.
>>> >
>>> >
>>> So isn't that giving Google free reign to do whatever it wants for
>>> apps
>>> less than $10 and neither the user nor the developer can object?
>>>
>>>
>>>
>>> To me that's pretty shady.
>>>
>>>
>>>
>>> Here is what I understand the situation to be:
>>> If a buyer calls up their credit-card issuing bank/VISA 20 days after 
>>> purchase and VISA forces a chargeback on the merchant, then that is 
>>> passed along to the developer. Where is the shady part? Did Google 
>>> keep any money in the process?
>>>
>>> Inder
>>>  
>>>  
>>>
>>>
>>> 
>>>   
>>   
>> 
>
> >
>   


-- 

* Written an Android App? - List it at http://andappstore.com/ *

==
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: Dev Phone and RC33 update

2009-02-27 Thread Al Sutton

DRM tends to be based on Cryptography and yes, all cryptography is 
breakable, but the aim of it is to ensure the information is worthless 
by the time it's broken, so in the case of a license, the application 
would should have been superseded by a newer version by the time you 
expect someone to crack the DRM.

Most DRM doesn't cause anyone any pain when the content is used in the 
manner for which a license has been purchased, the "pain" tends to come 
when people want to use content in ways they may not have a license for 
(e.g. ripping a movie to a hard disk in a different format, moving 
software between machines).

I've seen both sides of the DRM fence, and although I would love a world 
where everyone could be trusted to pay for what they use, it's not the 
world we live in, and so I'd happily accept measures to allow content 
providers (such as developers) to protect themselves against the 
minority of users who rip them off by freely handing out copies of 
applications because at the level we're dealing with sales of 10 or 20 
copies of an application per week can make a real difference to whether 
or not a developer carries on writing applications.

Al.

Jon Colverson wrote:
> On Feb 27, 5:58 pm, Jean-Baptiste Queru  wrote:
>   
>> It would make more sense to not rely on forward-locking for
>> copyright-related restrictions. It all boils down to finding time to
>> implement it.
>> 
>
> All DRM is breakable. I would strongly urge you not to invest any
> developer time in making your system more elaborate. The current
> scheme achieves one thing: it prevents an unmotivated non-technical
> consumer from being able to share the applications they've paid for
> with their friends. That is the most that DRM can ever achieve.
>
> If someone could spell out one real-world scenario where restricting
> DRM-ed apps on the ADP1 provides *any* benefit to *anyone*, then I
> would be very interested to hear it.
>
> (BTW, I would just like to mention that I'm not an ADP1 owner myself,
> so I'm not motivated by self-interest here. I just _*/HATE/*_ DRM, and
> all the pain that it causes.)
>
> --
> Jon
>
> >
>   


-- 

* Written an Android App? - List it at http://andappstore.com/ *

==
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 Market Business and Program Policies

2009-02-27 Thread Raymond C. Rodgers

I haven't read through the terms recently, but it seems to me that 
Google will likely provide that same proof and try to fight the 
chargeback, but if the chargeback isn't rejected that they'll pass it 
along to you. That's just a guess on my part, but I believe that PayPal 
does something similar currently. Otherwise both services would develop 
a very unhappy developer-merchant base rather quickly.

Raymond
Al Sutton wrote:
> The shady part is that if the user had bought from the developer 
> directly (i.e. the developer had a merchant account with a bank which 
> could process credit cards), the developer has the opportunity to refute 
> the chargeback and the chargeback may not be processed.
>
> This is something that happened to one of the companies I'm involved in 
> recently, and because we were able to provide the proof that the 
> customer ordered it, and proof that they had not complained to us, the 
> chargeback was rejected.
>
> Al.
>
> Inderjeet Singh wrote:
>   
>> On Wed, Feb 18, 2009 at 10:04 AM, Al Sutton > > wrote:
>>
>>
>>
>> >> - "Google is not responsible for billing disputes arising from
>> purchases
>> >> on Android Market." compared to the dev distribution agreement
>> which
>> >> says "Products sold for less than $10 may be automatically
>> charged back
>> >> to the Developer"... so what is it, do Google do auto
>> chargebacks or is
>> >> it all down to the developer?
>> >>
>> >>
>> > I do not know how it works exactly, but looks like it means that :
>> > - from the user point of view, they can't dispute the payment
>> directly
>> > with google.
>> > - But if google is refused a payment (refund required from the bank
>> > ?), they will just charge back the developper.
>> >
>> >
>> So isn't that giving Google free reign to do whatever it wants for
>> apps
>> less than $10 and neither the user nor the developer can object?
>>
>>
>>
>> To me that's pretty shady.
>>
>>
>>
>> Here is what I understand the situation to be:
>> If a buyer calls up their credit-card issuing bank/VISA 20 days after 
>> purchase and VISA forces a chargeback on the merchant, then that is 
>> passed along to the developer. Where is the shady part? Did Google 
>> keep any money in the process?
>>
>> Inder
>>  
>>  
>>
>>
>> 
>
>
>   

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



[android-developers] Re: What happens between two View.onDraw calls? (Game, FPS)

2009-02-27 Thread Romain Guy

> I still wonder about what's going on behind the scene. When I operate
> on the Canvas, a pixel buffer is probably filled directly (Bitmap)? Is
> this buffer/bitmap then copied once (for every frame) into a hardware
> buffer, which is the source for the hardware display?

Pretty much yes.

> So the advantage of using a SurfaceView would be that one could use
> these "in between" times to prepare the next frame, I suppose? So,
> this might result in a smoother result (when the timing is right)...

It's mostly that you get rid of the cost of the invalidate/onDraw code
path. This code path is not meant for game and does a lot of things
that are totally useless to you (clipping, animations, children
reordering, etc.)

>
> Any other advantages/disadvantages I missed?
> >
>



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



[android-developers] Re: What happens between two View.onDraw calls? (Game, FPS)

2009-02-27 Thread Markus Junginger

Hi Romain, thanks for your reply.

On Feb 27, 10:42 pm, Romain Guy  wrote:
> You cannot achieve more than 60 fps because of the way the UI is
> sync'd with the underlying hardware.
So basically the framework waits for the next update cycle, I assume?

I still wonder about what's going on behind the scene. When I operate
on the Canvas, a pixel buffer is probably filled directly (Bitmap)? Is
this buffer/bitmap then copied once (for every frame) into a hardware
buffer, which is the source for the hardware display?

> The invalidate/onDraw mechanism
> can be very costly for a game if you have a deep view  hierarchy.
There is just one View, so that would be OK in terms of costs? Or are
there any less costly ways?

So the advantage of using a SurfaceView would be that one could use
these "in between" times to prepare the next frame, I suppose? So,
this might result in a smoother result (when the timing is right)...

Any other advantages/disadvantages I missed?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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 Business and Program Policies

2009-02-27 Thread Al Sutton

The shady part is that if the user had bought from the developer 
directly (i.e. the developer had a merchant account with a bank which 
could process credit cards), the developer has the opportunity to refute 
the chargeback and the chargeback may not be processed.

This is something that happened to one of the companies I'm involved in 
recently, and because we were able to provide the proof that the 
customer ordered it, and proof that they had not complained to us, the 
chargeback was rejected.

Al.

Inderjeet Singh wrote:
>
>
> On Wed, Feb 18, 2009 at 10:04 AM, Al Sutton  > wrote:
>
>
>
> >> - "Google is not responsible for billing disputes arising from
> purchases
> >> on Android Market." compared to the dev distribution agreement
> which
> >> says "Products sold for less than $10 may be automatically
> charged back
> >> to the Developer"... so what is it, do Google do auto
> chargebacks or is
> >> it all down to the developer?
> >>
> >>
> > I do not know how it works exactly, but looks like it means that :
> > - from the user point of view, they can't dispute the payment
> directly
> > with google.
> > - But if google is refused a payment (refund required from the bank
> > ?), they will just charge back the developper.
> >
> >
> So isn't that giving Google free reign to do whatever it wants for
> apps
> less than $10 and neither the user nor the developer can object?
>
>
>
> To me that's pretty shady.
>
>
>
> Here is what I understand the situation to be:
> If a buyer calls up their credit-card issuing bank/VISA 20 days after 
> purchase and VISA forces a chargeback on the merchant, then that is 
> passed along to the developer. Where is the shady part? Did Google 
> keep any money in the process?
>
> Inder
>  
>  
>
>
> >


-- 

* Written an Android App? - List it at http://andappstore.com/ *

==
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: Bitmap Memory

2009-02-27 Thread Marco Nelissen

We can't keep track of issues brought up in discussion groups, so
please go to http://b.android.com and file a bugreport with code that
demonstrates the problem.


On Fri, Feb 27, 2009 at 1:12 PM,   wrote:
>
>
>  I agree, looks like a memory leak to me, I was able to mitigate the
> problem, but I hope this issue at least gets officially recognized as
> a bug, and eventually fixed.
>
>                    Mark
>
> On Feb 27, 12:56 pm, Mark Murphy  wrote:
>> bra...@gmail.com wrote:
>> > I have to agree. I am literally calling
>>
>> > recycle() on every bitmap
>> > then I set them all to null
>> > then I run Garbage collection
>>
>> > I can edit maybe two images and then death. If I reduce the size of
>> > the final image I can edit more - but still dies. After the force
>> > close it seems like the memory gets freed and I can edit again.
>>
>> > If that aint a memory leak I dont know what is.
>>
>> > On Feb 26, 5:36 pm, mark.ka...@gmail.com wrote:
>> >>   I'm just saying there have been a number of threads on this issue,
>> >> I've had out of memory problems when processing bitmaps, and so have
>> >> many other developers. It looks to me like a bug IMHO. I hope this
>> >> problem will be resolved at some point.
>>
>> Solving your problem will be faster if you can supply a sample project
>> that demonstrates the phenomenon. Post an issue tohttp://b.android.com
>> with the sample project, and mention the issue number here once it's
>> posted. That way, we can take a look at what you are doing and see if we
>> can replicate the problem, if there are other ways of potentially
>> mitigating it, etc.
>>
>> --
>> Mark Murphy (a Commons Guy)http://commonsware.com
>> _The Busy Coder's Guide to Android Development_ Version 2.0 Published!- 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: What happens between two View.onDraw calls? (Game, FPS)

2009-02-27 Thread Romain Guy

Hi,

You cannot achieve more than 60 fps because of the way the UI is
sync'd with the underlying hardware. The invalidate/onDraw mechanism
can be very costly for a game if you have a deep view  hierarchy.

On Fri, Feb 27, 2009 at 1:31 PM, Markus Junginger  wrote:
>
> I am in the middle of writing an game and got curious what happens
> outside my code. I extended the View class with everything happing
> inside onDraw (updating the model and rendering it). Before onDraw is
> exited, a invalidate() is fired so the View gets repainted
> continously. With this approach I get 60 fps most of the time
> (sometimes it lacks behind shortly), which is OK for now. However, the
> game will get more complex, and I did some measuring with the
> following averages of painting one frame:
>
> * My code inside onDraw consumes 5ms
> * Between the calls of onDraw 10ms are "consumed"
>
> So twice the time is spend outside my code: What exactly happens here?
> Is there just a 60fps maximum (causing the system to wait until the
> next frame is painted), or is there so much overhead going on behind
> the scene?
>
> I know about SurfaceView and decoupling the rendering from the GUI
> Thread, but I haven't tried that yet. To me, it did not seem to make a
> difference in which thread my game code is executed, so I stayed with
> the View so far.
>
> Markus
> >
>



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



[android-developers] What happens between two View.onDraw calls? (Game, FPS)

2009-02-27 Thread Markus Junginger

I am in the middle of writing an game and got curious what happens
outside my code. I extended the View class with everything happing
inside onDraw (updating the model and rendering it). Before onDraw is
exited, a invalidate() is fired so the View gets repainted
continously. With this approach I get 60 fps most of the time
(sometimes it lacks behind shortly), which is OK for now. However, the
game will get more complex, and I did some measuring with the
following averages of painting one frame:

* My code inside onDraw consumes 5ms
* Between the calls of onDraw 10ms are "consumed"

So twice the time is spend outside my code: What exactly happens here?
Is there just a 60fps maximum (causing the system to wait until the
next frame is painted), or is there so much overhead going on behind
the scene?

I know about SurfaceView and decoupling the rendering from the GUI
Thread, but I haven't tried that yet. To me, it did not seem to make a
difference in which thread my game code is executed, so I stayed with
the View so far.

Markus
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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: JNI run time error even I use same code and lib as Android source code.

2009-02-27 Thread yichu

I got it:

http://groups.google.com/group/android-developers/browse_thread/thread/d80b1157cda06a79/7f6a3fee79713011

On Feb 26, 11:19 pm, yichu  wrote:
> Hi Jerry,
>
> Could you share how to fix thisjni_onloadproblem? I got the same
> error but don't know how to solve it. Thanks :)
>
> Yichu
>
> On Feb 24, 12:45 am, Jerry Yang <1999bige...@gmail.com> wrote:
>
> > Hi, all
> > I checked the logcat, I find it cannot find thejni_Onload,
> > Thanks for your information, I find I forget the functionjni_Onloadmethod,
> > it is a new requirement after jni)1.2
> > Now my hello world working.
> > Thanks
> > With best wishes
> > Jerry
>
> > On Mon, Feb 23, 2009 at 11:38 PM, Jerry Yang <1999bige...@gmail.com> wrote:
> > > Hi, Marco and all
> > > Here is the log:
>
> > > D/AndroidRuntime( 1221):
> > > D/AndroidRuntime( 1221): >> AndroidRuntime START 
> > > <<
> > > D/AndroidRuntime( 1221): CheckJNI is OFF
> > > I/ActivityThread( 1223): Publishing provider
> > > com.android.vending.SuggestionsProv
> > > ider: com.android.vending.SuggestionsProvider
> > > D/AndroidRuntime( 1221): --- registering native functions ---
> > > I/jdwp    ( 1221): received file descriptor 23 from ADB
> > > I/ActivityManager(   52): Stopping service:
> > > com.android.vending/.LocalDbSyncServ
> > > ice
> > > I/ActivityManager(   52): Starting activity: Intent { flags=0x1000
> > > comp={com
> > > .android.hello/com.android.hello.HelloAndroid} }
> > > I/ActivityManager(   52): Start proc com.android.hello for activity
> > > com.android.
> > > hello/.HelloAndroid: pid=1240 uid=10023 gids={}
> > > D/AndroidRuntime( 1221): Shutting down VM
> > > D/dalvikvm( 1221): DestroyJavaVM waiting for non-daemon threads to exit
> > > I/dalvikvm( 1221): DestroyJavaVM shutting VM down
> > > D/dalvikvm( 1221): HeapWorker thread shutting down
> > > D/dalvikvm( 1221): HeapWorker thread has shut down
> > > D/jdwp    ( 1221): JDWP shutting down net...
> > > D/jdwp    ( 1221): +++ peer disconnected
> > > I/dalvikvm( 1221): Debugger has detached; object registry had 1 entries
> > > D/dalvikvm( 1221): VM cleaning up
> > > D/dalvikvm( 1221): LinearAlloc 0x0 used 541332 of 4194304 (12%)
> > > I/jdwp    ( 1240): received file descriptor 10 from ADB
> > > D/dalvikvm( 1240): Trying to load lib /system/lib/libhello.so 0x433b50d8
> > > D/dalvikvm( 1240): Added shared lib /system/lib/libhello.so 0x433b50d8
> > > D/dalvikvm( 1240):NoJNI_OnLoadfoundin /system/lib/libhello.so
> > > 0x433b50d8
> > > W/ActivityManager(   52): Activity pause timeout for 
> > > HistoryRecord{435ae750
> > > {com.android.hello/com.android.hello.HelloAndroid}}
> > > I/ActivityManager(   52): Displayed activity
> > > com.android.hello/.HelloAndroid: 2025 ms
> > > I/ActivityManager(   52): Stopping service:
> > > com.android.vending/.PackageMonitorReceiver$UpdateCheckinDatabaseService
> > > D/dalvikvm(   90): GC freed 2431 objects / 127176 bytes in 276ms
> > > D/dalvikvm( 1223): GC freed 2076 objects / 140976 bytes in 128ms
> > > With best wishes
> > > Jerry
>
> > > On Tue, Feb 24, 2009 at 1:36 AM, Marco Nelissen 
> > > wrote:
>
> > >> On Sun, Feb 22, 2009 at 10:23 PM, Jerry Yang <1999bige...@gmail.com>
> > >> wrote:
> > >> (...)
> > >> > 3. push the .apk to the phone and run from eclips
> > >> >  always a run time error like:"the application hello.android has 
> > >> > stopped
> > >> > unexpectedly, pla try again"
>
> > >> What does it say in the system log?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Google Checkout and charity donation

2009-02-27 Thread Inderjeet Singh
Just create a Google Checkout Buy Now/Donation button with donations, and
stick it in a Web view. Will that not work for you?


On Wed, Feb 18, 2009 at 10:01 AM, Mattaku Betsujin <
mattaku.betsu...@gmail.com> wrote:

> Hello Google
>
> I want to put up a button on my app for people to donate to my favorite
> charity. I could redirect it to a web page, but it will be really easy it
> people can just one-click and say "donate $5.00 to the Church of
> Nonflammable Hell through Google checkout" than pulling out their credit
> card and gong through 10 steps.
>
> Google, could you do that?
>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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 Business and Program Policies

2009-02-27 Thread Inderjeet Singh
On Wed, Feb 18, 2009 at 10:04 AM, Al Sutton  wrote:

>
>
> >> - "Google is not responsible for billing disputes arising from purchases
> >> on Android Market." compared to the dev distribution agreement which
> >> says "Products sold for less than $10 may be automatically charged back
> >> to the Developer"... so what is it, do Google do auto chargebacks or is
> >> it all down to the developer?
> >>
> >>
> > I do not know how it works exactly, but looks like it means that :
> > - from the user point of view, they can't dispute the payment directly
> > with google.
> > - But if google is refused a payment (refund required from the bank
> > ?), they will just charge back the developper.
> >
> >
> So isn't that giving Google free reign to do whatever it wants for apps
> less than $10 and neither the user nor the developer can object?


>
> To me that's pretty shady.
>


Here is what I understand the situation to be:
If a buyer calls up their credit-card issuing bank/VISA 20 days after
purchase and VISA forces a chargeback on the merchant, then that is passed
along to the developer. Where is the shady part? Did Google keep any money
in the process?

Inder

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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: Getting build number/version programatically

2009-02-27 Thread Mark Murphy

Mark K wrote:
>   Does anyone know of a way to get the version/build number
> programatically?

Check out android.os.Build and android.os.Build.VERSION.

Note that some of these values may be unusual in the emulator (e.g.,
null brand).

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

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



[android-developers] Getting build number/version programatically

2009-02-27 Thread Mark K


  Does anyone know of a way to get the version/build number
programatically? I dug into Settings source code, it indicated that
this info could be read from the file /proc/socinfo, but this file
doesn't seem to exists on any of the devices I'm working with?!
Wondering where else I might be able to get this info. Thanks

   mark
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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: Dev Phone and RC33 update

2009-02-27 Thread Jon Colverson

On Feb 27, 5:58 pm, Jean-Baptiste Queru  wrote:
> It would make more sense to not rely on forward-locking for
> copyright-related restrictions. It all boils down to finding time to
> implement it.

All DRM is breakable. I would strongly urge you not to invest any
developer time in making your system more elaborate. The current
scheme achieves one thing: it prevents an unmotivated non-technical
consumer from being able to share the applications they've paid for
with their friends. That is the most that DRM can ever achieve.

If someone could spell out one real-world scenario where restricting
DRM-ed apps on the ADP1 provides *any* benefit to *anyone*, then I
would be very interested to hear it.

(BTW, I would just like to mention that I'm not an ADP1 owner myself,
so I'm not motivated by self-interest here. I just _*/HATE/*_ DRM, and
all the pain that it causes.)

--
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: Paid Apps - Repeat refunders

2009-02-27 Thread Inderjeet Singh
AFAIK the user can refund it just once. If they buy it again, they will not
be able to refund it anymore.

Inder


On Thu, Feb 19, 2009 at 1:58 AM, AusR  wrote:

>
> Will there be any mechanism in the Android Market to stop/warn of
> repeat refunders?
>
> Those who purchase an app, use it, request refund. Then again on
> another day purchase the same app again, use it, then request a refund
> again?
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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 get more sales on the Android Market

2009-02-27 Thread Ed Burnette

What do you do when you put an application on the Android Market and
nobody buys it? That’s the subject of today’s installation of Market
Moves (http://blogs.zdnet.com/Burnette/?p=816). At the end there is a
poll asking for your input on what to try next. Should I get rid of
the free version? Reduce the price on the paid one? Add some more
features? These are questions that every Android developer will face.
Please have a look, add your vote for the best approach, and share
your experiences in marketing your own apps in the talkback section.

Thanks,
-- Ed Burnette
Author, "Hello, Android", http://www.pragprog.com/titles/eband
Webmaster, Planet Android blog aggregator, http://www.planetandroid.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Bitmap Memory

2009-02-27 Thread mark . kahrl


  I agree, looks like a memory leak to me, I was able to mitigate the
problem, but I hope this issue at least gets officially recognized as
a bug, and eventually fixed.

Mark

On Feb 27, 12:56 pm, Mark Murphy  wrote:
> bra...@gmail.com wrote:
> > I have to agree. I am literally calling
>
> > recycle() on every bitmap
> > then I set them all to null
> > then I run Garbage collection
>
> > I can edit maybe two images and then death. If I reduce the size of
> > the final image I can edit more - but still dies. After the force
> > close it seems like the memory gets freed and I can edit again.
>
> > If that aint a memory leak I dont know what is.
>
> > On Feb 26, 5:36 pm, mark.ka...@gmail.com wrote:
> >>   I'm just saying there have been a number of threads on this issue,
> >> I've had out of memory problems when processing bitmaps, and so have
> >> many other developers. It looks to me like a bug IMHO. I hope this
> >> problem will be resolved at some point.
>
> Solving your problem will be faster if you can supply a sample project
> that demonstrates the phenomenon. Post an issue tohttp://b.android.com
> with the sample project, and mention the issue number here once it's
> posted. That way, we can take a look at what you are doing and see if we
> can replicate the problem, if there are other ways of potentially
> mitigating it, etc.
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> _The Busy Coder's Guide to Android Development_ Version 2.0 Published!- 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: Bitmap Memory

2009-02-27 Thread Mark Murphy

bra...@gmail.com wrote:
> I have to agree. I am literally calling
> 
> recycle() on every bitmap
> then I set them all to null
> then I run Garbage collection
> 
> 
> I can edit maybe two images and then death. If I reduce the size of
> the final image I can edit more - but still dies. After the force
> close it seems like the memory gets freed and I can edit again.
> 
> If that aint a memory leak I dont know what is.
> 
> On Feb 26, 5:36 pm, mark.ka...@gmail.com wrote:
>>   I'm just saying there have been a number of threads on this issue,
>> I've had out of memory problems when processing bitmaps, and so have
>> many other developers. It looks to me like a bug IMHO. I hope this
>> problem will be resolved at some point.

Solving your problem will be faster if you can supply a sample project
that demonstrates the phenomenon. Post an issue to http://b.android.com
with the sample project, and mention the issue number here once it's
posted. That way, we can take a look at what you are doing and see if we
can replicate the problem, if there are other ways of potentially
mitigating it, etc.

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

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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: Phone Calls

2009-02-27 Thread dar

Rather than put in false information, you can change the contact
information for your app, or remove the phone number so that if you
only want to provide email support no phone number is displayed.

If you click on your app in the market developer console, and scroll
to the bottom there are three textboxes, one for website, phone
number, and email address.  I believe each app can have different
contact information if you have a need for different people or
channels to support each.


On Feb 27, 3:39 pm, mark.ka...@gmail.com wrote:
>   Should just change your number on your profile to 867 5309 , anyone
> with that number is used to getting random calls anyway:)
>
> On Feb 25, 11:56 pm, Al Sutton  wrote:
>
>
>
> > I'd put up a SkypeIn number, mobile, or something similar that you can
> > turn off when you're "Off duty".
>
> > Al.
>
> > joshbeck wrote:
> > > Apparently my home phone number, where my wife and kid are asleep at
> > > 7:30, is listed directly under my application. I'm good for customer
> > > support. I just prefer, and I would imagine google might agree with
> > > this,
> > > to take care of people over email.
>
> > > Does my developer number have to remain there? (The sub text next to
> > > the profile page number clearly indicated it would not
> > > be distributed to third parties.)
>
> > > Does anyone have any thoughts on the phone number placement? I think
> > > we should have an option there.
>
> > > Any help is apprecaited?
> > > Josh Beck
>
> > --
>
> > * Written an Android App? - List it athttp://andappstore.com/*
>
> > ==
> > 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 -- 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: Bitmap Memory

2009-02-27 Thread bra...@gmail.com

I have to agree. I am literally calling

recycle() on every bitmap
then I set them all to null
then I run Garbage collection


I can edit maybe two images and then death. If I reduce the size of
the final image I can edit more - but still dies. After the force
close it seems like the memory gets freed and I can edit again.

If that aint a memory leak I dont know what is.

On Feb 26, 5:36 pm, mark.ka...@gmail.com wrote:
>   I'm just saying there have been a number of threads on this issue,
> I've had out of memory problems when processing bitmaps, and so have
> many other developers. It looks to me like a bug IMHO. I hope this
> problem will be resolved at some point.
>
> On Feb 26, 2:02 pm, "bra...@gmail.com"  wrote:
>
> > If that is the case then why does calling myBitmap.recycle not give me
> > that memory back to use for the next time I go into an edit.
>
> > On Feb 26, 4:59 pm, Romain Guy  wrote:
>
> > > BitmapFactory does NOT leak Bitmaps.
>
> > > A 2056x1536 opaque image requires 6 MB of RAM. An application has 16
> > > MB max. Do the math.
>
> > > On Thu, Feb 26, 2009 at 1:50 PM,   wrote:
>
> > > >  Are you using BitmapFactory? There have been a number of threads
> > > > about memory leaks, or similar problems when using BitmapFactory to
> > > > process bitmaps. Using Bitmap.recycle may mitigate, but not eliminate
> > > > these types of problems.
>
> > > >                 M
>
> > > > On Feb 26, 11:39 am, Mattaku Betsujin 
> > > > wrote:
> > > >> I think the best solution to handle very large bitmaps is to be able to
> > > >> decode only a small chunk of the bitmap at a time and process it.
>
> > > >> Does anyone know if the existing Android API can support this?
>
> > > >> If not, probably one solution is to write a smart decoder (in Java, so 
> > > >> slow
> > > >> :-( )  that can decode a small chunk.
>
> > > >> On Thu, Feb 26, 2009 at 11:32 AM, Tomei Ningen 
> > > >> wrote:
>
> > > >> > You're running into memory fragmentation problems. Bitmap memory is
> > > >> > not allocated from the Java object heap. Instead, it's allocated from
> > > >> > the 'malloc' heap. That's why you don't see the Java heap expanding.
>
> > > >> > How big is your bitmap? If you're processing JPEG files, probably it
> > > >> > will be better to read the thumbnail directly from the JPEG file. 
> > > >> > This
> > > >> > way you don't need to create the Bitmap at all.
>
> > > >> > On Feb 26, 9:47 am, "bra...@gmail.com"  wrote:
> > > >> > > Ok I am at the end of my rope.
>
> > > >> > > I am doing some image processing. I have a large image file which I
> > > >> > > open and create a smaller bitmap from. At the end of processing I 
> > > >> > > call
> > > >> > > recycle on everything. I null everything. I run GC manually.
>
> > > >> > > I then try edit another image and I get an out of VM memory error.
> > > >> > > Bitmap exceeds etc etc.
>
> > > >> > > I am looking at the heap and the secone edit doesnt seem to cause 
> > > >> > > it
> > > >> > > to increase at all.
>
> > > >> > > What else can I do. Surely google cannot possibly be suggesting 
> > > >> > > that
> > > >> > > we can open one large bitmap per session and thats it?- Hide 
> > > >> > > quoted text -
>
> > > >> - Show quoted text -
>
> > > --
> > > 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- 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: Phone Calls

2009-02-27 Thread mark . kahrl


  Should just change your number on your profile to 867 5309 , anyone
with that number is used to getting random calls anyway:)

On Feb 25, 11:56 pm, Al Sutton  wrote:
> I'd put up a SkypeIn number, mobile, or something similar that you can
> turn off when you're "Off duty".
>
> Al.
>
>
>
>
>
> joshbeck wrote:
> > Apparently my home phone number, where my wife and kid are asleep at
> > 7:30, is listed directly under my application. I'm good for customer
> > support. I just prefer, and I would imagine google might agree with
> > this,
> > to take care of people over email.
>
> > Does my developer number have to remain there? (The sub text next to
> > the profile page number clearly indicated it would not
> > be distributed to third parties.)
>
> > Does anyone have any thoughts on the phone number placement? I think
> > we should have an option there.
>
> > Any help is apprecaited?
> > Josh Beck
>
> --
>
> * Written an Android App? - List it athttp://andappstore.com/*
>
> ==
> 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: How to Thump? Name of Haptic Trigger.

2009-02-27 Thread Jason Van Anden
Very interesting ... somehow I overlooked the pattern variable ... I will
play with this and report back.

i++


On Fri, Feb 27, 2009 at 11:39 AM, Paper Coder  wrote:

> A, I missed that.  Guess I'll be busy clicking each and every
> permission when I go to download something from now on...
>
>
>
> On Fri, Feb 27, 2009 at 11:35 PM, Stoyan Damov wrote:
>
>>
>> Download Labyrinth, click it and you'll see its required permissions -
>> Hardware control, control vibrator is listed (but you have to click on
>> "Show all").
>>
>> On Fri, Feb 27, 2009 at 6:32 PM, Paper Coder 
>> wrote:
>> > I haven't yet posted an app yet, as I'm still sorting out a Google
>> checkout
>> > problem.  I can't comment if a posted app would display all the
>> permissions
>> > required.
>> >
>> > But I would think it would list all the permissions required - maybe I'm
>> > wrong?
>> >
>> > I could figure out the pattern easy enough, just experiment with time
>> > lengths.
>> >
>> >
>> >
>> > On Fri, Feb 27, 2009 at 11:22 PM, Stoyan Damov 
>> > wrote:
>> >>
>> >> Surely Labyrinth (Lite - I don't have access to paid apps) requires
>> >> Hardware controls/control vibrator. This permission is not that
>> >> important so it's not listed in "yellow" color (I don't know what
>> >> color is that). I can feel that it vibrates, just don't have any idea
>> >> what pattern the guy's using.
>> >>
>> >> Cheers
>> >>
>> >> On Fri, Feb 27, 2009 at 5:27 PM, Jason Van Anden
>> >>  wrote:
>> >> > It also seems to me that the thump happens relative to where the ball
>> >> > hits,
>> >> > at least based upon the side of the phone relative to the wall that
>> was
>> >> > hit
>> >> > (then again this could be my mind could be playing tricks on me).
>> >> >
>> >> > Glad you noticed that no permission for this feature is asked for.
>> >> >
>> >> > So ... anyone have any idea how this is done?
>> >> >
>> >> > i++
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > On Thu, Feb 26, 2009 at 11:18 PM, madcoder 
>> wrote:
>> >> >>
>> >> >> I believe your on to something here.
>> >> >>
>> >> >> The Labyrinth Lite version doesn't ask for permission for vibrate,
>> >> >> only internet access and system tools - prevent sleep.  So where is
>> >> >> the vibration coming from?  Also, it seems the harder the ball hits,
>> >> >> the stronger the (mini-)vibration.
>> >> >>
>> >> >> I would like to know what triggers this as well.
>> >> >>
>> >> >> On Feb 26, 11:50 pm, Jason Van Anden 
>> >> >> wrote:
>> >> >> > Thank you for answering.  I took some of the griping personally
>> about
>> >> >> > "why don't people take the minute to find ..." and/or choose the
>> >> >> > right
>> >> >> > forum.  In this situation I do not know the syntax so its hard to
>> >> >> > find
>> >> >> > the info.
>> >> >> >
>> >> >> > That being said ... something physical actually does occur.  Its
>> the
>> >> >> > same thing that happens when you long click on a desktop icon to
>> >> >> > indicate its selected on the G1.  It reminds me of the old video
>> game
>> >> >> > Q*bert.  I tried a short vibration but its definitely not the
>> same.
>> >> >> >
>> >> >> > Feedback super appreciated.
>> >> >> >
>> >> >> > i++
>> >> >> >
>> >> >> > On Thu, Feb 26, 2009 at 11:44 AM, Stoyan Damov
>> >> >> > 
>> >> >> > wrote:
>> >> >> >
>> >> >> > > I think it's simply a sound effect - perhaps the phone vibrates
>> as
>> >> >> > > well, can't remember - haven't played Labyrinth for a while.
>> >> >> >
>> >> >> > > On Thu, Feb 26, 2009 at 4:53 PM, robotissues
>> >> >> > >  wrote:
>> >> >> >
>> >> >> > >> Can someone clue me in on the name of the intent that triggers
>> the
>> >> >> > >> haptic feedback when the user selects icons on the desktop, or
>> >> >> > >> when
>> >> >> > >> in
>> >> >> > >> Labyrinth the ball hits the wall.  I thought it was vibrate ...
>> >> >> > >> but
>> >> >> > >> after playing with Labyrinth I am sure there is something else.
>> In
>> >> >> > >> Labyrinth it feels as if the thump occurs relative to where the
>> >> >> > >> ball
>> >> >> > >> hits (but I am not sure if this is really the case or I am
>> >> >> > >> imagining
>> >> >> > >> it).
>> >> >> >
>> >> >> > >> I asked about this before and thought I had figured it out
>> myself
>> >> >> > >> (thought it might be a short burst of vibrate) ... but
>> apparently
>> >> >> > >> not.
>> >> >> >
>> >> >> > >> Thank You,
>> >> >> > >> i++
>> >> >>
>> >> >
>> >> >
>> >> > >
>> >> >
>> >>
>> >>
>> >
>> >
>> > >
>> >
>>
>>
>>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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: extraction

2009-02-27 Thread mark . kahrl


  There is a way, I could tell you, but I don't anyone unpacking and
decompiling my apps! It will be left as an exercise for the reader.

   M


On Feb 26, 1:02 pm, crans  wrote:
> any one can help me how to extract code from apk file .
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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] Action for receiving mail

2009-02-27 Thread Rafa

Hi every one, does any one knows which action could let a
broadcastreceiver react on an incoming email? For example, to be able
to react on a SMS is needed to add to the manifest.xml the following:







Which action would be equivalent for receiving emails? Thanks in
advance.

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] Re: Reload layout (xml) when Orientation changed

2009-02-27 Thread Morpheo

That's right. Thank you very much. It's works perfectly.

On 27 feb, 21:06, Dianne Hackborn  wrote:
> Don't use android:configChanges in your manifest, and it will all be done
> for you.
>
>
>
> On Fri, Feb 27, 2009 at 6:51 AM, Morpheo  wrote:
>
> > Hi!
>
> > I have a program with two layouts:
> >  - layout/main.xml
> >  - layout-land/main.xml
>
> > Also, i have some images en drawable and drawable-land...
>
> > My problem is: When i change the orientation of the emulator (for
> > examplo: portrait to landscape) i don't know how reload the main.xml
> > layout to update the screen with the new positions
>
> > If I launch the emulator in portrait the application load the portrait
> > layout, and if I launch the emulator in landscape mode the application
> > load the landscape layout, but if I change the orientation in
> > execution mode the application don't load the new layout...
>
> > Any idea? how can I reload the layout?
>
> > 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] Re: Developers, please stop posting paid apps on the Android Market

2009-02-27 Thread Sundog

Heh. Good one.

On Feb 27, 1:50 am, Moombe  wrote:
> As Google's current support for paid apps in the Android Market is
> limited to the US market only (and even on the US market, would not
> support ADP1 phone), I really think you guys should stop posting your
> apps in there.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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: Reload layout (xml) when Orientation changed

2009-02-27 Thread Dianne Hackborn
Don't use android:configChanges in your manifest, and it will all be done
for you.

On Fri, Feb 27, 2009 at 6:51 AM, Morpheo  wrote:

>
> Hi!
>
> I have a program with two layouts:
>  - layout/main.xml
>  - layout-land/main.xml
>
> Also, i have some images en drawable and drawable-land...
>
> My problem is: When i change the orientation of the emulator (for
> examplo: portrait to landscape) i don't know how reload the main.xml
> layout to update the screen with the new positions
>
> If I launch the emulator in portrait the application load the portrait
> layout, and if I launch the emulator in landscape mode the application
> load the landscape layout, but if I change the orientation in
> execution mode the application don't load the new layout...
>
> Any idea? how can I reload the layout?
>
> 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] Re: Multi Touch Support

2009-02-27 Thread lukehutch

It won't happen in the near future until at the very least someone in
the community works with the Google developers to code up well-
designed support for multi-touch in the MotionEvent class, and until
Google actually accepts that patch upstream, and until T-Mobile picks
up the patch and OTAs it.  (Getting MT working in apps is then a whole
other ball game.)  The chance of all that happening in the near future
is for all intents and purposes close to zero for a variety of
reasons, though interested parties should still submit a patch to
Google.  Multi-touch is on Google's todo list but it's not very high
up on that list.  It is highly likely that there will never be
official multi-touch support for the G1, even if there is for future
devices.  If you want multi-touch for the G1, at least in the browser,
then you need JesusFreke's replacement flash images, google it.


On Feb 27, 2:02 pm, "pesh...@gmail.com"  wrote:
> Please,
> HTC G1 is perfectly capable of multi touch support. Please guys
> implement that in the next OTA update if possible. I understand is
> something that Apple Created with their Iphone, but G1 has a lot of
> petential and multi touch i needed for the sucess of this product.
> Google works with Apple and I am sure you can implement that feature
> with the phone.
> Thank you.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Assuming Developers are Pirates

2009-02-27 Thread lukehutch

Has a registration token system been discussed anywhere as an
alternative?  e.g. each paid user gets a cookie that is based on the
AndoidID, and the app periodically checks in with a central server to
ensure that the given cookie/AndroidID combination are valid and paid-
up...


On Feb 26, 2:08 pm, Eric Veenendaal  wrote:
> I just wanted to start a thread expressing my displeasure with the
> choice to block copy-protected apps from being made available to
> ADPs.  The thing that drew me to the android platform was the fact
> that it had such a lower barrier to entry.  I can't afford to have two
> phone plans going.  The idea of investing $425 to allow me to have one
> device to both develop for and use for my day to day life was very
> attractive.  However, Google's recent assumption that developers will
> pirate drm'd software simply because they can is ridiculous. If
> someone wanted to pirate software, they'd simply open a t-mobile
> account, unlock the phone, and save $300+.  I hope Google reconsiders.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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: Dev Phone and RC33 update

2009-02-27 Thread Jean-Baptiste Queru

We were hoping that it would get resolved very soon after the release
of the ADP1, and it's been taking much much much much longer than
anyone had anticipated (even myself, albeit a permanent pessimist when
it comes to schedules, didn't see that one coming at all).

Like I said above, this isn't an oversight. Making official flashable
images available has always been part of the ADP1 plan. Sometimes
however some scheduling disasters happen and a tiny grain of sand can
block an otherwise well-oiled machine for very long times. This is one
of those times.

The ADP1 1.1 situation has made February a very painful month for
everyone involved. I totally understand your frustration, and, knowing
myself, I would be vending on the list exactly the way you currently
are if I happened to be in your situation.

Even if you don't want to trust Google at this point, I'm asking that
you trust me when I say that I'm doing everything that I can to get
this issue resolved.

JBQ

On Fri, Feb 27, 2009 at 11:25 AM, Java Developer  wrote:
>
> Can I return my ADP1? I was completely mislead, and so was everyone
> else. Now that I think about it, I believe American Express would
> agree with me. I suggest we all start charge back procedures on these
> bricks as they don't deliver anything near what was expected and
> "promised".
>
> JBP, how can you state "and we've known about it since before the
> first ADP1 shipped, since right from day 1" and not realize holding
> this information back from developers at the time of rollout is at
> best an EXTREME OVERSIGHT? I am pleased that organizations such as
> CNET are now publicly taking Google to task on this, I can only hope
> the NYTs follows suit this Sunday.
>
>
>
> On Feb 27, 1:33 pm, Disconnect  wrote:
>> Except you are allowed (and even, kinda, encouraged) to make your app
>> available in many places.
>>
>> So how do you distinguish between "I got it from andappstore" or "I got it
>> for free from the developer" (both legit but not market) from "Joe copied it
>> off his phone for me"?
>>
>>
>>
>> On Fri, Feb 27, 2009 at 12:34 PM, Steve Barr  wrote:
>>
>> > On 2/27/09, Jean-Baptiste Queru  wrote:
>> > >  DRM in this discussion is a mechanism that allows developers to say "I
>> > >  don't want my application to be available on devices from which it can
>> > >  be copied".
>>
>> > Given rooted devices, would it make more sense to look for DRM which
>> > locked an app to a particular device ID (or user ID), no matter what
>> > kind of device it was?  It seems like the Market has to keep track of
>> > which device (or perhaps person) downloaded/purchased which apps
>> > already, so the user can download them again if needed.
>>
>> > I'm no expert on DRM, but it seems to me there are some pieces
>> > available for a different solution to the problem.
>>
>> > Steve
> >
>



-- 
Jean-Baptiste M. "JBQ" Queru
Android Engineer, Google.

Please don't contact me directly.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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: Communicate between tabs

2009-02-27 Thread Nykolas

When you say "communicate" what do you mean? What you can do is write
information to the intent you are firing, using bundles or extras.
Other then that you can use sharedpreferences.

On Feb 27, 9:36 am, Rog  wrote:
> I am using a TabHost one tab with a list and another to show the
> details of a specific item selected in the list.
> Does anyone know how I can communicate between tabs?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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 detect SMS sending?

2009-02-27 Thread mark . kahrl


  Thanks for the info, the content observer works, Using pending
intents with the SmsManger does not seem to work, the intent gets
broadcast that the message was sent, even if you have no signal or SIM
card in the device, the content obsever does actually tell if the
message was sent from the device reliably. Good to know.

  Mark


On Feb 27, 4:13 am, jarkman  wrote:
> Take a look 
> here:http://groups.google.com/group/android-developers/browse_thread/threa...
>
> and here:http://code.google.com/p/android/issues/detail?id=914
>
> Basically, you can do it by registering a content observer on the SMS
> message store. But the details are not in the SDK, which is either a
> simple omission or a hint that they may change in the future. Try
> this:
>
>   ContentResolver contentResolver = context.getContentResolver();
>   contentResolver.registerContentObserver(Uri.parse("content://
> sms"),true, myObserver);
>
> Richard
>
> On Feb 27, 2:36 am, Geos  wrote:
>
>
>
> > Please help.
>
> > Who knows how to detect SMS sending from the phone?
> > I saw a lot of posts about android.provider.Telephony.SMS_RECEIVED but
> > it's only for SMS receiving.
> > May be You can suggest some forums where I can ask specialist from
> > Google about it?
>
> > Thank You.- 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: Assuming Developers are Pirates

2009-02-27 Thread mark . kahrl


   I don't think it matters that much, developers actually paying for
software? Unlikely in any case.



On Feb 26, 11:08 am, Eric Veenendaal  wrote:
> I just wanted to start a thread expressing my displeasure with the
> choice to block copy-protected apps from being made available to
> ADPs.  The thing that drew me to the android platform was the fact
> that it had such a lower barrier to entry.  I can't afford to have two
> phone plans going.  The idea of investing $425 to allow me to have one
> device to both develop for and use for my day to day life was very
> attractive.  However, Google's recent assumption that developers will
> pirate drm'd software simply because they can is ridiculous. If
> someone wanted to pirate software, they'd simply open a t-mobile
> account, unlock the phone, and save $300+.  I hope Google reconsiders.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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: Dev Phone and RC33 update

2009-02-27 Thread Java Developer

Can I return my ADP1? I was completely mislead, and so was everyone
else. Now that I think about it, I believe American Express would
agree with me. I suggest we all start charge back procedures on these
bricks as they don't deliver anything near what was expected and
"promised".

JBP, how can you state "and we've known about it since before the
first ADP1 shipped, since right from day 1" and not realize holding
this information back from developers at the time of rollout is at
best an EXTREME OVERSIGHT? I am pleased that organizations such as
CNET are now publicly taking Google to task on this, I can only hope
the NYTs follows suit this Sunday.



On Feb 27, 1:33 pm, Disconnect  wrote:
> Except you are allowed (and even, kinda, encouraged) to make your app
> available in many places.
>
> So how do you distinguish between "I got it from andappstore" or "I got it
> for free from the developer" (both legit but not market) from "Joe copied it
> off his phone for me"?
>
>
>
> On Fri, Feb 27, 2009 at 12:34 PM, Steve Barr  wrote:
>
> > On 2/27/09, Jean-Baptiste Queru  wrote:
> > >  DRM in this discussion is a mechanism that allows developers to say "I
> > >  don't want my application to be available on devices from which it can
> > >  be copied".
>
> > Given rooted devices, would it make more sense to look for DRM which
> > locked an app to a particular device ID (or user ID), no matter what
> > kind of device it was?  It seems like the Market has to keep track of
> > which device (or perhaps person) downloaded/purchased which apps
> > already, so the user can download them again if needed.
>
> > I'm no expert on DRM, but it seems to me there are some pieces
> > available for a different solution to the problem.
>
> > Steve
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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: Some info about the hardware unlocked ADP1

2009-02-27 Thread Jean-Baptiste Queru

The locking happens at two levels: the bootloader (i.e. whether the
fastboot protocol is enabled or disabled) and the keys used during
recovery (i.e. whether recovery recognizes secret keys or known "test"
keys).

Replacing both of those with locked versions would lock you out of
your phone. The bootloader that the ADP1 ships with prevents you from
updating the bootloader for that specific reason.

You'll be at risk if you flash your device with a build that looks
close enough to a "locked" consumer build, as that could later cause
an automatic update to overwrite your build, and if that update
replaces both your bootloader and your recovery keys you'll be stuck.
If you flash it with a build that looks close enough to an unlocked
build, the worst that an automatic update is likely to do would be to
update you to a newer version of a similarly unlocked build, but
there's of course no guarantee.

Of course, you understand that working with builds from unknown
sources instead of official builds carries an additional level of
risk.

JBQ

On Fri, Feb 27, 2009 at 10:46 AM, vendor.net  wrote:
>
> I have ADP1 and want to flash it with the holiday version, because
> waiting the official ADP 1.1 is an unofficial waste of time.
> My question is can I lock my phone if I flash it with a software
> version which is for locked phones? And how the hardware unlock works?
> I know that one of the difference of G1 and ADP1 is that ADP1 is
> hardware unlocked and you can install anything, but how does this
> work? Is there a chance to lock my phone with some software flash?
> >
>



-- 
Jean-Baptiste M. "JBQ" Queru
Android Engineer, Google.

Please don't contact me directly.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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] Multi Touch Support

2009-02-27 Thread pesh...@gmail.com

Please,
HTC G1 is perfectly capable of multi touch support. Please guys
implement that in the next OTA update if possible. I understand is
something that Apple Created with their Iphone, but G1 has a lot of
petential and multi touch i needed for the sucess of this product.
Google works with Apple and I am sure you can implement that feature
with the phone.
Thank you.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Does emulator simulate GSM or 3G?

2009-02-27 Thread Joe Petruchi
As per the cupcake release it checks for the network if it is 3G or not
before allowing simultaneous CS and PS call.

I dont remember exactly from where it gets the network type though

You can better check in the cupcake release code. There is some API :)

Hope this helps

Regards
Joe

On Fri, Feb 27, 2009 at 3:02 PM, Svartalf  wrote:

>
> Hi
>
> I run the emulator from the sdk version 1.1_r1 and when I try to make
> an outgoing data connection during a incoming call the data connection
> will not be esablished BUT it works fine if I disconnect the call.
> I have seen the same behaviour on other phones that run GSM instead of
> 3G.
> Are the emulator simulating GSM? If so can I switch to 3G or is there
> any other way that I can have a outgoing data connection during an
> incoming call?
>
> I have tried the "emulator.exe -netspeed" option but if I understand
> it correctly it only set the speed of the connection and not the
> connection mode.
>
> Hope that anyone can help with 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: webkit version

2009-02-27 Thread Joe Petruchi
sorry wrong context

Regards
Joe

On Fri, Feb 27, 2009 at 11:52 PM, Joe Petruchi wrote:

> As per the cupcake release it checks for the network if it is 3G or not
> before allowing simultaneous CS and PS call.
>
> I dont remember exactly from where it gets the network type though
>
> You can better check in the cupcake release code. There is some API :)
>
> Hope this helps
>
> Regards
> Joe
>
>
>
>
> On Fri, Feb 27, 2009 at 1:55 PM, webjunkie wrote:
>
>>
>> anyway to find out what is revision number for webkit in the cupcake
>> and donut releases?
>>
>> >>
>>
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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: Basic application web service access: source not found?

2009-02-27 Thread Marco Nelissen

On Fri, Feb 27, 2009 at 3:22 AM, RedOxyd  wrote:
>
> Hello,
> I am coding a basic android application that has to call a web
> service, using KSOAP2, I am sending a request with one parameter
> (city) and need to get the response of the web service (basically a
> short String) from this site:
> http://www.deeptraining.com/webservices/weather.asmx?op=GetWeather
>
> When execultin the application, I only get a message:
> "This application has stopped unexpectedly"
>
> When debugging, I am getting the following error:
> Thread [<3> main] (Suspended (exception VerifyError)
> And:
> ViewRoot.handleMessage(Message) line: 1198
> that says: Source not Found
> And shows a button allowing to:  Edit Source Lookup path.
>
> What does this basically mean?

It means that you crashed on line 1198 in ViewRoot.java, but your
eclipse source paths are not setup correctly, so eclipse cannot show
you that file.
If you looked at the system log, you might get some more useful
information (like the full stack trace).

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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 info about the hardware unlocked ADP1

2009-02-27 Thread vendor.net

I have ADP1 and want to flash it with the holiday version, because
waiting the official ADP 1.1 is an unofficial waste of time.
My question is can I lock my phone if I flash it with a software
version which is for locked phones? And how the hardware unlock works?
I know that one of the difference of G1 and ADP1 is that ADP1 is
hardware unlocked and you can install anything, but how does this
work? Is there a chance to lock my phone with some software flash?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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: Dev Phone and RC33 update

2009-02-27 Thread Disconnect
Except you are allowed (and even, kinda, encouraged) to make your app
available in many places.

So how do you distinguish between "I got it from andappstore" or "I got it
for free from the developer" (both legit but not market) from "Joe copied it
off his phone for me"?

On Fri, Feb 27, 2009 at 12:34 PM, Steve Barr  wrote:

>
> On 2/27/09, Jean-Baptiste Queru  wrote:
> >  DRM in this discussion is a mechanism that allows developers to say "I
> >  don't want my application to be available on devices from which it can
> >  be copied".
>
> Given rooted devices, would it make more sense to look for DRM which
> locked an app to a particular device ID (or user ID), no matter what
> kind of device it was?  It seems like the Market has to keep track of
> which device (or perhaps person) downloaded/purchased which apps
> already, so the user can download them again if needed.
>
> I'm no expert on DRM, but it seems to me there are some pieces
> available for a different solution to the problem.
>
> Steve
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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: Dev Phone and RC33 update

2009-02-27 Thread Jean-Baptiste Queru

Sorry, I don't even have visibility over such roadmaps or ETAs.

JBQ

On Fri, Feb 27, 2009 at 10:23 AM, vendor  wrote:
> Something unofficial? Not a strict plan like we will be done in 2 days, but
> something more than:
> "We understand your concerns and we will make an update which will treat
> properly the paid applications and in the feature G1/G2 and etc will be
> synchronized with the ADPs." Just an example. Because now, I as a developer
> am stuck and don`t know what to expect.
> Thanks!
> P.S. I understand you. Such big project and so many expectations, deadlines
> and a whole new sphere of development, but google should understand us too.
> We have the right to know whats happening and will happen.
>
> On Fri, Feb 27, 2009 at 8:17 PM, Jean-Baptiste Queru 
> wrote:
>>
>> No roadmap or ETA, sorry.
>>
>> JBQ
>>
>> On Fri, Feb 27, 2009 at 10:12 AM, vendor  wrote:
>> > Could you say a roadmap or something? Ex. I did`t know, I was only
>> > speculating that you are working on this problem, but please share
>> > information with us. We work together...
>> >
>> > On Fri, Feb 27, 2009 at 7:58 PM, Jean-Baptiste Queru 
>> > wrote:
>> >>
>> >> It would make more sense to not rely on forward-locking for
>> >> copyright-related restrictions. It all boils down to finding time to
>> >> implement it.
>> >>
>> >> JBQ
>> >>
>> >> On Fri, Feb 27, 2009 at 9:34 AM, Steve Barr  wrote:
>> >> >
>> >> > On 2/27/09, Jean-Baptiste Queru  wrote:
>> >> >>  DRM in this discussion is a mechanism that allows developers to say
>> >> >> "I
>> >> >>  don't want my application to be available on devices from which it
>> >> >> can
>> >> >>  be copied".
>> >> >
>> >> > Given rooted devices, would it make more sense to look for DRM which
>> >> > locked an app to a particular device ID (or user ID), no matter what
>> >> > kind of device it was?  It seems like the Market has to keep track of
>> >> > which device (or perhaps person) downloaded/purchased which apps
>> >> > already, so the user can download them again if needed.
>> >> >
>> >> > I'm no expert on DRM, but it seems to me there are some pieces
>> >> > available for a different solution to the problem.
>> >> >
>> >> > Steve
>> >> >
>> >> > >
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> Jean-Baptiste M. "JBQ" Queru
>> >> Android Engineer, Google.
>> >>
>> >> Please don't contact me directly.
>> >>
>> >>
>> >
>> >
>> > >
>> >
>>
>>
>>
>> --
>> Jean-Baptiste M. "JBQ" Queru
>> Android Engineer, Google.
>>
>> Please don't contact me directly.
>>
>>
>
>
> >
>



-- 
Jean-Baptiste M. "JBQ" Queru
Android Engineer, Google.

Please don't contact me directly.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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: Dev Phone and RC33 update

2009-02-27 Thread vendor
Something unofficial? Not a strict plan like we will be done in 2 days, but
something more than:"We understand your concerns and we will make an update
which will treat properly the paid applications and in the feature G1/G2 and
etc will be synchronized with the ADPs." Just an example. Because now, I as
a developer am stuck and don`t know what to expect.

Thanks!

P.S. I understand you. Such big project and so many expectations, deadlines
and a whole new sphere of development, but google should understand us too.
We have the right to know whats happening and will happen.

On Fri, Feb 27, 2009 at 8:17 PM, Jean-Baptiste Queru wrote:

>
> No roadmap or ETA, sorry.
>
> JBQ
>
> On Fri, Feb 27, 2009 at 10:12 AM, vendor  wrote:
> > Could you say a roadmap or something? Ex. I did`t know, I was only
> > speculating that you are working on this problem, but please share
> > information with us. We work together...
> >
> > On Fri, Feb 27, 2009 at 7:58 PM, Jean-Baptiste Queru 
> > wrote:
> >>
> >> It would make more sense to not rely on forward-locking for
> >> copyright-related restrictions. It all boils down to finding time to
> >> implement it.
> >>
> >> JBQ
> >>
> >> On Fri, Feb 27, 2009 at 9:34 AM, Steve Barr  wrote:
> >> >
> >> > On 2/27/09, Jean-Baptiste Queru  wrote:
> >> >>  DRM in this discussion is a mechanism that allows developers to say
> "I
> >> >>  don't want my application to be available on devices from which it
> can
> >> >>  be copied".
> >> >
> >> > Given rooted devices, would it make more sense to look for DRM which
> >> > locked an app to a particular device ID (or user ID), no matter what
> >> > kind of device it was?  It seems like the Market has to keep track of
> >> > which device (or perhaps person) downloaded/purchased which apps
> >> > already, so the user can download them again if needed.
> >> >
> >> > I'm no expert on DRM, but it seems to me there are some pieces
> >> > available for a different solution to the problem.
> >> >
> >> > Steve
> >> >
> >> > >
> >> >
> >>
> >>
> >>
> >> --
> >> Jean-Baptiste M. "JBQ" Queru
> >> Android Engineer, Google.
> >>
> >> Please don't contact me directly.
> >>
> >>
> >
> >
> > >
> >
>
>
>
> --
> Jean-Baptiste M. "JBQ" Queru
> Android Engineer, Google.
>
> Please don't contact me directly.
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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: webkit version

2009-02-27 Thread Joe Petruchi
As per the cupcake release it checks for the network if it is 3G or not
before allowing simultaneous CS and PS call.

I dont remember exactly from where it gets the network type though

You can better check in the cupcake release code. There is some API :)

Hope this helps

Regards
Joe




On Fri, Feb 27, 2009 at 1:55 PM, webjunkie  wrote:

>
> anyway to find out what is revision number for webkit in the cupcake
> and donut releases?
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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] Unable to upload a signed .apk file to Andorid Market

2009-02-27 Thread Hw3699

I set up and Android Market account and tried to upload a signed .apk
file, but it keep loading with a "circle" and nothign happened.

Anybody have the same issure?

How to solve it?

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: Developers, please stop posting paid apps on the Android Market

2009-02-27 Thread Alexey

Yeah do that.. and then send email to the all actual users asking them
to go and find your app  on androidgear or SlideMe or handango.
Brilliant strategy ..

On Feb 27, 2:50 am, Moombe  wrote:
> As Google's current support for paid apps in the Android Market is
> limited to the US market only (and even on the US market, would not
> support ADP1 phone), I really think you guys should stop posting your
> apps in there.
>
> Please make yourself a favor being able to reach the whole world and
> post your apps on androidgear or SlideMe or handango.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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: TERRIBLE BUG IN MARKET APPLICATION (was Re: Paid apps related questions discussion list?)

2009-02-27 Thread Mattaku Betsujin
I have updated my app about 10 times and I've never run into any problem.
Could you send the error messages when the app fails to run after update?
I'd like to know what the issues are and want to avoid them :-)

Thanks

On Thu, Feb 26, 2009 at 11:59 AM, sagesmith  wrote:

>
> I assumed that this was our problem, that maybe our update was not
> taking care of our existing users somehow.  I thought this because any
> downloaded updates would render the application unusable on initial
> launch.  Any *new* users have no problems though.  I am frustrated
> because everything is working in test.  Does anyone have any
> suggestions about how to make updates work?  I see a lot of popular
> free games saying, in their descriptions (this takes up text!), to
> uninstall and reinstall for updates.  That's fine for free but for
> paid, the minute you suggest this, the user does not have the ability
> to refund.
>
> Is it my problem, or as this post suggests, the Market's?
>
> On Feb 21, 9:13 pm, Stoyan Damov  wrote:
> > I am SICK AND TIRED of typing and pasting the SAME thing OVER and OVER
> > again today - "if you have any issues with the application after
> anupdate, please re-install it".
> >
> > Could someone at Google FINALLY do something about it? It's been
> > dozens of users today. I can only guess when paid apps-enabled Market
> > app spreads to all users.
> > The issues are (for the Nth time): hanging download, hanging install,
> > "Force close" dialog at startup.
> > FWIW it doesn't matter if the application is free or paid (had issues
> > with both), or is protected or not (had issues with both).
> >
> >
> >
> > On Sat, Feb 21, 2009 at 10:53 PM, Jon Colverson 
> wrote:
> > > - Show quoted text -
> > > On Feb 21, 3:24 pm, Stoyan Damov  wrote:
> > >> Is there a dedicated list for developers who have paid apps in Android
> > >> Market? It would be best if that list has at least 1 *Google* (not
> > >> Android, i.e. I don't need it to be technically savvy) employee able
> > >> to give sensible answers to WTF questions related to the Market and
> > >> paid apps?
> >
> > > This would seem to be the official place:
> > >http://www.google.com/support/forum/p/Android+Market
> >
> > > --
> > > Jon
> > > - 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: Emualator fails at Boot up

2009-02-27 Thread Joe Petruchi
Hi David

i downloaded the kernel using this link.
 The latest 2.6.27 goldfish kernel is now available:
http://android.git.kernel.org/?p=kernel/common.git;a=shortlog;h=refs/...

this link i got from a mailing thread
http://groups.google.com/group/android-kernel/browse_thread/thread/984e90dac7ab658d

i configured the kernel using the goldfish config file

i did make with the goldfish config file to get the .config
and then i executed make; this generated the kernel image for me.

If you see something wrong with this
please let me know

Infact I searched in the net with the same error "init: Unable to open
persistent property directory /data/property errno: 2" and it seems many
people faced this problem but the solution was not revealed in any of the
mailing list.



Regards
Joe




On Fri, Feb 27, 2009 at 10:07 PM, David Turner  wrote:

> How, and how did you get the "latest kernel" exactly. The kernel team
> generally drops a new prebuilt goldfish-specific kernel image once in a
> while when they're sure they have tested it properly. If you took the tip of
> tree of the goldfish branch on android.git.kernel.org, there are chances
> that the code doesn't work as is.
>
>
> On Fri, Feb 27, 2009 at 5:35 PM, David Turner  wrote:
>
>> How did you configure the kernel build exactly ?
>>
>>
>> On Fri, Feb 27, 2009 at 4:47 PM, Joe Petruchi 
>> wrote:
>>
>>> Hi David
>>>
>>> Thanks for your response
>>>
>>> As you figured out
>>>
>>> emulator -system ./a/b/ works but emulator -system ./a/b/ -kernel
>>> x/y/z/kernelImage doesnot works.
>>>
>>> My emulator doesnot works with the latest kernel. I have downloaded the
>>> kernel code from the Android site only. This kernel is already working for
>>> some people. I wonder why it doesnot work for me 
>>>
>>> Hope i will get the fix soon
>>>
>>> Regards
>>> Joe
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Fri, Feb 27, 2009 at 8:45 PM, David Turner  wrote:
>>>
 Are you saying that the following works:

 emulator -system ./a/b/

 While this line doesn't:

 emulator -system ./a/b/ -kernel x/y/z/kernelImage

 If so, there is something in your kernel that is preventing the proper
 mounting of / (a.k.a. system.img), which explains the "cannot find
 /system/" messages.
 You should probably check your kernel configuration to ensure that you
 have the YAFFS2 drivers compiled in, and probably a lot more things that I
 don't know much about (I'm not a kernel hacker)

 By the way, the output of '-verbose', which you didn't provide, is
 useful to know which system.img and ramdisk.img was picked exactly. This
 removes a certain level of uncertainty when debugging these problems. I
 suggest you to check it thoroughly.


 On Fri, Feb 27, 2009 at 4:04 PM, Joe Petruchi >>> > wrote:

>
> Hi
> I am using the same system.img file which was working fine with the
> previous emulator kernel 2.6.25.
>
> The verbose gives a seg fault for me with both previous and new kernel.
> The complete output of show-kernel is given below
>
> Uncompressing
> Linux.
> done, booting the kernel.
> emulator: emulator window was out of view and was recentred
> Linux version 2.6.27 (r...@ubuntu810desktop) (gcc version 4.3.1 (GCC)
> ) #1 Thu Feb 26 22:16:35 IST 2009
> CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=3137
> Machine: Goldfish
> Memory policy: ECC disabled, Data cache writeback
> CPU0: D VIVT write-through cache
> CPU0: I cache: 4096 bytes, associativity 4, 32 byte lines, 32 sets
> CPU0: D cache: 65536 bytes, associativity 4, 32 byte lines, 512 sets
> Built 1 zonelists in Zone order, mobility grouping on.  Total pages:
> 24384
> Kernel command line: qemu=1 console=ttyS0 android.checkjni=1
> android.qemud=ttyS1 android.ndns=1
> Unknown boot option `android.checkjni=1': ignoring
> Unknown boot option `android.qemud=ttyS1': ignoring
> Unknown boot option `android.ndns=1': ignoring
> PID hash table entries: 512 (order: 9, 2048 bytes)
> Console: colour dummy device 80x30
> Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
> Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
> Memory: 96MB = 96MB total
> Memory: 94040KB available (2412K code, 640K data, 104K init)
> Calibrating delay loop... 563.60 BogoMIPS (lpj=2818048)
> Mount-cache hash table entries: 512
> CPU: Testing write buffer coherency: ok
> net_namespace: 288 bytes
> NET: Registered protocol family 16
> NET: Registered protocol family 2
> IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
> TCP established hash table entries: 4096 (order: 3, 32768 bytes)
> TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
> TCP: Hash tables configured (e

[android-developers] Re: Dev Phone and RC33 update

2009-02-27 Thread Jean-Baptiste Queru

No roadmap or ETA, sorry.

JBQ

On Fri, Feb 27, 2009 at 10:12 AM, vendor  wrote:
> Could you say a roadmap or something? Ex. I did`t know, I was only
> speculating that you are working on this problem, but please share
> information with us. We work together...
>
> On Fri, Feb 27, 2009 at 7:58 PM, Jean-Baptiste Queru 
> wrote:
>>
>> It would make more sense to not rely on forward-locking for
>> copyright-related restrictions. It all boils down to finding time to
>> implement it.
>>
>> JBQ
>>
>> On Fri, Feb 27, 2009 at 9:34 AM, Steve Barr  wrote:
>> >
>> > On 2/27/09, Jean-Baptiste Queru  wrote:
>> >>  DRM in this discussion is a mechanism that allows developers to say "I
>> >>  don't want my application to be available on devices from which it can
>> >>  be copied".
>> >
>> > Given rooted devices, would it make more sense to look for DRM which
>> > locked an app to a particular device ID (or user ID), no matter what
>> > kind of device it was?  It seems like the Market has to keep track of
>> > which device (or perhaps person) downloaded/purchased which apps
>> > already, so the user can download them again if needed.
>> >
>> > I'm no expert on DRM, but it seems to me there are some pieces
>> > available for a different solution to the problem.
>> >
>> > Steve
>> >
>> > >
>> >
>>
>>
>>
>> --
>> Jean-Baptiste M. "JBQ" Queru
>> Android Engineer, Google.
>>
>> Please don't contact me directly.
>>
>>
>
>
> >
>



-- 
Jean-Baptiste M. "JBQ" Queru
Android Engineer, Google.

Please don't contact me directly.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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: Dev Phone and RC33 update

2009-02-27 Thread vendor
Could you say a roadmap or something? Ex. I did`t know, I was only
speculating that you are working on this problem, but please share
information with us. We work together...

On Fri, Feb 27, 2009 at 7:58 PM, Jean-Baptiste Queru wrote:

>
> It would make more sense to not rely on forward-locking for
> copyright-related restrictions. It all boils down to finding time to
> implement it.
>
> JBQ
>
> On Fri, Feb 27, 2009 at 9:34 AM, Steve Barr  wrote:
> >
> > On 2/27/09, Jean-Baptiste Queru  wrote:
> >>  DRM in this discussion is a mechanism that allows developers to say "I
> >>  don't want my application to be available on devices from which it can
> >>  be copied".
> >
> > Given rooted devices, would it make more sense to look for DRM which
> > locked an app to a particular device ID (or user ID), no matter what
> > kind of device it was?  It seems like the Market has to keep track of
> > which device (or perhaps person) downloaded/purchased which apps
> > already, so the user can download them again if needed.
> >
> > I'm no expert on DRM, but it seems to me there are some pieces
> > available for a different solution to the problem.
> >
> > Steve
> >
> > >
> >
>
>
>
> --
> Jean-Baptiste M. "JBQ" Queru
> Android Engineer, Google.
>
> Please don't contact me directly.
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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: WebKit version in Donut

2009-02-27 Thread Mark Murphy

Steven wrote:
> Anyone know what version of WebKit will be used for Donut or Eclair?
> Seems like the current version of WebKit is dated November 3rd.

You'll probably be more likely to get an answer on future firmware
questions on one of the groups associated with the firmware:

http://source.android.com/discuss

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

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



[android-developers] Re: Dev Phone and RC33 update

2009-02-27 Thread Jean-Baptiste Queru

It would make more sense to not rely on forward-locking for
copyright-related restrictions. It all boils down to finding time to
implement it.

JBQ

On Fri, Feb 27, 2009 at 9:34 AM, Steve Barr  wrote:
>
> On 2/27/09, Jean-Baptiste Queru  wrote:
>>  DRM in this discussion is a mechanism that allows developers to say "I
>>  don't want my application to be available on devices from which it can
>>  be copied".
>
> Given rooted devices, would it make more sense to look for DRM which
> locked an app to a particular device ID (or user ID), no matter what
> kind of device it was?  It seems like the Market has to keep track of
> which device (or perhaps person) downloaded/purchased which apps
> already, so the user can download them again if needed.
>
> I'm no expert on DRM, but it seems to me there are some pieces
> available for a different solution to the problem.
>
> Steve
>
> >
>



-- 
Jean-Baptiste M. "JBQ" Queru
Android Engineer, Google.

Please don't contact me directly.

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



[android-developers] What are the charged applications?

2009-02-27 Thread tainy

It is said that the charged applications are on the market, but I did
not find any.
Could anyone please tell me the names of some charged applications?
or is it filtered to me?

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] Communicate between tabs

2009-02-27 Thread Rog

I am using a TabHost one tab with a list and another to show the
details of a specific item selected in the list.
Does anyone know how I can communicate between tabs?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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: Pls help: how to reinstall dev phone?

2009-02-27 Thread tc

Yossi wrote:
> It seems that I might made something wrong and deleted important files
> on my dev phone. it does not turn on now.
> Is there a way to reload the dev image again?

Are you able to boot into the SPL bootloader (fastboot mode)?  Boot
your ADP1 with the camera key held down until you see a white screen
with androids on skateboards.

Cheers,

Travis

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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: OpenGL ES show case

2009-02-27 Thread Sachin pandhare

Hi Franck,
the performance looks good. this is on emulator if i am not wrong.
does it use the latest Android package as it is or with some
modification for OpenGL ES ?
Sachin

On Feb 26, 2:39 pm, fcalzada  wrote:
> Hi all,
>
> here is a little video about my android opengl show case, which is
> actually a 3d pool game.
> It uses 3ds/obj model loading, planar shadow with stencil, and more...
>
> (This video shows an alpha version)
>
> Here is the link: poolhttp://www.youtube.com/watch?v=RD7OvIYeIsk
>
> Your comments are welcome,
>
> Franck

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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 Delete An App That I Published?

2009-02-27 Thread CARNIVAL COMICS
I published 3 motion comic chapters for free, and tried to publish one for
.99. I tried to unpublish 2, 3, and 4 and left the first one up.  But it
won't let me delete them. How can I get them totally deleted?  I read that
if you reinstall the app, then the delete option comes back on.  So I did
this, and the delete button was there, but when I clicked it, it did
nothing.  I would like to delete these completely.  People are still
downloading and commenting  on the files, even though it doesn't appear in
the app store.  Any help would be appreciated.

-- 
Sharon Levesque Barnes
(Carnival Comics V.P.)
http://www.carnivalcomics.com

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



[android-developers] Re: Recording Audio

2009-02-27 Thread saifullah hanif
http://tinyurl.com/cyecuf
http://tinyurl.com/ahvxzc

http://tinyurl.com/8rwmkr

http://tinyurl.com/7wbm8o

On 2/26/09, benmccann  wrote:
>
>
> >> each application has its own private data directory /
> >> data/app-private/app-package. I believe your working directory is set
> >> to this directory by default
>
> Cool.  So it sounds like I should just be able to use a relative path
> from the current location then.  Unfortunately, I'm getting the
> following exception (with no clues as to why start is failing):
>
> 02-26 14:34:55.132: ERROR/AndroidRuntime(164):
> java.lang.RuntimeException: start failed.
> 02-26 14:34:55.132: ERROR/AndroidRuntime(164): at
> android.media.MediaRecorder.start(Native Method)
>
>
> Here's my code:
>
>final MediaRecorder recorder = new MediaRecorder();
>recorder.setAudioSource(MediaRecorder.AudioSource.MIC);
>recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
>recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);
>recorder.setOutputFile("test.3gpp");
>recorder.prepare();
>recorder.start();
>
>
>
> On Feb 26, 12:14 am, Dave Sparks  wrote:
> > You can get the path to external storage (e.g. SD card) with
> > Environment.getExternalStorageDirectory(). This is world read/
> > writable.
> >
> > Alternatively, each application has its own private data directory /
> > data/app-private/app-package. I believe your working directory is set
> > to this directory by default. This is onboard flash, so it will
> > survive the user ejecting an SD card. However, there is a limited
> > amount to go around, so you don't want to store monster media files
> > there.
> >
> > On Feb 25, 9:22 pm, benmccann  wrote:
> >
> > > >> setOutputFile() expects a path to where you want the file stored.
> >
> > > Yep, figured that much by the method name, but what's a valid path?  I
> > > mean I'm figuring it's UNIX-like, but other than that I'm in the
> > > dark.  Is there a preferred place for apps to store data?  Are there
> > > certain directories that I have permission to write to?  What
> > > directories exist on the device by default?  It'd be nice for the docs
> > > on data storage to mention any of these things:
> http://developer.android.com/guide/topics/data/data-storage.html
> >
> > > >> You can take a look at the source to SoundRecorder in the open
> source tree for some working code
> >
> > > Thanks for the example.  This would be a much better example than the
> > > one in the docs that won't compile and implies content must first be
> > > added to a database:
> http://developer.android.com/guide/topics/media/index.html
> >
> > > On Feb 24, 8:03 pm, Dave Sparks  wrote:
> >
> > > > setOutputFile() expects a path to where you want the file stored.
> >
> > > > You can take a look at the source to SoundRecorder in the open source
> > > > tree for some working code:
> >
> > > >
> http://android.git.kernel.org/?p=platform/packages/apps/SoundRecorder...
> >
> > > > On Feb 24, 4:43 pm, benmccann  wrote:
> >
> > > > > Hi,
> > > > > I'd like to create anaudiorecordingin Android.  (Actually, I just
> > > > > want access to the mic withoutrecordingit, but it seems that's not
> > > > > supported so I'll have to create arecordingand tail the file).
> > > > > I'm having a very hard time getting started.  Mostly I'm just
> hoping
> > > > > that someone from Google reads this and will update the
> documentation
> > > > > because the example won't compile - it looks like it's from some
> > > > > previous version of the SDK because there's an error in every other
> > > > > line.  I made my best guess as to what the usage should be, but I
> keep
> > > > > getting a number of different exceptions.
> > > > > One question I had is whether I can just specify an arbitrary path
> to
> > > > > the MediaRecorder to startrecordingor whether I have to create an
> > > > > entry in the content database.  The JavaDoc for
> > > > > MediaRecorder.setOutputFile isn't clear on what it's expecting.
> >
> > > > > Thanks,
> > > > > Ben
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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: Pls help: how to reinstall dev phone?

2009-02-27 Thread saifullah hanif
http://tinyurl.com/cyecuf
http://tinyurl.com/ahvxzc

http://tinyurl.com/8rwmkr

http://tinyurl.com/7wbm8o
On 2/27/09, Yossi  wrote:
>
>
> Hi,
>
> It seems that I might made something wrong and deleted important files
> on my dev phone. it does not turn on now.
> Is there a way to reload the dev image again?
>
> Any help is very appreciated.
>
> Thanks,
> Yossi
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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] Does emulator simulate GSM or 3G?

2009-02-27 Thread Svartalf

Hi

I run the emulator from the sdk version 1.1_r1 and when I try to make
an outgoing data connection during a incoming call the data connection
will not be esablished BUT it works fine if I disconnect the call.
I have seen the same behaviour on other phones that run GSM instead of
3G.
Are the emulator simulating GSM? If so can I switch to 3G or is there
any other way that I can have a outgoing data connection during an
incoming call?

I have tried the "emulator.exe -netspeed" option but if I understand
it correctly it only set the speed of the connection and not the
connection mode.

Hope that anyone can help with 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] Basic application web service access: source not found?

2009-02-27 Thread RedOxyd

Hello,
I am coding a basic android application that has to call a web
service, using KSOAP2, I am sending a request with one parameter
(city) and need to get the response of the web service (basically a
short String) from this site:
http://www.deeptraining.com/webservices/weather.asmx?op=GetWeather

When execultin the application, I only get a message:
"This application has stopped unexpectedly"

When debugging, I am getting the following error:
Thread [<3> main] (Suspended (exception VerifyError)
And:
ViewRoot.handleMessage(Message) line: 1198
that says: Source not Found
And shows a button allowing to:  Edit Source Lookup path.

What does this basically mean?

My source code that generates the is the following:
private static final String SoapAction = "http://www.deeptraining.com/
webservices/GetWeather";
private static final String MethodName = "GetWeather";
private static final String Namespace = "http://www.deeptraining.com/
webservices/";
private static final String URL = "http://www.deeptraining.com/
webservices/weather.asmx";

And the main part of it:
SoapObject request = new SoapObject(Namespace, MethodName);
request.addProperty("City", cityname);
SoapSerializationEnvelope envelope = new SoapSerializationEnvelope
(SoapEnvelope.VER11);
envelope.setOutputSoapObject(request);
 HttpTransport androidHttpTransport = new HttpTransport(URL);
 try
 {
Result.setText("... Processing ...");
//error here:
androidHttpTransport.call(SoapAction, envelope);
...

Does anyone have a clue?
I am using Eclipse with Android plugin and KSOAP2 library.

Thank you.

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



  1   2   >