[android-developers] Re: Do I have to test my app on Dev Phone for ADC II

2009-08-08 Thread Maps.Huge.Info (Maps API Guru)
If you're working with the location service, then a real phone is a must. The emulator only briefly flirts with the location service, the real device is quite complex and has a number of failure modes not present in the emulator. -John Coryat

[android-developers] Settings.Secure.ANDROID_ID longevity

2009-08-04 Thread Maps.Huge.Info (Maps API Guru)
According to the documentation, this setting: The Android ID (a unique 64-bit value) as a hex string Question: How dynamic is this value? Is it unchanging throughout the life of the device, the same across Android versions or what? I'd like to use this constant to identify a distinct device

[android-developers] Re: Rectangle vs Parallelogram..Plz Help!!!!

2009-08-04 Thread Maps.Huge.Info (Maps API Guru)
A more generic solution might be to treat it as a polygon and do a point in polygon analysis. Can the Java class Polygon be used with Android? -John Coryat --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Settings.Secure.ANDROID_ID longevity

2009-08-04 Thread Maps.Huge.Info (Maps API Guru)
I found this link in Google: More spoofing of the android id… http://strazzere.com/blog/?tag=android_id This article deals spoofing the deprecated Settings.System.Android_ID However, I'm using Settings.Secure.ANDROID_ID which suggests that it's secure. Any comments? -John Coryat

[android-developers] Re: Any updates on ADC-2?

2009-07-28 Thread Maps.Huge.Info (Maps API Guru)
The terms are fairly plain and obvious if you read them: a. SUBMISSION OF ENTRIES: To qualify for a Prize, an Entry to the Challenge consists of an original application that is written using a version of the Android Software Development Kit (SDK) (available at http://developer.android.com) that

[android-developers] Log with Production App

2009-07-27 Thread Maps.Huge.Info (Maps API Guru)
I've been working on an app for a couple of months, it's loaded with log statements (android.util.Log) now and they are very useful. Question: Is it better to remove log statements before deploying to the market or can they be left in? Are there good reasons to remove them regardless? Thanks in

[android-developers] Re: Log with Production App

2009-07-27 Thread Maps.Huge.Info (Maps API Guru)
of that code out when the constant is false. On Mon, Jul 27, 2009 at 9:01 PM, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: I've been working on an app for a couple of months, it's loaded with log statements (android.util.Log) now and they are very useful. Question

[android-developers] Re: Android Dev Phone 1 out of stock

2009-07-25 Thread Maps.Huge.Info (Maps API Guru)
I suggest trying eBay. -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,

[android-developers] Re: ALL DEVELOPERS PIRATED APPLICATION ALL OVER!

2009-07-23 Thread Maps.Huge.Info (Maps API Guru)
It seems there is a very simple answer to piracy on this platform anyway. If the market would keep a record of the device ID's that purchased the app, it would be extremely easy to tell (via a server based solution) which installations are valid and which are not. Then again, what do I know?

[android-developers] Re: ALL DEVELOPERS PIRATED APPLICATION ALL OVER!

2009-07-22 Thread Maps.Huge.Info (Maps API Guru)
What does the Android market send the developer when an app is purchased? Is there any sort of notification? -John Coryat --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] UnknownHostException

2009-07-22 Thread Guru
is that ,is this an emulator problem or a problem in the SDK. Many of our users complain of errors while they are using the app.Actually the users get Unknownhost exception.And this exception does not appear when the users re-start their device.Can some one shed some light on this. Thanks Guru

[android-developers] Re: Is there a way to auto-power on the phone?

2009-07-22 Thread Maps.Huge.Info (Maps API Guru)
Question: If the phone is in a power off condition, how would an app know to turn it on? -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] Re: Age of GPS data (continued)

2009-07-21 Thread Maps.Huge.Info (Maps API Guru)
Can you check to see if your user has selected Automatic - Use network-provided values? The second question would be: Where does the location.getTime() time come from? Is it provided by the satellite fix itself or from the phone. If from the phone then it's not really relevant how the user sets

[android-developers] Re: Age of GPS data (continued)

2009-07-21 Thread Maps.Huge.Info (Maps API Guru)
I just did a test. location.getTime() 1248184334000 System.currentTimeMillis() 1248184346934 It appears as if the GPS tracks time down to the second and it can vary from the Automatic setting by quite a bit. This example shows a variance of about 100 seconds between the two. Perhaps the best

[android-developers] Re: Adc2 Demo Game

2009-07-21 Thread Maps.Huge.Info (Maps API Guru)
If you put up any version of your application to the market, free or paid, before August 1st, it will not be eligible. Keep that in mind... -John Coryat --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: How to compare two (simple) images?

2009-07-21 Thread Maps.Huge.Info (Maps API Guru)
I don't know if this can be done in Java, but what I have done for similar things is to convert the image to a PNG or GIF and count the number of colors in the color table. -John Coryat --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-developers] Re: GPS still not working on emulator with r3

