[android-developers] ScrollView not erasing all of top line

2016-06-01 Thread Simon Giddings
I have a custom view embedded within a ScrollView which displays music scores. When I scroll the view, after a time, parts of the top row are not erased. Here is an example which illustrates the problem -

[android-developers] Re: ZipInputStream getNextEntry does not return file header info

2015-12-10 Thread Simon Giddings
eam-file-size-reading> Le samedi 5 décembre 2015 18:16:28 UTC+1, Simon Giddings a écrit : > > This would appear to be a bug. > > I create a zip file using ZipOutputStream with success. > I can then transfer it from the tablet to my PC and look at it with WinZip. > All files hav

[android-developers] ZipInputStream getNextEntry does not return file header info

2015-12-05 Thread Simon Giddings
This would appear to be a bug. I create a zip file using ZipOutputStream with success. I can then transfer it from the tablet to my PC and look at it with WinZip. All files have the corresponding size, compressed size, and CRC values. Now, if I open the zip with ZipInputStream and call

[android-developers] Getting the list of supported devices - encoding problems

2015-09-23 Thread Simon Giddings
I wanted to obtain the list of supported devices and then automatically process them. I found this page : https://support.google.com/googleplay/android-developer/answer/6154891?hl=en However, the file is encoded as UCS2 Little endian. Is there a UTF-8 or unicode version available ? It is

[android-developers] Re: How to change actionbar text case

2015-07-29 Thread Simon Giddings
If anyone is needing to do the same thing, here is my working solution. Note that I am targeting API 14 and above. style name=AppTheme parent=android:Theme.Holo.Light.DarkActionBar item name=android:actionMenuTextAppearance @style/myActionBarMenuText/item /style !--

[android-developers] How to change actionbar text case

2015-07-28 Thread Simon Giddings
I have developed an application which contains this app theme style : style name=AppTheme parent=android:Theme.Holo.Light.DarkActionBar / I have tried various means to change the actionbar text to be mixed case instead of all uppercase. To illustrate, here is a screen shot -

[android-developers] Re: How to stop ActionBar getting focus

2015-07-15 Thread Simon Giddings
Ok, here is my solution ... When the pedal keyEvent is processed in dispatchKeyEvent, send a message to the same activity to call requestFocus on the main content view. Le mardi 14 juillet 2015 17:29:49 UTC+2, Simon Giddings a écrit : I have integrated the use of Bluetooth pedals, which

[android-developers] How to stop ActionBar getting focus

2015-07-14 Thread Simon Giddings
I have integrated the use of Bluetooth pedals, which declare themselves as being a keyboard. When the pedal is pressed, my activity gets the keypress and, in dispatchKeyEvent, I return true to indicate that I have consumed the event. However, the ActionBar is still responding to the keypress by

[android-developers] Re: How to remove blue cast on views

2015-04-27 Thread Simon Giddings
Can you give any guidance, help, as to how to achieve this ? On Monday, 27 April 2015 09:12:51 UTC+2, Diogo Henrique wrote: Simon, check your style, and try change the main Parentor create a default background in your entire app. -- You received this message because you are subscribed

[android-developers] How to remove blue cast on views

2015-04-25 Thread Simon Giddings
In my app, I create a music score dynamically in a custom view. This is held within a fragment, which does not have any custom background colour or resource applied to it. Here is a screen shot illustrating the situation ...

[android-developers] Migrating to Android Studio

2015-01-10 Thread Simon Giddings
I have been developing a large project for a long time now and am nearly at the point of wanting to release it. However, I have seen that the official IDE is no longer Eclipse but Android Studio. In addition, I have seen a number of discussions passing by where people are complaining about

Re: [android-developers] Migrating to Android Studio

2015-01-10 Thread Simon Giddings
This is great - first class answer ! Thanks for reassuring me about this move - which I will indeed undertake after my first release. On Saturday, January 10, 2015 at 8:29:27 PM UTC+1, TreKing wrote: On Sat, Jan 10, 2015 at 11:24 AM, Simon Giddings mr.s.g...@gmail.com javascript: wrote

[android-developers] Re: Connect tablet to locally hosted web site

