That looks like it fixed the issue. Thanks a lot!
On Tuesday, April 23, 2013 10:16:15 AM UTC-4, Kristopher Micinski wrote:
this...
http://developer.android.com/guide/components/services.html#Foreground
Kris
On Tue, Apr 23, 2013 at 10:05 AM, paladin quot...@gmail.com javascript:
wrote
this really would be to set an alarm which fires every 30 seconds,
when you receive the alarm take a partial wakelock and fire a service to
perform the ping, this service should also take and release a wakelock
whilst performing the ping.
On Monday, 22 April 2013 22:00:32 UTC+1, paladin wrote:
I
:
An AlarmManager will wake the device up, but isn't typically used for
30 second granularity. Still, perhaps a solution to try.
Kris
On Tue, Apr 23, 2013 at 4:51 AM, paladin quot...@gmail.comjavascript:
wrote:
It's actually sending the location of the phone every 30 seconds
Then no, I'll have to try that and see if that fixes things.
On Tuesday, April 23, 2013 10:16:15 AM UTC-4, Kristopher Micinski wrote:
this...
http://developer.android.com/guide/components/services.html#Foreground
Kris
On Tue, Apr 23, 2013 at 10:05 AM, paladin quot...@gmail.com
I have an app that is supposed to send a ping to a server every 30 seconds.
When the app goes to sleep, it's still supposed to do this, but I've been
testing and it seems to stop sending any updates after 1 hour,
consistently. Is this a deep sleep? I have seen no documentation on this.
Has
PowerManager.PARTIAL_WAKE_LOCK
On Monday, April 22, 2013 5:38:06 PM UTC-4, RichardC wrote:
Are you holding any sort of Wake Lock? If so which one?
On Monday, April 22, 2013 10:00:32 PM UTC+1, paladin wrote:
I have an app that is supposed to send a ping to a server every 30
seconds. When
Our users are aware of this.
On Monday, April 22, 2013 5:39:28 PM UTC-4, Kristopher Micinski wrote:
You, of course, that this is going to completely kill your user's
battery, right?
Kris
On Mon, Apr 22, 2013 at 5:00 PM, paladin quot...@gmail.com javascript:
wrote:
I have an app
is given up,
and then you receive no more updates...?
Kris
On Mon, Apr 22, 2013 at 5:51 PM, paladin quot...@gmail.com javascript:
wrote:
PowerManager.PARTIAL_WAKE_LOCK
On Monday, April 22, 2013 5:38:06 PM UTC-4, RichardC wrote:
Are you holding any sort of Wake Lock? If so
. But the reasons would be simply
enough that other apps come into the foreground and do some processing
that have higher priority (e.g., google talk, etc...).
Kris
On Mon, Apr 22, 2013 at 6:20 PM, paladin quot...@gmail.com javascript:
wrote:
I don't think so. Why would the OS kill the app after 1
Not via an explicit https connection, but using a WebView, can I make it do
certificate pinning?
--
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
Code where I set the size:
public void surfaceChanged(SurfaceHolder holder, int format, int w, int
h) {
Camera.Parameters parameters = camera.getParameters();
ListSize sizes = parameters.getSupportedPictureSizes();
int width = 0, height = 0;
if(sizes == null)
I'm trying to fix a bug some customers are having only on Droid RAZRs, and
I don't happen to have access to one. We're trying to take pictures as
close to the size 1600x1200 as we can, to optimize the size/quality of the
pic. However, whenever I setPictureSize on a RAZR (using available picture
Notably, if a new version of an application is installed, replacing
the old version, is a new value for myUid created for it, or is it the
same as the previous version?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group,
In the marketplace listings, like this one:
https://market.android.com/details?id=com.infonow.bofa
They use a 124x124 size icon to display. Where exactly does that icon
go? Is it part of the .apk file?
--
You received this message because you are subscribed to the Google
Groups Android
I got a WebView to correctly get a person's current location from a
website, but when I go to get directions from the user's current
location to another specific place, the B field is correctly filled
in, but in the full browser, the A field has My Location, whereas
in the WebView, it remains
Have a camera activity that works for pretty much any other phone, in
portrait mode, using this code:
Camera.Parameters parameters = camera.getParameters();
parameters.set(orientation, portrait);
parameters.set(rotation, 90);
camera.setParameters(parameters);
Is it possible to retrieve the Linux user ID that an app is running
under (and possibly group ID)?
--
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
Do I need to set up any permission to make that call?
android.os.Process.myUID(), correct?
On Jan 28, 3:57 pm, Kostya Vasilyev kmans...@gmail.com wrote:
Process.myUID():
http://developer.android.com/reference/android/os/Process.html
28.01.2011 23:46, paladin пишет:
Is it possible
Is there some way to be able to save something to the file system that
is only retrievable by the app that saved it? And I don't mean by
hardcoding a password or key within the code, because that is very
easily decompiled. Can I use the keystore that the app was signed with
somehow?
--
You
27, 5:57 pm, TomTasche tomtas...@gmail.com wrote:
What about Context.getCacheDir()? Maybe that's what you are looking
for...
Good luck
Tom
On Jan 27, 11:12 pm, paladin quoti...@gmail.com wrote:
Is there some way to be able to save something to the file system that
is only retrievable
?
On Jan 27, 9:11 pm, Dianne Hackborn hack...@android.com wrote:
On Thu, Jan 27, 2011 at 5:37 PM, paladin quoti...@gmail.com wrote:
No, another app can go to that directory and read anything in there,
if it hasn't been deleted.
No, it can't.
Maybe your first step should be to read some
Also, do you know if it is possible to retrieve the value of the
application's user ID?
On Jan 28, 2:33 am, paladin quoti...@gmail.com wrote:
Thank you. It says, Any data stored by an application will be
assigned that application's user ID, and not normally accessible to
other packages. Which
your file if you use one of the other techniques
mentioned.
Have a nice day
Tom
On 28 Jan., 02:37, paladin quoti...@gmail.com wrote:
No, another app can go to that directory and read anything in there,
if it hasn't been deleted. I need something like Unix permissions,
where only
Has anyone any experience with Klocwork code analysis for their
Android apps? Is it any good? Or is there some other form of analysis
that anyone has done?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
In an HTML page, I have at one place, a name=updates/a, but in a
WebView, when I click on a href=#updatesupdates/a, it doesn't
jump to the correct place. It works fine if I load that page in a
browser. It does nothing but mark that link as visited in the WebView.
Is there some setting that I'm not
OK, found the answer. The WebView was in a ScrollView, when that is
unnecessary, and that was messing up the navigation.
On Sep 30, 3:20 pm, paladin quoti...@gmail.com wrote:
In an HTML page, I have at one place, a name=updates/a, but in a
WebView, when I click on a href=#updatesupdates
I'm thinking that BitmapFactory.decode... only handles JPEG (and maybe
PNG) images? Is there some way to decode a TIFF file?
--
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 one activity call a camera view activity, and in the
onActivityResult, I have it start that activity again with different
parameters. Android doesn't seem to like that, and gives me an error
that the camera is not available if I start it right after it returns.
I tried just waiting a few
How do I do this?
On Sep 7, 2:30 pm, Frank Weiss fewe...@gmail.com wrote:
You are probably supposing that the startActivityForResult method is
synchronous, that is, when it returns the camera activity has finished. Not!
There is an intent result callback you should focus on, no pun intended.
I have a web service running on my local machine, and I used IP
address 10.0.2.2 to connect from the emulator to that web service, but
when I try that on a Nexus One connected via USB, I get a timeout. Is
there a way to access my machine from a real phone like I can from an
emulator?
--
You
...@commonsware.com wrote:
On Thu, Sep 2, 2010 at 3:39 PM, paladin quoti...@gmail.com wrote:
I have a web service running on my local machine, and I used IP
address 10.0.2.2 to connect from the emulator to that web service, but
when I try that on a Nexus One connected via USB, I get a timeout. Is
there a way
Yeah, I'm using Visual Studio's Cassini, and it doesn't accept
connections except on localhost.
On Sep 2, 3:47 pm, Mark Murphy mmur...@commonsware.com wrote:
On Thu, Sep 2, 2010 at 3:45 PM, paladin quoti...@gmail.com wrote:
I'm behind a router, and the real IP address starts with 192
I am trying to make an app that can work with or without the Google
Maps API present. Eclipse gives me an error when trying to use
android:option as an attribute (I have the latest SDK, I think,
revision 6). Also, when I set the build target without the Google Maps
library, I get an error from my
On Aug 12, 3:17 pm, TreKing treking...@gmail.com wrote:
On Thu, Aug 12, 2010 at 1:22 PM, paladin quoti...@gmail.com wrote:
Eclipse gives me an error when trying to use android:option as an attribute
And the error is ... ?
error: No resource identifier found for attribute 'option' in package
On Aug 12, 3:21 pm, TreKing treking...@gmail.com wrote:
On Thu, Aug 12, 2010 at 1:22 PM, paladin quoti...@gmail.com wrote:
I am trying to make an app that can work with or without the Google Maps
API present.
Also, this
page:http://developer.android.com/guide/topics/manifest/uses-library
On Aug 12, 4:02 pm, Mark Murphy mmur...@commonsware.com wrote:
Try android:required=false. That's undocumented, but it's in the source
code.
error: No resource identifier found for attribute 'required' in
package 'android'
--
You received this message because you are subscribed to the Google
On Aug 12, 4:30 pm, paladin quoti...@gmail.com wrote:
On Aug 12, 4:02 pm, Mark Murphy mmur...@commonsware.com wrote: Try
android:required=false. That's undocumented, but it's in the source code.
error: No resource identifier found for attribute 'required' in
package 'android'
Wait, it works
I have ads that display on the top and bottom of the screen, and I'd
like them both to slide off the screen smoothly, instead of just
disappear. Is there some way to do this? They are both WebViews, if
that makes any difference.
--
You received this message because you are subscribed to the
My app uses location services, and has the manifest entry:
uses-library android:name=com.google.android.maps /
Does anyone know if these libraries are guaranteed to be included on
every Android phone? If not, how would I know if they are not there?
--
You received this message because you are
On Jul 13, 4:46 pm, TreKing treking...@gmail.com wrote:
On Tue, Jul 13, 2010 at 2:34 PM, paladin quoti...@gmail.com wrote:
You don't, but your app probably won't be able to be installed on the device
if you require the library. For example, creating an AVD without the Google
Maps add
How can I change the text color of a spinner? Not the list when you
click it, but the spinner itself? I changed the background to a black
image, and I need to make the text white.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to
Where can I see what typeface, size, color, etc. are used for
Android's pre-defined text styles? Like the default text style or
textAppearanceMedium, for example?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send
Thanks!
On Jun 30, 2:02 pm, Kostya Vasilyev kmans...@gmail.com wrote:
In
your sdk root\platforms\android-platform id\data\res\values
styles.xml
-- Kostya
30.06.2010 21:45, paladin пишет:
Where can I see what typeface, size, color, etc. are used for
Android's pre-defined text styles
I am using the following code to flip each pixel in a bitmap to black
or white:
for(int x = 0; x newBitmap.getWidth(); x++) {
for(int y = 0; y newBitmap.getHeight(); y++) {
int point = newBitmap.getPixel(x, y);
if(point
/documents/pdf/Final%20Report.pdf
I don't think the comparison you are doing if (point Color.GRAY) is
valid since Bitmap pixels are ARGB data. I would expect to see code
bit shifting out the R G B components.
-Kevin
On Apr 1, 4:14 pm, paladin quoti...@gmail.com wrote:
I am using the following
I found the effect that I'm trying to go for here:
http://rainmeter.net/forum/viewtopic.php?f=15t=3119p=21615
It's the B/W effect (not the grayscale), halfway down the page. But I
have been unsuccessful in creating the correct Android ColorMatrix
values to achieve this effect. Can anyone help me
Is there a single place/call where I could increase all font sizes in
the app all at once, programmatically?
--
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
I saw another thread related to this question, but did not find the
answer that was useful to me. Is it possible when the user presses the
Home button to be able to finish() my activity somewhere? I saw that
people were having problems with using onStop(). Has anyone found a
resolution to see if
Is there a way, some API one can call to detect if the user has set a
screen unlock pattern or not?
--
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
I have a list view with a number of text views per row. Is it possible
to rotate the text in some of these text views, and only in the header
of the list view?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email
50 matches
Mail list logo