[android-developers] Native Development Kit build for ZeroMQ Java binding rejected by Dalvik

2011-11-03 Thread Don Park
):at java.lang.Runtime.loadLibrary(Runtime.java:461) What should I look into next? I'm at a loss as to what is causing the link failure. Thanks, Don Park -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers

[android-developers] SimpleDateFormat timezone problem with 2.1

2010-05-10 Thread Don Park
(reposted from http://pastie.org/954797) I'm looking to convert a unix epoch time to Iso8601. I made the following method which has worked on my G1 phone for a long time: public static String DateTimeIso8601(long offset) { DateFormat datePattern = new SimpleDateFormat (-

[android-developers] service dies without calling onDestroy()

2009-12-15 Thread Don Park
A service is setup by an activity with startService(service_intent). This service is meant to run 24 hours a day. After some amount of time, 5 or 6 hours sometimes but its not predictable, the service is killed. The service has an onDestroy: public void onDestroy() {

[android-developers] Re: service dies without calling onDestroy()

2009-12-15 Thread Don Park
. On Tue, Dec 15, 2009 at 11:15 AM, Don Park don.p...@gmail.com wrote: A service is setup by an activity with startService(service_intent). This service is meant to run 24 hours a day. After some amount of time, 5 or 6 hours sometimes but its not predictable, the service is killed. The service

[android-developers] Re: service dies without calling onDestroy()

2009-12-15 Thread Don Park
I forgot to add that the service is running on a T-Mobile G1 phone (Android 1.6). It pushes periodic GPS fixes to a web service. (Google Latitude does not fill the requirements in this case :) Don On Dec 15, 12:05 pm, Don Park don.p...@gmail.com wrote: I understand that a service can be bumped

[android-developers] new sdk requires versionCode bump to install?

2009-12-15 Thread Don Park
My old development process allowed me to make any change in the java code and use eclipse's Run button to install the updated package to the emulator. Now I get [2009-12-15 11:51:55 - SwipFull]Application already deployed. No need to reinstall. even though the code has changed. I realize the

[android-developers] second resources.getDrawable() fails

2009-03-02 Thread Don Park
Im using an ItemizedOverlay with a MapActivity. I want to implement two colored markers. (MapActivity's onCreate:) Resources res = getResources(); redMarker = res.getDrawable(R.drawable.red_dot_12x20); greenMarker = res.getDrawable(R.drawable.green_dot_12x20); // android bug? When the

[android-developers] GPS reading jumps a thousand miles or more

2008-12-17 Thread Don Park
my android app that is a location listener gets fairly good data but once in a while the location jumps by a thousand miles or more and stays there for numerous updates with no corresponding major increase in the (in)accuracy reading. for example you can see that at 3:07 and 3:09 and 3:10 i was

[android-developers] Re: bindService and call of onServiceConnected

2008-11-09 Thread Don Park
On Nov 8, 1:29 pm, Christoph [EMAIL PROTECTED] wrote: After onResume(), when the Activity is already displayed, onServiceConnection() gets eventually called. But I cannot get any information from the service before then, as described above in onResume(). Right. No point in even trying to run

[android-developers] best way for a service to send a notice to an activity?

2008-11-08 Thread Don Park
Activity A is able to bind to service S and use the AIDL to make calls from A to S. Whats the best way for S to send a notice to A? It seems there are three possible approaches: 1. AIDL for an activity (im not sure if thats possible), then S will bind to A (when A is active). 2. send an