[android-developers] Multi Language Tool

2012-01-15 Thread Brad Gies

Hi,

I need to add multi-language capabilities to an Android App I'm 
developing, and I've been thinking about building a tool to parse my 
strings.xml file, and automatically add the translations for the 
translations I want (using the Google Translate API). Anyone know if 
something like this already exists?


Sincerely,

Brad Gies
--
bgies.com  maxhomevalue.com
idailythought.com  greenfarminvest.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] Several Apps and a widget

2011-10-06 Thread Brad Gies

I'm just wondering if anyone has any best practices advice for having a 
common widget for several apps. I'm working for a company that has several 
apps on the market (and many more to come). They all target the same age 
group, and most users of one app will potentially be interested in the other 
apps. We also have a blog and other content that might interest users of any 
of the apps. 

So what we want to do is to install a widget, either with the first app 
they download (and potentially as a separate widget) that will give the 
users the blog news etc. and an option to download any of the apps. 

What I'm wondering if whether we should just create a separate widget and 
check to see if it's installed and ask the user if they want to download it 
if it's not, or can we create a shared (among the apps) App Widget, and what 
are the best practices for this. 

As always, any help/opinions welcome :) 

Thanks,

Brad



-- 
You received this message because you are subscribed to the Google
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] In app billing items

2011-09-27 Thread Brad Gies
Hi,

I'm just starting to test in app billing, and I thought there was a way to 
pull the list of available items to purchase from the market app, but I'm 
not seeing any samples etc. I do see the example of Restoring Transactions 
which pulls the list of previously purchased items. 

How do I get the list of items my user might want to purchase? 

Brad. 

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

Re: [android-developers] Re: Just received Lodsys letter...

2011-08-17 Thread Brad Gies


No, and nobody is really going to file a counter suit against them. They 
have been very careful to setup their Business so that there is 
nothing to go after. After all, they had time to prepare, and they knew 
someone would try to come after them if they gave them an opportunity.



Sincerely,

Brad Gies
---
MaxHOMEValue.com
Kelowna, British Columbia, Canada
email: bg...@maxhomevalue.com
http://maxhomevalue.com  http://bgies.com
---


On 17/08/2011 5:32 PM, Jim Graham wrote:

Speaking as someone who, thankfully, is NOT a lawyer, I have to
wonder  Has anyone filed a countersuit against Lodsys?  It
would make sense, to me, at least  File for all legal and
court fees, any travel/expenses fees I racked up, plus about
$30 million in punitive damages (knowing that it would be reduced,
but why not START high, anyways?)

If their so-called business starts COSTING them money

Later,
--jim



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


Re: [android-developers] Uploading apps on Android Market

2011-08-05 Thread Brad Gies


Take the animations out of your app, and have the app download them when 
needed, or on the first run.


Sincerely,

Brad Gies
---
MaxHOMEValue.com
Kelowna, British Columbia, Canada
email: bg...@maxhomevalue.com
http://maxhomevalue.com  http://bgies.com
---


On 05/08/2011 7:28 AM, Thế Hiển Đoàn wrote:
Hello, I write my apps which are kind of 3D animations. My apps would 
run on Tablet devices, and their size exceed 50MB. How can I upload 
them when Google Market only allows the app size limit of 50MB?

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


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


Re: [android-developers] Google Map Road Showing In Dev But not When Signed for Deployment

2011-08-02 Thread Brad Gies


You're probably using your development map key. You need another key for 
your prod app.


Sincerely,

Brad Gies
---
MaxHOMEValue.com
Kelowna, British Columbia, Canada
email: bg...@maxhomevalue.com
http://maxhomevalue.com  http://bgies.com
---


On 02/08/2011 8:11 PM, usafrmajor wrote:
I have an application that used Google Maps.  When I am developing and 
installing on my device the roads and such are displayed when I open a 
map, however when I sign the app and deploy on the Android Market all 
I see is a dashed grid, that is no roads or other map objects.  
However, my custom marker overlays do show up.


I have a Map Key in the MapView XML file.   Can anyone tell me what 
may be going wrong?


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 


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


Re: [android-developers] are ads worth the effort?

2011-06-30 Thread Brad Gies


You won't make any money from the ads, but it might be worth having them 
to convince users to purchase a paid version.


Sincerely,

Brad Gies
---
MaxHOMEValue.com
Kelowna, British Columbia, Canada
email: bg...@maxhomevalue.com
http://maxhomevalue.com  http://bgies.com
---


On 30/06/2011 1:38 PM, Spooky wrote:

I'm about to release my first app, and would like some opinions
about adding ads and a $2 donation to remove the
ads...specifically, is it worth the effort (keeping in mind that
I currently know exactly NOTHING about how to do this)

My app is a simple photo Gallery, showing, in this case, a set
(one of two, assuming this one isn't a flop) of photos from
Point Lobos State Preserve in California.  In the app, I also
provide information (via the menu button---and ONLY if the user
CHOOSES to select the option to view that information) on where
and how to order photo posters from this set.

Here's the question:  would adding ads, and a $2 donation to
remove said ads, be likely to be worth the effort?  Or, could
doing so actually work against me by turning people away from
the app?

Any comments/suggestions would be greatly appreciated...even
if only a simple forget the ads or yeah, do the ads response.
:-)

Thanks,
--jim

PS:  If anyone wants to preview the photo set that will be in
  the app, it's online at jdgapps.com.  The site will
  eventually serve for both my photography and support for
  Android apps...but it's currently only the former, and
  then currently only for this one photo set

--
73 DE N5IAL (/4)| DMR: So fsck was originally called
spooky1...@gmail.com|  something else.
http://jdgapps.com/ | Q:   What was it called?
  Running FreeBSD 7.0  | DMR: Well, the second letter was different.
ICBM/Hurricane  |-- Dennis M. Ritchie, Usenix, June 1998.
30.44406N 86.59909W



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


Re: [android-developers] Re: Gettting data from web page

2011-03-11 Thread Brad Gies

You haven't given us enough information to help.

Is it your web site? If not, you're stuck with whatever they have.

If it is your website, just add a webservice to it with the functions 
you need. There are thousands of examples on the web. Just find one that 
uses the same language/tools you use on the web site.



Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 11/03/2011 12:17 AM, Kunju Vava wrote:

hi Jonathan Foley

ya , i got the html tag of that site , u r correct ,it is not a right 
way bcasae it takes more tome and we need to parse it?

 i interesred to know wht technice google used to get data based on query?

urgently ,,, which technology android usess for this techniquehave 
any sample?

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


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


Re: [android-developers] Re: Lost libraries after updating ADT and SDK

2011-03-08 Thread Brad Gies

Is 3.6 ok?

Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 08/03/2011 4:14 PM, Xavier Ducrohet wrote:

Would either of you be using Eclipse 3.4 by any chance?

ADT now requires 3.5 (we screwed up and the doc wasn't updated), and I
think this action uses a method that doesn't exist in 3.4

Xav

On Tue, Mar 8, 2011 at 3:54 PM, TreKingtreking...@gmail.com  wrote:

On Tue, Mar 8, 2011 at 5:52 PM, Tafneild...@gmail.com  wrote:

Would have been nice if the Add button worked though..

Seriously. I wasted like 2 hours on something that should have taken 5
seconds.
-
TreKing - Chicago transit tracking app for Android-powered devices

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





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


Re: [android-developers] Re: GOOGLE TO BAN PAYPAL?!

2011-02-27 Thread Brad Gies


I just want to say that it seems the Android Market team DOES provide 
support to developers. I have emailed them twice and both times they 
have responded within a day or so, and both times the answer they gave 
was roughly Thanks for the email it's done!!.


I do agree they don't answer much in the forums but if you send them an 
email from you dev account address, I'm pretty sure you will get a reply.



Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 26/02/2011 6:44 PM, TreKing wrote:
On Sat, Feb 26, 2011 at 3:27 PM, Dianne Hackborn hack...@android.com 
mailto:hack...@android.com wrote:


Have you tried going to the Market support forum?


http://www.google.com/support/forum/p/Android+Market/label?lid=7dc8a5c590cd22eehl=en

http://www.google.com/support/forum/p/Android+Market/label?lid=7dc8a5c590cd22eehl=en

There are people from Market support answering questions there.


LOL - Seriously? With all due respect Dianne, have you actually been 
over there? I spend about as much time there as I do here and I assure 
you, there is /*/no one/*/ from the Market team answering *anything* 
over there. There was a time when you could count on Dontae to at 
least chime in with a bulls*** canned we're looking into it 
response, but in the last like 6 months or so I have not seen a single 
response from a Google Employee in that support forum.


Sometimes, if you win a lottery, they'll respond to direct developer 
support requests when major stuff breaks (like the stats that are 
always breaking). But no one, and I mean NO ONE, from the Market has 
ever taken even 5 seconds to answer questions only someone from Google 
could answer, like the points of the TOS discussed here (and this 
issue has come up quite a few times).


At least AFAIK - if you happen to know where these types of questions 
have been answered, I'm sure we'd all like to know where to go look.


I mean, look at what you, Romain, Xavier, and others do here: spending 
your own free time helping us out wherever you can with issues others 
can't. I presume you all do this because you care about the product 
and want us to have a good experience using it. That's why it truly 
boggles my mind that not a single individual on the Market Team gives 
enough of a damn about *their* product to respond to even a single post.


So, unfortunately, the OP is absolutely correct. Support for the 
Android Market for both users and developers is essentially 
non-existent. And this lack of support (and for me personally the fact 
that no one on that team seems to give a damn) is the chief reason why 
so many developers have such a terrible perception of everything and 
anything that has to do with the Android Market.


-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago 
transit tracking app for Android-powered devices


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


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


Re: [android-developers] No space for this sql statement.

2011-02-24 Thread Brad Gies
I don't know for sure this will help you, but when I write SQL 
statements that use a decimal/floating point value in the where clause, 
I always use something like where abs(the value I want to check - Field 
I'm checking)  0.001


You can use the ? operator with that, you just have to determine how big 
a round off error you can tolerate and whether you will return more than 
one row (you can always limit it to 1 result and order by the difference 
in value). You can't check for absolute matches with 
decimal/real/floating point numbers because of rounding.



Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 22/02/2011 7:43 PM, Nathan wrote:

I'm seeing this

Reached MAX size for compiled-sql statement cache for database ;
i.e., NO space for this sql statement in cache:

Please change your sql statements to use '?' for bindargs, instead of
using actual values

I would follow that advice, except for one simple fact, which I noted
a year ago:

IT DOESN'T WORK WITH FLOATING POINT.

I can and have proved it. You can set up a query with '?' and floating
point, and the same query with good old fashioned string
concatenation. They both return an answer, but the answer for the
bindargs one is *wrong*.  The float columns are analyzed using a
string comparison. I can't necessarily say this is a bug in
SQliteDatabase.query because it does say 'The values will be bound as
Strings'.

So here's my question.

Is there anything I can do to prevent the above error? Since there is
no use for caching this statement given the bindings don't work, can I
stop it from caching the statement in the first place?

What adverse effects do I expect with the error? It doesn't crash
right away, but it doesn't sound good.

Nathan



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


Re: [android-developers] In app billing...

2011-02-04 Thread Brad Gies

Dianne,

Your Have the full app running with ads, and the user able to pay to 
get rid of the ads comment really resonated with me :).


Are you sure this is an approved use of the In App Billing? If it is, 
it solves most of the what I need right now. I've read most (not all) of 
the documentation, but haven't clarified that point yet.


Hah... can I quote your email if I try it and am told it's not in the 
Terms of Service ? :).



Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 04/02/2011 2:56 PM, Dianne Hackborn wrote:
On Fri, Feb 4, 2011 at 12:17 PM, Kostya Vasilyev kmans...@gmail.com 
mailto:kmans...@gmail.com wrote:


I'm just concerned that it might deter purchases for lite to pro
conversions.
 For buying in-game gems or potions it shouldn't really matter,
those are impulse purchases and for smaller amounts too.


Why would it deter payments?

Here's the main value I see in the refund period: there is something 
you are purchasing, that you haven't actually been able yet to even 
try to download and install, so really have no idea what you are 
getting.  Being able to get a refund if it is not what you want, 
buggy, or has other issues is important to have any confidence in 
buying in that situation.


Using in-app purchases within an app is entirely different though. 
 Consider the same situation with a lite vs. pro version: you 
downloaded the app for free, have been using it for however long you 
want (or however long the developer will let you), and have no decided 
it is worth spending $X to purchase it (or unlock a certain feature 
etc).  What benefit does a refund period really give you here?


Or look at this another way: the beauty of using in-app purchases for 
all of this is that *you* are in complete control of the user 
experience through this thing.  All you need to do is get the user to 
download and run your free app, and after that you get to decide 
exactly how you want to interact with the user towards paying for the 
app.  All in-app billing provides is the final point where the user 
has decided yes it is worth the money, I am paying.  So you can do 
all kinds of things:


- Have the full app running as a limited time trial, after which the 
user must purchase to continue using.
- Have the full app running with ads, and the user able to pay to get 
rid of the ads.
- Have limited features available in the free app, with a payment to 
unlock the full features (or even multiple payment options to unlock 
different features).

- Allow the user to try out for-pay features for a limited amount of time.
- Show a nag message every now and then encouraging the user to pay 
for your app to encourage further development.

- And on and on!

And in all of these cases, it is clear that the interactions here are 
directly between you as the app developer and your users, with Market 
now just being the point where the user hands over some cash.


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

Note: please don't send private questions to me, as I don't have time 
to provide private support, and so won't reply to such e-mails.  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 


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


Re: [android-developers] Re: In app billing...

2011-02-04 Thread Brad Gies

Completely agree John if we can use it as Dianne suggested...:)

I don't mind doing a bunch of the work myself to manage it (kind of 
prefer it).



Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 04/02/2011 3:06 PM, Maps.Huge.Info (Maps API Guru) wrote:

Personally, I think the unmanaged in-app purchase would be ideal for a
subscription service for my app. I'll have to do a lot of work to get
this going but I'll finally have something to offer the nearly 800,000
users who have my app on their device. Sure, there are going to be
pitfalls and also bugs but I see this as very positive development for
Android.

-John Coryat



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


Re: [android-developers] Re: Couple of Honeycomb API errors

2011-01-27 Thread Brad Gies


Great... maybe we can teach the U.S. how to spell ;).

Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 27/01/2011 11:51 AM, Brill Pappin wrote:

Chuckle!

Not only that, but its how the rest of the world spells things :)

- Brill

On Jan 27, 1:44 pm, Dianne Hackbornhack...@android.com  wrote:

Hi!  Thanks for your feedback.

android.database.sqlite.SQLiteDatabase.getAttachedDbs() returns


ArrayList instead of List

We'll get this fixed.


android.os.AsyncTask onCancelled() uses the UK spelling of the word
where everywhere else in the API, the US spelling variations are
used.  It's not just Canceled vs. Cancelled, but *ize vs. *ise.

Yeah we noticed this in the API review.  Unfortunately this *is* consistent
with the other APIs on AsyncTask (and probably not coincidentally, the
standard Java APIs like Future that AsyncTask is implemented on top of). :/

We decided it was better to keep the AsyncTask APIs self-consistent, rather
than inconsistently consistent with other Android APIs. :}

--
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, and so won't reply to such e-mails.  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


Re: [android-developers] Re: Android Development Income Tax Question

2011-01-21 Thread Brad Gies


The IRS will ALWAYS give you the benefit of the doubt the FIRST YEAR 
ONLY. In fact, according to the rules the need to file quarterly only 
kicks in IF you owed more than $1,000 the previous year... You generally 
won't be penalized if you fail to file at the end of the first quarter 
if you haven't filed your taxes for the previous year yet because you 
may not even know you owe more than $1,000 (this is not law just the IRS 
guidelines). They may access the penalties but they will always waive 
them if you talk to them (nicely).


What you should do is figure out the rough amount you would owe just 
before the end of the year... and send them enough money to make sure 
you owe less than $1,000 when you file the taxes. If you do that, you 
will never trigger the requirement to file quarterly and it saves you a 
bunch of work. Again.. this is not law... but it is how it works.


For what it's worth.. I'm not an accountant (but then most accountants 
actually know VERY LITTLE about taxes).. but I did operate a rather 
large income tax franchise for several years, and I've only met one 
accountant who knew more about U.S. taxes than I did, compared to about 
200-300 who knew a lot less.


In general... if you do use an accountant, get one who specializes in 
business taxes. A normal accountant just does not know much about 
them... even if they tell you they do. When I had the tax franchise, 
every year we would get 40-50 customers coming in and we would have to 
file amendments to their previous years taxes because the accountants 
had done such a lousy job. In one case, we amended the previous 3 years 
and got a woman over $50,000 back after her accountant screwed it up so 
badly.


Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 21/01/2011 12:14 PM, DanH wrote:

Basically, if you make enough that you'd end up owing the tax man more
than an nominal sum at the end of the year, you need to make estimated
income tax payments.  However, if you have a day job that has
regular withholding, you can probably up the amount of withholding
(eg, declare fewer exemptions on your W4) and not have to make the
separate payments.  Also, the IRS gives you something of a grace
period for your first year (though the rules on that are kind of
fuzzy).

In my case I have to make estimated state tax payments on my 1099
income, but my federal is covered by the withholding from my pension.

Using something like TurboTax is a good idea.  Generally it will lead
you through all the right steps (although the recent year versions
have gone overboard on guiding you, to the point that you sometimes
want to drop-kick the whole thing).

On Jan 21, 10:39 am, TreKingtreking...@gmail.com  wrote:

On Fri, Jan 21, 2011 at 10:36 AM, Justin Gilesjtgi...@gmail.com  wrote:

Also, for those who have made any significant amount of income, you should
probably be making quarterly payments throughout the year, or risk
additional fees at the end of the year.

Can you define significant for those of us whose eyes glaze over at the
mean mention of doing taxes?

