[android-developers] SearchView focused when hiding the ActionBar menu

2011-10-02 Thread Julius Spencer
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

Re: [android-developers] Market APK device compatibility

2011-08-30 Thread Julius Spencer
> 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

Re: [android-developers] Market APK device compatibility

2011-08-30 Thread Julius Spencer
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&

Re: [android-developers] Market APK device compatibility

2011-08-30 Thread Julius Spencer
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

[android-developers] Market APK device compatibility

2011-08-30 Thread Julius Spencer
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

Re: [android-developers] Options from Fragment in Activity with multiple Fragments

2011-08-11 Thread Julius Spencer
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

[android-developers] Options from Fragment in Activity with multiple Fragments

2011-08-11 Thread Julius Spencer
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

Re: [android-developers] ActionBar in TabActivity

2011-08-10 Thread Julius Spencer
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

[android-developers] ActionBar in TabActivity

2011-08-10 Thread Julius Spencer
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. -

Re: [android-developers] Use CursorLoader for SQLiteDatabase?

2011-08-01 Thread Julius Spencer
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,

Re: [android-developers] Pain taking db reads off UI thread

2011-07-29 Thread Julius Spencer
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

[android-developers] Pain taking db reads off UI thread

2011-07-29 Thread Julius Spencer
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

Re: [android-developers] Re: Help... IllegalStateException: Couldn't init cursor window

2011-07-28 Thread Julius Spencer
/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

[android-developers] Help... IllegalStateException: Couldn't init cursor window

2011-07-28 Thread Julius Spencer
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

Re: [android-developers] Use CursorLoader for SQLiteDatabase?

2011-07-26 Thread Julius Spencer
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

Re: [android-developers] Use CursorLoader for SQLiteDatabase?

2011-07-20 Thread Julius Spencer
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

[android-developers] Use CursorLoader for SQLiteDatabase?

2011-07-20 Thread Julius Spencer
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

[android-developers] Linkify combined with Html.fromHtml

2011-07-17 Thread Julius Spencer
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

[android-developers] MediaPlayer - mp3 audio stream Nexus Devices vs others

2011-07-17 Thread Julius Spencer
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

[android-developers] SearchRecentSuggestionsProvider for AutoCompleteTextView arrayadapter

2011-07-01 Thread Julius Spencer
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

[android-developers] HierarchyViewer on Nexus 1 HowTo

2011-05-29 Thread Julius Spencer
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

Re: [android-developers] Stack overflow

2011-05-21 Thread Julius Spencer
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

[android-developers] Stack overflow

2011-05-20 Thread Julius Spencer
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

[android-developers] Access the Activity stack

2011-04-10 Thread Julius Spencer
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

Re: [android-developers] onActivityResult in Activity in TabActivity

2011-04-03 Thread Julius Spencer
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

[android-developers] onActivityResult in Activity in TabActivity

2011-04-03 Thread Julius Spencer
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

[android-developers] task affinity across devices

2011-03-28 Thread Julius Spencer
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

Re: [android-developers] Two Activity Stacks

2011-03-18 Thread Julius Spencer
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

Re: [android-developers] Two Activity Stacks

2011-03-15 Thread Julius Spencer
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. &

[android-developers] Two Activity Stacks

2011-03-07 Thread Julius Spencer
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,

Re: [android-developers] Toast not disappearing

2011-03-01 Thread Julius Spencer
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

Re: [android-developers] Toast not disappearing

2011-03-01 Thread Julius Spencer
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

Re: [android-developers] Toast not disappearing

2011-02-28 Thread Julius Spencer
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).

Re: [android-developers] Toast not disappearing

2011-02-28 Thread Julius Spencer
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

[android-developers] Toast not disappearing

2011-02-28 Thread Julius Spencer
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

Re: [android-developers] Re: Concurrent database activity

2011-02-11 Thread Julius Spencer
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

Re: [android-developers] Re: Concurrent database activity

2011-02-11 Thread Julius Spencer
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

[android-developers] Concurrent database activity

2011-02-11 Thread Julius Spencer
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

[android-developers] Disable Auto-capitalization for EditText

2011-01-26 Thread Julius Spencer
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

