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

2009-06-29 Thread Delta Foxtrot
2009/6/29 guinyard guinyardli...@yahoo.com I understand the notion of overlays and all, but what if I want to display thousands of points on a map? The map becomes unresponsive after a few hundred OverlayItems are added. What's the best approach for doing this? If they are passive

[android-developers] Re: Android Dev Phone 1 in New Zealand

2009-06-29 Thread Delta Foxtrot
2009/6/28 Ram Vijapurapu r...@fieldlinx.com Hi Guys, I am wondering how I can get the Android Dev Phone 1 in New Zealand? I tried purchasing from the market place, but it doesn't have New Zealand listed. Could you please help. Ask a friend in the US, or any other country for that

[android-developers] How to draw tracks on gmaps in apps

2009-06-27 Thread Delta Foxtrot
I've been struggling to efficently draw tracks over the top of maps embedded in my app. I've been redrawing the track with the ondraw method however as the number of points the app and eventually the phone crawls to a halt and I get a bunch of force close/wait messages as a result. I've been

[android-developers] Re: httpclient multipart form upload

2009-06-26 Thread Delta Foxtrot
2009/6/26 gard gard.honnin...@gmail.com I got my jars from: http://hc.apache.org/downloads.cgi The dependencies are included in the Binary with dependencies download. regards, gard On 10 Jun, 10:08, Urs Grob grob@gmail.com wrote: Yes, I also couldn't find the jars for httpmime.

[android-developers] Re: G1 Firmware in ADP1?

2009-06-26 Thread Delta Foxtrot
2009/6/27 Disconnect dc.disconn...@gmail.com No adp1 firmware does any auto-update. Thats why the images are available for dl at htc.com. (Its embarrassing to change a development platform unexpectedly. Or wipe out system/framework changes..) I know personally that the xmas build update

[android-developers] Re: httpclient multipart form upload

2009-06-26 Thread Delta Foxtrot
As I said, multipart uploads aren't hard to do your own function for. private void UploadFile(String FileName) { try { String lineEnd = \r\n; String twoHyphens = --; String boundary = *MyMultiPartBoundary; File sdcard =

[android-developers] Re: Keeping an application running in the background

2009-06-26 Thread Delta Foxtrot
2009/6/27 Dennis dmun...@gmail.com Yet another question -- we have an application that connects to a device and therefore needs to keep running in the background even when there are no Activities active. What is the recommended way to indicate that our application is still active and for it

[android-developers] Re: How to add Google Maps library, Maps to the Android 1.5 version device?

2009-06-26 Thread Delta Foxtrot
2009/6/26 Elvis elvisdai...@gmail.com Hi all I've pushed 3 files to the required path, but Maps is still invisible. Anyone has idea what's going on with this? ps. I'm using android sdk 1.5r2 You do realise you need 2 maps API keys? One for the key you sign and upload apps to Android

[android-developers] Re: G1 Firmware in ADP1?

2009-06-26 Thread Delta Foxtrot
2009/6/27 Disconnect dc.disconn...@gmail.com Thats not an adp build. (You should read the actual release announcements: http://andblogs.net/2009/02/new-adp1-update-official-with-google-voice-and-more/ note the updates, they are important) That's either a rebuild of the holiday image put

[android-developers] Re: Is a five-way navigation key a mandatory requirement?

2009-06-25 Thread Delta Foxtrot
2009/6/25 JC jameschen...@gmail.com Actually I meant if there is no five-navigation key or trackball, only reserve 5 app keys, any potential risk or problem may have? thank you for answering. Are you talking about making everything touch screen by any chance? If so you'd need to do a lot of

[android-developers] Re: Accelerometer

2009-06-25 Thread Delta Foxtrot
2009/6/26 kalyan simhan kalyansim...@gmail.com there seems to be some problem with my accelerometer... the values of x,y,z fluctuate even when it is stationary.. kept in one place... why is this.. how can i overcome it.. what is the unit of the value im getting.. im guessing 1 unit = 1g

[android-developers] Re: G1 Firmware in ADP1?

2009-06-24 Thread Delta Foxtrot
2009/6/24 FrantiĊĦek Fuka f...@fuxoft.cz Hello, my friend has got himself Android Developer Phone 1. But he is not developer, he just wants to use it as a normal phone and he doesn't want any hassle with firmware updating (and he's not interested in root access etc.). If I flash the