-
TreKinghttp://sites.google.com/site/rezmobileapps/treking  - Chicago
transit tracking app for Android-powered devices


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


Re: [android-developers] Howto? identify the inflated resource

2011-01-14 Thread Brad Gies

Brill,

Post some code... and the layout you are inflating. I use tags all the 
time to identify views, so it's definitely possible.



Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 13/01/2011 10:28 AM, Brill Pappin wrote:
Ok, this is the same problem as my last post, but i'm not getting any 
traction with it, so i'm looking for another method solve the problem.


All i need to do is identify the xml resource a view was inflated 
from, in the views constructor.


I've tried android:tag which does not seem to be able to do it in this 
case (I only ever get null back from getTag()).


The situation is that I have a single java class extending view.
I inflate one of many XMLs into the view and I need to be able to 
change stylesheets based upon which xml resource i'm loading.


Does anyway one a method of doing this?

My last fallback is to use some sort of static class that I can set 
the xml resource on for the entire app, then try and look at the id to 
determine which resource I loaded. I'm reluctant to do that because 
it's kludgy and I think its far more likely to introduce bug etc. Note 
that I haven't tried to do this yet, but it should work based on how 
java behaves.


I just can't believe that there is no way to a view to know what XML 
resource it was inflated from!


- Brill Pappin
--
You received this message because you are subscribed to the Google
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 


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


Re: [android-developers] Howto? identify the inflated resource

2011-01-13 Thread Brad Gies


Can't you just set the tag when you inflate it? Or set the tag in the 
.xml file?


Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 13/01/2011 10:28 AM, Brill Pappin wrote:
Ok, this is the same problem as my last post, but i'm not getting any 
traction with it, so i'm looking for another method solve the problem.


All i need to do is identify the xml resource a view was inflated 
from, in the views constructor.


I've tried android:tag which does not seem to be able to do it in this 
case (I only ever get null back from getTag()).


The situation is that I have a single java class extending view.
I inflate one of many XMLs into the view and I need to be able to 
change stylesheets based upon which xml resource i'm loading.


Does anyway one a method of doing this?

My last fallback is to use some sort of static class that I can set 
the xml resource on for the entire app, then try and look at the id to 
determine which resource I loaded. I'm reluctant to do that because 
it's kludgy and I think its far more likely to introduce bug etc. Note 
that I haven't tried to do this yet, but it should work based on how 
java behaves.


I just can't believe that there is no way to a view to know what XML 
resource it was inflated from!


- Brill Pappin
--
You received this message because you are subscribed to the Google
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 


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


Re: [android-developers] HTTP parameter question

2011-01-09 Thread Brad Gies

Ok.. have you looked at UrlEncodedFormEntity ?

Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 07/01/2011 5:32 PM, John Lussmyer wrote:
Except that you can't setEntity() on an HttpGet - which is what I need 
to use.


On Fri, Jan 7, 2011 at 5:27 PM, Brad Gies rbg...@gmail.com 
mailto:rbg...@gmail.com wrote:


I'm not 100% sure I understand the question either but just in
case...this does it for a Post... and switching to a Get will do
the same thing.

HttpPost httpPost = new HttpPost(urlString);
ListNameValuePair nvps = new ArrayListNameValuePair();

nvps.add(new BasicNameValuePair(akey, avalue));

httpPost.setEntity(new UrlEncodedFormEntity(nvps, HTTP.UTF_8));

If you check the Request on your server after you send it.. you
will see the normal ?key=value strings.


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


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


Re: [android-developers] HTTP parameter question

2011-01-07 Thread Brad Gies
I'm not 100% sure I understand the question either but just in 
case...this does it for a Post... and switching to a Get will do the 
same thing.


HttpPost httpPost = new HttpPost(urlString);
ListNameValuePair nvps = new ArrayListNameValuePair();

nvps.add(new BasicNameValuePair(akey, avalue));

httpPost.setEntity(new UrlEncodedFormEntity(nvps, HTTP.UTF_8));

If you check the Request on your server after you send it.. you will see 
the normal ?key=value strings.


Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 07/01/2011 5:08 PM, John Lussmyer wrote:

I don't think you understood my question.
Given a list of key-value pairs, is there a utility class to build the 
?key=valuekey=valuekey=value string.


On Fri, Jan 7, 2011 at 3:00 PM, Mark Murphy mmur...@commonsware.com 
mailto:mmur...@commonsware.com wrote:


On Fri, Jan 7, 2011 at 5:40 PM, John Lussmyer
johnlussm...@gmail.com mailto:johnlussm...@gmail.com wrote:
 Does one of the HTTP support classes handle building a
parameterized URL?
 i.e one of the sort http://a.com/stuff?a=bc=de=f
http://a.com/stuff?a=bc=de=f

 Yes, I know writing one would be easy, but if there is already
one out
 there...

http://developer.android.com/reference/java/net/URLEncoder.html


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


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


Re: [android-developers] Re: why metaData in providerInfo is always null?

2011-01-06 Thread Brad Gies

I believe Dianne gave you the answer

Do you add the PackageManager.GET_META_DATA flag when you get the 
applicationInfo ?


Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 05/01/2011 9:43 PM, jesse wrote:

bump!  any one has similar experience?


On Wed, Jan 5, 2011 at 12:20 AM, jessechat2je...@gmail.com  wrote:

According to this page:
http://developer.android.com/guide/topics/manifest/manifest-intro.html,
provider can have meta-data.
however, when I check providerInfo.metaData in attachInfo() function
of a derived provider class, it is always null?

is this a bug is android SDK 7?

public class MyProvider extends ContentProvider {
..

public void attachInfo(Context context, ProviderInfo info) {
   super.attachInfo(context, info);

   Bundle bundle2 = info.metaData;

 However,  bundle2 is always null here.


here is my manifest xml file:

provider android:name=MyProvider  android:authorities=com...MyProvider
  meta-data android:name=varNme android:value=xyzzxzxz /
/provider

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


Re: [android-developers] List of zip codes in a given radius

2011-01-04 Thread Brad Gies


I've got the data and can send you a spreadsheet or in some other format 
if you want it. I bought a subscription service for U.S. postal codes 
etc., several years ago, and then the company I bought it from went out 
of business, but before they did, they sent me a final disk with 
everything on it, and a letter stating that they had assigned to me the 
right to do anything I wanted with it (which was kind of nice of them).


The small table has these fields (about 43,000 rows)... and I'd have to 
look to find all the fields for the bigger table (has something like 25 
fields).


,[zip_code]
,[zip_cty_id]
,[zip_stat_id]
,[zip_state_code]
,[zip_state_name]
,[zip_latitude]
,[zip_longitude]
,[zip_geography]
,[zip_city_name]



Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 04/01/2011 1:00 PM, Kostya Vasilyev wrote:

This might help:

http://www.geopostcodes.com/usa_zip_codes

They sell a zip code database, which includes geo coordinates.

-- Kostya

04.01.2011 23:45, TreKing пишет:
On Sun, Jan 2, 2011 at 11:01 PM, Sean spmcgin...@gmail.com 
mailto:spmcgin...@gmail.com wrote:


if I'm able to do this native to the Android API, that would
obviously be preferable.


There is no such thing in the API, AFAIK.

-
TreKing http://sites.google.com/site/rezmobileapps/treking - 
Chicago transit tracking app for Android-powered devices


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



--
Kostya Vasilyev -- WiFi Manager + pretty widget --http://kmansoft.wordpress.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 


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


Re: [android-developers] New Application - advice on how to get started?

2010-12-28 Thread Brad Gies
There are quite a few tutorials on Maps out there, so you will find 
something.


My advice is to forget about every few seconds, unless you're 
experimenting to see how fast you can kill a battery. Go for every 5 
minutes or something, unless it's critical that you get updates that 
frequently. If you do need them that fast, you will need to build a way 
to turn it off easily and probably automatically if the user forgets 
about it.



Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 27/12/2010 3:45 PM, chat2joe wrote:

Hey all,

We're starting a new project for college. We've no android development
experience, not even Java, so really jumping in the deep end. So any
advice on relevant tutorials is welcome... I haven't found too much on
maps online.

- We need to develop an application that will allow users to share
their location... this will upload to a database every few seconds.
- Then users can view other users on a google map, positions
downloaded every few seconds from the database.
- We will want the positions to update automatically at a fixed
interval and redraw on the map.
- Also we will need to draw paths/manual-routes as an overlay on the
map.


Any advice where to begin with this?

I have the SDK downloaded and the Hello Android tutorial completed.
Any advice on a series of tutorials, videos, etc that would help
achive the above would be great it's a big step from Hello
Android!


Thanks,
Joe



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


Re: [android-developers] web.loadUrl not working

2010-12-25 Thread Brad Gies

Cuil,

Do a Google Search for WebChromeClient. There are some good tutorials 
out there. I have some code around that I can share if you need it, but 
I'm not at the right computer right now.



Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 24/12/2010 10:48 PM, cuil yahoo wrote:

Hi,

I have managed to create a webview object called web. I want to 
execute a javascript function from it, a google search resulted in 
usage of web.loadUrl(javascript:function_name()).


This is not working, any suggestions?


Thanks and a merry Xmas.

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


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


Re: [android-developers] Getting a strange MessageQueue warning w/ DefaultHttpClient in AsyncTask

2010-12-24 Thread Brad Gies


I can tell you for sure that I do exactly the same thing 
(DefaultHttpClient in an AsyncTask), and I don't get warnings so 
it's almost certainly something you are doing... Need to see some code 
to know for sure.



Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 24/12/2010 5:07 PM, Bret Foreman wrote:

I'm doing a set of HTTP posts (using DefaultHttpClient), each in its
own AsyncTask. Functionally, it works fine but I'm getting the warning
below in the log. This warning appears for each instance of the
AsyncTask. I'm guessing that the HTTP Client in posting a message (to
itself?), then the task exits, then the message is undeliverable. Has
anyone seen this behavior before or have an idea how I might prevent
the warning?

12-24 16:45:30.669: WARN/MessageQueue(7888): Handler{448b0288} sending
message to a Handler on a dead thread
12-24 16:45:30.669: WARN/MessageQueue(7888):
java.lang.RuntimeException: Handler{448b0288} sending message to a
Handler on a dead thread
12-24 16:45:30.669: WARN/MessageQueue(7888): at
android.os.MessageQueue.enqueueMessage(MessageQueue.java:179)
12-24 16:45:30.669: WARN/MessageQueue(7888): at
android.os.Handler.sendMessageAtTime(Handler.java:457)
12-24 16:45:30.669: WARN/MessageQueue(7888): at
android.os.Handler.sendMessageDelayed(Handler.java:430)
12-24 16:45:30.669: WARN/MessageQueue(7888): at
android.os.Handler.sendMessage(Handler.java:367)
12-24 16:45:30.669: WARN/MessageQueue(7888): at
android.os.Message.sendToTarget(Message.java:348)
12-24 16:45:30.669: WARN/MessageQueue(7888): at
android.os.AsyncTask$3.done(AsyncTask.java:214)
12-24 16:45:30.669: WARN/MessageQueue(7888): at
java.util.concurrent.FutureTask$Sync.innerSet(FutureTask.java:252)
12-24 16:45:30.669: WARN/MessageQueue(7888): at
java.util.concurrent.FutureTask.set(FutureTask.java:112)
12-24 16:45:30.669: WARN/MessageQueue(7888): at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:310)
12-24 16:45:30.669: WARN/MessageQueue(7888): at
java.util.concurrent.FutureTask.run(FutureTask.java:137)
12-24 16:45:30.669: WARN/MessageQueue(7888): at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:
1068)
12-24 16:45:30.669: WARN/MessageQueue(7888): at
java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:561)
12-24 16:45:30.669: WARN/MessageQueue(7888): at
java.lang.Thread.run(Thread.java:1096)



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


Re: [android-developers] NullPointerException

2010-12-23 Thread Brad Gies

What is con?

Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 23/12/2010 9:24 AM, Tsolmon Narantsogt wrote:

Hello list

I got a this error .
java.lang.NullPointerException
W/System.err(10127):at 
android.app.Activity.setContentView(Activity.java:1622)
W/System.err(10127):at
android.app.ListActivity.ensureList(ListActivity.java:305)
W/System.err(10127):at
android.app.ListActivity.setListAdapter(ListActivity.java:256)
W/System.err(10127):at
com.dynamiclistview.dynamicListView$ListViewAdapter$1$1.onClick(dynamicListView.java:73)
W/System.err(10127):at
com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:158)
W/System.err(10127):at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err(10127):at android.os.Looper.loop(Looper.java:123)
W/System.err(10127):at
android.app.ActivityThread.main(ActivityThread.java:4363)
W/System.err(10127):at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err(10127):at java.lang.reflect.Method.invoke(Method.java:521)
W/System.err(10127):at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
W/System.err(10127):at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
W/System.err(10127):at dalvik.system.NativeStart.main(Native Method)


72: dynamicListView d = new dynamicListView();
73: d.setListAdapter(new ListViewAdapter(con));

I dont't understand it .
Can anyone explain me.


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


Re: [android-developers] Re: Anybody seen a slowdown in sales?

2010-12-18 Thread Brad Gies
From the other comments it seems it's not related to price at all... 
but I thought I'd offer this anyway as it might help you make more money 
:).


For items under $10, $7.99 and $8.99 are kind of a no-man's land. They 
aren't good price points. In the minds of the average consumer, there 
are 4 price points at $10 and under, and they are close to $1, under 
$5, over $5, and $10. So.. in the range you are talking about ($7.99 and 
$8.99), the better price points are $6.99 (gets the just over $5 price 
point in almost every consumers mind) and if you are going to sell it at 
$8.99, you may as well make it $9.99 because the average consumer 
doesn't see any difference between $8.99 and $9.99 especially when there 
is no tax involved, because $9.99 without tax is under $10 and so is 
$8.99. So, if you're going to sell it at $8.99, you might as well make 
the extra dollar and sell it at $9.99.


Of course, it's always more complicated than that simple explanation, 
and you do have to take into consideration what similar apps are selling 
for... but in this price range (under $10)... a higher price implies 
higher quality in the consumer's mind, so don't be scared to price your 
app higher than your competitors. Probably you should experiment with 
both $6.99 and $9.99 to determine what the better price point is (which 
do you make more money at ?).




Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 17/12/2010 10:08 PM, Zsolt Vasvari wrote:

You could be right, and thanks for the insight.   But my sales were
fine after I raised the price for a few days.

My nearest competitor is more than me, btw.



On Dec 18, 11:36 am, Brad Giesrbg...@gmail.com  wrote:

It's not logical, but from reading a lot of marketing stuff over the
last 40 years, I think I can tell you what the problem is...

Most people kind of round stuff off in their minds... and normally to a
multiple of $5. SO.. $8.99 rounds to $10... while $7.99 rounds to
$5, so physiologically speaking you have doubled your price. ;).

Just a rough stab at telling you why is that most people ignore the .99
part of a price (unless it is very close to a multiple of $5, so $9.99
is $10, $4.99 is $5 etc.)... so $8.99 becomes $8 and rounds to $10,
while $7.99 becomes $7 and rounds to $5.

Can't guarantee it... and the only way you will know for sure is to
change the price back to $7.99 and see if sales come back to normal. I
can tell you that price points are incredibly important in marketing,
and even more important in the low range of prices.

Hopefully, it's a market glitch... but if it doesn't solve itself... try
putting the price back.

Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurbhttp://bgies.com   
http://nocrappyapps.comhttp://bistroblurb.com 
http://forcethetruth.comhttp://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead

On 17/12/2010 6:34 PM, Zsolt Vasvari wrote:




My sales have started to decline about 10 days ago and now they are at
about 50% compared to then.
Has anybody seen anything like this with their own apps?  I am at a
loss as I cannot see a reason for this -- my ratings are as high as
ever, no 1-stars to scare people off, no hot competitor app.  I did
increase the price by $1 about 14 days ago, but that actually lead to
more sales for a few days after, so I don't know.  The $1 increase is
from $7.99 to $8.99, so percentage-wise it's not that much.
As I am typing, I'm going on a 5 hour without a sale lull, with only a
couple of Declined authorizations.  I've evem seen an 11-hour lull
also which has never happened since day one.
I mean it's possible that my app has run its course and most people
who wanted it had bought it or a competitor's, but that's pretty hard
to believe.
Anybody with any insights?- Hide quoted text -

- Show quoted text -


--
You received this message

Re: [android-developers] Anybody seen a slowdown in sales?

2010-12-17 Thread Brad Gies
It's not logical, but from reading a lot of marketing stuff over the 
last 40 years, I think I can tell you what the problem is...


Most people kind of round stuff off in their minds... and normally to a 
multiple of $5. SO.. $8.99 rounds to $10... while $7.99 rounds to 
$5, so physiologically speaking you have doubled your price. ;).


Just a rough stab at telling you why is that most people ignore the .99 
part of a price (unless it is very close to a multiple of $5, so $9.99 
is $10, $4.99 is $5 etc.)... so $8.99 becomes $8 and rounds to $10, 
while $7.99 becomes $7 and rounds to $5.


Can't guarantee it... and the only way you will know for sure is to 
change the price back to $7.99 and see if sales come back to normal. I 
can tell you that price points are incredibly important in marketing, 
and even more important in the low range of prices.


Hopefully, it's a market glitch... but if it doesn't solve itself... try 
putting the price back.



Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 17/12/2010 6:34 PM, Zsolt Vasvari wrote:

My sales have started to decline about 10 days ago and now they are at
about 50% compared to then.

Has anybody seen anything like this with their own apps?  I am at a
loss as I cannot see a reason for this -- my ratings are as high as
ever, no 1-stars to scare people off, no hot competitor app.  I did
increase the price by $1 about 14 days ago, but that actually lead to
more sales for a few days after, so I don't know.  The $1 increase is
from $7.99 to $8.99, so percentage-wise it's not that much.

As I am typing, I'm going on a 5 hour without a sale lull, with only a
couple of Declined authorizations.  I've evem seen an 11-hour lull
also which has never happened since day one.

