[android-developers] How to change title/menu bar background colour in Android Studio 2.2

2016-11-25 Thread Simon Nixon
Hi, How do I change the colour of the title/menu bar background. Simnix -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[android-developers] Android Nougat / 7.0 issues with utilizing IIS https web services

2016-11-09 Thread Simon Marcinkowski
Hello there, I have an app which connects perfectly with our IIS services on all SDK versions <24. When installed on Pixel phone, it doesn't want to connect with same services. I checked changes to Android N related with network security and it looks that those changes affects network

[android-developers] How to move an image between an activity to another

2016-06-14 Thread Simon Usardi
I refer only to the java code... Thank you in advance for your time. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[android-developers] Re: where am I wrong?

2016-06-13 Thread Simon Usardi
sardan Khan tnks for your time Il giorno domenica 12 giugno 2016 17:14:52 UTC+2, Simon Usardi ha scritto: > > package com.example.non.inizializzareunaltraactivity; > > import android.content.Intent; > > import android.support.v7.app.AppCompatActivity; > import androi

[android-developers] where am I wrong?

2016-06-12 Thread Simon Usardi
package com.example.non.inizializzareunaltraactivity; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.EditText; public class MainActivity extends AppCompatActivity { public final

[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] Screen on event

2016-04-24 Thread chen Simon
How can I know if the screen is turned on due to user's pressing power button or other event like incoming call? Thanks for your help. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving

[android-developers] Re: App uninstall doesn't remove SQL database

2016-04-03 Thread 'Simon Ho' via Android Developers
This is getting stranger. This only seems to happen on Windows. This is the process I tried: 1. Delete/uninstall the app from the phone 2. Run app from android studio on Windows. Problem: database still exists and app sees all old data (even though I uninstalled the app) 3. Uninstall app 4. Run

[android-developers] Re: App uninstall doesn't remove SQL database

2016-04-03 Thread 'Simon Ho' via Android Developers
of it So I really am at a loss now. Why would running on a Mac be OK? And why would, after running on a Mac and cleaning out the database, then bring the old Windows database again? Should this not all be OS independent? On Sunday, 3 April 2016 03:55:29 UTC-7, Simon Ho wrote: > > I

[android-developers] App uninstall doesn't remove SQL database

2016-04-03 Thread 'Simon Ho' via Android Developers
I posted this on stackoverflow, but I thought maybe I'd have more luck here... I have a strange problem where my SQL database doesn't remove itself when I uninstall the app I'm not creating the database in any external storage directories, and the database is confirmed to be in its default

[android-developers] Emulators for WebView versions

2016-03-24 Thread simon
We make an Android wallet app called Jaxx. We have had recurring issues with some of our Javascript middleware in different versions of Android, and it's relating to the user's version of the WebView component that is installed. We are looking to obtain emulators of the different versions of

[android-developers] Re: Google Maps Android GPS App

2016-03-02 Thread Simon Leen
Hi gjs, Thanks for the reply but without trying to sound rude that doesn't really help much in answering my question. I've been looking up way points, the Directions API and more but the problem is I can't anything that will get me on the right track. Regards On Thursday, March 3, 2016 at

[android-developers] Google Maps Android GPS App

2016-03-02 Thread Simon Leen
I am working on an Android Running App and currently trying to implement a user chosen distance route. I have been looking with a few weeks and cant seem to find anything that can help. I have user location and updates working but the problem is I don't want to set a defined destination. I

[android-developers] Why does NdsManager not work on Android Wear?

2016-02-17 Thread Simon East
or code 0 apparently means Internal Error which does not help much. The phone the watch is paired to is off, and the watch is connected to the WiFi network and in fact in other tests I can open a socket to the server fine - so I think the networking side of things is all working - it is just NdsM

[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] SMSManger sendTextMessage - never get deliveryIntent

2013-03-10 Thread Lindsey Simon
Do you need RECEIVE_SMS permission to receive the deliveryIntent by any chance? Here is my code - any help would be CRAZY appreciated =) I always get the sent intent but never the delivery one. // The intent action to be unique so that we can have multiple // concurrent

[android-developers] Might locationManager requestLocationUpdates / removeUpdates for dynamic config cause the GPS to completely stop working?

2013-02-28 Thread Lindsey Simon
I've got an app where we want to have dynamic values for minTime and minDistance depending on someone's proximity to their destination. To accomplish this I'm just calling removeUpdates and then requestLocationUpdates after a period with different values. We pause anywhere from 15seconds to 3

[android-developers] Re: Might locationManager requestLocationUpdates / removeUpdates for dynamic config cause the GPS to completely stop working?

2013-02-28 Thread Lindsey Simon
I should add that while no other app can get a location, it seems like Google Maps is working aok. On Thursday, February 28, 2013 6:14:33 PM UTC-8, Lindsey Simon wrote: I've got an app where we want to have dynamic values for minTime and minDistance depending on someone's proximity

[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] Re: Help: My app has violated the spam provisions of the Content Policy

2013-02-03 Thread Simon Frederic
Hi Everyone, I am facing a similar issue with an app I posted last year for testing. Event Animals. the app was downloaded 10 times (for testing only) I received a similar email. No explanation whatsoever for the suspension; and unfortunately no response whatsoever to email. Post suspension I

[android-developers] Detect whether a user has Google Voice installed?

2013-01-16 Thread Lindsey Simon
I have a feature in my app I'd like to not turn on for users who have Google Voice installed.. Is there any way on Android to detect the presence of the App? Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Video editor API

2013-01-08 Thread Simon Buckle
I have a question about the Android SDK (for Jellybean). In the Android source tree there is a 'videoeditor' package ( https://github.com/android/platform_frameworks_base/tree/master/media/java/android/media/videoeditor) yet when I try to import the classes in this package into my project, they

[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] Re: webview can not display twitter page

2012-11-16 Thread Simon
/webview-not-displaying-twitter-on-some-droids http://stackoverflow.com/questions/8056063/android-mobile-twitter-page-in-webview-not-opening http://stackoverflow.com/questions/8951251/getting-blank-page-in-android-webviewclient and others. -- Simon On Friday, July 29, 2011 4:05:10 AM UTC-6, Ethan Gao

[android-developers] How to create a simulator for the screen size is 1920X1080?

2012-11-15 Thread Simon Miao
As Subject. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more

[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

[android-developers] Re: Enabling/Disabling activities at run time

2012-08-27 Thread Jean-Simon Vaillant
How did you guys used the method setComponentEnabledSetting() ? I've been trying to use it to disabled my own activiy-alias. What parameters do you give to the method ? On Monday, August 3, 2009 10:28:25 AM UTC-4, Ashutosh Sharma wrote: Thanks - That seems to be exactly what I was loooking

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] Fragments : Advanced example or tutorials?

2012-08-06 Thread Simon Engler
Good Day, I am trying to create a user interface for driving a robotic platform around. I have a number of programs that work indpendantly displaying video, logs, or graphical representation of a compass etc. I follow tutorials given online, but when I try to implement my programs crash. The

[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

[android-developers] Odd launch fail with r20 SDK

2012-07-26 Thread Simon T
I updated to SDK r20.0.1 a few days ago and since then my application fails to launch on an emulator or handset. I get 'unable to instantiate launch activity (class not found) error' - it seems the main activity is not in the APK. However there is no sign of any bug in Eclipse. My code worked

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

  1   2   3   4   >