[android-developers] Re: G1 Firmware in ADP1?

2009-06-24 Thread Delta Foxtrot
2009/6/24 Frantisek Fuka f...@fuxoft.cz Really? But he still has firmware 1.0 and no offer to upgrade. Sorry, the 1.1 firmware included the auto-update feature, if you upgrade to 1.1 or 1.5 it will upgrade automatically in future. --~--~-~--~~~---~--~~ You

[android-developers] Re: G1 Firmware in ADP1?

2009-06-24 Thread Delta Foxtrot
2009/6/24 Frantisek Fuka f...@fuxoft.cz OK. Since that means I'll have to do manual upgrade after all, there is a question of differences between ADP1, EU and US firmware. I heard Latitude is not present in all of them, as well as ICQ client... Is there some sort of comparison chart

[android-developers] Re: G1 Firmware in ADP1?

2009-06-24 Thread Delta Foxtrot
There is a whole bunch of things you can do with root access on the phone you can do otherwise, like tethering over wifi and blocking ads by altering the hosts file or using AdFree --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: Is a five-way navigation key a mandatory requirement?

2009-06-24 Thread Delta Foxtrot
2009/6/25 JC jameschen...@gmail.com Dear sir, Any potential risk or problem may have if I remove five-navigation key? My understanding is some games might need five-navigation key, what else applications may be affected? thanks. The G1/HTC Dream and other HTC phones use a trackball that

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

2009-06-23 Thread Delta Foxtrot
Look at the osmdroid code, they use tiles from OpenStreetMap.org --~--~-~--~~~---~--~~ You received this message 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: Calibration with the environment may improve the readings ?!

2009-06-23 Thread Delta Foxtrot
2009/6/23 Gryyphyn gryyp...@gmail.com I haven't looked through the source for the compass but there has to be a set() method that you can apply a positive or negative value to, possibly on tha app level. The compass is accurate enough so all you would really have to do is assign a set()

[android-developers] Re: Orientation Sensor problems.

2009-06-22 Thread Delta Foxtrot
2009/6/22 JimmyHoffa photos.d...@googlemail.com When I run the app', my heading values are always being reported as being between 250 - 270 and don't alter from that irrelevant of which way I'm pointing the device. Check the sensor accuracy, if it's off you need to do figure 8's in the air

[android-developers] Re: Permissions for Android Dev Phone 1

2009-06-21 Thread Delta Foxtrot
2009/6/20 Andrew andrewr...@gmail.com As far as I know the ADP and the retail G1/G2/... behave the same way if there is anything in the manifest which is a security risk or else the application will just install without any questions. Even if an app doesn't ask for any permissions a dialog

[android-developers] Re: Application (.apk) Size

2009-06-21 Thread Delta Foxtrot
2009/6/20 Streets Of Boston flyingdutc...@gmail.com It wil be smaller than the heap size limit per apps Not true. :=) I could imagine creating an app of 50MBytes. 2MBytes worth of code and 48MBytes worth of resources (images/assets/etc.). And if these resources are not loaded all at once, it

[android-developers] Re: new dev device

2009-06-21 Thread Delta Foxtrot
2009/6/20 Andrei gml...@gmail.com When can we expect new unlocked dev device for developers? Anybody? May be Magic The Roger's magic can be rooted and unlocked etc :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: Is running applications from shell disabled?

2009-06-21 Thread Delta Foxtrot
2009/6/20 Lewis Z. lzh...@gmail.com Yes, I did. Make sure you aren't trying to run it on a partition that is flagged not to execute. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: lock data usage to email

2009-06-21 Thread Delta Foxtrot
2009/6/20 canistel canis...@gmail.com Is it possible to lock down the phone so that the only data usage is email? I don't even mind if the email has to be manually send / received; due to the small amount of data I have on my plan, I just don't ever want to use edge / 3g for anything other