I mean it's possible that my app has run its course and most people
who wanted it had bought it or a competitor's, but that's pretty hard
to believe.

Anybody with any insights?



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


Re: [android-developers] Re: What's the general consensus on the non-Android affiliated app stores?

2010-12-09 Thread Brad Gies
While I do think it is true that most users are not going to go outside 
the Market to download apps, I think many developers are missing the 
obvious benefits of having the 3rd party App Stores... and that is that 
a lot of people look for apps they want on the web, and then once they 
find the app they want, download it from the Market.


I can tell you for sure that is how I find apps. I never search on the 
market. It's almost impossible to sort through the chaff using the 
Market App. I use the web, read blogs, use one of the alternative 
stores, and then once I know the name of the app I want to download then 
I do a market search for that exact name and download it.


You may not get many downloads from the alternative stores, but that 
doesn't mean that isn't where users are finding your app.


Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 09/12/2010 7:39 AM, Maps.Huge.Info (Maps API Guru) wrote:

I would be wary of the Chinese companies, you have no control over
what they do and payment would be problematic. Most of the others are
legitimate and offer an alternative to the somewhat quirky Android
market. The issue isn't the companies offering these services, it's
one of being in a small niche. Most mobile users depend on the market
that came with their device. Only a handful of people will go outside
the standard market to look for apps.

-John Coryat



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


Re: [android-developers] Bump API

2010-12-09 Thread Brad Gies
Yes. You can... The Bump API documentation tells you how to do it (you 
click on the logo to simulate the BUMP).


Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 08/12/2010 1:23 AM, Vaishnavi Senthilnathan wrote:

Can we test bump api on android emulators. If so, can any of you give
ideas or sample code.



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


Re: [android-developers] Re: How to tell System Apps vs. User Installed Apps

2010-12-07 Thread Brad Gies
Yeah... filtering out everything installed in the /system directory did 
most of it.. but not quite all..


I've only tested it on an emulator so far, and the only installed app 
was mine, so I want to get only the one app. Filtering out the /system 
apps left only 5.. 3 of which were example apps... but my guess is that 
on phones there are going to be a lot more... I just don't know what 
they will be.


It would be nice to find something that works 100% of the time...but 
this is ok for now.


If anyone can think of anything else, I'd really appreciate it.

Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 06/12/2010 12:39 PM, Chris Stratton wrote:

Anything installed on /system is obviously not a user app.

However, I think post-imaging system app installs would go to /data,
so that may not be definitive in both directions.

On Dec 6, 2:45 pm, Brad Giesrbg...@gmail.com  wrote:

Anyone know a good (hopefully foolproof) method of determining if an app
is a system installed app vs. a user installed app.

I'm scanning the apps using PackageManager, and then looping through
them, but I want to skip the system apps as quickly and easily as
possible because my app only needs to know about the user installed
apps. Hopefully, there is something in the PackageManager info that can
be used. Oh... and it needs to be available for all SDK versions.

--
Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurbhttp://bgies.com   
http://nocrappyapps.comhttp://bistroblurb.com 
http://forcethetruth.comhttp://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


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


Re: [android-developers] Re: How to tell System Apps vs. User Installed Apps

2010-12-07 Thread Brad Gies

Ooops... just replied before I saw your email... Ok... I'll try the flag...

Thanks.

Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 07/12/2010 12:27 AM, Dianne Hackborn wrote:
Yes, use FLAG_SYSTEM.  Don't look at paths.  I can guarantee trying to 
infer things from paths will break in the future.


On Mon, Dec 6, 2010 at 7:20 PM, XC He schosnab...@gmail.com 
mailto:schosnab...@gmail.com wrote:


System app is installed under /system/app
In theory, it cannot be uninstall.
you can use applicationinfo to fing the flags, if the flags contains
FLAG_SYSTEM, it could be system app.

import android.content.pm.ApplicationInfo;
import android.content.pm.PackageManager;

PackageManager pm = context.getPackageManager();
ApplicationInfo appInfo = pm.getApplicationInfo(yourpackageName, 0);

if (appInfo.flags  ApplicationInfo.FLAG_SYSTEM){
...
}

2010/12/7 Bob Kerns r...@acm.org mailto:r...@acm.org:
 It's always refreshing to see people paying attention to
 internationalization issues. :=)

 On Dec 6, 12:39 pm, Brad Gies rbg...@gmail.com
mailto:rbg...@gmail.com wrote:
 Well.. the comment would work... but I'd need translations :).

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

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




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

Note: please don't send private questions to me, as I don't have time 
to provide private support, and so won't reply to such e-mails.  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 


--
You received this message because you are subscribed to the Google
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 tell System Apps vs. User Installed Apps

2010-12-06 Thread Brad Gies


Anyone know a good (hopefully foolproof) method of determining if an app 
is a system installed app vs. a user installed app.


I'm scanning the apps using PackageManager, and then looping through 
them, but I want to skip the system apps as quickly and easily as 
possible because my app only needs to know about the user installed 
apps. Hopefully, there is something in the PackageManager info that can 
be used. Oh... and it needs to be available for all SDK versions.




--
Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead

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


Re: [android-developers] How to tell System Apps vs. User Installed Apps

2010-12-06 Thread Brad Gies


Well.. the comment would work... but I'd need translations :).

I'll check the installerPackageName and see if that would work :).


Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 06/12/2010 12:17 PM, TreKing wrote:
On Mon, Dec 6, 2010 at 1:45 PM, Brad Gies rbg...@gmail.com 
mailto:rbg...@gmail.com wrote:


Anyone know a good (hopefully foolproof) method of determining if
an app is a system installed app vs. a user installed app.


Maybe this? I'd assume system apps would have a unique installer 
package name.
http://developer.android.com/reference/android/content/pm/PackageManager.html#getInstallerPackageName(java.lang.String) 
http://developer.android.com/reference/android/content/pm/PackageManager.html#getInstallerPackageName%28java.lang.String%29 




Or, query the Market API and search for 1* comments that match a 
pattern of I don't want this POS and can't uninstall (see Amazon 
MP3, Twitter, and Facebook for good examples). =P


-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago 
transit tracking app for Android-powered devices


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


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


Re: [android-developers] How to tell System Apps vs. User Installed Apps

2010-12-06 Thread Brad Gies


Oh... except InstallerPackageName is Level 5 and above...

Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 06/12/2010 12:17 PM, TreKing wrote:
On Mon, Dec 6, 2010 at 1:45 PM, Brad Gies rbg...@gmail.com 
mailto:rbg...@gmail.com wrote:


Anyone know a good (hopefully foolproof) method of determining if
an app is a system installed app vs. a user installed app.


Maybe this? I'd assume system apps would have a unique installer 
package name.
http://developer.android.com/reference/android/content/pm/PackageManager.html#getInstallerPackageName(java.lang.String) 
http://developer.android.com/reference/android/content/pm/PackageManager.html#getInstallerPackageName%28java.lang.String%29 




Or, query the Market API and search for 1* comments that match a 
pattern of I don't want this POS and can't uninstall (see Amazon 
MP3, Twitter, and Facebook for good examples). =P


-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago 
transit tracking app for Android-powered devices


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


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


Re: [android-developers] Configure a URL for my application but should be outside of application

2010-12-06 Thread Brad Gies

Read and write the Url to a file

Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 30/11/2010 9:41 AM, Nunna wrote:

Hi Everyone,

Is there anyway to configure a url in device and read that value from
my application?

Aim is to test the my application in different environments by
configuring the URL externally. So that there wont be any change in
code apart from external URL.

Please suggest.

-Nunna



--
You received this message because you are subscribed to the Google
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] Just got this....

2010-12-06 Thread Brad Gies


Delivery to the following recipient failed permanently:

 android-developers@googlegroups.com

Technical details of permanent failure:
The groupandroid-develop...@googlegroups.com  has exceeded its quota for total 
number of recipients.



Hah.. I assume it has something to do with the fact that I also just got 
about 100 messages from earlier this month... Have the spammers taken 
over this group?


--
Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead

--
You received this message because you are subscribed to the Google
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] Market has the All option disabled :)

2010-11-30 Thread Brad Gies
The content rating is finally showing in my console and the All 
option is disabled...


Pre-Teen is selected by default :).


--
Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead

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


Re: [android-developers] Re: Market has the All option disabled :)

2010-11-30 Thread Brad Gies
My apps all use GPS... so I would guess that it's a check the Market 
Team put in...


Good to see they haven't totally forgotten about upgrading the Market... :)

Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 30/11/2010 1:05 PM, Ken H wrote:

Yeah, what's up with that? It's enabled on some of my apps, but
disabled on others.

Ken



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


Re: [android-developers] Re: Geofence application in android

2010-11-23 Thread Brad Gies


You can request location updates within a pre-defined area, or at 
pre-defined times which can be used for geo-fencing... Not sure exactly 
what you need to accomplish so it's tough to suggest much more than 
reading the  request Location Updates  documentation.


Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 17/11/2010 2:20 PM, ip332 wrote:

As you know, location updates are requested from LocationProvider.
If you use NetworkProvider then GPS is not turned on.
The rest is in technical details which you should get from the
documentation (probably iPhone does it all by itself but in case of
Android some technical boring reading is required ;)
http://developer.android.com/reference/android/location/LocationManager.html#NETWORK_PROVIDER

On Nov 17, 11:36 am, victor limavictorloureirol...@gmail.com  wrote:

http://en.wikipedia.org/wiki/Geofence

How would I go about doing a geofence characteristic in my android
app? I dont want to be pooling the GPS hardware for location, and then
making some calculations to see if the current lat/lng location is
inside ( or not ) a delimited area. On iPhone ( dont know if I can
mention iphone here ;)) I can use some system API to notify me upon
entering/leaving a certain region that I had pre-determined in my
app... Is there anything that relates to that? How does android apps
do it? ;)

Thanks in advance,
Victor Lima


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


Re: [android-developers] code for download a file

2010-11-23 Thread Brad Gies


DefaultHttpClient httpclient = new DefaultHttpClient();

HttpPost httpPost = new HttpPost(urlString);

 nvps.add(new BasicNameValuePair(someParam, ParamValue));

httpPost.setHeader(User-Agent, YOUR APP NAME OR WHATEVER 
YOU WANT);

httpPost.setEntity(new UrlEncodedFormEntity(nvps, HTTP.UTF_8));
HttpResponse response = httpclient.execute(httpPost);

HttpEntity entity = response.getEntity();

if (entity != null)
{
try
{
is = entity.getContent();

String line;
StringBuilder builder = new StringBuilder();
BufferedReader reader = new BufferedReader(new 
InputStreamReader(is), 8192);

while ((line = reader.readLine()) != null)
{
builder.append(line);
}
String retStr = builder.toString();

}
finally
{
entity.consumeContent();
is = null;
}
}



Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 18/11/2010 9:42 AM, jatl007 wrote:

Hi, Currently I'm developing a web based android application. I tried
many codes and non of them were succeed. Can any one post me a code
for download file to android phone.
  thanx.



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


Re: [android-developers] Re: Advanced Device Administration

2010-11-23 Thread Brad Gies


Mark is correct about not being able to stop applications from being 
installed without modifying the firmware.


I think the best you could do without your own platform is to install an 
app that occasionally looks through the installed packages 
(PackageManager) and alerts the user or manager about non-approved 
applications.




Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 23/11/2010 7:36 AM, m88m wrote:

Hey Mark!

The last thing I want to do is to change the firmware, but do you know
if there is an Android's framework component that the applications
asks for permission clearance  prior to\during executing? Which I
might wrap for this purpose?
Do you familiar with someone who tried to alter the security framework
of Android?

I just saw MobileDefense demo and they have some kind of security
control (they are require a reboot)...


Regards,
  M

On Nov 23, 3:08 pm, Mark Murphymmur...@commonsware.com  wrote:

On Tue, Nov 23, 2010 at 6:04 AM, m88mm...@walla.com  wrote:

  I want to extend the Device Administration framework for my
Enterprise needs, so for example I would be able to better control
which applications installed on the device.
Is there a way to it? (Without rooting the device)

AFAIK, that can only be done by modifying the firmware.

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

Warescription: Three Android Books, Plus Updates, One Low Price!


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


Re: [android-developers] Query Other App Permissions

2010-11-23 Thread Brad Gies
Permissions are in PackageManager... not sure exactly what you mean by 
usage...


Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 23/11/2010 11:30 PM, m88m wrote:

Hey Guys!

How one Android application can query other applications (permissions
and usage)?
The  'mylookout' app doing that (without rooting the device!).

[check https://www.mylookout.com/premium/ -  Under 'Privacy
Dashboard': View a consolidated list of apps that can access your
private information, including: Location, Text messages and Identity
info.]

I thought that my app cannot be access by other apps, am I right?
Can a extract information on other apps in the system? And if yes how?

Regards,
  M



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


Re: [android-developers] Problem in providing a string to the JavaScript

2010-11-19 Thread Brad Gies
I don't really fully understand what problem you are having Can you 
show an example of what's it's doing... and what you want it to do?


The code you sent looks fine... except that the last string after you 
split the string will be an empty string because you have a | at the 
end of the string.


Are you sure window.cname is passing what you think it is? Have you 
debugged it and checked to see exactly what you are getting?


Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 18/11/2010 9:24 PM, Nishant Bhargava wrote:

I am trying to pass an array from Java to JavaScript by converting the
array into a string with the help of delimiter and later splitting in
JavaScript with the split function in JavaScript. Now the problem
arrives if I display String in the form of alert the String is coming
in the JavaScript and is displaying the right output which I want but
the split function doesn't work here for unknown reason but the same
function works if I give the String for same name with the same type
of values defined in the code. The problem is in JavaScript for sure
as the string I am fetching from is being displayed in alert. Please
suggest something, I worked on the problem on emulator only.


This is the function in JavaScript
function load()
{
//var stringFromJava =  
Nishant|Amit|Ankit|Ashok|Working|Ishaan|
Hallelujah|Floor|Haroon|Fish|Wasim|;
 var stringFromJava = window.cname;
var names = stringFromJava.split(|);
sortnames(names);

}



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


Re: [android-developers] Re: What Intent for Browser without URL

2010-11-19 Thread Brad Gies


Do you really need to do it with an intent Can't you just put a 
blank page in your app, and have it load that, or put a blank page on 
your website? Or am I missing something in what you are asking for?



Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 19/11/2010 5:03 PM, jotobjects wrote:

Thanks for that idea - yeah not exactly what I want but its another
alternative.

URL about:blank brings up the browser with about:blank in the
input window

Scheme http with no URL brings up Google web search page with http:
in the input window.

Both of them look a little weird...

I don't think my idea of a query for http type and CATEGORY_LAUNCHER
will work either because the broswer launch intent filter does not
have http as a type.

So maybe there is no good way to do it. Is there anything else to try?

On Nov 19, 3:14 pm, Stephen Jungelssjung...@gmail.com  wrote:

Have you tried using a standard intent to open the browser with the
URL about:blank ?

Maybe not exactly what you want, but simple and likely to work everywhere.

On Fri, Nov 19, 2010 at 5:51 PM, jotobjectsjotobje...@gmail.com  wrote:

Thanks -
I don't have a URL to launch and I don't want to land on the google
web search page.  The behavior I want is what happens when the user
launches the browser from the Home screen.
So maybe I should doing a PackageManager.queryIntentActivityOptions
for an Intent with CATEGORY_LAUNCHER and URI scheme http.  and then
use the ResolveInfo to start the Activity.  Does that sound right?
String packageName = resolveInfo.activityInfo.packageName;
String activityName = resolveInfo.activityInfo.name;
Intent intent = new Intent();
intent.setComponent( new ComponentName( packageName,
activityName ) );
There are a couple of more followup questions inline below -
On Nov 18, 5:46 pm, Dianne Hackbornhack...@android.com  wrote:

That Intent is okay, though there is no need for BROWSABLE.  (As per the
documentation, BROWSABLE means that the Intent came from an untrusted source
so you want to restrict who will handle it to those that say they will
protect themselves from such things.)

That surprises me because I interpreted the javdoc for Intent to say
that if you include a Category you must include ALL the categories
listed for that Intent. So if BROWSABLE is a category you would have
to include it - is that right?

I'm not sure what you mean by empty URI -- it says empty string, which
would just be a Uri created from an empty string.

The referenced documentation about WEB_SEARCH caused me to try this
intent -
new Intent(Intent.ACTION_WEB_SEARCH, Uri.parse());
but that results in this error -
android.content.ActivityNotFoundException: No Activity found to handle
Intent { act=android.intent.action.WEB_SEARCH dat= }
So I'm not sure what the documentation means here.  What should I be
doing?

On Thu, Nov 18, 2010 at 5:05 PM, jotobjectsjotobje...@gmail.com  wrote:

Thanks - I was afraid of that (although it is not quite blind luck).
The user's home page would be an obvious target, but there doesn't
seem to be a non blind luck way to find the home web page.  The
browser seems to bring up the last page visited which is OK since that
will be customary behavior for the user.
I also tried this, which works but lands the user on thewww.google.com
web page with  http in the input window.  Is this a valid Intent?
Intent webIntent = new Intent(Intent.ACTION_VIEW,Uri.fromParts(http,
, null));
webIntent.addCategory(Intent.CATEGORY_DEFAULT);
webIntent.addCategory(Intent.CATEGORY_BROWSABLE);
Also I do not understand this documentation for how to bring up the
web browser  -
  http://developer.android.com/guide/appendix/g-app-intents.html
The WEB_SEARCH action mentioned there with an empty URI sounds like
what I want, but I can't figure out how to create an empty URI that
works.
On Nov 18, 2:52 pm, Dianne Hackbornhack...@android.com  wrote:

That is a bogus Intent; it is just blind luck that it happens to only run
into the browser as something that happens to match it, and you can't

count

