Hi,
I have an ActionBar with a SearchView. The hidden/overflow menu items are shown
on the right in a drop-down list when the menu button in the ActionBar is
touched. When the drop-down menu is hidden, the SearchView is focused and the
keyboard shows. Is there a way to stop the keyboard from sh
> Not that I am aware of. MOTODEV has some static analysis stuff
> (integrated in Studio for Android, plus as a separate Web thing) that
> might point out this issue.
It would be really great if someone from the Market team noticed this as it is
a little baffling and I don't really know what I ca
office hours meet this afternoon)
On 30/08/2011, at 8:47 PM, Mark Murphy wrote:
> On Tue, Aug 30, 2011 at 4:42 AM, Julius Spencer wrote:
>> Sure (but it's only published in New Zealand):
>> https://market.android.com/details?id=nz.co.localist.android.llt
>>
>> I&
Aug 30, 2011 at 4:27 AM, Julius Spencer wrote:
>> Hi,
>>
>> I have an application which I have deployed to the Market and when I look at
>> the application on the website (on my Android tablet) it says:
>>
>> "This item is not compatible with your d
Hi,
I have an application which I have deployed to the Market and when I look at
the application on the website (on my Android tablet) it says:
"This item is not compatible with your device"
Is there a way to figure out what is making the application incompatible?
I can install the applicati
Oh it looks like this was working after all... :) Apologies!
On 12/08/2011, at 10:50 AM, Julius Spencer wrote:
> Hi,
>
> I have a FragmentActivity with 3 fragments and each has its own set of
> options. Is it possible to have the Options for the Fragment show when the
> fragm
Hi,
I have a FragmentActivity with 3 fragments and each has its own set of options.
Is it possible to have the Options for the Fragment show when the fragment is
attached to the FragmentActivity?
Regards,
Julius.
--
You received this message because you are subscribed to the Google
Groups "A
Oops just saw the updated documentation for how to do tabs here:
http://developer.android.com/reference/android/app/TabActivity.html
Will give that a go.
On 10/08/2011, at 9:00 PM, Julius Spencer wrote:
> Hi,
>
> I have a TabActivity and I would like to add tabs to the ActionB
Hi,
I have a TabActivity and I would like to add tabs to the ActionBar in the
Honeycomb+ devices. I'm not sure how to have a TabActivity for pre Honeycomb
and yet use a FragmentActivity at the same time to access the actionbar.
Has anyone know how to get around this issue?
Regards,
Julius.
-
Hi,
I can't figure out how to use this if I am using a SQLiteDatabase which isn't
set up as a ContentProvider. From what I remember there won't be source for
Honeycomb released anytime soon so I'm not sure how I could use the Loader
framework to make it work.
Regards,
Julius.
On 31/07/2011,
Consider using loaders, for example:
>
> http://developer.android.com/resources/samples/Support4Demos/src/com/example/android/supportv4/app/LoaderCursorSupport.html
>
> On Fri, Jul 29, 2011 at 9:23 AM, Julius Spencer wrote:
> Hi,
>
> I have been trying to take database r
Hi,
I have been trying to take database reads off the UI thread and am currently
using an AsyncTask, however I am running into trouble swapping out an updated
Cursor for a new one in the adapter.
(I was previously using requery() on the Cursor which had to be on the main UI
thread)
The documen
/2011, at 6:35 PM, KP wrote:
> Code will help.
>
> On Jul 29, 11:16 am, Julius Spencer wrote:
>> Hi,
>>
>> I have been taking all my database reads off the main UI thread and have
>> come across some new problems.
>>
>> I'm receiving the f
Hi,
I have been taking all my database reads off the main UI thread and have come
across some new problems.
I'm receiving the following error(s):
ERROR/CursorWindow(26242): CursorWindow heap allocation failed
followed by:
ERROR/AndroidRuntime(26242): java.lang.RuntimeException: An error occur
0 AM, Mark Murphy wrote:
> On Wed, Jul 20, 2011 at 12:59 PM, Julius Spencer wrote:
>> The CursorLoader documentation describes itself as:
>> "A loader that queries the ContentResolver and returns a Cursor."
>>
>> Does anyone know if it's possible to use a
Thank you for the reply I will let you know how I get on.
On 21/07/2011, at 5:10 AM, Mark Murphy wrote:
> On Wed, Jul 20, 2011 at 12:59 PM, Julius Spencer wrote:
>> The CursorLoader documentation describes itself as:
>> "A loader that queries the ContentResolver
Hi,
The CursorLoader documentation describes itself as:
"A loader that queries the ContentResolver and returns a Cursor."
Does anyone know if it's possible to use a CursorLoader for an application's
SQLiteDatabase?
Do I have to make the database a Content Provider so I can provide a Uri?
If I
Hi,
I have a String with 'Something' tags and some text such as
'www.example.com'. I would like both to be links that can be clicked in a
TextView.
I can use Html.fromHtml to create links from the tags, but if I use
Linkify.addLinks I lose the links created from the Html.fromHtml.
mA
Hi,
I am using the following to stream mp3 or m4a files from a server:
mMediaPlayer.setOnCompletionListener(MyActivity.this);
mMediaPlayer.setOnPreparedListener(MyActivity.this);
mMediaPlayer.setOnErrorListener(MyActivity.this);
mMediaPlayer.setDataSource(MyActivity.this,Uri.parse(mMe
Hi,
I have set up a SearchRecentSuggestionsProvider to use with the Search Button
which works well. I have an EditText in and Activity which I would like to
change into an AutoCompleteTextView which would use the same suggestions.
The AutoCompleteTextView example shows an ArrayAdapter with Str
Hi,
Does anyone know of a HowTo for getting HierarchyViewer going on a Nexus 1? So
far I have unlocked the bootloader and rooted the device. From what I
understand I next need to find a ROM which is suitable. (I'm still getting
Unable to debug device errors)
(I was told at IO that this is a
Wow, thank you everyone for the answers! I suspect the questions may be too
niche which is why I'm not having much luck.
Cheers,
Julius.
On 21/05/2011, at 10:51 PM, Mark Murphy wrote:
> On Fri, May 20, 2011 at 10:27 PM, Julius Spencer wrote:
>> After attending IO and
Hi,
After attending IO and talking to the engineers, I was told to put questions on
stack overflow. I was wondering - how do I get people to look at these?
Regards,
Julius.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this
Hi,
Just wondering, is it possible to look at an application's Activity stack? I'd
like to be able to look at the stack and see if the previous Activity on the
stack is the same as the one on the top.
Regards,
Julius.
--
You received this message because you are subscribed to the Google
Grou
Hi,
After reading the documentation, the problem was that my REQUEST_CODE was
negative so doesn't return a result. Ooops! Hope this helps someone else.
Regards,
Julius.
On 3/04/2011, at 7:41 PM, Julius Spencer wrote:
> Hi,
>
> I am having trouble getting onActivityResult to r
Hi,
I am having trouble getting onActivityResult to run when I have an Activity
finish. The situation is:
Activity A (TabActivity)
Activity B (Activity in Activity A)
- set up in A like so:
intent = new Intent().setClass(this, B.class);
spec.setContent(intent);
- starts Activit
Hi,
I have set up an application which uses task affinity to define two areas in an
application. This is working really well on the Nexus 1 however I'm getting
quite different experiences on other devices.
For example, on the Dell Streak, the task affinity doesn't seem to have any
effect at a
ed.
Regards,
Julius.
On 16/03/2011, at 10:43 AM, Julius Spencer wrote:
> Hi Dianne,
>
> Thank you for this. It's working well with one half of the application, but
> I'm having trouble with going back to the other half.
>
> For example:
> Area A
> Activ
een these tasks in your UI flow, use Intent.FLAG_ACTIVITY_NEW_TASK
> to switch to the other task. There are lots of subtleties you will get in to
> about what happens to the state of the task when you switch to it, since you
> are essentially becoming an app switcher at that point.
&
Hi,
I was wondering whether it's possible to have two Activity stacks in an
application so if a user is using one part of an application and navigates to
another area and then navigates back (without using the back button) to the
original area he has the same "history" of Activities.
Regards,
did it help?
>
> -- Kostya
>
> 01.03.2011 22:43, Julius Spencer пишет:
>> Hi Kostya,
>>
>> I'm not sure how to access the UI thread from within an IntentService. (If
>> in an Activity I would use runOnUiThrea
asy to do
> with a Handler and a small Runnable subclass.
>
> -- Kostya
>
> 01.03.2011 10:06, Julius Spencer пишет:
>> Unfortunately that didn't work. In on Destroy() I put in:
>>
>> System.out.println("Duration: "+toastMessage.getD
Duration: 0
Not sure if that is of any use. I've never had any trouble with Toasts (except
not calling show() :) ). I'm a bit stumped.
Regards,
Julius.
On 1/03/2011, at 7:50 PM, Julius Spencer wrote:
> Yeah it's definitely being hit just once (I put a break point in).
Yeah it's definitely being hit just once (I put a break point in).
I'll try out dismissing it if the IntentService is destroyed.
Thanks for the replies everyone.
Regards,
Julius.
On 1/03/2011, at 4:15 PM, TreKing wrote:
> On Mon, Feb 28, 2011 at 8:53 PM, Julius Spencer wrot
Hi,
I have an IntentService from which I am showing a Toast using:
Toast.makeText(this, errorMessage.toString(),
Toast.LENGTH_SHORT).show();
For some reason it's not disappearing. Just wondering if anyone has seen this
before or knows what I'm doing wrong. I'm sure it's just something
ikely the DB is never tied up for more than a second or so, so
> there's not too much danger if you were to access from the main
> thread.
>
> On Feb 11, 5:35 pm, Julius Spencer wrote:
>> Hi Dan,
>>
>> Thanks for the reply. This sounds like something worth tryi
you want
> operations to wait rather than fail, you need to wrap operations from
> both sources with your own synchronization primitives that wait rather
> than fail.
>
> On Feb 11, 1:34 pm, Julius Spencer wrote:
>> Hi,
>>
>> I have an IntentService which syncs data
Hi,
I have an IntentService which syncs data from a server and takes a few minutes.
The operation is database intensive locally (SQLite).
I would like the user to be able to continue to use the application while the
sync operation is going which involves the odd write to the database.
Current
Hi,
I have a form which has an EditText and I would like to explicitly set the
keyboard not to capitalize the first (or any) words. (I couldn't find an
InputType which looked to do this)
As an example if a user has the Swype keyboard installed and is using it with
its Auto-capitalization optio
gt;
> On Jan 5, 4:24 am, Mark Murphy wrote:
>> You do not have control over individual antennae via the SDK, AFAIK.
>> On Wed, Jan 5, 2011 at 12:06 AM, Julius Spencer wrote:
>>> Hi,
>>
>>> I was wondering if it's possible to disable one or more antennae
Hi,
I was wondering if it's possible to disable one or more antennae manually for
example, if I had a GSM Nexus One, disable all the antennae except the one
which supplies 850MHz communications (900 1800 1900).
Regards,
Julius.
--
You received this message because you are subscribed to the G
g you are referring
> to the built-in browser (a.k.a., Browser). There is no documented and
> supported Intent pattern to force an Intent to go to the Browser app.
>
> On Fri, Dec 24, 2010 at 12:24 PM, Julius Spencer wrote:
>> Hi,
>>
>> I have an application that takes the
Hi,
I have an application that takes the user to a service provider's website to
perform a login as part of an oauth process. Some users are having problems
using Opera Mini. It seems like it can't handle the response call back scheme.
Chrome works well so, I was wondering if it's possible to
t; provider sense when new mail has arrived.
>
> On Sun, Dec 19, 2010 at 6:23 PM, Julius Spencer wrote:
> Hi,
>
> (Note: might be a silly question...)
>
> I have an application which has data related to a ContentProvider. The
> ContentProvider's content is updated
Hi,
(Note: might be a silly question...)
I have an application which has data related to a ContentProvider. The
ContentProvider's content is updated from time to time and a ContentObserver
seems like a good choice to know about these updates.
Is there a way to have a have a cross between a Con
quot;);
>
> or the equivalent in addition to what you have there. For example:
>
> IntentFilter intentFilter =
>new IntentFilter(Intent.ACTION_MEDIA_SCANNER_FINISHED);
> intentFilter.addDataScheme("file");
> registerReceiver(mReceiver, intentFilter);
&g
iFilter.addAction(Intent.ACTION_MEDIA_SCANNER_FINISHED);
registerReceiver(mMediaScannerReceiver, iFilter);
}
}
Has anyone tried this - is there a permission or something I need to capture
this?
Thank you for any help!
Regards,
Julius.
x27;t showing when I searched for it.
Hope that helps someone...
Cheers,
Julius.
On 25/11/2010, at 8:26 AM, Julius Spencer wrote:
> Hi,
>
> I am having trouble getting a thumbnail for a video.
>
> I am targeting 2.1 update 1. (API level 7)
>
Hi,
I am having trouble getting a thumbnail for a video.
I am targeting 2.1 update 1. (API level 7)
I would like to use MediaStore.Video.Thumbnails.getThumbnail. This works
perfectly if the SD Card has been mounted / unmounted.
However, when a video is first created I would like it to be scann
image in a row the height of the
GrdiView is calculated incorrectly)
Regards,
Julius.
Regards,
Julius Spencer.
jul...@msa.co.nz
Ph: 0064 9 307 1089
Fax: 0064 9 307 5281
Mobile: 0064 21 72 5559
--
You received this message because you are subscribed to the Google
Groups "Android Develo
ectly.
>
> On Sun, Nov 7, 2010 at 11:15 AM, Julius Spencer wrote:
> Hi,
>
> I have a layout that includes an ImageView and a CheckBox and I am
> implementing onClick for the ImageView. I would like to alter the state of
> the CheckBox when the ImageView is 'clicked&
Hi,
I have a layout that includes an ImageView and a CheckBox and I am implementing
onClick for the ImageView. I would like to alter the state of the CheckBox
when the ImageView is 'clicked'. The state I am storing fine, but I would like
the CheckBox to change. Is there a way I can get access
his error is tied to that. You need to hook up a
> ThreadSafeClientConnManager to the HttpClient object if you will reuse
> it across multiple threads.
>
> On Sun, Oct 31, 2010 at 2:14 AM, Julius Spencer wrote:
>> Hi,
>>
>> I'm trying to send an HTTP request f
at all IntentServices do their work on a
> background thread, and HttpClient is not thread-safe by default. It's
> possible this error is tied to that. You need to hook up a
> ThreadSafeClientConnManager to the HttpClient object if you will reuse
> it across multiple threads.
>
>
Hi,
I'm trying to send an HTTP request from a WakefulService so a Service which has
been started from an alarm set up with AlarmManager and I get the error:
IllegalStateException: No wrapped connection.
HttpGet httpGet = (HttpGet) new
HttpGet(MYRequestHelper.getRequest(this));
H
Hi,
I'm trying to figure out how to set the speaker phone to on when the phone call
state changes. I have something like the following:
class TelephoneListener extends PhoneStateListener {
public void onCallStateChanged(int state, String incomingNumber)
{
Hi,
I have set up a project to use C2DM and am having trouble getting the
registration process working. I have the project debugging on the emulator so
I can run Wireshark on my development computer to see the packets. It appears
there is traffic between the emulator and Google's servers, but
APIs by Google Inc, Android API 8". Then, you need to set up an AVD that uses
that system image."
On 12/09/2010, at 7:30 PM, Julius Spencer wrote:
> Hi,
>
> "Unable to start service Intent { act=com.google.android.c2dm.intent.REGISTER
> (has extras) }: not foun
Hi,
"Unable to start service Intent { act=com.google.android.c2dm.intent.REGISTER
(has extras) }: not found"
Oh maybe this can't be done in the emulator:
"To develop and debug on an actual device, you need a device running an Android
2.2 system image that includes the Market application."
I do
Hi,
I have some text which I would like to style with colour, for example:
"I jump in the red bus."
I would like red to be in red so I'm using:
SpannableStringBuilder
This works really nicely - but I'm guessing that if I want to put red into
another language, especially one which uses cases, t
Hi Mark,
Thank you for the reply.
> Accelerometers used to, but no longer, if I understand correctly. I'll
> be fairly stunned if ACTION_BATTERY_LOW will be fired when the CPU is
> otherwise off.
Let's say I wanted to have the device not go into a deep sleep for say 60
minutes - is there a way I
Hi,
I'm a bit new to the deep sleep behaviour in Android and am having trouble
replicating it. (If I have any device connected to my computer for debugging
I'm not seeing the deep sleep)
I am guessing that it is affecting an application which I am writing.
The application has a countdown whic
Hi,
Just wanted to check this is still the case. I have a situation where someone
wants an application not exit, if the power or home keys are pressed. (They'd
like the application to be exited via a password or PIN)
I'm guessing there is no other work around...
Regards,
Julius.
On 11/08/2009
unt = blockSize * (long) avlBlocks;
>
> --
> Kostya Vasilyev -- http://kmansoft.wordpress.com
>
>
>> 19.08.2010 0:09 пользователь "Julius Spencer" написал:
>>
>> Hi,
>>
>> I have this same issue; my check evaluates available space as neg
Hi,
I have this same issue; my check evaluates available space as negative in rare
cases. I'm not sure yet whether I can take an absolute value.
This must be a problem which has happened before. Anyone else come across this?
Regards,
Julius.
On 16/08/2010, at 7:52 AM, Bob Kerns wrote:
> Two
e/javax/xml/parsers/DocumentBuilderFactory.html#setExpandEntityReferences(boolean)
> which is supposed to default to true.
>
> On Jul 2, 8:06 pm, Julius Spencer wrote:
>> On closer inspection the index part I have misinterpreted - the whole string
>> might be broken into parts eg.
>>
On closer inspection the index part I have misinterpreted - the whole string
might be broken into parts eg.
Text node j
EntityReference node ó
Text node bb
Regards,
Julius.
("on closer inspection zees are loafers")
On 3/07/2010, at 2:47 PM, Julius Spencer wrote:
> Hi,
>
>
Hi,
Thank you for the reply.
> Something's not right. Although I have no experience with
> DocumentBuilder, (ask me a SAXParser question, please!)
I'm starting to think about converting it all to SAX!
> the API
> reference,
> http://developer.android.com/intl/de/reference/org/w3c/dom/EntityRefe
Hi,
I have a very basic question regarding encoded text in an XML Text node.
I am using the DOM parser
javax.xml.parsers.DocumentBuilder
to parse some xml. The xml has some international characters which are encoded
in decimal unicode - eg. 'ó' is 'ó'.
The parser takes the encoded character out
>> Eg. should it be in
>> the View? I could make the decision when creating the menu too, but I
>> need to get a unique id from the row in the ListView
>>
>> public void onCreateContextMenu(ContextMenu menu, View v,
>> ContextMenuInfo menuInfo) {
>
> Cast the menuInfo to an AdapterView.Adapt
> Well, all I can tell you is that the symptom of "images seem randomized
> when I scroll" usually points to some sort of binding problem.
>
> Julius Spencer wrote:
>>> Are you sure your SDIReleaseWrapper is pointing to the right
>>> ImageView?
>> Ye
Hi Mark,
Thank you for the reply.
> You could use iv.setImageURI(Uri.fromFile(...)).
Oh great, yes I did read that. :)
>> However when I scroll and the images are loaded they seem to turn up
>> in the wrong places.
>
> Are you doing the image loading in the main application thread, or a
> backg
Thanks for the reference Mark. I realised from an Activity I can just finish it
and it will show the other Activity.
On 3/03/2010, at 7:45 AM, Mark Murphy wrote:
> julius wrote:
>> 1. Is it possible to show an AlertDialog (from the notification)
>> without sending the user to a new Activity? (
Hi,
I have looked in the source found online and it looks like the config
in the following code is not being set.
WifiConfiguration config = findConfiguredNetwork(state);
private WifiConfiguration findConfiguredNetwork(AccessPointState
state) {
final List wifiConfigs = getConfiguredNetworks()
Hi,
I have a situation occurring intermittently with an application where
I receive the following message. It's probably something to do with a
Thread. The application seems to stop, but I get the following message
and I'm not sure what it means:
WARN/SurfaceComposerClient(2106): lock_layer
Hi
I have found the G1 pretty good. I have written apps which combine
sensors (acceleration, orientation), GPS, 3D graphics and some maths.
It would be nice if the processor were faster, but generally it's
great. The UI (touch) response could be better, but for development it
is sufficient
Hi,
I'd like to know more about Object Recognition. Has anyone got any
links about how to implement object recognition from the camera in an
Android application? For example say I wanted to make a barcode
scanning application, how would I go about doing this; I figure this
would be a good
77 matches
Mail list logo