2009-07-21 Thread Maps.Huge.Info (Maps API Guru)
Until you send it a location with DDMS, the location will be null. After you send it, everything works as expected. No altitude, speed, bearing or any of the GpsStatus comes across though. It would be nice if these things were also accessible in DDMS. -John Coryat

[android-developers] Re: GPS still not working on emulator with r3

2009-07-21 Thread Maps.Huge.Info (Maps API Guru)
p.s. Make sure you have GPS enabled in the emulator settings. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] Re: GPS still not working on emulator with r3

2009-07-21 Thread Maps.Huge.Info (Maps API Guru)
I haven't used geo fix, but I assume it will work as well as DDMS. -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] Re: problems importing existing project into eclipse

2009-07-20 Thread Maps.Huge.Info (Maps API Guru)
I'll bet you have an R.java file in your source directory, delete it and your error should go away. -John Coryat --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Asking for Donations

2009-07-18 Thread Maps.Huge.Info (Maps API Guru)
According to the market terms: All fees received by Developers for Products distributed via the Market must be processed by the Market’s Payment Processor. Does this allow for fees to be collected outside of the market, like in OP's question, but using the Market's Payment Processor? Another

[android-developers] Re: SDK 1.5_r3 is available

2009-07-18 Thread Maps.Huge.Info (Maps API Guru)
If you mean by GPS emulation bug the problem with network provider on the emulator, it does, or at least does to my satisfaction. Before, accessing the network provider caused an error. Now it works as expected. -John Coryat --~--~-~--~~~---~--~~ You received this

[android-developers] Re: GPS on G1/G2

2009-07-18 Thread Maps.Huge.Info (Maps API Guru)
If you mean by a G2 the Google Ion (HTC Magic given out at Google IO), then the answer is yes, it does work as expected. I don't have a G1 to confirm this but if it works on the emulator, I would expect it to work on the Ion. -John Coryat --~--~-~--~~~---~--~~ You

[android-developers] Re: Screen becomes black while Swicthing Activity

2009-07-17 Thread Maps.Huge.Info (Maps API Guru)
You might also want to display an indeterminate progress dialog so your users won't think the app is frozen. -John Coryat --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Any updates on ADC-2?

2009-07-15 Thread Maps.Huge.Info (Maps API Guru)
Looks like the app has to be written with the SDK. See the official terms and conditions for the exact wording. My application works only in the US, I wonder if that will doom it's possibilities? Someone who judges the app in Europe will rate it a fat zero. -John Coryat

[android-developers] GpsStatus

2009-07-11 Thread Maps.Huge.Info (Maps API Guru)
How can I derive the getMaxSatellites(), getSatellites() and getTimeToFirstFix() from the GpsStatus Listener? -John Coryat I've got the listener for GpsStatus working like this: LocationManager locMgr = (LocationManager)getSystemService (Context.LOCATION_SERVICE);

[android-developers] Re: GpsStatus

2009-07-11 Thread Maps.Huge.Info (Maps API Guru)
Answered my own question, but now I have another... In this code: (which works fine) case GpsStatus.GPS_EVENT_SATELLITE_STATUS: GpsStatus xGpsStatus = locMgr.getGpsStatus(null) ; IterableGpsSatellite iSatellites = xGpsStatus.getSatellites() ; Iterator it =

[android-developers] Re: GpsStatus

2009-07-11 Thread Maps.Huge.Info (Maps API Guru)
(Maps API Guru) wrote: Answered my own question, but now I have another... In this code: (which works fine) case GpsStatus.GPS_EVENT_SATELLITE_STATUS:    GpsStatus xGpsStatus = locMgr.getGpsStatus(null) ;    IterableGpsSatellite iSatellites = xGpsStatus.getSatellites() ;    Iterator

[android-developers] ACCURACY_COARSE and ACCURACY_FINE

2009-07-10 Thread Maps.Huge.Info (Maps API Guru)
I've been toying with these two concepts for a while and was wondering what the consensus is on how to handle accuracy changes. I would like to be able to use the FINE but if not available use COARSE. The issue is how to handle these two. I thought about using two listeners and that seems like a

[android-developers] Re: How do you display many points on a map?

2009-06-30 Thread Maps.Huge.Info (Maps API Guru)
The standard way of handling the too many points problem is to use a clustering system, either server based or client based. Clustering converts the many markers that can appear in one area, usually determined by a matrix, into a single marker. Another method is to limit what is loaded into the

[android-developers] Re: 30 Days of Android Applications

2009-06-26 Thread Maps.Huge.Info (Maps API Guru)
The source for day 17 and 18 are missing... Keep up the good work, only 8 days left! -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] Re: Strange ListView loading problems

2009-06-24 Thread Guru
Are you running any thread in the getView of the adapter? On Wed, Jun 24, 2009 at 2:04 PM, Peter pkana...@gmail.com wrote: I have a listview that is populated by a couple threads that pull in data from the network. Before that data comes in, there are some default values displayed. When the

[android-developers] Re: Use own map layer in Google Maps

2009-06-23 Thread Maps.Huge.Info (Maps API Guru)
You could call a Google API based map that uses a custom tile layer or other type of overlay as a webkit page directly from an Android application. The easiest way to do so would be to use a parameter based positioning method, another words, pass the coordinates of interest to the map via lat and