on that doing what you want anywhere else.
I don't believe there is a generic action to start the browser; you are
supposed to start it by asking it to view a URI.
On Thu, Nov 18, 2010 at 2:39 PM, jotobjectsjotobje...@gmail.com

Re: [android-developers] My Phone Number

2010-11-19 Thread Brad Gies


If you're app is paid then I believe all purchasers get your information 
as part of their invoice.. (probably required by law in most countries).



Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 19/11/2010 6:55 PM, Kevin wrote:

This evening I received a phone call from a user of my app.  I was
quite stunned since I have not published my phone number.  The phone
number field in my app's market page is blank, I can't see my phone
number when I look at my app in the market.  My phone number is not on
my website, nor is it available via a whois lookup on my domain name.

Does anyone have any ideas how this person found my phone number?



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


Re: [android-developers] ViewFlipper jump to 'page'

2010-11-17 Thread Brad Gies

flipper.setDisplayedChild(1);

Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 16/11/2010 11:32 PM, Hatch wrote:

Is it possible to tell the flipper to jump to a given view instead of
navigating using showNext() and showPrevious() ?

I would like my ViewFlipper to start at page N instead of the first
one.

Cheers,

Hatch



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


Re: [android-developers] Re: Cannot get ANDROID_ID on 1.6 systems

2010-11-15 Thread Brad Gies

Settings.System.getString(getContentResolver(), Settings.System.ANDROID_ID);

Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 15/11/2010 4:17 PM, John Gaby wrote:

I just double checked it on a Motorola Devour running 1.6 and it is
definitely returning a null.  I will see if I can find another 1.6
device and check to see if it is just this particular one.  Given that
this call CAN return null, is there some other way to get a unique id
for the device?

Thanks.

On Nov 15, 4:06 pm, Mark Murphymmur...@commonsware.com  wrote:

That should work on devices. It returned null on the emulator until
2.2 (or maybe 2.1, not sure when they made that cutover). But I have
definitely gotten it to work on 1.6 devices, though I haven't tried in
quite some time.



On Mon, Nov 15, 2010 at 6:52 PM, John Gabyjg...@gabysoft.com  wrote:

I am using the following to obtain the ANDROID_ID for the device:
Settings.Secure.getString(getContentResolver(),
Settings.Secure.ANDROID_ID);
Unfortunately this is returning null on 1.6 system (emulator and
actual devices).
I have also tried using
Settings.Secure.ANDROID_ID;
which is deprecated, but that does not work either.
Does anyone know how to get a unique device id for version 1.6?
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

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

Warescription: Three Android Books, Plus Updates, One Low Price!


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


Re: [android-developers] Spinner/drum roller control like native Clock app has for choosing hours/minutes

2010-11-12 Thread Brad Gies
I needed the same thing awhile ago and couldn't find a good 
implementation of it anywhere.


What I came up with was I embedded a WebView control in my AlertDialog, 
and used Javascript to control the spinner. What I did was create a web 
page with the information I wanted to scroll in the background and 
moved it up and down with the Javascript. It works well.. and looks 
good, but it was a pain to program. Hope you find an easier way.


There was a fairly long thread on it on (I think) osdir.com.. and I took 
the basic idea from there.


Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 12/11/2010 3:17 AM, Hatch wrote:

Hi all.

I cannot find a corresponding control anywhere.
The control I am interested in is iPhone's spinner.

It's much simpler to use than Android's TimePicker.

Since I see that native Clock app has it, does anyone know how is that
control called and how can one use it in his app ?

Thanks,

Hatch



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


Re: [android-developers] Re: Collecting my Market installation statistics

2010-11-08 Thread Brad Gies


I wasn't thinking of limiting it to only free apps, but I'm not sure I 
have the time to do a good job of collecting the payment information and 
displaying, so at this point I'm only considering download, install, 
category and index information. BUT... I'm always open to expanding it 
later.. pulling the data is fairly easy, I've already got procedures for 
that, so I'd just need to add another page to parse, and it doesn't take 
that long to program that. But then again... security will be a concern 
with that info... I don't see the download count as needing to be all 
that secure because the approximate download count is already public 
information.. so I think just normal login security is enough for that.


Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 07/11/2010 2:41 PM, Tom / HyperBees wrote:

@String
I use mopapp.com for reporting purposes, great tool, they are in beta.
Today I did a quick data validation vs Checkout and it seems they
overstate figures a bit, we're investigating it.

@Brad
Are you thinking about a tool for free apps only?

Cheers,
Tom

On Nov 7, 5:44 pm, Stringsterling.ud...@googlemail.com  wrote:

Take a look athttp://www.mopapp.com. I haven't tried their service,
but it looks like what you're after.

String

On Oct 28, 9:40 am, degd...@degel.com  wrote:








On the Market web page, I can see how many copies of my apps have been
installed.
But, this only shows the current total. If I want to see historical
trends, I need to check the page daily and record the numbers myself
-- an annoyance at best.
Is this info available anywhere on the Market site?
If not, has anyone written a screen-scraping utility (or equivalent)
that can harvest the data into a spreadsheet?
Thanks,
David


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


Re: [android-developers] Controlling the movement of the android device using android emulator

2010-11-07 Thread Brad Gies
You can simulate it in the emulator by sending location changes manually 
on the DDMS screen (if you're using Eclipse not sure about other IDE's).


But... to do this on a real phone, you will need GPS, and GPS is not 
very reliable inside many buildings.


You can do it with the emulator with a bit of work.. but I think your 
real problems will be doing it on a phone inside a building.


Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 06/11/2010 6:56 PM, hari wrote:

Hi I am working on an application where i will track the movement
of the android device inside a building... suppose i display a map of
the building in the android emulator... Now,i need to simulate the
movement of the android device is there a way in which i can
control the movement of the android device and see the real time
movement of the device in the map ... like a dot moving in the
map  Is this possible to do using the android emulator???

when i googled this requirement, i came across
SensorSimulator...But,this software shows the acceleration,magnetic
field and temperature values... It doesnt display the co-ordinate
values

please let me know if my requirement can be met with android
emulator 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


Re: [android-developers] Re: Collecting my Market installation statistics

2010-11-05 Thread Brad Gies


By doing it on the phone, I can update some of your market stats at the 
same time using the your phone settings, and because I don't have an 
unlimited number of phones or Google accounts it will make sure my 
account doesn't get banned for making too many queries. For instance, I 
keep track of the market index position on all apps, but in order for it 
to be (relatively) accurate I need to pull any market updates for the 
category your app is in before I calculate it.


BUT... the major reason for doing it on the phone, is that I have some 
other features I'm working on that would work much better on a phone, 
and a phone app will be required eventually (don't want to mention them 
right now because they are several weeks away from being testable). I 
just don't want to end up with two different apps to maintain.






Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 05/11/2010 5:52 AM, deg wrote:

That sounds like a real possibility.

(I'm curious, though: What's the advantage of writing it on the phone,
instead of
as a desktop Java app? Are the SDKs more available on the phone, or is
it just a
matter of your being more familiar with the dev env?)

David



On Nov 3, 6:32 pm, Brad Giesrbg...@gmail.com  wrote:

David,

I came up with an interesting thought about this last night (yeah...
about 2 in the morning... :), and that is that I could program an
Android app to pull the data from the market. That way you could store
the login credentials on your own phone. The app could have a daily
notification to download the page, parse the data and send it to my
webserver (without the login info), and then either display it on a
webpage when you wanted to see it/download it, or optionally just email
you a spreadsheet after it gets it.

I think that would solve all the privacy issues because any Android dev
could watch the outgoing data with Wireshark or any packet sniffer to
know what it's sending.

Let me know if that would interest you... and I'll give it some more
thought this morning... (after I get a gallon or two of coffee in me).

Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurbhttp://bgies.com   
http://nocrappyapps.comhttp://bistroblurb.com 
http://forcethetruth.comhttp://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


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


Re: [android-developers] Warez site ripping off paid apps

2010-11-05 Thread Brad Gies

Ian,

I'm in the beginning process of forming a group to fight the Warez sites 
and just generally improve the situation for legitimate Android 
developers. I've posted a little information about it on my blog... 
maybe have a look at it and give me your comments on it.


My thought is that if legit developers formed a group we could 
eventually appoint a representative to speak on our behalf AND maybe 
someone at Google would actually listen to us. I have formed and been a 
member of several such associations in the past, and I can tell you that 
something like this is definitely needed.


I've also developed software that flags SPAM commenters, SPAM apps and 
SPAM developers, so if we get enough developers behind it, we could 
easily identify most of them, and with a little time and patience, 
submit the list to Google and get Google to do something about it. The 
software is working well, but for now, it's just on my development 
machine. I'm in the process right now of deploying the database to the 
production server, but I still have to work on the web pages for other 
developers to be able to view it.


The site is not live yet, but I have the beginnings of the forum 
ready... (a lot of work to do before it's really useful... but... it's 
coming).


http://nocrappyapps.com/index.php/forum/4-association-of-android-professionals.html

Let me know if you have any interest in joining it We only need 
about 25 active members to get it going.


Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 05/11/2010 6:14 AM, piemm...@googlemail.com wrote:

Afternoon,

There's another warez site ripping off the paid versions of my apps
from the Google Market(as well as other developers paid apps) - all
the usual ignoring stuff when contacting to remove apps.

I have to accept that some of my apps get pirated(that haven't used
the licensing service  proguard), but What particularly gets my goat
about this site, is that the owner is apparently *charging* for full
access to the ripped off apps!

See: http://www.droidphonefiles.com/Join.html
and a list of ripped apps: http://www.droidphonefiles.com/Apps.html

And the usual market spamm comments attached to such a warez site
promoted by the author (AndroLib is useful here to easily list the
spam user)
http://www.androlib.com/android.comment.author.amy-DEFAq.aspx

Any ideas what I can do? Or does Googles team care about this kind of
activity?

Regards

Ian



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


Re: [android-developers] Re: Collecting my Market installation statistics

2010-11-03 Thread Brad Gies

David,

I came up with an interesting thought about this last night (yeah... 
about 2 in the morning... :), and that is that I could program an 
Android app to pull the data from the market. That way you could store 
the login credentials on your own phone. The app could have a daily 
notification to download the page, parse the data and send it to my 
webserver (without the login info), and then either display it on a 
webpage when you wanted to see it/download it, or optionally just email 
you a spreadsheet after it gets it.


I think that would solve all the privacy issues because any Android dev 
could watch the outgoing data with Wireshark or any packet sniffer to 
know what it's sending.


Let me know if that would interest you... and I'll give it some more 
thought this morning... (after I get a gallon or two of coffee in me).



Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead



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


Re: [android-developers] Re: Collecting my Market installation statistics

2010-11-01 Thread Brad Gies


Well.. at least you understand the problem of creating something to do it :)

I would like to do it, but I just haven't come up with a way to do it 
that would be acceptable to enough developers to make it worthwhile, so 
for now, I use it only for myself.


I have looked into OAuth which means you could login to our website 
using your Google credentials, and the website just gets a token rather 
than the actual login info, but that has the same problem that the dev 
would have to login consistently because the token expires.AND.. the 
desktop app would again have the same problem... unless it runs as a 
service (on Windows) or kron you would still need to remember to run it 
consistently.


Would I consider writing a desktop app for it SURE!... but that's 
about where the good news stops. I actually already do have plans for a 
desktop app and when I write it I would add something to pull your 
market stats but it's not even on my Top 10 list of things I need to 
do, and with my current workload... it's not even a by the end of year 
possibility. If anyone comes up with a way of doing it that is useful, 
easy to use, and doesn't require days of programming I'd be glad to do it.



Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 01/11/2010 1:50 AM, deg wrote:

To be frank, your site would need to establish a REALLY strong
reputation for trustworthiness before we could consider trusting it
with our Market login credentials. They are too tightly coupled with
customer, billing and credit card info.

But, if I needed to login in to your webpage manually every day, it
wouldn't be much better than what I'm doing now with the Market page.
You would just save me the step of cutting-and-pasting the numbers to
a spreadsheet.

Would you consider writing a desktop utility to collect the data daily
automatically, so my login info could remain securely on our premises?

David

On Oct 31, 7:20 pm, Brad Giesrbg...@gmail.com  wrote:

David,

I'm in the process of developing a website that collects market
statistics and developer statistics, and one of the features I'm adding
is a utility to collect my own market download numbers daily so I can
put them into a spreadsheet and chart/graph them so I can easily spot
trends.

I thought about adding this for use by any developer, but the problem
with it is that to automatically collect the actual download numbers, we
would have to store your Google login information, and I don't think
many developers would want to give that information... I could be wrong,
but that's my opinion. Maybe I should ask... How many developers would
be willing to have a website (a trustworthy website) store their login
information to be able to automatically collect the download/installed
numbers so they could collect them?

Without the login information the only way to get the actual download
and installed numbers would be for the developer to visit a page and
manually start the download information, and I'm not sure many
developers would do that consistently enough to get good information.

Let me know if you are interested in having this... I can add it fairly
easily... but I'd need to know exactly what would be acceptable to the
developers.

Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurbhttp://bgies.com   
http://nocrappyapps.comhttp://bistroblurb.com 
http://forcethetruth.comhttp://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead

On 31/10/2010 3:16 AM, deg wrote:








Thanks.
In what ways have you found the numbers to be untrustworthy?
Are the numbers exposed via the API any different?  Also, can you
point me to the API you recommend? A quick search just now found
several unofficial APIs, but no official support.
Thanks,
David
On Oct 28, 5:50 pm, TreKingtreking...@gmail.comwrote:

On Thu, Oct 28, 2010 at 4:40 AM, degd

Re: [android-developers] Re: Collecting my Market installation statistics

2010-10-31 Thread Brad Gies

David,

I'm in the process of developing a website that collects market 
statistics and developer statistics, and one of the features I'm adding 
is a utility to collect my own market download numbers daily so I can 
put them into a spreadsheet and chart/graph them so I can easily spot 
trends.


I thought about adding this for use by any developer, but the problem 
with it is that to automatically collect the actual download numbers, we 
would have to store your Google login information, and I don't think 
many developers would want to give that information... I could be wrong, 
but that's my opinion. Maybe I should ask... How many developers would 
be willing to have a website (a trustworthy website) store their login 
information to be able to automatically collect the download/installed 
numbers so they could collect them?


Without the login information the only way to get the actual download 
and installed numbers would be for the developer to visit a page and 
manually start the download information, and I'm not sure many 
developers would do that consistently enough to get good information.


Let me know if you are interested in having this... I can add it fairly 
easily... but I'd need to know exactly what would be acceptable to the 
developers.




Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 31/10/2010 3:16 AM, deg wrote:

Thanks.

In what ways have you found the numbers to be untrustworthy?

Are the numbers exposed via the API any different?  Also, can you
point me to the API you recommend? A quick search just now found
several unofficial APIs, but no official support.

Thanks,
David

On Oct 28, 5:50 pm, TreKingtreking...@gmail.com  wrote:

On Thu, Oct 28, 2010 at 4:40 AM, degd...@degel.com  wrote:

Is this info available anywhere on the Market site?

Nope. And don't trust the numbers you see there anyway.


  If not, has anyone written a screen-scraping utility (or equivalent) that
can harvest the data into a spreadsheet?

I don't know, but there a Market API you could use for yourself.
Or use some kind of analytics library.

--- 
--
TreKinghttp://sites.google.com/site/rezmobileapps/treking  - Chicago
transit tracking app for Android-powered devices


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


Re: [android-developers] Best way for accessing web service

2010-10-23 Thread Brad Gies


If you have to use SOAP then ksoap2 is probably the best way. Writing 
your own will be a longer term project :).


If you have control of the web service then you can do whatever you 
want, but if it's someone else's web service you are stuck doing it 
their way :).


You'll need to tell us a lot more (what web service... who owns it... 
what your app uses it for) to get much more help.



Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 22/10/2010 11:48 PM, Goutham P N wrote:

Hi,

I'm having a problem while accessing a web service through ksoap2
library, is there any other way to access the web service. I can't use
ksoap2 library for my project. Should I create a soap library or any
other way.


Thanks  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


Re: [android-developers] displaying nearby schools and airports in google maps android

2010-10-23 Thread Brad Gies


You can use Google Local Search. You just need to figure out which 
search words give you the results you want.


Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 22/10/2010 11:09 PM, Rahul wrote:

I want to display the near by schools and airports and their related
information in the google maps.

I have considered using google maps api but the registration process
for Adsense and Google Places API will take long time. So, is there
any other alternative to my problem...???

Any suggestions are welcome !!!



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


Re: [android-developers] google API with android

2010-10-22 Thread Brad Gies

Take a look at the Google Local Search API.

If all you wanted was bars, clubs and restaurants I've got a web service 
API you could use, but Google Local Search has everything


Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 17/10/2010 4:54 PM, skyline wrote:

Hi Everyone.

I am a new android developer, I am trying to build an application
searching the local business based on user's current location.

For example: user open the application, it gets user's current
location first, then user click on the button within my app, let's
say: bar.  the app will generate a list of local bars around the
user's location with Bar's name, address, phone number, google map
direction and so on..

please share this with me if you have some experience with this,

thanks



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


Re: [android-developers] Inflate layouts with different density

2010-10-22 Thread Brad Gies

Sorry if I'm hijacking this thread.

How do you know (in Java) which of the three densities Android has 
chosen. Is there a setting in the layout or somewhere that can be checked?



Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 21/10/2010 4:41 PM, Daniel Drozdzewski wrote:

On Thu, Oct 21, 2010 at 11:58 PM, Weedsweeds2...@googlemail.com  wrote:

I'm wondering if it is possible to inflate a layout using a different
density value than the default system density.

I have a high density layout, which looks good on the Galaxy Tab
(1024x600px, hdpi) and I like to use the same layout on another tablet
with the same pixel resolution but medium density. The mdpi layout
which is used works on the device but the screen just looks really
empty and I would prefer to scale things up.

So is there a xml argument for scaling the layout, maybe something
similar to Bitmap.Options.targetDensity.
Or could this be done with a new LayoutInflater class?

