This may be the wrong list but I'm not getting any response on the
Defect list...
I see the force quite dialog any time substantial changes are pushed
up to gmail from the device. I have reproduced this issue with the
Motorola Droid and Nexus One both running Android 2.1-update1. I first
saw it
Reworking the platform isn't an option...guess that leaves me with
some naming convention.
thanks,
mike
--
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
Ran into the below issue and wanted to see what solutions people
have...
In SDK 1.6 Activity did not have a method onBackPressed (), in 2.0 it
appeared.
Using the current docs I added an onBackPressed to a couple of our
classes.
We build against 1.6 (customer requirement) it seemed a bit odd that
Some thoughts,
Is your service delcared remote in the manifest? If so you do know
how to
debug into both processes simultaneously?
The order of initialization of class variables can get complicated,
try moving
everything into explicit new's.
mike
--
You received this message because you
?
mike collins
--
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
We've found that always retrying failed network requests 3 times
before giving up cures almost all these issues. It doesn't take any
meaningful amount of time if the network is really gone and smooths
out the minor glitching.
mike
--
You received this message because you are subscribed to
This is what I'm doing, seems to work on all the devices we've seen
Classandroid.os.Build buildClass =
android.os.Build.class;
android.os.Build build = new android.os.Build ();
String board = (String) buildClass.getField(BOARD).get
(build);
String
Arghhh. 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
Well, there is exactly one place where the code binds and exactly one
place where it unbinds. The binding is shared between the activities
activity 1 does a bind on create and unbind on destroy.
Breakpoints and logging indicate that exactly one bind is called and
no unbinds are called during the
I'm getting a ServiceConnectionLeaked message that I don't understand.
There are 3 activities and a remote service, all the activities use
the same
remote service. The main window, activity 1, starts up, auto-starts
the
service and binds to it. The user then starts activity 2 to do
something.
I'm having the opposite problem. Setting the background of a row in
my list
view it makes the row tall enough to hold the image completely.
I tried getting the background resource (a PNG) and setting the
gravity
to center and that didn't help.
tia,
mike
--
You received this message because
I have 1.1, 1.5 and 1.6 all peacefully coexisting on my dev boxes.
Follow the directions.
mike
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
I have removed all the code around putting up or taking down or
otherwise trying to
influence the soft keyboard. This is running on a stock G1 with 1.5
I have two activities reachable from one main activity. All three
activites have
a single AutoCompleteTextView. All 3 edit boxes have
Nope, built straight off for me, ran properly also.
mike
--~--~-~--~~~---~--~~
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
That does work, thanks.
Of course now I can't get it to go down when the activity finishes.
Apparently
because there is no equivalent of HIDE_FORCED. The only two HIDE's
options don't take down a FORCED show. But without a FORCED show
it doesn't show up unless the user asks for it.
This seems
The behavior I'm talking about is on a locked G1 with 1.5, I did not
expect the
emulator to be very useful.
The behavior on a myTouch (locked, 1.5) is really bizarre.
I'm beginning to think that I'm going to pull all the soft keyboard
code out
and let the user do the extra work.
mike
I have a dialog that requires the use to type something. I'd like to
force the soft keyboard to be visible when this window starts.
I've tried most everything that looks applicable and nothing works.
The API demos of SDK 1.5 have a set of windows that have this
When we did a major project for Android it took a while for it to sink
in that network unavailability is normal. You have to flip your
thinking
from a wired world.
My experience is that network availability on the Android phone is
well enough tracked that you can get the job done.
mike
Pulled down just the add-on for the MB200 (Cliq) emulator, I did not
pull
down or install MOTODEV as I have my Eclipse setup just s.
Came up fine, worked as documented. My app seems to function
properly, although there may be some minor issues.
mike
my service uses getBaseContext(), seems to work just fine. Don't
use it for
GPS but we do use it for many other things.
mike
On Sep 9, 6:57 am, John Smith deltafoxtrot...@gmail.com wrote:
It seems trivial to use GPS in a background service, but how can you
do the same with the
There was a discussion recently about getting the phone orientation
converted to earth-relative orientation, that might help.
Maybe just monitor phone relative acceleration for -x followed by +x
for a left
and +x followed by -x for a right shake?
On Aug 28, 12:41 pm, karthikr
I'm trying to get the acceleration values in the earth coordinate
system. E.g. instead of knowing the phone is accelerating
+Z in the phone's coordinate system I'd like to know if
the phone is accelerating upwards relative to the earth.
Seems like it's almost there since I can get the phone's
matrix by the acceleration vector and
also remapped
rotation matrix...
Any thoughts?
On Aug 21, 11:07 am, Mike Collins mike.d.coll...@gmail.com wrote:
Thanks, that seems to work, the orientation is now relative to the
earth. The documentation could use a little work...
mike
On Aug 20, 7
=
getAzimuth(-convert.radToDeg(values[0]));
pitch= convert.radToDeg(values[1]);
roll = -convert.radToDeg(values[2]);
}
}
On Aug 21, 2:39 am, Mike Collins mike.d.coll...@gmail.com wrote:
I have a sensor
Look at the PowerManager.WakeLock stuff. It works as advertised.
mike
On Aug 21, 10:54 am, Mark Murphy mmur...@commonsware.com wrote:
kaloer wrote:
Is it possible to prevent the menu lock while an application is
running? My application needs to be visible all the time it's running,
From my work with the sensors I think the rates are hints to the OS
about prioritization of work. Requesting the highest rate will
generally
get samples around 10-20ms rate, regardless of system load.
It does seem like under low load they all will deliver 10-20ms rates.
The sample rate does
I have a sensor event handler that gets fired and I have no problem
getting and processing acceleration readings. However this code
always fails.
if (event.sensor.getType() == Sensor.TYPE_ACCELEROMETER)
{
float[] geomagnetic = new float[3];
I'm assuming you are using Eclipse, Ganymede.
Go into the Run Debug Configuration and create a new Remote
Java Application configuration. Point it at your service project.
Make sure the Connection Port is 8700.
Start your app that will start the service. With both still running
go to DDMS and
Sort of a silly question, but how do you look at the Contacts
manifest?
Is there some way short of hunting through the source tree?
tia,
On Aug 4, 9:57 am, jats1234 jats1...@gmail.com wrote:
Using following code I was able to add email and phone number..
Intent addEmailToContactIntent =
Can you be a bit more explicit about what you mean by
making a bit 8-like gesture. I'm having no luck getting
the sensor to make much sense.
mike
On Jun 16, 3:31 pm, flegare fleg...@gmail.com wrote:
I auto answer myself and the poor soul who fall on this post, so far
the only way to
the subject :P
Here what Mr. 3Gs have to say about the 8
gestures:http://mcall.com.com/i/bto/20090622/compcal_270x404.jpg
By the way it really work...
On Tue, Jul 21, 2009 at 7:18 PM, Mike Collins mike.d.coll...@gmail.comwrote:
Can you be a bit more explicit about what you mean
I have been down this road with my app, you probably don't want
to do this.
It is much better to have the app that uses the service start the
service when it needs it and simply leaves it running.
mike
On Apr 9, 10:47 am, kijiten orma cutbl...@gmail.com wrote:
Translate English version :
I have a long lived service, it wakes up (via the AlarmManager) at
intervals
and connects to a web server. If the phone goes to sleep and one
of my polling intervals happens the phone wakes up enough to let me
attempt
to connect to the network but the ConnectionManager claims there is no
my dates come in looking like this 2004-08-04T19:09:02.768Z
and I parse them like this
SimpleDateFormat dateFormater = new SimpleDateFormat(-MM-
dd'T'HH:mm:ss'.000Z');
dateFormater.setTimeZone(TimeZone.getTimeZone(GMT));
Date d = dateFormater.parse(s);
Try creating a Date object and
If my understanding is correct, in general you can't because of
security.
Stuff under /data/data/package/... is protected from any code except
the
package itself.
mike
On Mar 30, 4:16 pm, Komal komal...@gmail.com wrote:
Hello
please help me!!!
Thank you
On Mar 30, 1:29 pm, Komal
I know how to use adb's logcat to capture the log information.
I know how to use logcat inside an adb shell to display the log
information.
Is it possible to do this from my application on the phone?
I'm trying to get a bit more context than just the call stack
captured
when/if my app crashes.
, Mar 6, 2009 at 5:48 PM, Mike Collins mike.d.coll...@gmail.com wrote:
I am running the Eclipse ADT plugin.
Wandering into even blacker magic, two points come up,
If the process I want to debug was started because it's a remote
service
of the application I did start via Eclipse how do I
with a manual remote connection.
In the debug dialog (Run Open Debug Dialog) you should have an
Android Application launch mode that will do everything for you
(push the app, launch it, connect a debugger to it)
Xav
On Mon, Mar 9, 2009 at 9:59 AM, Mike Collins mike.d.coll...@gmail.com wrote
Eclipse can get out of synch with itself. Usually I can get it
back together by doing Projects | Clean and forcing everything
to rebuild. Also right click on each project and do a Refresh.
There is a setting Windows | Preferences | General | Workspace
that does refresh and build automatically.
to attach a debugger to it.
On Thu, Mar 5, 2009 at 5:16 PM, Mike Collins mike.d.coll...@gmail.comwrote:
I'm perfectly happy to put everything in one APK if I can make it
work.
Pardon my ignorance, when you say directly attach adb to a process
and
debug it does that connect somehow
I have a process running on the emulator but can't figure out how to
get Eclipse to
attach to it so I can debug it.
DDMS isn't doing anything useful, it does the ps and shows my
process but it is
not DDMS aware, has no description and no VM version. Threads don't
update,
heap doesn't show
We are using V1.1R1, does the V1.0R2 work better?
That seems to do a bit better, the Eclipse debugger now shows a few
of the threads in the process. I still can't seem to set any
breakpoints
in the process and DDMS is still showing me nothing interesting.
That's a pain,
mike
On Mar 6,
there...
mike
On Mar 6, 11:13 am, Mike Collins mike.d.coll...@gmail.com wrote:
We are using V1.1R1, does the V1.0R2 work better?
That seems to do a bit better, the Eclipse debugger now shows a few
of the threads in the process. I still can't seem to set any
breakpoints
in the process and DDMS
to connect to them)
(Regular Java debuggers actually connect to DDMS which then forwards
the packets to the application back and forth.)
Xav
On Fri, Mar 6, 2009 at 5:18 PM, Mike Collins mike.d.coll...@gmail.com wrote:
There seems to be some magical connection between Eclipse and DDMS,
after
The Android Market appears to only support applications that are a
single APK.
I've asked over there if this is not the case and Google says making
it a single
APK is the answer.
We have an application that has a long-lived background service and a
user interface
application, in two distinct
for the service in your manifest.
On Thu, Mar 5, 2009 at 3:01 PM, Mike Collins mike.d.coll...@gmail.com
wrote:
The Android Market appears to only support applications that are a
single APK.
I've asked over there if this is not the case and Google says making
it a single
APK
You either have to uninstall the app
adb uninstall
or install over with
adb install -r
See the adb help for details.
On Mar 3, 9:04 am, Jeff jlb...@gmail.com wrote:
I and my customer have had the same problem uploading new versions of
my App.
tried and failed:
Load from
Try something like this, I used google to find other encodings...
public static String SGetCurrencyDisplayString(FormatStyle iFormat,
String iCurrency)
{
if (Constants.GREAT_BRITIAN_POUND_CURRENCY.equals(iCurrency))
{
return \u00A3;
}
else if
I can get the zoom controls to appear in a WebView but they
are stuck in one location on the web page. Zooming in too
far and the controls move off-screen.
Tried this
View zc = m_WebView.getZoomControls();
RelativeLayout.LayoutParams p = new RelativeLayout.LayoutParams
The signed, release build .apk works on the emulator just fine.
On a 32-bit Windows XP/Pro SP3 box I can get ADB to see
the physical phone, e.g. adb devices lists the device. But
every attempt to install (adb install .apk) blue-screens
the box.
Any ideas? tia,
mike collins
via USB
adb install xxx.apk
blue screen
Any ideas? TIA,
mike collins
--~--~-~--~~~---~--~~
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
This appears to be due to the USB drivers only working with USB 2
devices,
and failing with USB 1 devices.
On a Win32 box with both USB ports, using the USB 2 works just fine,
using the USB 1 port blue screens every time.
mike
--~--~-~--~~~---~--~~
You
52 matches
Mail list logo