[android-developers] Re: A simple application which sends location to server.

2009-06-21 Thread Delta Foxtrot
2009/6/21 c6bro ch...@upload.co.uk Website URL field: e.g http://www..co.uk/logtracking.php Frequency field:e.g 6 (Seconds) Start/Stop button Any particular reason for 6s intervals? The app will be able to be closed and run in the background until you click the stop button. You

[android-developers] Re: How to develop a tiny background application with no UI

2009-06-21 Thread Delta Foxtrot
2009/6/21 GAYET Thierry thierry_ga...@yahoo.fr Hi, i am asking about the development of an Android application that must work in backgroup (so no user interface). Usually my application extend to the activity class that manage all the application process. You don't want to use Activity,

[android-developers] Re: Is Android complaint with VCARD 2.1 specification ?

2009-06-18 Thread Delta Foxtrot
2009/6/18 Kasmoori Bindu bindukasmo...@gmail.com Does anyone has info whether Android is complaint with VCARD 2.1 specification ? I could not see, fields like DOB (Date Of Birth , location etc.,) in Contacts Application as well Contact Provider. The DOB would get stored in the calendar as

[android-developers] Re: Is running applications from shell disabled?

2009-06-18 Thread Delta Foxtrot
2009/6/19 Lewis Z. lzh...@gmail.com I wrote a simple hello c program. I pushed the program to either Android Emulator or a device. When I run it, however, I got ./hello: not found message. I ls-ed it and it's right there. Is this purposely disabled? Did you chmod 755 hello ?

[android-developers] Re: android market merchant accounts not available in europe

2009-06-18 Thread Delta Foxtrot
2009/6/19 zero_star gkas...@gmail.com Merchant accounts is limited to only a handful of countries at the moment. That means that no one else in the world can sell their apps until Google decides to push things forward. I made the mistake to upload the free Lite version of our app on the

[android-developers] Re: How to get current time?

2009-06-17 Thread Delta Foxtrot
2009/6/18 Mark Murphy mmur...@commonsware.com Hrm. I assume the NTP API isn't somewhere that Java code can access, which means we're back to using an existing Java NTP/SNTP client library if we want an accurate time regardless of whether we are on a network that is NITZ capable. Why install

[android-developers] Re: Alarms (AlarmManager) cleared on reboot :/

2009-06-17 Thread Delta Foxtrot
2009/6/18 Dianne Hackborn hack...@android.com Yes, you need to use a boot receiver. The reason for this is that any arbitrary number of things could have changed since the last run (time, apps installed, etc) so it is safest to have apps re-evaluate and request their alarms after a fresh

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

2009-06-16 Thread Delta Foxtrot
2009/6/16 Edward Falk ed.f...@gmail.com IMHO, you do not want a dev phone if you can avoid it. They let you install your own os on the phone, but most developers don't need to install their own os. Dev phones can't download applications that are protected by drm. You can still have root

[android-developers] Re: Browser Porting for Android

2009-06-16 Thread Delta Foxtrot
2009/6/16 Chitra chitra...@yahoo.co.in Hi Fred, Thank you very much for your reply. Could you please provide information on this. how to start with? Any information would be of great help to me. The current browser on Android is opensource as is the under lying rendering engine, what

[android-developers] Re: Android 1.5 SDK, Release 2 -- TelephonyManager

2009-06-16 Thread Delta Foxtrot
2009/6/17 Ne0 liamjamesalf...@googlemail.com I have yet to test my code on an actual phone, though there is one thing you may be clear up for me, its been many years since i have used java, you are using ArrayList, though the documentation describes getNeighboringCellInfo() as returning a

[android-developers] Re: Android 1.5 SDK, Release 2 -- TelephonyManager