Thanks

Weeds,

You cannot scale layout.
I am not even sure what would that mean?
Layout is resolution independent anyway.

I think that you would you like for your UI elements to occupy bigger
or smaller proportion of the screen,
As you know, Android 'knows' the density of the platform it sits on
and this gets classified into 1 of 3 brackets.

Since your 2nd tablet has medium screen density, all you have to do,
is to provide a mdpi layout that reflects your desired UI sizes and
proportions.
In other words, simply go and modify your current mdpi layout to make
it 'less empty'.
And don't forget that images used in your layouts have to be scaled as
well in order to achieve the best results.

--
Daniel








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





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


Re: [android-developers] Issue with Catch Handler

2010-10-21 Thread Brad Gies
I have had the same problem... It's not the Exception that is null, it's 
that getMessage() returns null.


In some catch blocks (I think mainly or only to do with HTTPClient, but 
it may happen also with JSON Exceptions... I can't remember) calling 
e.getMessage() returns null since I updated my SDK to 2.2, and it caused 
major issues because I normally wrote that to a log file, which meant 
that my catch block was creating an exception


Would love to know the reason... And would be even better if it got fixed.

In the meantime, I'm doing this in my catch block if I use the message 
for ANYTHING:


String message = ex.getMessage();
if (message == null)
message = null;

Then I write the message... It's a major pain...

I don't have an answer for you either... just letting you know it's not 
just you :)


Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.comhttp://nocrappyapps.com
http://bistroblurb.com  http://forcethetruth.com
http://ihottonight.com
---
Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who use it well are the successful 
happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 19/10/2010 9:35 PM, Johnny Molina wrote:

Hello,

I have recently hit a snag using the Android plugin to Eclipse. For
some reason, ALL of my errors being thrown don't initialize and show
me the error. Has anyone ever seen this issue before and if so, what
did you do to correct it?

In particular, I am seeing it when I try to invoke the HTTPGet in a
HTTPClient object. If I have no connectivity, then I should get an
error. The Catch block does fire when this occurs...however, when I
check my general Exception object, the object is NULL (NULL Pointer).
Why would this happen if the catch is grabbing the exception?

My exceptions used to be workingand I was able to see the stack
trace. However, I can no longer see any stack trace regardless of the
Exception class I am using. Can someone please help me understand what
the heck is wrong with Eclipse, Android, or both? Is there something I
am missing on the configuration side?...is this a bug?

Mind you, I have already used Stack Overflow for this question. It has
been viewed 40 times but no answer yet. I hope anybody on here can
help me understand why this is occurring.

Thanks in advance,

John



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


Re: [android-developers] Re: Error Parsing JSON data

2010-10-12 Thread Brad Gies
 You should be able to get rid of the HTML, but it's tough to give you 
advice when we don't know the web server setup.


If it's causing too many problems to get rid of the HTML, you can always 
do other things. I had the same problem on one of my sites, and to get 
the website admin to do anything was a 6 week problem, so I just sent 
back my results like this:


echo |||STARTMYJSON|||= . json_encode($json0) . =|||ENDMYJSON|||;

When you get your results in your Android app into a string, just do a 
substring starting with the Start location and ending with the end 
location. It's not pretty but it's fairly fast.


Also, I trashed your first email before I decided to respond, but I 
think you were using PHP. You need to be aware that PHP will return a 
JSON object on occassion depending on your data, so if you have a newer 
version of PHP, you can use the JSON_FORCE_OBJECT param to make it an 
object every time, and your array will be the first property. It's 
safer, faster, and less code than having to code for either an object or 
an array in your Android app.


json_encode($topLevelArray, JSON_FORCE_OBJECT);


Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence (paraphrased)

Every person is born with a brain... Those who learn to use it well are the 
successful happy ones - Brad Gies

Adversity can make or break you... It's your choice... Choose wisely - Brad Gies

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 12/10/2010 2:49 PM, Capt Spaghetti wrote:

I removed html from the php file as suggested by Kostya Vasilyev and
changed the approach to retrieve the information. The new Android code
is as follows:


 public void onCreate(Bundle savedInstanceState) {
 super.onCreate(savedInstanceState);
BufferedReader in = null;
try {
HttpClient client = new DefaultHttpClient();
HttpGet request = new HttpGet();
request.setURI(new URI(http://www.onyoursixinc.com/
grabitgood.php));
HttpResponse response = client.execute(request);
in = new BufferedReader (new
InputStreamReader(response.getEntity().getContent()));
StringBuffer sb = new StringBuffer();
String line = ;
String NL = System.getProperty(line.separator);
while ((line = in.readLine()) != null) {
sb.append(line + NL);
}
in.close();

String page = sb.toString();
System.out.println(page);
} catch (URISyntaxException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (ClientProtocolException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} finally {
if (in != null) {
try {
in.close();
} catch (IOException e) {
e.printStackTrace();
}
}
}


 //parse json data
 try{
 JSONArray jArray = new JSONArray(result);
 for(int i=0;ijArray.length();i++){
 JSONObject json_data =
jArray.getJSONObject(i);

Log.i(log_tag,org_id:+json_data.getInt(id)+
 , orgname:
+json_data.getString(orgname)+
 , orgcity:
+json_data.getString(orgcity)+
 ,
orgstate:+json_data.getString(orgstate)
 );
 }
 }catch(JSONException e){
 Log.e(log_tag, Error parsing data +e.toString());
 }


 }
=
from my LOGCAT I can see I am getting the correct select response but
it looks like I am now picking up the html tags from the connect.php
file ince I use
require (connect.php);  The LOGCAT now shows me

Re: [android-developers] Re: Host not resolved issue

2010-10-11 Thread Brad Gies

 Why do you have the * in the permission?

uses-permission android:name=*android.permission.INTERNET* /

Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 11/10/2010 1:13 AM, Rajesh Pelluru wrote:

uses-permission android:name=*android.permission.INTERNET* /


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


Re: [android-developers] http POST request problem

2010-10-10 Thread Brad Gies
 Need to see how you are setting the params to have any idea of how to 
help.


My guess is that you are sending an invalid parameter and the server is 
refusing the connection because of that.


Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 10/10/2010 11:09 AM, dashman wrote:

in the following code - i get an http response code
400 - BAD REQUEST.

if i comment out the post.setEntity() line - then it
works fine - response code 200.

of course i've got internet permission

params is a list of 1 entry - string2string mapping.

 URI uri = new URI(urlPath);

 HttpPost post = new HttpPost(uri);

 UrlEncodedFormEntity entity = new UrlEncodedFormEntity(params,
UTF-8);

 post.setEntity(entity);  // if this line is commented out -
the post results in status 200 OK

 DefaultHttpClient client = new DefaultHttpClient();

 HttpResponse res = client.execute(post);



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

2010-10-07 Thread Brad Gies


Has anyone figured out what the following fields in the Market.App 
object represent?


19: 0
28: 1

I haven't seen any values except 0 for 19 and 1 for 28... but I haven't 
looked at all that many yet either. I'd like to know what they are 
because I'm building an app to be able manage the Market better from my 
desktop... (check for new comments... respond to comments... build a 
spreadsheet of daily downloads etc.. etc... ).





Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead

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


Re: [android-developers] Any proposed changes to the Android Market?

2010-10-06 Thread Brad Gies

 The market does this by default already

They only have roughly 22 categories, and there are 70,000 apps... which 
means roughly 3,000 apps per category, and they only show 800...


If your app is in the bottom half of your category... it's effectively 
not there :).


Not to say the Market works well at all but in this case it's 
filtering out the worst of the worst by default :).


But, as long as the Market is the only game in town, it's probably not 
possible for Google to filter it because they are effectively a monopoly 
and not allowing any app would be a PR nightmare. Apple doesn't really 
have the same problem because they are not even trying to claim any kind 
of openness.



Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 06/10/2010 1:08 PM, Kumar Bibek wrote:
Agree, but before removing such an app, Google should atleast intimate 
the dev the reason, else, it won't be fair for the developer. And for 
this, someone will definitely have to checkout the app in person, 
before taking it down.


Also, if Google wishes to include such a condition in Terms and 
Conditions, say for example, if you app has 2000 downloads with avg 
rating of 1.5 stars, your app will be automatically removed, I am not 
sure, if all the devs would like this.


On Thu, Oct 7, 2010 at 1:33 AM, TreKing treking...@gmail.com 
mailto:treking...@gmail.com wrote:


On Wed, Oct 6, 2010 at 2:49 PM, Kumar Bibek coomar@gmail.com
mailto:coomar@gmail.com wrote:

Yep, but this might not be a fool proof method. Say, a
competitor dev can easily go and mark a new entrant as spam,
and leave negative comments. 15-20 such comments and spam
flags would obviously be a disadvantage for the new app.


Of course, but in my mind it would take a considerable amount of
votes to get one ejected - certainly more than 15-20, which
still would require a dedicated effort by either a lot of
individual competitors or a single company instructing their
employees to use such tactics, which one would hope is the
exception, not the norm.

And of course there would be other criteria. For example, if one
developer has 200+ apps, with an average rating of 2 stars and
each app has been flagged as spam at least 100 unique times over
the course of time, it's fair to assume they're worthless spammers.

I'm sure some clever Google Engineer could come up with a fairly
reliable algorithm for Market spam detection.
A 20% time project, perhaps?



-
TreKing http://sites.google.com/site/rezmobileapps/treking -
Chicago transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google

Groups Android Developers group.
To post to this group, send email to
android-developers@googlegroups.com
mailto:android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
mailto:android-developers%2bunsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en




--
Kumar Bibek
http://techdroid.kbeanie.com
http://www.kbeanie.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 


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


Re: [android-developers] Icons to support different screens

2010-10-03 Thread Brad Gies


First of all.. thanks Kostya and Mark for your answers.. They were very 
helpful... and thanks Yahel for the link. I downloaded Smart Image 
Resizer and I'm looking at the code to see if will do what I need on the 
site... My idea right now is to ask users to upload an image with the 
correct dimensions (height/width ratio) and in the largest size I need 
or larger. Then scale them automatically, show them to the user, and 
allow them to upload other images if they don't like the result :).


BUT... my plan is also to name them with memberId_image1.png and 
memberid_image2.png, and just put the 3 different densities in different 
folders, but pass the URL with the density needed from my Android app to 
the website. Of course.. for this to work, I need to know which format 
the framework has chosen I assume this should be easy (famous last 
words)...


Is there a foolproof way of knowing which density (hdpi, mdpi, or ldpi) 
the framework is going to use BEFORE the images are downloaded? In my 
case, the list will already be displaying with a dummy image (something 
like the way the Market app works.. or the Android Application Manager), 
so the view will be inflated by the time I start downloading images... 
Is there a call to ask what density it's running at?





Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 30/09/2010 10:02 AM, Kostya Vasilyev wrote:

 Brad,

30.09.2010 20:12, Brad Gies пишет:


Actually, just confirmation that the 24, 32 and 48 are the right 
sizes for the smaller icons is quite helpful. I can guess at the 
correct sizes for the larger icons, and then adjust as I test the 
different AVD's...


The reference device densities are: 120 / 160 / 240 for ldpi / mdpi 
/ hdpi respectively.


http://developer.android.com/guide/practices/screens_support.html#range

This means that if you design the artwork you call larger icons at a 
certain size, then the hdpi version should be 6/4 (== 3/2), and ldpi - 
3/4 the size of the mdpi version (so hdpi artwork is exactly twice as 
tall / wide as ldpi).


The mdpi size should preferably be such it can be scaled to 3/2 and 
3/4 of the original size without producing fractional pixels.


I am another developer who loathes doing graphics for his programs, 
and rightly so, since I'm pretty bad at it.


What I found useful is to design my artwork in Photoshop at mdpi (== 
normal) density first, trying to use shape objects and to avoid 
pixel-based tools as much as possible. This is important for next 
step: scaling the image up in Photoshop to go from mdpi to hdpi, since 
shapes scale up much better than raster data.


At this point I have with two Photoshop files, one for mdpi and one 
for hdpi. I then use File | Save for Web  Devices to export 
optimized .PNG images.


The mdpi and hdpi already have the right dimensions for exporting, so 
no problem there. To create the ldpi version, I export the mdpi file 
and specify smaller dimensions right in the export parameters window. 
I found that Photoshop often produces a better quality reduced size 
image than Android does at runtime, so having pre-built ldpi images is 
useful. Not all images need this, though: for some, it's ok to just 
have the mdpi and hdpi versions, and let Android do the scaling down 
for ldpi.


This workflow could be simplified by working in Photoshop only at hdpi 
density, and scaling during export for mdpi as well as ldpi. My first 
Android phone was an HTC Hero (mdpi), so I kind of made mdpi the 
center of my artwork-related process.


And finally, the link below lists standard icon sizes for various 
screen densities depending on where and how they are to be used 
(Launcher, Dialog, List View, etc.)


http://developer.android.com/guide/practices/ui_guidelines/icon_design.html 





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


Re: [android-developers] Re: No LogCat message when debugging on a real device

2010-10-03 Thread Brad Gies
 I think what he meant is that some times after you run in debug mode 
(especially if you have both the emulator running and your device), you 
have to go to the DDMS view in Eclipse and select the device/emulator 
you want to see the Logcat messages for.


You are seeing the Logcat messages when you run the emulator? Just 
asking because I don't know how new you are to Eclipse/Android, and I'm 
assuming you are looking at the Logcat view and not seeing anything.. if 
not, you need to go to Window/Show View and select the Logcat view.



Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 02/10/2010 7:35 PM, John Gaby wrote:

I guess that I don't know what you mean by clicking the 'device/
emulator' in Eclipse.  When I run the program, I choose the device.
Note that the debugger works fine with the device, but I do not see
any LogCat messages.  Can you be more specific about what I have to
set?

Thanks.

On Oct 2, 6:27 pm, 苏坦托Sutantotnto.i...@yahoo.com  wrote:

You have to click device/emulator first in Eclipse show view devices

On Sun, Oct 3, 2010 at 8:22 AM, John Gabyjg...@gabysoft.com  wrote:

Why don't I get LogCat messages when I debug on a real device as
opposed to the emulator?
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.comandroid-developers%2bunsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

--
Sutantohttp://www.tnto.info


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


Re: [android-developers] Icons to support different screens

2010-09-30 Thread Brad Gies




With respect to your larger icons, I have no clue what to tell you.


Hah... Mark... now you're scaring me... you know as much about screen 
size/density etc. as anyone I know :).


In my case, I absolutely do not have the ability to learn this... my 
brain totally shuts down as soon as image/screen size/density etc. are 
mentioned. I just don't have any interest in graphics or display issues 
:).but ask me to design a web service to move data around... and 
great things happen :). My preferred method of working has always been 
to build it and make it work well, then turn it over to someone with 
some artistic ability and have them make it look nice :).


Actually, just confirmation that the 24, 32 and 48 are the right sizes 
for the smaller icons is quite helpful. I can guess at the correct sizes 
for the larger icons, and then adjust as I test the different AVD's...


Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 30/09/2010 4:47 AM, Mark Murphy wrote:

On Wed, Sep 29, 2010 at 9:30 PM, Brad Giesrbg...@gmail.com  wrote:

For the smaller icons they will be in the typical position in the list view
on the left side, with text beside them, so this one is simpler, just need
to choose the correct icon size. From the reading I've done it looks like
24x24 for small screens, 32x32 for normal and 48x48 for large.




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


Re: [android-developers] Re: Icons to support different screens

2010-09-30 Thread Brad Gies


Thanks... I'll definitely have a look at that today sometime. Appreciate 
it very much...



Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 30/09/2010 9:53 AM, Yahel wrote:

I'm not sure this might help you, this is what I use on the server
side for my app 'a World of Faces' : It allows to get an image to a
specified size no matter what. It's very efficient and does not
consume much cpu or memory on the server. I tweaked the code quite a
lot for my purpose but it works fine :

// Smart Image Resizer 1.4.1
http://shiftingpixel.com/2008/03/03/smart-image-resizer/

People can then send you any size of graphics and you'll be able to
use them however you like.

Yahel
http://www.a-world-of-faces.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


Re: [android-developers] Free version or not?

2010-09-29 Thread Brad Gies

 Greg,

What are the changes that Google Adsense made that affect how much you make?


Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 28/09/2010 2:38 PM, Greg Donald wrote:

On Tue, Sep 28, 2010 at 3:34 PM, Darrin Smithdarri...@gmail.com  wrote:

I have an application that I think is about two weeks or so from being ready
to ship. I plan to charge for the app because I really believe many people
will find it of value. The thing is how to go about getting the word out
about it.

What do you typically do when releasing a new application? Do you offer a
slightly crippled free version, go for a full fledged version that has
nuisance screens that tell people to upgrade, try the fully functional but
with advertising route, or just release one app for purchase only?

Thanks.

I always release two version.. a free version with ads, and a paid
version without.

I used to could say I made ALOT more off the free version of my apps
using Google AdSense, but that is no longer the case since Google made
some changes to AdSense recently.  Someone besides me is now getting
rich off my free versions.




--
You received this message because you are subscribed to the Google
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] Icons to support different screens

2010-09-29 Thread Brad Gies


I never do graphics type programming so I have tended to ignore most of 
the posts on this list regarding anything to do with images and 
graphics, but now it seems I need to know more than I do know :).


I'm designing a screen that will need to look good on all phones, and 
all resolutions. It's for displaying in a list view, and there will be a 
small graphic for the summary view, and a larger graphic for the detail 
view.


Normally I use a 32x32 (res 72x72ppi).png for the summary view which 
looks good on my G1.


The second image is for the detail view and it basically should fill the 
entire width of the screen (roughly, it's ok if it doesn't use the 
entire width as long as none of it is chopped off). The size I use for 
my G1 is 468x60.