2014-09-27 Thread Simon Giddings
forum, though. On Thursday, 25 September 2014 10:36:02 UTC+2, Simon Giddings wrote: I have an application developed which needs to connect to a web site to collect online content. I have seen that we can indeed connect to a web server on a local system by addressing it via it's ip address

[android-developers] Connect tablet to locally hosted web site

2014-09-25 Thread Simon Giddings
I have an application developed which needs to connect to a web site to collect online content. I have seen that we can indeed connect to a web server on a local system by addressing it via it's ip address. However, I am using virtual hosts on my system, so as to use virtual domains. This is

[android-developers] Allowing underlying ScrollView to scroll

2014-07-31 Thread Simon Giddings
I have a ScrollView which fills the screen, within a RelativeLayout. Positioned over this are a series of transparent Views placed in each corner as hotspots. Their only purpose is to capture tap/click events. However, I do not see how I can let dragging events be passed onto the underlying

[android-developers] Re: Fragment animations using objectAnimator to slide over the previous fragment

2014-06-06 Thread Simon Giddings
this myself thoroughly, but have you considered using a FragmentPagerAdapter with a ViewPager? Doug On Thursday, June 5, 2014 11:41:02 AM UTC-7, Simon Giddings wrote: I have seen the kind of effect I want being demonstrated with the ViewPager http://developer.android.com/training/animation

Re: [android-developers] Re: Fragment animations using objectAnimator to slide over the previous fragment

