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 -
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
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
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
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
!--
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 -
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
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
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
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 ...
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
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
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
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
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
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
-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
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
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
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
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
=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
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
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
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
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
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
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
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
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
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
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
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
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
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,
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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()
{
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
;
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
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
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
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
, 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
, 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
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
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
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
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
, 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
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
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
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 -
/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
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
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
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
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
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
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
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
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
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
/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
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
);
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
, 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
.
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
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
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
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
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
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
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
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
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
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
-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
95 matches
Mail list logo