So, the question for the guys that really know this stuff is: What sizes 
do I need to make these images to support all screens and densities with 
the fewest number of images? I know that the answer is a little 
subjective, but I remember seeing a post with a link to a page that 
recommended 3 different images for the different screens (and it seemed 
to make sense when I read it), and I think but don't remember for sure 
that then you would need 6 layouts to support those with both landscape 
and portrait orientations


Any links, advice welcomed :). Thanks.


--
Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead

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


Re: [android-developers] Icons to support different screens

2010-09-29 Thread Brad Gies


Let me clarify a little. It's a list view that will display other 
people's icons that they will have to supply, so I don't/won't have 
total control of them, but I can ask that they be supplied in x number 
of formats. I need to keep the number down because of that, and some of 
the graphics will include some text in them, so I don't think stretching 
them will be an option. The fact is that I will not have any idea of 
what the graphic actually is or what it contains, and they will be 
supplied by many different sources, and most of them will be added long 
after my app is written (they will be uploaded to my website and 
downloaded by the app), so I can't depend on anything that would require 
stretching.


For portrait orientation, I think I am safe in saying that the larger 
icons will be put into a layout that specifies horizontal center, so if 
they are not quite the width of the screen in portrait orientation it's 
ok, they will just be centered and take up that entire row in the layout 
(I haven't written it yet, so that could change, but it's the what I am 
thinking about). Then the same icon will be used for the landscape 
orientation for the same phone, obviously with a different layout, and 
probably with text beside them.


For the smaller icons they will be in the typical position in the list 
view on the left side, with text beside them, so this one is simpler, 
just need to choose the correct icon size. From the reading I've done it 
looks like 24x24 for small screens, 32x32 for normal and 48x48 for large.


Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 29/09/2010 5:23 PM, Mark Murphy wrote:

On Wed, Sep 29, 2010 at 8:10 PM, Brad Giesrbg...@gmail.com  wrote:

The second image is for the detail view and it basically should fill the
entire width of the screen (roughly, it's ok if it doesn't use the entire
width as long as none of it is chopped off). The size I use for my G1 is
468x60.

Saying you want something to fill the entire width of the screen is
fine. Saying you want a bitmap to fill the entire width of the
screen is likely to be a source of trouble. That's mostly because
the entire width of the screen has so many possible values:

-- 240
-- 320
-- 400
-- 432
-- 480
-- 800
-- 854

And that's just with the six smartphone sizes for which we have
built-in emulator configurations with Android 2.2. Add in some XGA
tablets (768 and 1024) and 1080p televisions (1080 and 1920) and
whatever else comes about in the next few months, and things will get
that much more complicated.

Since we don't really know what the graphic is or what you mean by
it's ok if it doesn't use the entire
width as long as none of it is chopped off, it's tough to give precise advice.

Here are a few ways of doing something that will fill the entire
width of the screen without a preposterous number of images:

-- Use a nine-patch PNG, if the image can reasonably be stretched

-- Use a ShapeDrawable, if the image is a gradient or something that
can be stretched

-- Use a smaller image that blends into a background defined as a
solid color or a ShapeDrawable or a nine-patch PNG, so the smaller
image can be done with just three flavors for the different screen
densities so it is a reasonable size for all

Or, come up with another GUI design that does not require an image to
fill the entire width of the screen.

There are probably other solutions as well, but these are the ones
that pop to mind right away.



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


Re: [android-developers] Re: What's the status of installing a non-market apps?

2010-09-27 Thread Brad Gies


It's been awhile since I downloaded one manually, so I guess I missed 
one step, but if I remember correctly, it should show up in your 
downloads list (drop down the notification list). When you click on it 
it should install. Oh... you also need to have the setting Unknown 
Sources checked (in the settings/application list).



Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 26/09/2010 9:08 PM, Saied wrote:

Thank you Brad. This is very comforting.

I just used the browser on my Nexus one to download the .apk file. It
downloaded fine, but now what?

the app (actually a service, since it's a keyboard) does not show up
under language  keyboard.

How do I use what I have apparently downloaded?

Thanks


How do I assure that I do have the Mime type set up on my server?

On Sep 26, 8:35 pm, Brad Giesrbg...@gmail.com  wrote:

Just give your users the link and tell them to go to it with the phone's
browser. If you have the Mime Type setup on your server, everything else
is automatic :)

Sincerely,

Brad Gies
---
Bistro Bot - Bistro 
Blurbhttp://bgies.comhttp://bistroblurb.comhttp://ihottonight.comhttp://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead

On 26/09/2010 8:22 PM, Saied wrote:


Hello Everyone,
I am baffled by the chaos!
I understand there are two ways to distribute one's apps: 1) through
the Market and 2) directly to the user.
Now that my app is in beta, I would like to give it to a few of my
users to test. But how?
What I read on the web talks about installing SDKs, tweaking with many
options and using an auxiliary app; I deem these to be well beyond the
ability or patience of my users.
Is there an easier way?  What's the EASIEST?
It would be best if the user can simply navigate to the link and
download it using their android phone. Is this possible?
My beta is located at:
http://www.exideas.com/ME/android/MessagEase-beta.apk
I am trying to figure out how to instruct my users to download and
install it painlessly. (taking the SD card out for intermediate
installation is not painless and is prohibitively intimidating).
Any help (especially from good people of google) is very appreciated.
FYI: this is a keyboard that you need to invoke, twice, after you
install it. Once through SettingsLanguages and Keyboards, and the
second time through tapping and holding on the text field and
selecting. Oh and it's called MessagEase-beta
Thanks for any hint, pointer, or idea that you can send my way
Best,
Saied


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

2010-09-27 Thread Brad Gies


Just thought I'd let you all know that I have just updated my Exception 
Logger to Version 2 (0.9.5 RC1).


I fixed a bunch of bugs related to my converting it from my own use to 
something that almost any developer can use :). I've also updated the 
documentation considerably. YuviDroid helped out quite a bit over this 
weekend by testing and sending me results... so thanks.. it was much 
appreciated :).


Also, the web pages are functional now, so you can view the exceptions 
as you test. I will add some more features later, but they are at least 
functional.


Anyone that downloaded it in the last week DEFINITELY needs to download 
it again :


URLS are : .

Zip file (w/docs and and install files ) here :
http://bgies.com/media/exceptionlogger/exceptionlogger.zip

If you only want the docs:
http://bgies.com/media/exceptionlogger/bgies_Exception_Logger_Documentation.pdf 



Exception Logger Manager (for viewing the exceptions) :

http://bgies.com/index.php/software-developers/exception-logger-management.html



*What the Exception Logger does:*
When properly setup the Exception Logger logs ALL unhandled Exceptions 
in your Android app, and optionally can be setup to log your trapped 
exceptions, and user settings or other information also . The fields it 
logs are below:


   * Insert Time - Time and Date the exception was logged
   * Developer Key - Used to sort your exceptions (and make sure nobody
 else can see them)
   * Application Name - If you have multiple applications, you can sort
 on this
   * Activity Name - the activity that generated the exception.
   * Function Name - if you setup your app to use this, it will log the
 name of the function that generated the exception
   * Application Version - the integer version number from your
 manifest file
   * Device Type - The alphanumeric string from the Android framework
 (android.os.Build.MODEL)
   * Exception Logger Version - so you know if you are using the latest
 version of our API
   * SDK Version - The integer version of the Android SDK the device is
 running (android.os.Build.VERSION.SDK_INT)
   * Android Id - the Android unique Id. You can sort by it to see the
 exceptions happening to each user
   * Email Address - if the user chose to send it
   * Extras - The Extras field is a varchar(255) of whatever your
 application sets it to. Use it to send additional debugging
 information
   * IP Address - the IP Address logged by our server. May be helpful
 in some cases
   * Stacktrace - the complete stack trace at the time the exception
 occurred




--
Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead

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


Re: [android-developers] Re: What's the status of installing a non-market apps?

2010-09-27 Thread Brad Gies


Sorry, I missed the question about knowing whether the Mime type is 
setup, but I don't the answer anyway... It depends on your server, and 
how your server admin wants it done, so you'll have to ask them.


You can do it in an .htaccess file if you have access to it, but I think 
it's normally better to add it your server startup. Ask your admin. It 
really depends on what the admin wants.



Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 26/09/2010 9:08 PM, Saied wrote:

Thank you Brad. This is very comforting.

I just used the browser on my Nexus one to download the .apk file. It
downloaded fine, but now what?

the app (actually a service, since it's a keyboard) does not show up
under language  keyboard.

How do I use what I have apparently downloaded?

Thanks


How do I assure that I do have the Mime type set up on my server?

On Sep 26, 8:35 pm, Brad Giesrbg...@gmail.com  wrote:

Just give your users the link and tell them to go to it with the phone's
browser. If you have the Mime Type setup on your server, everything else
is automatic :)

Sincerely,

Brad Gies
---
Bistro Bot - Bistro 
Blurbhttp://bgies.comhttp://bistroblurb.comhttp://ihottonight.comhttp://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead

On 26/09/2010 8:22 PM, Saied wrote:


Hello Everyone,
I am baffled by the chaos!
I understand there are two ways to distribute one's apps: 1) through
the Market and 2) directly to the user.
Now that my app is in beta, I would like to give it to a few of my
users to test. But how?
What I read on the web talks about installing SDKs, tweaking with many
options and using an auxiliary app; I deem these to be well beyond the
ability or patience of my users.
Is there an easier way?  What's the EASIEST?
It would be best if the user can simply navigate to the link and
download it using their android phone. Is this possible?
My beta is located at:
http://www.exideas.com/ME/android/MessagEase-beta.apk
I am trying to figure out how to instruct my users to download and
install it painlessly. (taking the SD card out for intermediate
installation is not painless and is prohibitively intimidating).
Any help (especially from good people of google) is very appreciated.
FYI: this is a keyboard that you need to invoke, twice, after you
install it. Once through SettingsLanguages and Keyboards, and the
second time through tapping and holding on the text field and
selecting. Oh and it's called MessagEase-beta
Thanks for any hint, pointer, or idea that you can send my way
Best,
Saied


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


Re: [android-developers] What's the status of installing a non-market apps?

2010-09-26 Thread Brad Gies


Just give your users the link and tell them to go to it with the phone's 
browser. If you have the Mime Type setup on your server, everything else 
is automatic :)



Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 26/09/2010 8:22 PM, Saied wrote:

Hello Everyone,

I am baffled by the chaos!

I understand there are two ways to distribute one's apps: 1) through
the Market and 2) directly to the user.

Now that my app is in beta, I would like to give it to a few of my
users to test. But how?

What I read on the web talks about installing SDKs, tweaking with many
options and using an auxiliary app; I deem these to be well beyond the
ability or patience of my users.

Is there an easier way?  What's the EASIEST?

It would be best if the user can simply navigate to the link and
download it using their android phone. Is this possible?

My beta is located at:

http://www.exideas.com/ME/android/MessagEase-beta.apk

I am trying to figure out how to instruct my users to download and
install it painlessly. (taking the SD card out for intermediate
installation is not painless and is prohibitively intimidating).

Any help (especially from good people of google) is very appreciated.

FYI: this is a keyboard that you need to invoke, twice, after you
install it. Once through Settings  Languages and Keyboards, and the
second time through tapping and holding on the text field and
selecting. Oh and it's called MessagEase-beta

Thanks for any hint, pointer, or idea that you can send my way

Best,

Saied



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


Re: [android-developers] New countries for paid apps! Maybe Ireland will be included??

2010-09-25 Thread Brad Gies


Yeah.. I got it alsobut I really hope they are doing something to 
reduce the impact of Spam Apps at the same time.


My very simple idea to reduce the impact Spam Apps have on the market 
would be to only allow an app to show up in the Just In category 3 
times a year, and never less than 2 months apart. That should be enough 
for legit developers, and Spam Apps would very quickly stop dominating 
the Just In list.


I'm betting I could program that logic and implement it on my site in 
slightly less than an hour.


And if the market really wanted to do more than an hour's worth of 
programming... say... two hours of programming... they could add one 
more entry a year for apps that have over 5,000 downloads and a better 
than 3.5 average rating, and give the developer the choice when he/she 
uploads a new version whether they want to use one of their Just In 
appearances or save that for a later version.


Ok... we're up to 2 hours programming now :).

Then... for any developer that has more than 10 apps they could reduce 
the number of Just In per app to 2 a year.


Wow now 2 1/2 hours of programming Hope Google has allocated 
enough programming resources to the market for this :).


I'm sure with a couple of days worth of programming allotment a much 
better solution could be devised but this would be fairly effective 
for a couple of hours :).


Your thoughts?

Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 25/09/2010 11:12 AM, skooter500 wrote:

I received this from Google yesterday:

Hello,

We're writing to inform you about some changes to Android Market that
require your attention.

Over the next few weeks, we’ll be adding paid apps support for
additional countries.  If you have selected to publish your paid apps
to all locations and intend to support all new locations as we expand
the number of supported countries for paid apps, you don’t have to do
anything.  If you have selected to publish your paid apps to all
locations but intend to only target the currently supported 14
countries, please update your location selections to target these
specific countries.

Please look for follow-up emails when we introduce paid apps support
for specific additional countries in the coming weeks.  At that time,
you’ll have the option to target these specific countries.

Thanks, and we look forward to continue working with you on Android
Market.

Sincerely,
The Android Market Team

It seems at last Google are adding new coutries for paid apps! This is
pretty exciting news. I wonder what countries will be supported?



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


Re: [android-developers] hosting app file on own site

2010-09-25 Thread Brad Gies
 I don't know much about Tomcat, but did you reload your server after 
changing the file, and are you sure it's using the .htaccess file?


Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 25/09/2010 2:16 PM, dashman wrote:

i've got an app (.apk) file that i want to host on
my site.

whenever i click on page link to the .apk file,
i get the binary code listed as ascii.

- the app does not download.

i added

AddType application/apk .apk

to the .htaccess file - tomcat server

help.



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


[android-developers] Update to 0.9.9 causing a little misery :).

2010-09-24 Thread Brad Gies
 Anyone know why I would be getting the errors below. The message below 
is showing up in the Console view, and I'm getting a Conversion to 
Dalvik format failed with error 1.


My app has been working quite well for some time, and I just tried to 
update the SDK and DDMS to 0.9.9, and now it won't build.


I've done a search for the CharBuffer class and don't find any matches 
in my files, but I am using several API's (BUMP, C2DM, Admob). I 
definitely don't use any of the core-library in my code. If the error 
message is correct, I just can't quite figure out how to tell which API 
is the problem without almost wiping out my code base, or starting a new 
project and copying a few files at a time.


Oh... but the two files at the bottom of the file are missing 
android-6\sdk.properties and android-5\sdk.properties. Anyone know where 
I find them?


I have tried uninstalling and reinstalling but so far, no joy :).


[2010-09-24 00:54:43 - HotTonight]
trouble processing java/nio/CharBuffer.class:
[2010-09-24 00:54:43 - HotTonight]
Attempt to include a core class (java.* or javax.*) in something other
than a core library. It is likely that you have attempted to include
in an application the core library (or a part thereof) from a desktop
virtual machine. This will most assuredly not work. At a minimum, it
jeopardizes the compatibility of your app with future versions of the
platform. It is also often of questionable legality.

If you really intend to build a core library -- which is only
appropriate as part of creating a full virtual machine distribution,
as opposed to compiling an application -- then use the
--core-library option to suppress this error message.

If you go ahead and use --core-library but are in fact building an
application, then be forewarned that your application will still fail
to build or run, at some point. Please be prepared for angry customers
who find, for example, that your application ceases to function once
they upgrade their operating system. You will be to blame for this
problem.

If you are legitimately using some code that happens to be in a core
package, then the easiest safe alternative you have is to repackage
that code. That is, move the classes in question into your own package
namespace. This means that they will never be in conflict with core
system classes. If you find that you cannot do this, then that is an
indication that the path you are on will ultimately lead to pain,
suffering, grief, and lamentation.

[2010-09-24 00:54:43 - HotTonight] 1 error; aborting
[2010-09-24 00:54:43 - HotTonight] Conversion to Dalvik format failed 
with error 1
[2010-09-24 00:54:47 - SDK Manager] Warning: Error parsing 'C:\Program 
Files\Android\SDK\platforms\android-5\sdk.properties': 
java.io.FileNotFoundException: C:\Program 
Files\Android\SDK\platforms\android-5\sdk.properties (The system cannot 
find the file specified).
[2010-09-24 00:54:47 - SDK Manager] Warning: Error parsing 'C:\Program 
Files\Android\SDK\platforms\android-6\sdk.properties': 
java.io.FileNotFoundException: C:\Program 
Files\Android\SDK\platforms\android-6\sdk.properties (The system cannot 
find the file specified).
[2010-09-24 00:58:16 - SDK Manager] Warning: Error parsing 'C:\Program 
Files\Android\SDK\platforms\android-5\sdk.properties': 
java.io.FileNotFoundException: C:\Program 
Files\Android\SDK\platforms\android-5\sdk.properties (The system cannot 
find the file specified).
[2010-09-24 00:58:16 - SDK Manager] Warning: Error parsing 'C:\Program 
Files\Android\SDK\platforms\android-6\sdk.properties': 
java.io.FileNotFoundException: C:\Program 
Files\Android\SDK\platforms\android-6\sdk.properties (The system cannot 
find the file specified).




--
Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead

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


Re: [android-developers] Update to 0.9.9 causing a little misery :).

2010-09-24 Thread Brad Gies

 Thanks for the quick reply Xav, but I guess you're off the hook :).

I was using 0.9.7 Never got around to updating to 0.9.8 :).

BUT... this morning, I can't duplicate the problem. All I did, was 
changed the build to verbose, added one space to one of my strings to 
force it to rebuild, and it worked just fine :).


No, I'm not compiling against 5 or 6 (and probably never will again). I 
have minSDKVersion at 4 and compiling against 8. I don't see the error 
about the missing files this morning either.


One thing I did notice last night is that the emulator started up very 
fast compared to what it had been doing... not sure if that was just 
coincidence or not :), but it was a pleasant surprise.



Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead



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