2014-06-06 Thread Simon Giddings
-transparent Fragment background colour? On Jun 6, 2014 2:14 PM, Simon Giddings mr.s.g...@gmail.com javascript: wrote: Thanks for your suggestion. No, you are right, I have not considered this as yet (didn't know I could to be honest). I'll look into this option, unless anyone else has already done

[android-developers] Fragment animations using objectAnimator to slide over the previous fragment

2014-06-05 Thread Simon Giddings
After having spent quite a bit of time searching for this, I need to request help here. I have a series of fragments each representing a page. I want to give the user a nice animation effect when going to the next page he has requested. I want that the new fragment slides in *over* the

[android-developers] Unable to see installed app via DDMS

2014-05-27 Thread Simon Giddings
I have just purchased and received my Samsung Galaxy Tab Pro 10.1 tablet (Android 4.4.2). Just got over the panic of not seeing the developer options in settings = had to tap 7 times on the version number to get this displayed. Now, I have started a debug session to install my app for

[android-developers] Creating a custom PreferenceScreen for configuring connected devices

2014-05-23 Thread Simon Giddings
My app will receive input from external bluetooth devices. I want to be able to let the user configure the application according to the paired device present. The obvious place for this is within the shared preference activity. As I am only targeting tablets for this, I was wanting to take

Re: [android-developers] Re: How to calculate a tablets resolution before purchasing the tablet

2014-05-22 Thread Simon Giddings
it to the closet dpi bucket ( http://developer.android.com/reference/android/util/DisplayMetrics.html) would be a good bet, even though the manufacturer could choose a different bucket. Tobias Den onsdagen den 16:e april 2014 kl. 09:14:48 UTC+2 skrev Simon Giddings: Thank you Marina

Re: [android-developers] Re: How to calculate a tablets resolution before purchasing the tablet

2014-04-16 Thread Simon Giddings
=com.pmc.android.checkscreensize, but there are plenty. Otherwise, as far as I can recall it depends on the manufacturer's decision which bucket it takes. So no, you can't calculate the bucket given the physical screen size and dpi specs. Marina On Tue, Apr 15, 2014 at 4:06 AM, Simon Giddings mr.s.g

[android-developers] Re: How to calculate a tablets resolution before purchasing the tablet

2014-04-15 Thread Simon Giddings
On Tuesday, April 1, 2014 3:28:39 AM UTC-4, Simon Giddings wrote: I am looking at buying a Toshiba eXcite Pro AT10LE-A-10D, which boasts a screen resolution of 2560 x 1600 pixels for a screen diagonal of 10.1. Is it possible to calculate the DP value - ie MDPI / HDPI / XHDPI etc ? I haven't been

[android-developers] Seeking layout advice

2014-04-04 Thread Simon Giddings
I am working on an application where the user can create a list of items (songs). The user can also add a text block to the list - text to be read as an introduction to the next sequence of songs, for example. It is with this text editer activity that I am having trouble deciding where to put

[android-developers] How to calculate a tablets resolution before purchasing the tablet

2014-04-01 Thread Simon Giddings
I am looking at buying a Toshiba eXcite Pro AT10LE-A-10D, which boasts a screen resolution of 2560 x 1600 pixels for a screen diagonal of 10.1. Is it possible to calculate the DP value - ie MDPI / HDPI / XHDPI etc ? I haven't been able to find any form of developer support on the toshiba web

[android-developers] Re: Padding offsets for a TextView to perfectly align with an EditText

2014-03-28 Thread Simon Giddings
I agree, in the same way as using the relative alignments above. However, as I stated, the displayed text is *not* at the same position - the EditText widget is higer and so there are offsets applied to the beginning of the text. On Friday, 28 March 2014 00:21:52 UTC+1, yaturner wrote: Try

[android-developers] Padding offsets for a TextView to perfectly align with an EditText

2014-03-26 Thread Simon Giddings
I am building a layout where text is displayed in a TextView. When the user taps on the text, I want to display an EditText widget to allow for the text to be modified. I use a relative layout to ensure have the two widgets in the same position. The edit text is declared first and then the the

[android-developers] Re: Seperate display on HDMI device

2014-02-24 Thread Simon Giddings
After having looked at this, it would seem to be a bit overkill. Is there not another, more direct way to output to an HDMI display ? On Saturday, 22 February 2014 07:20:32 UTC+1, gjs wrote: Hi Try https://developers.google.com/cast/ Regards -- You received this message because you are

[android-developers] Seperate display on HDMI device

2014-02-21 Thread Simon Giddings
I am creating an application which needs to display on an HDMI connected screen, display content which is different to that displayed on the tablet. This could be used in the context of presentations where the presenters notes are only displayed on the tablet and the illustration content on

[android-developers] ActionBar strange behaviour

2013-11-22 Thread Simon Giddings
I am writing an application for Android tablets - version 4.0 (min sdk 14) Here is the content at the start of the activity : https://lh4.googleusercontent.com/-s7H2b2yp8Gk/Uo9E9VZP1XI/Am8/W0maYf5wefQ/s1600/actionbar_prb1.jpg When I click (I am working in the emulator) on the plus

[android-developers] ListPopupWindow - align to right edge of the anchor

2013-10-15 Thread Simon Giddings
I am creating a custom drop down menu initiated from the action bar in a tablet application. When the button is pressed in the action bar, I need the ListPopupWindow to align it's right edge with the right edge of the action view button. However, I have not be able to find how to do this. Can

[android-developers] Correcting the style of a drop down spinner in ActionBar

2013-10-09 Thread Simon Giddings
I am using the following theme : Theme.Holo.Light.DarkActionBar My application targets a minimum SDK of v14 and I am inserting a spinner to enable selection of items - ie this is NOT navigation. I have been searching for the correct way to correct the styling of the spinner so that it is

[android-developers] Correcting the styles of a drop down spinner in the ActionBar

2013-10-09 Thread Simon Giddings
I am using the following theme : Theme.Holo.Light.DarkActionBar My application targets a minimum SDK of v14 and I am inserting a spinner to enable selection of items - ie this is NOT navigation. I have been searching for the correct way to correct the styling of the spinner so that it is

[android-developers] Navigation Drawer and using - over sized - icons

2013-09-28 Thread Simon Giddings
I would like to be able to use oversized icons within the Navigation Drawer listview items. However, I have seen that, even if I put larger icons in the resource directories, they are all scaled down. This is for working exclusively within a tablet application. Is there a way around this

[android-developers] Navigation Drawer, Activities and Fragments

2013-09-28 Thread Simon Giddings
I am a bit confused here with this. With the examples that I have seen for using the Navigation Drawer, they all point to using one unique Activity, with Fragments giving the actual content. The advantage with this is that there is only one instance of the Navigation Drawer created. However,

Re: [android-developers] Navite Navigation Drawer

2013-09-27 Thread Simon Giddings
at 10:50 AM, Simon Giddings mr.s.g...@gmail.comjavascript: wrote: I have seen the Navigation Drawer and am interested in it for my v4.1 tablet application. However, I see that the documentation describes it as being within the support library. My understanding was that this library

[android-developers] Navite Navigation Drawer

2013-09-26 Thread Simon Giddings
I have seen the Navigation Drawer and am interested in it for my v4.1 tablet application. However, I see that the documentation describes it as being within the support library. My understanding was that this library was mainly for apps in and before v2.3 of android. Is there not a native

[android-developers] Re: Dispalying PDF files within a tablet application

2013-05-13 Thread Simon Giddings
Because the users will be opening PDF files and not images ! On Monday, 13 May 2013 16:31:28 UTC+2, bob wrote: Why not just use an image? Thanks. On Saturday, May 11, 2013 10:33:23 AM UTC-5, Simon Giddings wrote: I have seen that this topic has been raised a number of times over

[android-developers] Dispalying PDF files within a tablet application

2013-05-11 Thread Simon Giddings
I have seen that this topic has been raised a number of times over the last few years. I am surprised that Google has not thought of adding a native API to keep up with the other side (IOS and iPad). I am needing to display PDF files of sheet music within my application - this might be a

[android-developers] Seeking font tool

2013-05-02 Thread Simon Giddings
Does anyone know of a tool to correctly convert a truetype font so that it is compatible with Android ? At least with Android 4.0. -- -- 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] Emulator plus HAXM blocks hibernation

2013-04-29 Thread Simon Giddings
I am developing a tablet app and have installed HAXM release 03 from intel. When I want to put my PC into hibernate mode (Dell Vostro 1710 - Windows XP Pro SP3), I exit the emulator and eclipse, before going to hibernate mode. However, the screen goes black and then nothing else occurs, leaving

[android-developers] How to compress text data before saving in a database

2013-04-20 Thread Simon Giddings
I have a more than 800 records of data, of which each record will contain a variable size of text data. It is this text data (anything between 800 bytes and 4kb) which I need to compress before putting it into the database. It doesn't matter if the saving of the data is a bit long, it will be

Re: [android-developers] Re: Optimise drawing speed

2013-04-01 Thread Simon Giddings
Thank you for the comments. Yes you are right, I am targeting Android 4.0+. I'll keep with my current rendering choice then. On Monday, 1 April 2013 00:19:49 UTC+2, Romain Guy (Google) wrote: On Mar 31, 2013 12:15 PM, Jason jason@gmail.com javascript: wrote: My first reaction is that

[android-developers] Optimise drawing speed

2013-03-31 Thread Simon Giddings
I am writing a music notation app for android tablets. As I draw everything (ie. this is not a simple image (jpg, pdf, etc) which needs displaying), I need to ensure that the choice of drawing method is the fastest possible. My options, as I see them at present, are 1. Classic on-screen

[android-developers] High Resolution Application Icon Spec

2013-02-12 Thread Simon Giddings
In the current spec, the high resolution application icon said to have to be a 32bit PNG. However, in the version of photoshop I have, I can only output to a 24bit PNG. Is this acceptable or will my images be rejected ? -- -- You received this message because you are subscribed to the Google

Re: [android-developers] Unable to obtain Google Maps Android v1 API Key

2013-02-08 Thread Simon Giddings
Thanks for that Mark, it works great. Sorry to not have replied before, but I didn't have a working connection. On Thursday, 7 February 2013 17:23:07 UTC+1, Mark Murphy (a Commons Guy) wrote: Add -v to your list of command-line switches. On Thu, Feb 7, 2013 at 11:13 AM, Simon Giddings

[android-developers] Unable to obtain Google Maps Android v1 API Key

2013-02-07 Thread Simon Giddings
I have followed the instructions to create a private key and then obtain the MD5 signature. I paste this signature into the signup input field and click submit. I then get a page which says that the MD5 signature is incorrect ! Tried with and without the colons (:). Has the key generation been

Re: [android-developers] Unable to obtain Google Maps Android v1 API Key

2013-02-07 Thread Simon Giddings
have Java 7 installed, you might be getting the SHA-1 hash instead, for example. On Thu, Feb 7, 2013 at 10:28 AM, Simon Giddings mr.s.g...@gmail.comjavascript: wrote: I have followed the instructions to create a private key and then obtain the MD5 signature. I paste

[android-developers] Creating data files as compiled (binary) xml

2012-12-06 Thread Simon Giddings
I am developing a tablet application where I want my data files to be stored as compiled xml. The application will not, itself, be creating these files. These files will be added at a later stage - the user will be able to purchase them separately. So, my question is, how can I create the

Re: [android-developers] Creating data files as compiled (binary) xml

2012-12-06 Thread Simon Giddings
at 11:27 AM, Simon Giddings mr.s.g...@gmail.comjavascript: wrote: I am developing a tablet application where I want my data files to be stored as compiled xml. Why? Furthermore, what do you consider compiled xml to be? If you are referring to the binary XML format created

[android-developers] Scaling emulator size to real size from eclipse

2012-12-03 Thread Simon Giddings
I know that we can start the emulator from the AVD manager and use the Scale to real size parameters. However, when the emulator is started from within eclipse via a debug request, it will start a new instance of the emulator without scaling the window size. How can I start the emulator from a

[android-developers] Re: Scaling emulator size to real size from eclipse

2012-12-03 Thread Simon Giddings
this will help others On Monday, 3 December 2012 11:43:22 UTC+1, Simon Giddings wrote: I know that we can start the emulator from the AVD manager and use the Scale to real size parameters. However, when the emulator is started from within eclipse via a debug request, it will start a new

[android-developers] Intel x86 image for 4.1.2

2012-11-29 Thread Simon Giddings
I have installed the intel x86 image for 4.1.2 (API 16) via the SDK Manager. Now, when I go into the AVD Manager and select a target of Android 4.1.2 - API Level 16, it still automatically selects the ARM CPU/ABI and disables the dropdown list. How do I get it to recognise that the x86 system

[android-developers] Re: Intel x86 image for 4.1.2

2012-11-29 Thread Simon Giddings
The only way I found to get this to work is to reboot the system. A bit extreme, but it works. On Thursday, 29 November 2012 11:24:53 UTC+1, Simon Giddings wrote: I have installed the intel x86 image for 4.1.2 (API 16) via the SDK Manager. Now, when I go into the AVD Manager and select

[android-developers] extend class and constructors

2012-11-29 Thread Simon Giddings
This may seem a bit basic, but I come from a C++ background and it is confusing me a little. When I extend a base class, do I need to create a constructor for each base class constructor ? What I mean is this. Given : public class base { protected int m_iValue; public base() {

[android-developers] Defining custom xml file in eclipse

2012-11-26 Thread Simon Giddings
I have a series of custom xml data files that I need to create. I would like to tell eclipse what its format is so that when I do a CTRL+SPACE, it will give me the possible node or attribute options. Is this possible ? If so, how do I go about this ? -- You received this message because you

[android-developers] Re: Defining custom xml file in eclipse

2012-11-26 Thread Simon Giddings
; On Monday, November 26, 2012 10:55:50 AM UTC-6, Simon Giddings wrote: I have a series of custom xml data files that I need to create. I would like to tell eclipse what its format is so that when I do a CTRL+SPACE, it will give me the possible node or attribute options. Is this possible

Re: [android-developers] Defining custom xml file in eclipse

2012-11-26 Thread Simon Giddings
I thought the xml editor was specific to the Android SDK On Monday, 26 November 2012 20:33:23 UTC+1, TreKing wrote: On Mon, Nov 26, 2012 at 10:55 AM, Simon Giddings mr.s.g...@gmail.comjavascript: wrote: Is this possible ? If so, how do I go about this ? Sounds like your questions

[android-developers] Re: Drawing complex shapes with hollow parts

2012-11-23 Thread Simon Giddings
In fact, after doing some further work on this, this is what I have found : The simplest way of achieving this is to 1. Create the path object 2. Set the fill type to Path.FillType.WINDING . 3. draw the outline segments using lineTo, cubicTo, etc, ensuring that the outline closes

[android-developers] Drawing complex shapes with hollow parts

2012-11-12 Thread Simon Giddings
I am needing to draw shapes which will have hollow regions. To simplify the idea, take an ampersand sign : This is just to illustrate the kind of task I need to do. I can create the outline by using a path. However, I have not been able to see how to create the two holes such that when the

[android-developers] Re: Drawing complex shapes with hollow parts

2012-11-12 Thread Simon Giddings
, 12 November 2012 11:58:07 UTC+1, Piren wrote: http://stackoverflow.com/questions/11337679/porterduffxfermode-clear-a-section-of-a-bitmap On Monday, November 12, 2012 12:16:17 PM UTC+2, Simon Giddings wrote: I am needing to draw shapes which will have hollow regions. To simplify the idea

[android-developers] Re: Drawing complex shapes with hollow parts

2012-11-12 Thread Simon Giddings
, Simon Giddings wrote: Thank you for this. One thing I am not clear with is the problem with hardware acceleration. Some people say that this will not work with hardware acceleration ON, whilst others say that this is precisely what is needed when it is ON. Is there some definitive answer

[android-developers] Samsung not in SDK manager list

2012-11-12 Thread Simon Giddings
I am using Eclipse Indigo service release 2. The version of the ADK is 20.0.3.v201208082019-427395. When I open the SDK Manager, I noticed that there is no mention of anything from Samsung. Looking into the Add-on sites, Samsung is not there and the User Defined Sites is empty. Are we able to

[android-developers] Equivelant of NavUtils when not using the support library

2012-11-12 Thread Simon Giddings
I am starting to build an application which will only be distributed on tablets running Honeycomb or later. I created my project specifying this and yet it still imports the support library. So, I have been cleaning out all references to this and have come to a stop. What am I to use to

[android-developers] Specifying the language of the application

2012-08-30 Thread Simon Giddings
I need to create individual language versions of my application - due to resource size. How can I specify the language of the application ? I could not see how to do this within the manifest. Is it only possible when creating the product in Google Play ? -- You received this message because

[android-developers] Two independant ProgressBar instances

2012-08-27 Thread Simon Giddings
Is there a limit to only one ProgressBar per Activity ? I have a layout which needs two independent progress bar instances, but only one is displayed at runtime. Why do I need two ? Because they represent two separate progress actions. -- You received this message because you are subscribed to

Re: [android-developers] Two independant ProgressBar instances

2012-08-27 Thread Simon Giddings
, Simon Giddings mr.s.g...@gmail.comjavascript: wrote: Is there a limit to only one ProgressBar per Activity ? I can't imagine there would be. I have a layout which needs two independent progress bar instances, but only one is displayed at runtime. Maybe you're doing something wrong

[android-developers] Using a symbol font

2012-08-14 Thread Simon Giddings
I have seen that it is possible to use custom fonts within our Android apps. I am starting to build an app for tablets and need to use a specific symbol font. I place it in a font directory under assets and load it via the Typeface.*createFromAsset* method. I get back a Typeface object and

Re: [android-developers] Using a symbol font

2012-08-14 Thread Simon Giddings
Thanks Mark, I had created a very simple project to try this out. So, it would appear that I will have to look at a different method for drawing symbols. Thanks again On Tuesday, 14 August 2012 12:09:18 UTC+2, Mark Murphy (a Commons Guy) wrote: On Tue, Aug 14, 2012 at 5:46 AM, Simon

Re: [android-developers] Canvas or OpenGL

2012-08-12 Thread Simon Giddings
Thank you to every one for their responses. It would seem, however, that my question was not clear enough (you are right James). I am going to write a music notation app. So, will simply be writing the music score on the display - no animation needed. My question was about visual scaling -

Re: [android-developers] Canvas or OpenGL

2012-08-12 Thread Simon Giddings
/Canvas.html and look for functions like: save restore scale translate setMatrix etc... On Sunday, August 12, 2012 9:44:47 AM UTC+1, Simon Giddings wrote: Thank you to every one for their responses. It would seem, however, that my question was not clear

[android-developers] Canvas or OpenGL

2012-08-11 Thread Simon Giddings
I am going to start the development of a Music document app. In the past, when I developed under widows, I used world coordinates and screen coordinates to provide scaling/zooming. I am unclear as to weather I should go to OpenGL under Android, or if I could still use Canvas. Can anyone advise

[android-developers] Creating custom icons with Photoshop - dip

2012-08-06 Thread Simon Giddings
This subject is causing me some conceptual problems. In the official documentation, it states that 1dip represents 1 pixel in a 160dpi screen. Does this mean that we should be creating graphic elements at a resolution of 160 dpi instead of 72 dpi ? I hope someone will be able to give an

Re: [android-developers] DialogFragment - show soft keyboard upon creation

2012-07-17 Thread Simon Giddings
AM UTC-7, Simon Giddings wrote: Yes, I use this as well, but forgot to include it in the code I posted here. On Monday, 16 July 2012 18:06:41 UTC+2, Kostya Vasilyev wrote: Have you tried et.requestFocus() ? 2012/7/16 Simon Giddings I have a simple dialog built with the compatibility

[android-developers] DialogFragment - show soft keyboard upon creation

2012-07-16 Thread Simon Giddings
I have a simple dialog built with the compatibility libraries DialogFragment. It holds only 1. EditText 2. 2 buttons When the dialog is shown, the edit text control has the focus. At this point, I want to open the soft keyboard automatically. Here is what I am doing within the

Re: [android-developers] DialogFragment - show soft keyboard upon creation

2012-07-16 Thread Simon Giddings
Yes, I use this as well, but forgot to include it in the code I posted here. On Monday, 16 July 2012 18:06:41 UTC+2, Kostya Vasilyev wrote: Have you tried et.requestFocus() ? 2012/7/16 Simon Giddings I have a simple dialog built with the compatibility libraries DialogFragment. It holds

Re: [android-developers] Showing a confirm dialog from the PreferenceAcivity

2012-07-05 Thread Simon Giddings
wrote: Here is any example about showing an alert with dialog fragment. http://developer.android.com/reference/android/app/DialogFragment.html (Alert Dialog section) On 4 July 2012 19:36, Simon Giddings wrote: Within my preferences I give the user control over my image cache

[android-developers] Showing a confirm dialog from the PreferenceAcivity

2012-07-04 Thread Simon Giddings
Within my preferences I give the user control over my image cache, including the ability to empty the cache. However, I want the user to confirm the emptying of the cache (to avoid mistakes). We are supposed to use dialog fragments now instead of dialog builders as these are depreciated (as

[android-developers] Playing user specified YouTube Videos in MediaPlayer

2012-07-03 Thread Simon Giddings
My Android app uses data designed for my main Web Application. Content providers are able to specify a presentation video hosted in YouTube for playback on the site. This works just fine. Does anyone know if there exists a means or an api which permits getting the correct URI for a given

[android-developers] Where have all the tutorials gone ?

2012-06-28 Thread Simon Giddings
Since the new version of the developers site has come online (developer.android.com), I am unable to find the tutorials ! Does anyone know where they are ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

Re: [android-developers] Where have all the tutorials gone ?

2012-06-28 Thread Simon Giddings
/2012 8:25 PM, Simon Giddings wrote: Since the new version of the developers site has come online ( developer.android.com), I am unable to find the tutorials ! Does anyone know where they are ? -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] ListView inside a tabhost not displaying content initially

2012-06-20 Thread Simon Giddings
I have a TabActivity containing a series of four tabs and a listview. Each of the tabs reference the same listview. When the activity is initially displayed, the listview is not displayed. However, clicking on another tab will display it correctly and clicking back on the first tab will also

Re: [android-developers] ListView inside a tabhost not displaying content initially

2012-06-20 Thread Simon Giddings
); tabhost.setCurrentTab(0); * Does your list show up at that point? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, Jun 20, 2012 at 9:41 AM, Simon Giddings wrote: I have a TabActivity containing a series of four tabs and a listview. Each

Re: [android-developers] ListView inside a tabhost not displaying content initially

2012-06-20 Thread Simon Giddings
, but you may see weirdness as a result of it... If this isn't supposed to be supported then the devs likely have not tested this scenario... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, Jun 20, 2012 at 10:00 AM, Simon Giddings wrote: Wow, I

[android-developers] Re: Maps API : drawing driving itinerary

2012-05-18 Thread Simon Giddings
. On Thursday, May 17, 2012 12:19:33 PM UTC-4, Simon Giddings wrote: I am developing a maps application which will display a user defined driving itinerary. I obtain the driving directions from the Directions Web Service and parse the json response in a separate thread. I then hand

[android-developers] Maps API : drawing driving itinerary

2012-05-17 Thread Simon Giddings
I am developing a maps application which will display a user defined driving itinerary. I obtain the driving directions from the Directions Web Service and parse the json response in a separate thread. I then hand the resulting itinerary object to my custom overlay for display. Before appending

[android-developers] Map API : getMaxZoomLevel and satellite mode

2012-05-14 Thread Simon Giddings
I am in the process of developing a map based application and have put inplace my own zoom controls. As a consequence, I query the maximum zoom level when the map mode is changed. However, when going to satellite mode, the maximum zoom level is returning a value too high. I can say this

Re: [android-developers] Map API : getMaxZoomLevel and satellite mode

2012-05-14 Thread Simon Giddings
possiblehttp://code.google.com/p/android/issues/detail?id=2761 Since this was started in 2009, I would have thought that there should be a workaround at least ! On Monday, 14 May 2012 10:12:11 UTC+2, the_edge123 wrote: On 14/05/12 08:35, Simon Giddings wrote: However, when going to satellite mode

Re: [android-developers] Map API : getMaxZoomLevel and satellite mode

2012-05-14 Thread Simon Giddings
Obviously, but this would be a kludge - no guarantee that it is correct. On Monday, 14 May 2012 10:38:21 UTC+2, the_edge123 wrote: On 14/05/12 10:19, Simon Giddings wrote: I have already done this to confirm my suspicion. Subsequent calls to getMaxZoomLevel will return 22 as opposed to 21

[android-developers] Maps API - internal persistence of data

2012-05-12 Thread Simon Giddings
I am building a maps api application and have noticed that the map position and zoom levels are restored upon subsequent application launches. Is it possible to access this persistence store so as to be able to control and detect what data is going to be restored. This would be notably useful

Re: [android-developers] Maps API - internal persistence of data

2012-05-12 Thread Simon Giddings
feel. On Saturday, 12 May 2012 18:18:12 UTC+2, Mark Murphy (a Commons Guy) wrote: On Sat, May 12, 2012 at 11:53 AM, Simon Giddings mr.s.giddi...@gmail.com wrote: I am building a maps api application and have noticed that the map position and zoom levels are restored upon subsequent

[android-developers] Music notation application

2012-05-08 Thread Simon Giddings
I am researching the writing of a simple music notation program which will permit simple actions such as - Display - Transposition - Annotation - etc My first hurdle is how to display the music. The majority of desktop apps use music fonts, which makes zooming and resizing quite

[android-developers] Re: Music notation application

2012-05-08 Thread Simon Giddings
get you app when it is done. On Tuesday, May 8, 2012 6:43:08 AM UTC-7, Simon Giddings wrote: I am researching the writing of a simple music notation program which will permit simple actions such as - Display - Transposition - Annotation - etc My first hurdle is how

[android-developers] Native Maps Api - zoom to geocode returned viewport

2012-04-30 Thread Simon Giddings
This is a question I asked on Stackoverflow for which I got no answer. When I make a query to the Google Maps Api Geocode web service, the answer comes back with a number of elements : - Coordinates lat / lng - Viewport NE and SW - others The viewport is that which contains

[android-developers] Re: Native Maps Api - zoom to geocode returned viewport

2012-04-30 Thread Simon Giddings
-bounds-on-android-like-on-js-google-maps-api-m On Monday, 30 April 2012 09:46:08 UTC+2, Simon Giddings wrote: This is a question I asked on Stackoverflow for which I got no answer. When I make a query to the Google Maps Api Geocode web service, the answer comes back with a number of elements