Re: [android-developers] Re: Disable Antenna

2011-01-05 Thread Julius Spencer
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

[android-developers] Disable Antenna

2011-01-04 Thread Julius Spencer
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

Re: [android-developers] Opera callbacks

2010-12-25 Thread Julius Spencer
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

[android-developers] Opera callbacks

2010-12-24 Thread Julius Spencer
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

Re: [android-developers] ContentObserver and BroadcastReceiver

2010-12-19 Thread Julius Spencer
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

[android-developers] ContentObserver and BroadcastReceiver

2010-12-19 Thread Julius Spencer
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

Re: [android-developers] Capturing Intent.ACTION_MEDIA_SCANNER_FINISHED

2010-12-15 Thread Julius Spencer
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

[android-developers] Capturing Intent.ACTION_MEDIA_SCANNER_FINISHED

2010-12-15 Thread Julius Spencer
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.

Re: [android-developers] Accessing Video Thumbnail

2010-11-25 Thread Julius Spencer
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) >

[android-developers] Accessing Video Thumbnail

2010-11-24 Thread Julius Spencer
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

[android-developers] GridView disappears...

2010-11-08 Thread Julius Spencer
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

Re: [android-developers] Get View's siblings

2010-11-06 Thread Julius Spencer
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&

[android-developers] Get View's siblings

2010-11-06 Thread Julius Spencer
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

Re: [android-developers] IllegalStateException: No wrapped connection.

2010-10-31 Thread Julius Spencer
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

Re: [android-developers] IllegalStateException: No wrapped connection.

2010-10-31 Thread Julius Spencer
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. > >

[android-developers] IllegalStateException: No wrapped connection.

2010-10-30 Thread Julius Spencer
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

[android-developers] setSpeakerPhoneOn

2010-09-13 Thread Julius Spencer
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) {

[android-developers] C2DM debugging

2010-09-12 Thread Julius Spencer
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

Re: [android-developers] Re: Testing C2DM service on Android 2.2 emulator

2010-09-12 Thread Julius Spencer
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

Re: [android-developers] Re: Testing C2DM service on Android 2.2 emulator

2010-09-12 Thread Julius Spencer
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

[android-developers] Styling text with internationalisation

2010-09-08 Thread Julius Spencer
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

Re: [android-developers] Deep sleep behaviour

2010-09-06 Thread Julius Spencer
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

[android-developers] Deep sleep behaviour

2010-09-06 Thread Julius Spencer
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

Re: [android-developers] Re: KEYCODE_HOME

2010-08-18 Thread Julius Spencer
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

Re: [android-developers] Re: Problem computing the free space on the external card - only with a single installation

2010-08-18 Thread Julius Spencer
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

Re: [android-developers] Re: Problem computing the free space on the external card - only with a single installation

2010-08-18 Thread Julius Spencer
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

Re: [android-developers] Re: Get all text (including encoded) from XML Text Node

2010-07-04 Thread Julius Spencer
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. >>

Re: [android-developers] Get all text (including encoded) from XML Text Node

2010-07-02 Thread Julius Spencer
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, > >

Re: [android-developers] Get all text (including encoded) from XML Text Node

2010-07-02 Thread Julius Spencer
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

[android-developers] Get all text (including encoded) from XML Text Node

2010-07-02 Thread Julius Spencer
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

Re: [android-developers] Creating ContextMenu based on information from Cursor

2010-06-11 Thread Julius Spencer
>> 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

Re: [android-developers] Images in ListView in wrong places

2010-06-09 Thread Julius Spencer
> 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

Re: [android-developers] Images in ListView in wrong places

2010-06-09 Thread Julius Spencer
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

Re: [android-developers] Display Dialog from notification

2010-03-03 Thread Julius Spencer
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? (

Re: [android-developers] G1 Wifi issue

2009-11-24 Thread Julius Spencer
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()

[android-developers] lock_layer timed out (is the CPU pegged?)

2009-11-18 Thread Julius Spencer
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

Re: [android-developers] Choosing Dev Phone

2009-11-13 Thread Julius Spencer
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

[android-developers] Object Recognition

2009-10-21 Thread Julius Spencer
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