AndroidStudio I just got errors, and didn't look at it any further. Is
there an example anywhere that you know of?
On Monday, 6 June 2016 06:53:28 UTC+1, TreKing wrote:
>
>
> On Sat, Jun 4, 2016 at 5:50 AM, Neilz <neilh...@gmail.com >
> wrote:
>
>> Hi. I need a backgrou
Hi. I need a background task to run every minute. I have no need for a user
interface, although I understand that I must still declare a launcher
activity, which I can just finish() once I've set up my service.
I'm confused between the use of AlarmManager, Receivers and Services. So
far, I've
Hi all.
I'm attempting to add custom drawables to the action bar items. I want
to set a drawable as the general bar background, and have a pressed
state drawable for when any of the bar items are clicked.
I've been following Nick Butchers guide here:
Perhaps I'm in the wrong forum... can anyone help?
On Apr 5, 9:46 pm, Neilz neilhorn...@gmail.com wrote:
Hi all. I'm having difficulty getting to grips with the
'objectAnimator' element which is used forfragmentanimation, and
searching around hasn't really offered much clues.
Here's what I'm
Hi all. I'm having difficulty getting to grips with the
'objectAnimator' element which is used for fragment animation, and
searching around hasn't really offered much clues.
Here's what I'm trying to achieve:
I have a simple layout where two fragments occupy a portion of the
screen each, added
I've seen various questions related to the different between the
minSdkVersion and the targetSdkVersion, and I understand the principle
here. My question is more related to how you handle new android
versions, and what you should specify then.
Scenario: I built my app a year ago, when 2.3.3
, Neilz neilhorn...@gmail.com wrote:
Should I update my project to build with the newer version?
No. If it ain't broke, don't fix it.
Should I change the targetSdkVersion?
Do you want to target a newer version? If not, no. If it ain't broke, don't
fix it.
If I don't change
Hi all,
I have a situation where I am to produce applications for multiple
clients, all based on the same functionality. Essentially, each app
will be the same apart from content - text elements and images.
It would make sense for me to keep this as one project in Eclipse. I
can set a property
Hi all.
I've researched various threads where people ask how you get the
default screen orientation (i.e. tablets vs standard portrait devices)
but the general answer seems to be that there isn't a way to do this,
and that there shouldn't be - i.e. you build your app to suit the
orientation you
So basically, to simplify my question:
Can two devices which both sit in the HDPI (large screen) range, use a
different set of assets?
On Jan 4, 12:50 pm, Neilz neilhorn...@gmail.com wrote:
Hi all.
I have a set of assets in my drawable-hdpi folder, which have
generally been designed using
that device report?
If it's 240, that's pure HDPI.
5 января 2012 г. 20:26 пользователь Neilz neilhorn...@gmail.com написал:
So basically, to simplify my question:
Can two devices which both sit in the HDPI (large screen) range, use a
different set of assets?
On Jan 4, 12:50 pm, Neilz
Hi all.
I have a set of assets in my drawable-hdpi folder, which have
generally been designed using an 800 * 480 template.
My new device, plus many others, are now using a 960 * 540 layout,
which still takes the assets from the same hdpi folder. This is
generally ok, but the image sizes are
Yet another soft keyboard issue...!
I start an activity with the following flags:
android:windowSoftInputMode=stateHidden|adjustPan
This means that upon startup, the soft keyboard is not displayed.
Clicking into the EditText brings up the keyboard as expected.
From this activity, I open up a
Mark, thanks for looking into this. At least there is an issue, and
it's not just me going bonkers.
I've been looking at it further, and it seems to be somehow related to
the WebView not liking list item (li) tags.
I've built a temporary work around into my code, simply by doing a
text
and added the
manifest line anyway, but the behaviour is still the same. The webview
content just disappears.
Please could you try it again in portrait mode only?
On Dec 17, 6:10 pm, Mark Murphy mmur...@commonsware.com wrote:
On Fri, Dec 16, 2011 at 10:22 AM, Neilz neilhorn...@gmail.com wrote:
I'm
Of course, sorry, here you go.
http://www.mediafire.com/file/zkg5f164xi7xxlh/SampleWebview.zip
1) Load up.
2) use home key, or back key, to return to home screen
3) hold down home key to get recent app list, and resume app.
4) for me this usually shows a blank webview. Sometimes, I have to
If anyone can shed any light on this I'll buy you a beer. It will have
to be in London though :)
--
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
Will do.
On Dec 16, 2:18 pm, Mark Murphy mmur...@commonsware.com wrote:
On Fri, Dec 16, 2011 at 9:11 AM, Neilz neilhorn...@gmail.com wrote:
If anyone can shed any light on this I'll buy you a beer. It will have
to be in London though :)
Can you create a sample project that demonstrates
I'm not sure where I can post the project file. But from a new
project, all you need is these two files, which is probably just as
quick to implement:
// Main Java file
package com.android.test;
import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebView;
public class
I wish this was an april fool joke, but no. This is nuts.
I have a certain piece of text which when I load it into a webview, it
displays fine. If I pause and then resume the activity, the webview is
blank. Usually it happens immediately on the first resume, sometimes
it takes a few goes.
Once
Hi Mark - nope, no difference.
Very strange, this one.
On Dec 15, 3:14 pm, Mark Murphy mmur...@commonsware.com wrote:
Try loadDataWithBaseURL() with a null URL for the first parameter.
On Thu, Dec 15, 2011 at 5:46 AM, Neilz neilhorn...@gmail.com wrote:
I wish this was an april fool
Hi all.
I have a list, where clicking an item displays a View. The view is
populated with text, and then made visible. However the text for some
of the items is very long, and it's taking a couple of seconds to
populate the view.
I'd like to show a progress indicator until the view gets
, TreKing treking...@gmail.com wrote:
On Wed, Dec 14, 2011 at 6:07 AM, Neilz neilhorn...@gmail.com wrote:
However the text for some of the items is very long, and it's taking a
couple of seconds to populate the view.
A few seconds for text seems way long. You may want to optimize that, or
post how
assumed that this was deprecated code, as I couldn't
get it to compile. Having done some research I now understand that
this isn't the way to go about what I'm after.
On Dec 2, 1:07 am, TreKing treking...@gmail.com wrote:
On Thu, Dec 1, 2011 at 4:56 PM, Neilz neilhorn...@gmail.com wrote:
Failing
It's the internal API code that led me to believe it was deprecated,
such as:
import com.android.internal.policy.PolicyManager;
And I've read we shouldn't build the source ourselves and rely on it,
as the internal APIs could change at any moment meaning our apps would
be scuppered...
version
Hi, is there an easy way to browse the android source code?
I don't want to download the whole lot... at least I tried, but I'm
not a linux user really, and also the netbook I have with linux on ran
out of space during the process :-/
I only want to see the source for MediaController.java, but
I've tried various combinations yes, but the departing activity always
just goes 'phhh' :)
On Nov 21, 10:28 pm, TreKing treking...@gmail.com wrote:
On Mon, Nov 21, 2011 at 12:04 PM, Neilz neilhorn...@gmail.com wrote:
The function *is* being called on the new activity. It's when the user
Kostya, would you have a brief example of what you mean here? I call
overridePendingTransition() in my onCreate() method, but I don't
explicitly call finish() or do anything beyond that.
On Nov 22, 12:02 pm, Kostya Vasilyev kmans...@gmail.com wrote:
You are supposed to set the animations once,
Bingo! Thanks Kostya :)
On Nov 22, 12:23 pm, Kostya Vasilyev kmans...@gmail.com wrote:
Ah. That's it.
http://developer.android.com/reference/android/app/Activity.html#over...
*Call immediately after one of the flavors of startActivity(Intent) or
finish() to specify an explicit transition
Sorry, I only just got around to checking for replies to this
question.
Yes, it does, but I thought the exit animation was applied to the
activity that is being replaced by the new one. In fact I tested it,
and it does.
So, I can control the animation of the new activity as it starts, and
the
The function *is* being called on the new activity. It's when the user
clicks 'back' and the activity disappears, that I want to add an exit
animation.
On Nov 21, 5:45 pm, TreKing treking...@gmail.com wrote:
On Mon, Nov 21, 2011 at 11:18 AM, Neilz neilhorn...@gmail.com wrote:
So, I can control
Hi all. I understand how you control the animation for a new Activity,
using overridePendingTransition().
I must be missing something obvious, but what about when the Activity
finishes? Can I control that too?
--
You received this message because you are subscribed to the Google
Groups Android
Hi all, I'm currently weighing up the options for push notifications
in my app.
1) Polling. I could use a boot receiver / alarm manager combination to
fire off a process which checks our server periodically, say every 15
minutes, and then immediately terminates. First question is, is this
Hi all. I have a situation where I want to take a square image, or
Bitmap, and convert it to a circular image.
I specifically want the entire image to be included in the
transformation, so that the original looks distorted.
My 2D knowledge really is zilch, so would appreciate any pointers!
--
Ok, I have a related, but unrelated, question about this! More about
managing Activities and Intents, but within the above scenario.
Let's say my app has started ActivityA, ActivityB, and ActivityC. This
last activity opens the browser, which does its stuff until the user
clicks the link
Yes I rather thought that would be the case. Unfortunately I don't
think the 'intent' link works from within a WebView, so I'm stuck with
the browser, which would probably be the client's preference anyway.
I don't want to actually 'get rid' of the browser as such, rather just
move it to the
Hi all. From my app I want to send the user to a web page to complete
some action, and then return to the app with some kind of code,
depending upon the success or failure of their action.
How can I achieve this? Will I have to use a WebView within the app,
or is there a way I can use the stock
over which I have little control.
On Nov 7, 1:18 pm, Mark Murphy mmur...@commonsware.com wrote:
On Mon, Nov 7, 2011 at 8:14 AM, Neilz neilhorn...@gmail.com wrote:
Hi all. From my app I want to send the user to a web page to complete
some action, and then return to the app with some kind of code
On Nov 7, 3:11 pm, Mark Murphy mmur...@commonsware.com wrote:
FYI, hackbod is Dianne Hackborn.
Ah, thought so...
Finally, you may want to set the package of the intent to your app
with
this:http://developer.android.com/reference/android/content/Intent.html#se...)
Um, that seems
Right, I see. No, the path option doesn't make a difference, it still
offers me a choice of apps to open with.
Ok, it's the other approach that I'm struggling to find an example
for. Just lots of messages discussing it! The appears to be an example
on the following page, but it simply doesn't
Right, so if I'm looking at the correct part of the sample, you end up
logging a strange 'intent' url, like this:
intent:#Intent;action=com.commonsware.android.MY_ACTION;end
I'm not sure what I do with this... I've tried using it in a link, as
another sample suggested, but I just get a 'Web page
for persevering...
On Nov 7, 5:37 pm, Mark Murphy mmur...@commonsware.com wrote:
I can't speak for WebView. Point a browser
athttp://commonsware.com/sampletosee a page that uses links to be
picked up by the sample app's activity.
Mark Murphy
mmur...@commonsware.com
On Nov 7, 2011 9:12 AM, Neilz
Hi all. In my app I let the user take a picture, which is then stored
in the app as a Bitmap:
Intent takePicIntent = new Intent
(android.provider.MediaStore.ACTION_IMAGE_CAPTURE, null);
startActivityForResult(takePicIntent, PICK_IMAGE_FROM_CAMERA_ID);
In onActivityResult:
Bitmap bm = (Bitmap)
What on earth are you doing on this forum then?
Go away.
On Aug 5, 9:11 pm, Amit forum.amit.man...@gmail.com wrote:
I don know why u people try with android you people go for iPhone if u want
quality.
Android is buggy mobile so I suggest be wise decision and try with iPhone
Thanks
Sent
I guess I'll need to view the app on a proper tablet to really see
what it looks like.
On the subject of developing for Tablets...
Am I correct in assuming that if I want an app that is developed for
Tablets using Fragments etc, that this has to be a separate app to one
designed for standard
That's what I had hoped - but I'm yet to find an example that codes
for both types?
On Aug 3, 9:50 am, b.ampw...@gmail.com wrote:
Hello Neilz,
For some reason, I will thought that you can create different main.xml's for
different devices and locales, so you would have the same application
under the same app heading?
On Aug 3, 12:57 pm, Nikolay Elenkov nikolay.elen...@gmail.com wrote:
On Wed, Aug 3, 2011 at 5:46 PM, Neilz neilhorn...@gmail.com wrote:
Am I correct in assuming that if I want an app that is developed for
Tablets using Fragments etc, that this has to be a separate
Great, that's a lot clearer now - many thanks.
On Aug 3, 1:52 pm, Peter Stacey peterst6...@gmail.com wrote:
Yes, you can have either multiple APKs, or you can have a single APK
that delivers its layout based on the version of Android being used.
For the multiple APK support of the market, see
Hi all. I'm altering my app so that it fits nicely into a tablet, by
specifing layout-xlarge and drawable-xlarge resources.
One thing I don't seem to be able to alter is the dialogs. I have a
number of these in my code:
AlertDialog.Builder alert = new AlertDialog.Builder(MyActivity.this);
Hi all.
I'm looking at the intents for making calls, and there seem to be two
options.
1) Using code:
intent.setAction(Intent.ACTION_CALL);
intent.setData(Uri.parse(tel: 0800123456));
This code actually makes the call.
2) In XML:
android:text=0800123456
android:autoLink=all
This code takes
Thanks Mark :-)
On Jul 5, 11:47 am, Mark Murphy mmur...@commonsware.com wrote:
Use ACTION_DIAL instead of ACTION_CALL. As a bonus, you don't need the
CALL_PHONE permission.
On Tue, Jul 5, 2011 at 3:37 AM, Neilz neilhorn...@gmail.com wrote:
Hi all.
I'm looking at the intents
Hi all. I'm using AlarmManager to, well, set an alarm which then calls
a BroadcastReceiver at specified times.
Is there a way, in my code, I can get hold of a list of the alarms
that have been set, and then identify in some way if my alarm is in
the list?
(I want to do this because sometimes,
the code crashes or takes too long? AFAIK,
crashes or ANRs inside receivers are not reported to the user, the
process is silently killed.
-- Kostya
30.06.2011 13:14, Neilz пишет:
Hi all. I'm using AlarmManager to, well, set an alarm which then calls
a BroadcastReceiver at specified times
One of the problems with setting the alarm immediately inside
onReceive(), is that the time of the next alarm depends on the outcome
of the task. So I could set a default one, but what happens if I set
it twice? Does the second overwrite the first, or will I end up with
two alarms?
On Jun 30,
I have this situation quite often, and simply stick to three
ImageButtons. It means you need pressed and static states for each
button, controlled by an xml selector as the drawable, and of course
you have to manage the states yourself, i.e. set the pressed button as
'pressed' and the other two as
Hi all.
I assume there is a way of finding out how your Activity was started,
for example:
Intent i = new Intent(ActivtyA.this, ActivityB.class);
...when B starts, I want to find out the activity that started it,
which in this case would be an instance of ActivityA. How can I get
this
To bring this to the top again...
Yes, I'm having problems with it, the DONE button never appears!
Anyone else have experience with this?
On May 22, 11:10 pm, Nicholas Johnson metthejohn...@gmail.com wrote:
Are you having problems with the implementation?
Make sure to put an
Although the original question perhaps wasn't asked in the best way,
this is actually a good point, something that I'm looking into myself.
It's a sad fact that in the Android world many clients are now asking
for an app that does what the existing iPhone app does. And iPhone
apps that I'm basing
Hi all. I'm attempting to add the 'Done' button to the soft keyboard,
when an EditText is activated. I use:
android:imeOptions=actionDone (in the XML)
and...
input.setImeOptions(EditorInfo.IME_ACTION_DONE); (in the code)
However, I am seeing no difference to the standard keyboard.
I read
Hi all.
I want to create a shape drawable, in the style of a rounded
rectangle. However I want the background (the section outside the
rounded corners) to be white, and the main central section (within the
rounded corners) to be transparent.
Effectively, you can imagine this working like a
Hi Kostya,
I tried the example you gave above. Firstly it's not quite what I was
after, as the outer edges are rounded - I need the drawable as a whole
to be square/rectangular. Also, strangely, even though I've overlayed
this over my image using a FrameLayout, the image can be seen in full
Hi.
My app downloads some images over the net, and in this case they are
185 * 185, though that's probably irrelevant. I'm creating a layout
where I specify the size of the frame, in this case 150dip square, and
I want the image to fit the frame, regardless of whether the frame is
bigger or
When I tap my map, the zoom controls appear in the center of the
screen at the bottom.
Is it possible to control where they sit? I notice on the google maps
app, they are aligned into the bottom right corner of the map, which
is what I'd like to do in my own map activity.
Thanks.
--
You
work. There doesn't seem to be a way of accessing and controlling the
buttons from my own ZoomControls object...
On Apr 25, 11:18 am, Filip Havlicek havlicek.fi...@gmail.com wrote:
Here you go
http://tinyurl.com/3fha8xl
2011/4/25 Neilz neilhorn...@gmail.com
When I tap my map, the zoom
.
On Apr 25, 12:37 pm, Filip Havlicek havlicek.fi...@gmail.com wrote:
Why didn't you try the Reto Meier solution? Third link from the Google
search.
http://stackoverflow.com/questions/263507/placing-zoom-controls-in-a-...
And if you want help, post your XMLs and code samples.
2011/4/25 Neilz
Hi all. I have a list adapter, code given below.
I'm trying to clean up the app, recycle bitmaps etc, to lower the
memory usage as I've been experiencing out of memory issues when
creating bitmaps. I'm concerned that my list adapter is not as
efficient as it could be, and just wanted some advice.
Sorry, forgot the code - here it is. Does this affect your answer at
all?
public class SearchResultsListAdapter extends ArrayAdapterMyObject {
private ListMyObject items;
private Context mContext;
private int layoutResource;
LayoutInflater vi;
public
) and call recycle() at some
point.
Does your code actually run out of memory? If not, I'd just let it be.
-- Kostya
06.04.2011 13:32, Neilz пишет:
Sorry, forgot the code - here it is. Does this affect your answer at
all?
public class SearchResultsListAdapter
Yes I think you're right. What's happening here is that activities are
starting up over existing instances of the same activity.
So for example, this app has four menu options, each of which start a
new activity. If the user clicks menu option A, activity A starts.
Then, if option B is clicked,
Dianne - I know exactly where you're coming from - it just seemed very
complex to do it that way... i.e. giving one Activity so much
responsibility goes against everything you read about Java! The
onCreate() method would have been endless...
Kostya - I love the saying You learn a new thing every
Ok, I'll try again - it was a Sunday after all :-)
Basically all I'm after is a LinearLayout sitting in the center of the
screen, that I can scroll horizontally from one item to the next,
using a finger scroll, rather than just buttons.
Any help with this really appreciated.
--
You received
Hi all.
I'm fairly familiar with ItemizedOverlay and OverlayItem classes,
where you pass a drawable to the Overlay which gets added to the
MapOverlays and displayed on the map.
However I want to create a view, using an XML layout, and add this to
the map in the same way as an overlay. So instead
Super, thanks TreKing!
On Mar 21, 2:59 pm, TreKing treking...@gmail.com wrote:
On Mon, Mar 21, 2011 at 9:53 AM, Neilz neilhorn...@gmail.com wrote:
Any pointers appreciated... thanks.
http://code.google.com/android/add-ons/google-apis/reference/com/goog
Ok, same thread, another Map question.
I've been using 'MyLocationOverlay' to display current location. It
shows that nice blue pulsating image to mark the spot.
Am I able to add a pointer (arrow image) which indicates current
direction, as I would see on the standard GoogleMap?
Thanks.
--
Interesting, thanks for the tip.
On Mar 21, 6:11 pm, lbendlin l...@bendlin.us wrote:
And you'll want to lose the pulsating/fix circle. It's eye candy for sure
but it impacts performance heavily without really giving much back. You can
replace it with a view placeholder that contains an arrow
Hi all. I'm struggling with a layout... would appreciate any
suggestions on how to handle this.
Basically, I have a list of objects. Each has attributes (like Name)
and an image. I want to display the objects in a gallery style,
allowing the user to scroll / fling from one item to the next.
The
Hi all.
I can see the difference on Google Maps, but on an Android MapActivity
I'm struggling to find the difference.
For 'map' I call: mapView.setSatellite(false);
For 'satellite' I call: mapView.setSatellite(true);
But for hybrid view... I tried playing with
mapView.setStreetView(true); but
, Neilz neilhorn...@gmail.com wrote:
Hi all.
I can see the difference on Google Maps, but on an Android MapActivity
I'm struggling to find the difference.
For 'map' I call: mapView.setSatellite(false);
For 'satellite' I call: mapView.setSatellite(true);
But for hybrid view... I tried
Like this:
public class AlarmReceiver extends BroadcastReceiver {
On Feb 23, 10:11 pm, Kostya Vasilyev kmans...@gmail.com wrote:
24.02.2011 1:06,Neilzпишет:
I'm using an Activity that
extends a BroadcastReceiver...
An Activity that extends a Broadcast receiver? Sorry, I'm not sure I
- which won't be long).
-- Kostya
24.02.2011 23:27, Neilz пишет:
Like this:
public class AlarmReceiver extends BroadcastReceiver {
On Feb 23, 10:11 pm, Kostya Vasilyevkmans...@gmail.com wrote:
24.02.2011 1:06,Neilzпишет:
I'm using an Activity that
extends
Hi Kostya.
Regarding this info you suggested... the examples seem to demonstrate
this for starting and stopping a Service. I'm using an Activity that
extends a BroadcastReceiver... can it still be used in the same way?
I'm a little confused about how to implement this.
Thanks for the help, Neil.
Reviving this thread yet again...
There does seem to be some kind of bug in the code. Strange thing is
though, it does get caught. The code always works fine within normal
circumstances, but when it's run as an Alarm Service, the process dies
at a particular line, and it isn't caught in the catch
Thanks Kostya.
I did the network test...
Active network info: NetworkInfo: type: WIFI[], state: CONNECTED/
CONNECTED, reason: (unspecified), extra: (none), roaming: false,
failover: false, isAvailable: true
And added a general Exception block, which still didn't catch anything!
--
You received
Yep, added a Throwable block, still nothing.
The only output I get is this:
02-20 13:33:26.067: INFO/ActivityManager(83): Process
com.my.app.android.activity:remote (pid 4610) has died.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To
, correct?
-- Kostya
20.02.2011 16:35, Neilz пишет:
Yep, added a Throwable block, still nothing.
The only output I get is this:
02-20 13:33:26.067: INFO/ActivityManager(83): Process
com.my.app.android.activity:remote (pid 4610) has died.
--
Kostya Vasilyev --http
Ok. I think I may have found one factor influencing this.
I'm using ASyncTask to handle the thread. I've just been reading some
blogs on this, and it seems it is hard coded to use the lowest
priority, which means it may well be killed off when used on a device
with low memory (like my Hero in
Hi. I have a WebView which loads a webpage that uses a form, for the
user to complete.
I set this method:
webSettings.setUseWideViewPort(true);
...which helps the webpage display properly.
However, for some reason, when you click in the text fields on the
webpage, the soft keyboard fails to
.
Other solutions would involve not using setUseWideViewPort(), or
threatening your Hero with a sledgehammer until it starts to behave.
On Sat, Feb 19, 2011 at 6:47 AM, Neilz neilhorn...@gmail.com wrote:
Hi. I have a WebView which loads a webpage that uses a form, for the
user to complete.
I
Hi all - I have a problem with my WebView...
I'm using the method setUseWideViewPort(true). Within the view I load
a webpage which includes a form.
I'm testing on two devices: When I test on the Nexus, I can fill in
the form fields as usual. With my Hero, I click into the form fields,
and the
Hi all. We put an app on the market, and now the client wants to
change the package names to something completely different.
Will the market let you do this, if I upload an update? Or must the
package structure remain the same once uploaded?
Thanks.
--
You received this message because you are
More issues with this.
I'm testing on a Nexus and Hero. It all runs fine on the Nexus, but on
the Hero after I schedule the alarm, sometimes the process seems to
die:
02-07 09:00:36.664: INFO/ActivityManager(98): Process
com.my.app.activity:remote (pid 1813) has died.
And that's it, no other
Really, BOOT_COMPLETED can be disabled? That poses me a bit of a
problem. So there's no way for me to know whether my alarm service has
been restarted.
On Feb 5, 4:01 pm, Kostya Vasilyev kmans...@gmail.com wrote:
Well, some devices have really weird settings, like the HTC fast boot
Ok, one problem with this alarm service.
I schedule it for some time in the morning, and when I get up and
check the phone, the alarm didn't get called, because it thinks
there's no network connection.
This is a call I make deliberately (I always check there's a
connection before making the
of testing for the
network?
On Feb 5, 1:07 pm, Kostya Vasilyev kmans...@gmail.com wrote:
05.02.2011 15:40, Neilz пишет:
Ok, one problem with this alarm service.
I schedule it for some time in the morning, and when I get up and
check the phone, the alarm didn't get called, because it thinks
, failover: false,
isAvailable: true
Two ideas:
- Check your phone settings, perhaps yours has some kind of sleep policy
for mobile data;
- Log the value you get by calling getActiveNetworkInfo into a file, and
examine later.
-- Kostya
05.02.2011 16:20, Neilz пишет:
Hi Kostya.
Yes
, perhaps you could check
that setting.
-- Kostya
05.02.2011 18:22, Neilz пишет:
Yes, looking at the log output, it seems the device disables the
wireless connection after a few minutes while the phone's sleeping, to
save resources I suppose. So I'll just have to code around that, and
reset
Hi everyone. I'm attempting to use C2DM in my app, but I admit I'm
finding the docs very confusing.
The official guide http://code.google.com/android/c2dm/ makes the
process seem relatively simple, showing code which implements various
methods, onReceive(), handleRegistration(), performs
Hi all. I want to build certain functionality into my app, but I'm not
sure if it's possible. The main parts of the app (and server calls)
are built, it's just the scheduling I'm considering.
1) I want the app to check against a server at a set time each
morning. If there are updates available
Thanks... this seems to be what I'm after.
However I just put together a simple repeat alarm, outputting a Toast
every minute, which was fine.
But it didn't work again after a phone restart... how can this be
implemented?
--
You received this message because you are subscribed to the Google
for android.intent.action.BOOT_COMPLETED, and set
the alarm again after the device reboots.
-- Kostya
01.02.2011 20:22, Neilz пишет:
Thanks... this seems to be what I'm after.
However I just put together a simple repeat alarm, outputting a Toast
every minute, which was fine.
But it didn't work again after
1 - 100 of 394 matches
Mail list logo