[android-developers] Re: Use own map layer in Google Maps

2009-06-23 Thread Maps.Huge.Info (Maps API Guru)
What JavaScript error do you see? I get none. This is a Maps v3 demo app, it should work well with any modern browser. The v3 API doesn't have a tile layer yet but it does have an overlay method. I wrote the one used in the demo. It handles whole image overlays so if you can create a single

[android-developers] Re: Any way to get current time or time zone from Address or long/lat pair?

2009-06-21 Thread Maps.Huge.Info (Maps API Guru)
I believe you can get time zone info using the coordinate from geonames.org. Check their site to be sure. -John Coryat --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: Geocoder backend service

2009-06-17 Thread Maps.Huge.Info (Maps API Guru)
This isn't really an Android question, however, if you are trying to create this service for the US, there are the Tiger shapefiles that contain a lot of what you're looking for. Search Google for Tiger Shapefiles 2008 for the details. They're available at no charge and have no copyright, so you

[android-developers] Re: In need of a developer...

2009-06-13 Thread Maps.Huge.Info (Maps API Guru)
You might want to consider figuring this out for yourself. It's not that difficult if you use the tutorial book ($35) written by Mark Murphy at http://commonsware.com/ - tutorial 17 did it for me... I wrote a similar program without much prior knowledge myself in about three days of study. Your

[android-developers] Re: Prob using efficient list adapter

2009-06-11 Thread Guru
multiple times and causing unwanted results.Is there any way to make sure that I call thread only once so that there are no unwanted results.Any ideas. Thanks very much Guru On Tue, Jun 9, 2009 at 11:45 AM, Guru gurudut...@gmail.com wrote: I have a list view with images and some text items

[android-developers] Re: 30 Days of Android Applications

2009-06-11 Thread Maps.Huge.Info (Maps API Guru)
It appears as if your 03day app source is missing... -John Coryat http://maps.huge.info http://www.usnaviguide.com http://www.zipmap.net --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Prob using efficient list adapter

2009-06-09 Thread Guru
I have a list view with images and some text items. The images are actually URLs and are locally cached if the url is already displayed once.The problem is the listview seems to change the image itself while rendering.I am very sure that the caching mechanism of the url works fine. Is there

[android-developers] Re: Publishing Paid Apps on Android Market Can Cost You Money

2009-06-08 Thread Maps.Huge.Info (Maps API Guru)
What you receive from the Google checkout is a boilerplate e-mail. It would probably be a good idea if they changed that to one specific to the Android marketplace. Either way, you have a choice. List your app with the marketplace and pay the fees or use another payment method and pay their

[android-developers] Re: Able to use T-Mobile G1 without contract for application testing?

2009-06-08 Thread Maps.Huge.Info (Maps API Guru)
There are a few of the unlocked HTC Magic phones available on eBay. These are the ones given out at the Google IO conference that will work without a SIM or on any capable network. Search eBay for Google IO and you'll find them. Nice phones, I wouldn't part with mine for anything. -John Coryat

[android-developers] Re: [ListView + Custom adapter] items can't be selected (or highlighted)

2009-06-02 Thread Guru
Probably u have returned false in areAllItemsEnabled in the adapter or returning false in isEnabled(position) On Tue, Jun 2, 2009 at 4:36 PM, Tom thomas.coz...@gmail.com wrote: Hi, I developped a ListView with a custom adapter (which extends ArrayAdapter). The problem is that i can't

[android-developers] Question on performance of layout inflater

2009-05-14 Thread Guru
I have question on what is the best approch to take.I have a header view in all my screens of the app. So is it best to have the setContent of the header view and then adding the views by inflating them in the sub-class activity as below Base extends Activity{ private Linearlayout mHeader;

[android-developers] file that is wriiten on an SDCard not visible

2008-10-16 Thread guru
I needed to download a file and store it in my sdcard.I first save it by writing in the output stream(by using openFileOutput) in the application package.From here I copy it to my SDCard and its written on my SDCard.But when i see my SDCard in the file in the DDMS mode i am able to see that

[android-developers] How to change the ringtone of the phone

2008-10-15 Thread guru
hello, I need to know whether there is any way the ringtone of the phone can be changed programatically.If yes,please could any one help me on this. Thanks Guru --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: Where does the emulator look for the SD Card Image File ?

2008-10-10 Thread guru
' to '\sdcard': Read-only file system --- When i see in the emulator,I dont see the file i have pushed.Thanks for your help. Thanks Guru On Sep 24, 2:50 pm

[android-developers] Re: Where does the emulator look for the SD Card Image File ?

2008-10-10 Thread guru
help Thanks Guru On Sep 24, 2:50 pm, Sudha [EMAIL PROTECTED] wrote: in addition to the above mail I tried to pull out the default image coming the camera folder( apperas in the pictures in the emulator) and tried to push teh same back to /sdcar/dcim/camera. now also teh image appreas liek

<    2   3   4   5   6   7