Re: [android-developers] Update to 0.9.9 causing a little misery :).

2010-09-24 Thread Brad Gies
 Just for future reference, I think I figured out what happened, and 
I'm pretty sure it's the same thing that happened with the guys in the 
other thread (New ADT Available).


When I updated, I still had my project open. After the update, I got a 
million errors about missing imports (all Android related), and noticed 
that the Google APIs were missing, so I added them. BUT... what I didn't 
notice at the time was that they were actually there, just not under 
Google API's. They had moved to the Referenced Libraries section, so 
when I added them back, both the maps and android .jar's were in my 
project twice.


I noticed it just before I went to bed last night and deleted the extra 
ones. Then this morning, I recompiled and everything worked.


Probably the error about the CharBuffer.class was just that it happened 
to be the first class the compiler noticed in the extra jars.


Hope that helps someone else :).


Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 24/09/2010 6:56 AM, Xavier Ducrohet wrote:

Hi,

First, you can ignore the error about missing sdk.properties, that's
not important (especially if you don't compile against API 5 or 6). It
is a stupid bug though and it should get fixed.

What version of ADT did you update from? ADT 0.9.9 is really just a
minor fix from ADT 0.9.8 (released 2 weeks ago or so), which had much
more changes.

Now onto your problem. The issue with dx is that it throws a lot of
exceptions when it's not happy but they are hidden from the tools
calling them. One thing to do is to move your build to verbose (in the
Eclipse preferences under Android/build), so you'll see what exception
was thrown with a message about the reason. Then we'll can figure out
what's wrong.

Xav

On Fri, Sep 24, 2010 at 1:49 AM, Brad Giesrbg...@gmail.com  wrote:

  Anyone know why I would be getting the errors below. The message below is
showing up in the Console view, and I'm getting a Conversion to Dalvik
format failed with error 1.

My app has been working quite well for some time, and I just tried to update
the SDK and DDMS to 0.9.9, and now it won't build.

I've done a search for the CharBuffer class and don't find any matches in my
files, but I am using several API's (BUMP, C2DM, Admob). I definitely don't
use any of the core-library in my code. If the error message is correct, I
just can't quite figure out how to tell which API is the problem without
almost wiping out my code base, or starting a new project and copying a few
files at a time.

Oh... but the two files at the bottom of the file are missing
android-6\sdk.properties and android-5\sdk.properties. Anyone know where I
find them?

I have tried uninstalling and reinstalling but so far, no joy :).


[2010-09-24 00:54:43 - HotTonight]
trouble processing java/nio/CharBuffer.class:
[2010-09-24 00:54:43 - HotTonight]
Attempt to include a core class (java.* or javax.*) in something other
than a core library. It is likely that you have attempted to include
in an application the core library (or a part thereof) from a desktop
virtual machine. This will most assuredly not work. At a minimum, it
jeopardizes the compatibility of your app with future versions of the
platform. It is also often of questionable legality.

If you really intend to build a core library -- which is only
appropriate as part of creating a full virtual machine distribution,
as opposed to compiling an application -- then use the
--core-library option to suppress this error message.

If you go ahead and use --core-library but are in fact building an
application, then be forewarned that your application will still fail
to build or run, at some point. Please be prepared for angry customers
who find, for example, that your application ceases to function once
they upgrade their operating system. You will be to blame for this
problem.

If you are legitimately using some code that happens to be in a core
package, then the easiest safe alternative you have is to repackage
that code. That is, move the classes in question into your own package
namespace. This means that they will never be in conflict with core
system classes. If you find that you cannot do this, then that is an
indication that the path you are on will ultimately lead to pain,
suffering, grief, and lamentation.

[2010-09-24 00:54:43 - HotTonight] 1 error; aborting
[2010-09-24 00:54:43 - HotTonight] Conversion to Dalvik format failed with
error 1
[2010-09-24 00:54:47 - SDK Manager] Warning: Error parsing 'C:\Program
Files\Android\SDK\platforms\android-5\sdk.properties

Re: [android-developers] Update to 0.9.9 causing a little misery :).

2010-09-24 Thread Brad Gies
 Just as a follow up to my previous email, and with a little more 
clarity now that I am fully awake


I think the moral of the story is Don't be an idiot and update the 
Android tools with your project open ;).


I'm fairly sure this is exactly what happened: When the Android SDK/DDMS 
was uninstalled, the path to them was not, so they now showed up as just 
normal included libraries. When the SDK/DDMS was reinstalled, it didn't 
add the path to my project because it was already there, or probably it 
never does because that is done when the project is created. When I 
first tried to build the project after the update, it did build because 
the maps.jar and android.jar were in the project, but I didn't have any 
of the tools and couldn't use DDMS because Eclipse didn't recognize them 
as Android.


In my case, I then added the maps.jar and android.jar back in the proper 
place, but because they were already a referenced library, I got the 
error about including core classes. In the case of the people on the 
other thread, they just have the two .jar files in the wrong section, so 
they can build but the Android tools aren't being recognized.




Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead



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


Re: [android-developers] Re: App working but GoogleMap not coming (proxy settings working)

2010-09-23 Thread Brad Gies


I started seeing the same thing you are describing just a couple of days 
ago, and my app has worked perfectly for months. I don't know what it is 
either. My zoom is set in the on create of the map activity, and I 
enable My Location and yet suddenly the map does not fill in, and it 
looks like my location is being set to the middle of Hudson's Bay 
(northern Manitoba). Eventually, it does start to fill in normally, but 
I really hope the users of my app are not seeing the same thing.


I keep hoping that it's just my GPS is really flaky or something like 
that. As I was writing this email, it seems I am taking a tour of 
Northern Canada. I guess I must be on a really fast plane because the 
My Location icon is really moving I just have no idea where it's 
going... and I thought I was sitting at my computer at home... :). Who 
knew



Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 23/09/2010 12:09 AM, ramindroid wrote:

Maps API key is correct. (I verified using in-correct API and got the
error in that case)
Internet permission for App are also given via manifest file.

Today saw another error in logs:
checkin failed: https://android.clients.google.com/checkin
UnknownhostException: android.clients.google.com

It seems access to this URL is blocked in my network (although proxy
wroks fine)

Can you share your inputs on this?

Thanks
Raminder

On Sep 22, 11:26 pm, TreKingtreking...@gmail.com  wrote:

On Wed, Sep 22, 2010 at 7:07 AM, ramindroidsinghramin...@gmail.com  wrote:

What can be the reason for actual maps not getting visible?

Either your maps API key is not set correctly or you don't have the Internet
permission.

---­--
TreKinghttp://sites.google.com/site/rezmobileapps/treking  - Chicago
transit tracking app for Android-powered devices


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


Re: [android-developers] Distribute app to customer for review but no one else

2010-09-22 Thread Brad Gies


Just put the app on a server, and also put up a file with one number in 
it, the latest version of your app. Occassionally, download the file and 
if the version number doesn't match the app version number, then popup a 
dialog box, and tell the user there is an update. When they click ok, 
download the app.



Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 17/09/2010 7:20 PM, Yepher wrote:

I am developing an Android application for a customer. I want to be
able to provide them (no one else) incremental updates but I am not
clear what the procedure should be.

I don't want them to have to install development tools or root their
phone. These are non technical folks who would have no idea how to
accomplish root a phone or use a command line interface.

When I develop iPhone applications for them this was easy. They just
give me the device UDID and I send them a binary that can be drag and
dropped into iTunes.

How is this done on Android. I have tried loading the application from
a web server but the devices says it is not allowed to be loaded
because of security reasons. In setting-Applications there is no menu
option to Allow Unknown sources.

Thank  your for any help you can provide on this matter.



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


Re: [android-developers] Moved Android project to Eclipse 1.5 and new machine and project is missing Android jar

2010-09-21 Thread Brad Gies
 Add External Jar will do it. Just make sure to pick the right one, and 
add the Google jar(s) if you're using them.



Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 21/09/2010 8:47 AM, pawpaw17 wrote:

Hi Guys,

I configured a new machine and am trying to move my Android project
over. When I look at the project properties under Java Build Path-

Libraries, on the old machine I see a reference to Android 1.5 but

nothing on the new machine and so nothing builds. I've installed
Android correctly because sample projects work (I see the Android 1.5
library on a newly minted sample project).

What option do I use to add the correct library? Add JARS..  Add
External JARS.. Add Library?

Thanks!

pawpaw17



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


Re: [android-developers] Exception Logging

2010-09-20 Thread Brad Gies


Ok... I said I would have this ready by the end of the weekend, and it 
might still be the weekend somewhere :). Sleep got in the way of 
finishing it last night.


I have just packaged the API and uploaded it to my server. You can 
either download just the documentation or the entire .zip file (which 
includes the documentation).


Zip file here : http://bgies.com/media/exceptionlogger/exceptionlogger.zip
Doc file here : 
http://bgies.com/media/exceptionlogger/bgies_Exception_Logger_Documentation.pdf


Yeah... I know... I use long names :).

I think the package is ready to use as is, BUT don't take any chances 
with your project. BACK IT UP BEFORE INSTALLING THIS JUST IN CASE. I 
still have some work to do on the website so you can see you exceptions 
but it will be done within the next day or two. You can use it 
immediately by using this key : DUMMYTESTKEY for the developer key. 
When you use this key, the server doesn't log the exception, it simply 
echoes the parameters you sent, and if you are debugging you should see 
the returned values in Logcat.


To get the values logged, you need either a Test Developer Key (this 
will be limited to a couple of hundred log entries per day per key. The 
actual value will be floating target for now), or a Prod Developer Key 
(unlimited logging). To obtain those, you need to register on my website 
and wait for me to get around to creating one for you. For this first 
release, I will be a little cautious about giving out too many dev keys, 
so please have a little patience. I just want to be sure the server can 
easily handle the volume, and I want to make sure I didn't create any 
problems with the Exception Logger when I packaged it (my testing seems 
to indicate it is good, but I want to be sure).


PLEASE don't use this in any production apps for now. Consider this 
release a public BETA, just for debugging.


I've also created a forum, so if you could report any problems or 
criticisms there I would appreciate it:


http://bgies.com/index.php/forums/9-android-exception-logger.html

And please do give me some feedback, even it's only I wouldn't use that 
if my life depended on it because ???.




Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead



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


Re: [android-developers] Re: How to reverse ListView scrolling behavior?

2010-09-18 Thread Brad Gies


Just wanted to say that it might be a bad design decision for a real 
app, but have you ever considered that he might want to do it as a joke 
app for his friends? I do that kind of stuff all the time just for the 
fun of it.


So... why jump all over the guy? ... at least until you know what he 
really wants to do.


Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 17/09/2010 11:54 PM, Indicator Veritatis wrote:

The impatience revealed by your puerile, angry language shows that you
have not learned the most important lessons your allegedly longer
experience could have taught you. Small wonder, then, that you show
such limited understanding of UX principles.

On Sep 17, 7:25 pm, DanHdanhi...@ieee.org  wrote:

With all due respect -- hell toss respect out the window -- you don't
know sith about what you're talking about.  I've been in this industry
for 40 years, and I've seen all sorts of good and bad UI designs --
many of the worst directly attributable to designers inventing and
enforcing rules about what was good and bad, against the explicit
advice of others who, from experience and experiment, knew what worked
and what didn't.

The OP has explained why he wants to reverse the action of the
control, and it's a perfectly valid reason, especially given that he's
experimenting -- he realizes that what he's planning to try may not
work well, but even in the failure of it he may learn some things
about how to make a better UI.

Granted in several ways it is a square peg into a round hole, but
consider that, just maybe, it's the hole that's wrongly shaped, not
the peg.  The biggest thing that scares me about Android, from the
standpoint of investing in it as a platform for future applications,
is that already too many features of it are apparently sacred and
immutable, even as they clearly demonstrate a poor fit to reality.
I'm quite afraid that Android will end up even more hide-bound than
iPhone due to this belief on the part of its designers that it's too
perfect to permit further modification.

On Sep 17, 9:07 pm, Indicator Veritatismej1...@yahoo.com  wrote:  I have 
worked with numerous UI and UX experts over the years, and not

once have I ever heard any of them say anything as rash and glib as
whatever works. Not even with your caveat. Nor is your glib
assertion consistent with my own experience of good and bad UI design
over the years.
Besides: your caveat qualified it with respect for convention -- which
is exactly what the OP is tossing out the window.
And no, the rights you so graciously bestow on the OP do not exist --
except perhaps in the fanciful imaginations of people on their own
high horses. Since he asked such a bad question, he is not going to
like the answers he gets. Tough luck. Next time, he should 
readhttp://www.catb.org/esr/faqs/smart-questions.htmlandlearn from his
mistake.
Finally, your example of a simulated scroll wheel does not illustrate
the point you think it does. Of course the presence of the wheel
changed the user's perception of which way it should be (because of
scroll buttons on mice): but by insisting on putting a scroll wheel in
there in the first place, no matter how 'good' the reason, you
introduced a contradiction into the UI paradigm of the application. If
you had studied it a little closer, you would likely have noticed that
as users try to make more and more use of the application, a
significant plurality of them would have trouble remembering when up
is up and when up is down.
IOW, given that you had to introduce the wheel, allowing it to go
against the grain in that one place may have worked, but only at a
cost, and it is quite unconvincing that the wheel really had to be
there, or is worth that cost.
But I can't say a lot about your old situation, since I know only what
you so briefly described. What I CAN say is that it really does go
against the grain in Android, and in a way that can only detract from
the UX. And that if the OHA or Google had the kind of strict UI
guidelines that made Apple's OS so user-friendly even from the early
days, it would NOT be allowed.
You are making me wish for the straight-jackets from the Developmental
Ministry in the Republic of Steve Jobs;)
On Sep 17, 10:04 am, DanHdanhi...@ieee.org  wrote:

In this particular context there was a simulated scroll wheel
superimposed over the edge of the scroll list (for reasons having to
do with the dynamics of the controls).  For some reason this changed
the user's perception of the control completely.  Basically, the user
saw the wheel as moving the highlight bar up

[android-developers] Exception Logging

2010-09-18 Thread Brad Gies
 This is a bit long winded (sorry, but I need to explain what I'm doing 
before I can ask the question).


Just wondering if I could get a few (hopefully few hundred) opinions on 
this :


I developed an Exception Handler for my first Android app (released the 
first month the market opened), which logs all uncaught exceptions to my 
server, and since then I have gradually refined it and improved. I'm now 
using it in my 4th public Android app and a few private apps, and I find 
it extremely helpful to find bugs that don't happen to me when I'm testing.


One thing I added that is proving to be extremely useful is an 
AlertDialog when the exception occurs asking the user if it is OK to 
contact him/her if I need more information to be able to fix the 
problem, and a box for them to enter their email address if they agree. 
I don't have good numbers for you on the acceptance rate because most of 
my public apps already have the users email address and for the private 
apps the company enforces their compliance (or supplies the emails for 
me to use). BUT... it looks like about 20% of users do enter their email 
address if asked, and that is more than enough to be very useful.


I think I can increase the percentage of users that do supply their 
emails addresses, and that is what my question is about :).  (I will ask 
it soon)


First, It has occurred to me that my Exception Logger might be even more 
successful for me if other developers were also using it because users 
might have seen it before and trust it when they first see it in my 
apps. That obviously would only happen if quite a few developers were 
using it.


Anyway... sorry it's already getting long, and I AM trying to keep it 
from becoming a book. I have repackaged my Exception Logger and will 
release it in the next couple of days for other developers to use (the 
price is the good one - FREE). I will host the thing on my server (FYI 
it's a Cloud based server so we can increase capacity if needed) and any 
developers using it will be able to log in and view the exceptions their 
app has generated, and sort by time/date, user, and other fields.


NOW.. the question: I think the Exception Logger would be more 
successful getting the users to agree to be contacted IF their email 
addresses were kept confidential. Actually, I don't think there is much 
doubt that would be the case. BUT, there is a tradeoff. Obviously, most 
developers would prefer to see the email addresses so they can manage 
the contacts a bit more effectively without using my website to do it, 
BUT if the email addresses are not confidential, fewer users will give 
them.


So here are what I think are the options:

a)keep the email addresses confidential, but developers can send the 
user an email using my website, include both a reply address which goes 
to my website and then forwards the email to the developer, and also the 
developers email address so the user could respond directly to the 
developer if they choose. I'm sure this would have by far the highest 
success rate for getting contact info  but means devs have to use my 
website to send the first email at least.


b)give the user a choice of keeping the email address confidential 
or just giving it to the developer. This should also have a fairly high 
acceptance rate by the user, but complicates the process for them 
because they would actually have to read the instructions to figure out 
how it works, and quite possibly a few users would think they asked for 
their email addresses to be confidential, when they actually checked the 
other option, and would be upset if they found out later. It's also a 
bit more work for me, for maybe very little benefit.


c)Don't bother keeping the email addresses confidential. All my own 
apps work this way, and it is useful, but I'm sure either of the other 
two options would have a better success rate of obtaining the email 
addresses, and therefore would be better for most devs to get 
information about problems in their apps.


I don't try the a) or b) options for myself because obviously I could 
see the email addresses in my log files if I wanted to look, and it 
would be a little deceitful to tell the user their email would be 
confidential in that case, even if I did use them properly ... BUT, I 
can do that for other developers without stretching the truth at all, so 
I think it's worth the effort if other devs want to use it.


So, please let me know what your opinions are.

I'm also hoping to get some idea of how many developers might want to 
use this. I've already done almost all the work, so it will be released 
even if nobody wants to use it. It freaks me out a little to open up my 
server to an unknown amount of use, but I am well setup to increase 
server capacity quickly if needed, and I don't think the cost of doing 
this will be too horrible (I hope). ...



Sincerely,

Brad Gies

Re: [android-developers] Exception Logging

2010-09-18 Thread Brad Gies