2009-06-16 Thread Delta Foxtrot
Oh and I used this code, rather than the once off code to get it to show an update once a second... public class TelephonyTest extends Activity { private static String TAG = TelephonyTest; private static TelephonyManager mTelephonyManager; private Thread t = null; @Override

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

2009-06-16 Thread Delta Foxtrot
2009/6/16 dindin dinesh.nadara...@gmail.com I don't have T-Mobile but ATT. I want to get an unlocked Android Phone (thinking of the new Samsung i7500 or the G2). Can I use that as a development device to test my applications? Will it even work on another GSM carrier? Running apps on

[android-developers] Re: PORTING BROWSER ON ANDROID

2009-06-16 Thread Delta Foxtrot
2009/6/16 Vincent runfut...@gmail.com What about write a native-c web browser? rending on framebuffer ..? I just say say.. :) Almost no one would be able to use it except those that have root? --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Calibration with the environment may improve the readings ?!

2009-06-16 Thread Delta Foxtrot
2009/6/17 flegare fleg...@gmail.com I auto answer myself and the poor soul who fall on this post, so far the only way to calibrate is by making big 8-like gesture with the phone. Try it it worked for me. Yes, the digital compass in the G1 is self calibrating, but you have to make figure 8's

[android-developers] Re: Determine first run

2009-06-16 Thread Delta Foxtrot
2009/6/17 aby orz0...@gmail.com Hi, How to distinguish Android is first run or not after booting device? Set a simple preference variable, if it's not set it hasn't run... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: Application Resources on SDCARD on install!! MUST HAVE, GOOGLE DO SOMETHING!!

2009-06-15 Thread Delta Foxtrot
2009/6/15 Tjerk Wolterink tje...@gmail.com Apps on the sdcard is not the solution. What i want is only the resources of the app on the sdcard. I added a comment to the issue: This is a no-go solution. If apps are installed on the sdcard they can be copied and this opens the door for

[android-developers] Re: Execute exe in android

2009-06-15 Thread Delta Foxtrot
2009/6/15 Mark Murphy mmur...@commonsware.com .EXE files are Windows applications, and as such generally only run in Windows. While there are Windows emulators (e.g., WINE), I am not aware of any attempts to port WINE to run on Android, and I suspect that would be...difficult. Difficult and

[android-developers] Re: Change sdcard permission

2009-06-13 Thread Delta Foxtrot
2009/6/13 N V nithi...@gmail.com Can any help me that, How can i change the file permission that is present in the SDCARD... Normally when i insert a file to SDCARD, file has read and write permission, I want to change the permission that is read write and execute.. Is it

[android-developers] Re: How to get root access of my android phone

2009-06-13 Thread Delta Foxtrot
2009/6/13 Joe Petruchi petruchi.dr...@gmail.com Is there any way to get the root permission in G2 ? If you are talking about the HTC Magic, no idea, but it isn't going to be labelled the G2 when T-Mobile starts selling it, try looking about on the XDA forum.

[android-developers] Re: Change sdcard permission

2009-06-13 Thread Delta Foxtrot
2009/6/13 Nithin Varamballi nithi...@gmail.com Ya i agree with your point that sdcards are formatted to be fat32 and fat32 doesn't support linux permission system, Suppose if i give in my application like this /bin/sh /sdcard/myapplication, what will i get,weather i can change the permission

[android-developers] Duplicate processes triggered from ongoing notification

2009-06-12 Thread Delta Foxtrot
I added a notification for an ongoing process, however when this is clicked on it triggers a duplicate process and when you exit the duplicated process the original copy is re-run by the operating system. The app I'm working on doesn't use the main activity window, except to trigger one of 2

[android-developers] Re: Ability to quit/disable an app after trial period?

2009-06-12 Thread Delta Foxtrot
2009/6/12 Androman amirs...@gmail.com With System.exit() you can exit android app even if it is not recommended still it can be very useful. Method onRestore() is called allways when your activity is about to be shown and here you do something... Connect your app with your server where you

[android-developers] Re: How to get root access of my android phone

2009-06-12 Thread Delta Foxtrot
2009/6/13 Lucius Fox lucius.fo...@gmail.com Can you please tell me how can I get root access of my android phone? http://forum.xda-developers.com/showthread.php?t=442480 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google