If enough other devs do use it, I would put some effort into producing 
reports to make it more useful, but one option that I will do 
immediately is to put a button on the form listing your last ?? 
exceptions to download it in a comma delimited format so you can import 
it into a spreadsheet and do anything you want with it.


The only paid option I am even considering is putting an optional Pay 
Pal donate button on the web page the devs use to view the logged 
exceptions. I'd be happy if that even covered the additional server 
expenses.


I should also mention that devs will (soon) have the choice to send the 
exceptions to their own server if they prefer (the option is already in 
the code), but they will have to agree to some very specific provisions 
not to spam users before using it. When I have time to figure out the 
licensing, and set it up, I will put the code up on one of the open 
source sites so that other people can improve it.


Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 18/09/2010 10:53 AM, Sean Chitwood wrote:

I believe option A is the best.

One thing you might consider as a premium option for developers is 
reporting showing which crashes are more prevalent than others. I know 
Microsoft does this internally for application crashes reported via 
Watson.


--Sean

Calendar: http://www.google.com/calendar/embed?src=darkmane%40gmail.com
Livejournal: http://darkmane.livejournal.com

Every 5 minutes you spend writing code in a new language is more 
useful than 5 hours reading blog posts about how great the language is.





On Sat, Sep 18, 2010 at 10:34 AM, Prakash Iyer thei...@gmail.com 
mailto:thei...@gmail.com wrote:


I have thought along similar lines. I think it should just be
option a. Don't confuse the user with options. In fact don't even
allow user to reply back directly.


On Sep 18, 2010 1:19 PM, Brad Gies rbg...@gmail.com
mailto:rbg...@gmail.com wrote:

 This is a bit long winded (sorry, but I need to explain what I'm
doing before I can ask the question).

Just wondering if I could get a few (hopefully few hundred)
opinions on this :

I developed an Exception Handler for my first Android app
(released the first month the market opened), which logs all
uncaught exceptions to my server, and since then I have gradually
refined it and improved. I'm now using it in my 4th public
Android app and a few private apps, and I find it extremely
helpful to find bugs that don't happen to me when I'm testing.

One thing I added that is proving to be extremely useful is an
AlertDialog when the exception occurs asking the user if it is OK
to contact him/her if I need more information to be able to fix
the problem, and a box for them to enter their email address if
they agree. I don't have good numbers for you on the acceptance
rate because most of my public apps already have the users email
address and for the private apps the company enforces their
compliance (or supplies the emails for me to use). BUT... it
looks like about 20% of users do enter their email address if
asked, and that is more than enough to be very useful.

I think I can increase the percentage of users that do supply
their emails addresses, and that is what my question is about :).
 (I will ask it soon)

First, It has occurred to me that my Exception Logger might be
even more successful for me if other developers were also using
it because users might have seen it before and trust it when they
first see it in my apps. That obviously would only happen if
quite a few developers were using it.

Anyway... sorry it's already getting long, and I AM trying to
keep it from becoming a book. I have repackaged my Exception
Logger and will release it in the next couple of days for other
developers to use (the price is the good one - FREE). I will host
the thing on my server (FYI it's a Cloud based server so we can
increase capacity if needed) and any developers using it will be
able to log in and view the exceptions their app has generated,
and sort by time/date, user, and other fields.

NOW.. the question: I think the Exception Logger would be more
successful getting the users to agree to be contacted IF their
email addresses were kept confidential. Actually, I don't think
there is much doubt that would be the case. BUT, there is a
tradeoff. Obviously, most developers would prefer to see the
email addresses so they can

Re: [android-developers] Re: Is anyone's active install % dropping like a rock lately?

2010-09-18 Thread Brad Gies


My guess from the wording of the answer is that market will be able to 
adjust the numbers when apps check for updates. But, it's just a guess :).


Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 18/09/2010 11:40 AM, Pent wrote:

We'd like to give you an update on this issue. We've previously stated
that some application updates are incorrectly being counted as pure
uninstalls rather than updates, causing the active installs metric to
drop. We have now identified the root cause, and are working on a fix
that we hope to release next week. However, due to the nature of the
interaction between the Market client and our reporting
infrastructure, it may take up to several weeks for your metrics in
the Developer Console to return to normal. Again, we apologize for any
inconvenience, and will keep you posted on our progress.

Thanks for the update. Hope they're not just going to rely on future
installs
to bring the figure up again as it sounds

Pent



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


Re: [android-developers] Re: Exception Logging

2010-09-18 Thread Brad Gies




It's probably better to
somehow obtain their permission to send the failure report to you, vs
doing it silently and unconditionally.  Asking them at the same time
if they want to provide an email address is good, though.


Just so you know... how it works now is that the exception is logged 
immediately without the email address the first time an exception 
occurs. The server returns the id number of the exception, and THEN the 
dialog pops up and asks if they would mind supplying an email address. 
The user has the choice of supplying the email address and choosing Yes 
Always send it, Send it this time (in which case they will be asked 
again on the next exception, but their email address is kept so they 
never need to enter it again, or the third option is No, and don't ask 
again in which case they will never see the dialog again for the life 
of the app.


If they answer Yes, always then they will never see the dialog again 
either, and the email address is just included in the original post when 
it's sent.


Note that it is programmed this way because there are occasions when an 
exception occurs in the onCreate of your activity and the user interface 
is unstable, so even if I try to pop up the dialog then, the user won't 
see it. When the exception is logged, I use a couple of Preferences to 
keep track of what's sent, and all info needed for the dialog box, and 
when the Class is created, I check to see if an Exception occurred and 
the dialog will popup then (on the next activity created) OR I also have 
a function that can be called in the onResume event of each activity to 
check to see if a dialog is needed. If you use that function then the 
user will get the dialog box almost immediately after the exception 
occurs even if they use the back button to get out of the activity that 
caused the problem (the only time this doesn't work is if the exception 
happens on the onCreate of the main entry activity), and I would hope 
most devs have that covered already. The Exception would still be 
logged, but the user would never see a dialog box because the user 
interface would never be stable.


There is also a Let me see what's sent button and a Help/Info button 
to give some information on what it is, and what it's doing.


users are no more apt to trust it than they are to trust the 
individual developers


That's a good point, and certainly true right now. I would hope if the 
Exception Logger is used by enough devs though that users would see it 
and learn to trust it. BUT... if the user clicks on the Help/Info button 
I already have the statement that the dev has agreed NOT to spam them, 
and maybe that is enough for option c) to be a good option. It's 
certainly a lot less website work for me because I already have all of 
that code working for myself... I'm just in the process of making it 
multi-dev friendly :).


I do use option c) myself, and it works well I just have it in my 
mind that the other options would be even more effective...but, I'm not 
positive and that's why I'm asking for other opinions. The unstated part 
of the question is what would other devs find most acceptable?




Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 18/09/2010 11:00 AM, DanH wrote:

First off, you are to be commended for putting this much effort into
diagnostics.  Even the big players are just catching onto this (as
witnessed by the fact that there's no facility for this built into the
phone).  Real time diagnostics are much friendlier for the user than
saying Please reproduce with logging turned on or whatever, and
generally the information you obtain is more comprehensive and helpful
(since you're more apt to see several instances of essentially the
same bug, but with slightly different symptoms).

There is a slight danger that the paranoid among users will believe
that you're secretly collecting data on them.  It's probably better to
somehow obtain their permission to send the failure report to you, vs
doing it silently and unconditionally.  Asking them at the same time
if they want to provide an email address is good, though.

In terms of options, I'd say KISS -- keep it simple.  Unless the
facility is going to be picked up by a trusted authority (say,
Google), just have email address be reported back to the developer.
Promise, of course, that the email address will be kept private (and
make any users of your facilities aware that they're making this
promise) but don't bother with the complex forwarding service -- users
are no more apt to trust it than

Re: [android-developers] Re: Is anyone's active install % dropping like a rock lately?

2010-09-18 Thread Brad Gies


Actually, I am very impressed with the response, and I hope you thanked 
them. It would be good to encourage the Market people to respond to this 
kind of stuff :).


It's also a bit of relieve to me. I released a Beta app about 3 weeks 
ago, and several updates since then fixing problems, and the quoted 
install percentage was a bit disconcerting to me :). BUT... from what it 
sounds like my numbers are not going to be nearly as bad as they look 
right now. I'm guessing that the short turnaround for updates in the 
Beta app was really contributing to the bug in the numbers :).


Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 18/09/2010 10:37 AM, Peter Sinnott wrote:

Received this update this morning :

Hello,

We'd like to give you an update on this issue. We've previously stated
that some application updates are incorrectly being counted as pure
uninstalls rather than updates, causing the active installs metric to
drop. We have now identified the root cause, and are working on a fix
that we hope to release next week. However, due to the nature of the
interaction between the Market client and our reporting
infrastructure, it may take up to several weeks for your metrics in
the Developer Console to return to normal. Again, we apologize for any
inconvenience, and will keep you posted on our progress.

Thank you for your continued patience.



On Sep 15, 10:43 am, Penttas...@dinglisch.net  wrote:

Thanks for writing in. We are currently investigating this issue. So far,

this appears to be purely a reporting issue: some update events are being
inaccurately recorded as uninstalls, rather than updates, creating a lower
active installs percentage. However, our investigation tells us that
applications are not actually being uninstalled. We hope to have a
resolution soon.

This fits, actually.

I had been holding steady at around 50%. Released my first update for
a month
yesterday evening and now I'm down to 45%.

Pent


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


Re: [android-developers] Upgrade non-market app with a new market version.

2010-09-16 Thread Brad Gies



Yes, I just did it and it works well... but both of my versions were 
free, so I don't know for sure what happens with paid apps.


Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 15/09/2010 9:18 AM, psyke wrote:

Hello Guys,

I am developping (for my company) an app included on a project that
will have 2 versions:

  - 1st  simple version to download using a OTA server, clients
accesss to an URL to download.
  - 2nd version more complex to be published on the Market.

The question here is that the process to publish on the Android Market
is under bureaucratic internal process and it takes a long time, so
the idea do reduce the time to market is to provide an OTA version.

There is any possibility for users that download application via OTA
to upgrade the application for version published later on the Market?
(Both Application will be signed with the same key).

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


Re: [android-developers] connecting android with mysql

2010-09-03 Thread Brad Gies

 It's certainly possible and many devs are doing it.

Just write a web service in PHP, your android app can connect using 
DefaultHttpClient or other client if you want.


The Google Maps API documentation has everything you need to put markers 
on the map (look for ItemizedOverlay).


Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 02/09/2010 12:14 AM, Chetan Singh Bisht wrote:

hey guys i am developing a final year location-based project(gps) in
android.I have to create a server using php and mysql which contains
name and location(in latitude and longitude) of important hospitals in
Mumbai.The android client should be able to retrieve the the latitude
and longitude of locations in mysql(external) database and then plot
it on a google map.

Could u plzz tell me whether this is possible?If yes, then how?
Any help would be appreciatedcheers



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


Re: [android-developers] Need project idea

2010-09-03 Thread Brad Gies
 I developed an app specifically for the trucking industry delivering 
to car plants, but it's not publicly available. I do know of several 
others, but I think most of the automotive related apps are developed in 
house by the suppliers etc., and not on the market.




Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 02/09/2010 12:19 AM, analyst wrote:

Can any tell me a project related to automative industries using
android.



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


Re: [android-developers] Re: Is anyone's active install % dropping like a rock lately?

2010-09-03 Thread Brad Gies


This is just a question that I have been wondering about related to this.

When I published one of my apps many months ago, I selected All 
Locations. However, I only have data in my app for Canada, and the US., 
and it is English only. The app would be handy for any English speaker 
that is planning on visiting Canada/US but for the most part, it's 
really only handy if you live here. I expected about 50% of users that 
download my app would uninstall it because they don't live in North 
America, and wouldn't get much use out of it.


But, now my installed percentage is only 38%... it was 48% only a few 
weeks ago.. then it also started dropping.


The question is: Has anyone experimented to find out whether your 
installed percentage climbs if you only publish to those locations that 
would get the most use out of your app? And a followup question :). In 
your opinion, is it worth changing the Locations now? FYI.. I just did 
it, so I might be able to answer this in a month or so :).




Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 31/08/2010 3:45 AM, { Devdroid } wrote:

As a side note, how are you guys tracking the daily history of stats?
I suppose there's no automated way, right? So we have to set up a
spreadsheet and daily copy the data, right?

There's Market API:
http://code.google.com/p/android-market-api/
you may want to try to use to automate data stats as it seems to export most of
data you may want. Not that we tried it yet



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


Re: [android-developers] ViewFlipper Help Please

2010-09-02 Thread Brad Gies

 You could use flipper.setDisplayedChild(1);

But, if you want the animation then what you are doing is probably 
correct, but you probably need to slow it down :)



Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 02/09/2010 5:39 PM, Tommy wrote:

Hi everyone,

I am currently using a ViewFlipper to move through some views. It
works fine when I want to move sequentially through IE 1,2,3,4 or
4,3,2,1 My question is if I want to go from say 1 to 4 when a button
is clicked how should I do this? Currently I use the following bit of
code but im not sure this is the correct way to go about it.

int x = 0;
   do{
   
flipper.setInAnimation(inFromRightAnimation());

flipper.setOutAnimation(outToLeftAnimation());
flipper.showNext();
x = x +1;
   }while(x= 5);
}

Thanks for your time and help,

Tommy



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


Re: [android-developers] Reducing Permissions

2010-09-01 Thread Brad Gies


Actually, you are correct. Many of the permissions don't show to the 
user. It's been awhile since I installed the app from the internet, but 
I do have it installed as a draft in the market, so I was using the 
market stats (silly me... ).


This apk requests 13 permissions that users will be warned about
android.permission.ACCESS_COARSE_LOCATION
android.permission.ACCESS_FINE_LOCATION
android.permission.INTERNET
android.permission.CAMERA
android.permission.READ_CONTACTS
android.permission.VIBRATE
android.permission.CALL_PHONE
android.permission.VIBRATE
android.permission.ACCESS_NETWORK_STATE
com.bgies.hottonight.permission.C2D_MESSAGE
com.google.android.c2dm.permission.RECEIVE
android.permission.READ_SYNC_SETTINGS
android.permission.GET_ACCOUNTS

So... obviously, we should be asking the market to be updated to show 
what the user will actually be asked for... (I know... but I can dream).


The permissions shown to the user are (the version I have compiled with 
a production key didn't have the C2DM stuff in it, so I'll have to 
recompile it and see what C2DM does show to the user).

Network Communications
Your Location
Phone Calls (won't show anymore because I've removed it in the 
latest version)
Services that cost you money (also shouldn't show anymore because I 
call the SMS with an intent now)

Storage (I'm going to see if I can get rid of that today)
Your personal information (that should also be dropped with the 
latest version, but it does remove a very handy feature)

Hardware Controls

That is not as bad as I was thinking because I will be able to get rid 
of 3 of those, but at the expense of either removing features, or making 
them less seamless. For instance, both the phone calls and SMS will now 
use an intent which means that it's an extra screen and button click for 
the user, which for me makes it look clunky (hopefully the average user 
won't notice too much).


I still want an ask the user optional permission for the read contacts 
because even though my app will drop using them for now, it would be a 
very handy feature for them. Just so you know, my app is about 
connecting with friends, and being able to access their friends email 
addresses one time would save the users a lot of typing and setup later. 
But, it's just not worth it to have to declare it in my app as if I will 
be ALWAYS accessing them, and THAT does remove a very handy feature, 
that I would keep if I could just ask the user the one or two times they 
would actually use it. It's actually a HUGE issue for me because not 
keeping it means that many users may not find my app all that useful 
because they won't get it setup to find their friends easily, while 
keeping it means that many users will never install it. Damned if I 
do... Damned if I don't... and right now there is no good answer.


Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead



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


Re: [android-developers] 401 Unauthorized in c2dm sent message to server

2010-09-01 Thread Brad Gies


Not unless you show us some of your code :). But, you should probably 
ask this in the C2DM group.


Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 29/08/2010 3:30 AM, chenthil wrote:

HI,
 i got the c2dm device registration id and auth token. but while
sending message to the c2dm server am getting 401 Unauthorized. can
anyone help me.



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


Re: [android-developers] Reducing Permissions

2010-09-01 Thread Brad Gies


Yes, a contact picker would be great, and would work for me ;), 
especially if it had the ability to return multiple selections.


I would actually like that better than accessing them myself, if it was 
a standard part of the framework, because then users would be familiar 
with it, and I wouldn't have to support it.. or them using it ;).


I'm fairly sure it would solve many other developers issues also.

Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 01/09/2010 2:06 PM, Dianne Hackborn wrote:
On Wed, Sep 1, 2010 at 10:18 AM, Brad Gies rbg...@gmail.com 
mailto:rbg...@gmail.com wrote:


I still want an ask the user optional permission for the read
contacts because even though my app will drop using them for now,
it would be a very handy feature for them. Just so you know, my
app is about connecting with friends, and being able to access
their friends email addresses one time would save the users a lot
of typing and setup later. But, it's just not worth it to have to
declare it in my app as if I will be ALWAYS accessing them, and
THAT does remove a very handy feature, that I would keep if I
could just ask the user the one or two times they would actually
use it. It's actually a HUGE issue for me because not keeping it
means that many users may not find my app all that useful because
they won't get it setup to find their friends easily, while
keeping it means that many users will never install it. Damned if
I do... Damned if I don't... and right now there is no good answer.


What if you could launch a contact picker for the user to select an 
e-mail address that is returned to you?  We need to build out the 
contacts interaction so that it has richer interactions to provide UI 
for other apps without them needing contacts permission themselves. 
 (And to also use FLAG_GRANT_URI_*_PERMISSION to return permission to 
access a contact entry that is selected.)  But even before that, 
someone could write their own app that provides something like this 
facility, without using FLAG_GRANT_URI_*_PERMISSION, to anyone who 
wants to use it.


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

Note: please don't send private questions to me, as I don't have time 
to provide private support, and so won't reply to such e-mails.  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 


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