[android-developers] Android Spinner Issue

2017-01-28 Thread Phil Gibbs
I have a data entry layout that defines 5 spinners. Each spinner has properties defined that are identical, apart from id, hint text and so on. When rendered they all have different background and text colors. These are all defined to be the same. The containing layout has a style defined w

[android-developers] Android Studio Initial Run

2017-01-08 Thread Phil Gibbs
After developing with AS for over a year, the IDE became very unresponsive. Just setting the cursor in a line of code I'd have to wait 3 or 4 seconds until I could type anything. Background tasks, like build, were unaffected. All other apps on my PC were normal. So, I uninstalled AS, and dele

[android-developers] TabLayout problem

2016-10-27 Thread Phil Gibbs
I've built an app that uses TabLayout. Each tab displays correctly in a scrollable horizontal toolbar. However, it displays the layout for Tab 1, by default and I do not want anything displayed until the onTabSelected code is fired. ie; Do not display anything (except for the tabs) until I c

[android-developers] MaterialSpinner - restoring initial list after item selection

2016-06-01 Thread Phil Gibbs
I have a data entry form in which I can choose to enter data multiple times. After a selection the selected value shows in the spinner. How do I 'disappear' that selection value from view before another set of data is entered into the form? -- You received this message because you are subs

[android-developers] Windows 10 and Studio

2015-08-23 Thread Phil Gibbs
After installing Win 10 I'm getting many lock-ups when using AS. Not sure how much Genymotion is involved. Downgraded to Win 7 and problems disappeared. So now I'm reluctant to try 10 again. Anyone seen this issue? -- You received this message because you are subscribed to the Google Groups "A

[android-developers] Using Callbacks in Master-Detail Scenario.

2015-05-20 Thread Phil Gibbs
I have a typical master-detail scenario. That is, first activity invokes a list fragment in which I retrieve a list using a contentprovider. An Item click on this list returns the row using a callback to activity. Activity determines device type and either fires a detail fragment (for tablets

[android-developers] Re: My android studio suddenly has changed the editor font to enormous.

2014-10-19 Thread Phil Bayfield
You can pinch to zoom. On Thursday, 16 October 2014 16:03:45 UTC+1, Christine wrote: > > My android studio suddenly has changed the editor font to enormous. > I'm on Ubuntu, changing font size in settings (of android studio) doesn't > change the font. The way it is now, it's unusable. What can I

[android-developers] Assets folder location

2013-11-30 Thread Phil Gibbs
Eclipse generates an assets folder in the project structure. Where is (or how do I create one that is recognized by the build) is this folder supposed to go? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send ema

[android-developers] Suggestion for next release of Android Studio

2013-11-30 Thread Phil Gibbs
Double clicking on a class (and everything else) brings the class into the edit area but does not bring it into the active edit screen. The tab needs to be clicked to bring it into focus. Please bring it into focus using the double-click - like Eclipse allows. -- You received this message be

[android-developers] Re: Aligning column data in a listview

2013-09-18 Thread Phil Gibbs
I finally got the first part right. Just need to line up the headings. On Wednesday, September 18, 2013 2:29:33 PM UTC-4, Phil Gibbs wrote: > > I have a listview populated via a SimpleCursorAdapter backed by a > ContentProvider. > My final view contains a non-scrollable header (co

[android-developers] Aligning column data in a listview

2013-09-18 Thread Phil Gibbs
I have a listview populated via a SimpleCursorAdapter backed by a ContentProvider. My final view contains a non-scrollable header (col hdgs), the ListView and a footer with totals for some of the columns. How can I ensure that (1) the data columns are all lined-up, preferably left-justified, and

[android-developers] JDK Path still giving problems

2013-09-16 Thread Phil Gibbs
Couple weeks ago I tried installing Android Studio, but had problem with it not finding any JAVA_HOME, although it did exist as an environment variable. So uninstalled Studio and forgot about it since MyEclipse was working fine. Then today I downloaded and installed Studio successfully. But wh

[android-developers] SQLite DB location on Windows PC

2013-09-03 Thread Phil Gibbs
Just for curiosity, where exactly is the database that can be accessed via adb shell ie; /data/data/packagename/databases/database name. Must be in a file somewhere, but where? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to t

[android-developers] Table Row Selection when using SimpleCursorAdapter

2012-07-17 Thread Phil Gibbs
The subject says it all. How can I allow a user to select a row from a table generated using the CursorAdapter by clicking (or touching) it? I'd done this previously by dynamically building each table row from a List object, but then decided to use a Cursor thinking it would be more efficient.

[android-developers] ContentValues issue

2012-06-29 Thread Phil Gibbs
First, as a long-time Java developer I'm now learning Android. I have an app in which I use the ContentValues class to supply data to a Class that extends ContentProvider. Here's the issue. I'm 'put'ing 5 values (from a layout) into the ContentValues class. The problem - not all values are ge

[android-developers] Software Keyboard

2012-06-21 Thread Phil Ryu
Everything works as expected as soon as I minimize the application (by pressing Home) and restore the application. From then, the keyboard shows up without any problems. Any clues? Phil. PS : My phone has a hardware keyboard. -- You received this message because you are subscribed to the Go

[android-developers] ViewPager jumpy/laggy

2012-03-30 Thread Phil Bayfield
I'm using a ViewPager with ListViews inside them but the transitions are quite jumpy. Can anyone tell me a good way to improve the performance of this? Thanks Phil -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To pos

[android-developers] Strange behaviour with view pager fragments

2012-03-26 Thread Phil Bayfield
hat is going on here? Thanks, Phil. -- 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...@

[android-developers] Broken Links in Documentation

2012-01-30 Thread Phil Brown
een's source code" is broken, and brings me to the wrong page. Phil -- 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 thi

[android-developers] Extract device phone number in international format

2011-11-04 Thread Phil Bayfield
number and convert to international format? Thanks, Phil. -- 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

[android-developers] Re: com.google.android.maps.MapView and "server returned 3"

2011-11-03 Thread Phil H
OK my bad, I was punching in the wrong MD5. On Nov 2, 8:45 pm, Phil H wrote: > I've been developing a Google Maps based application and for a few > weeks I've been running with a Maps API key generated from the > keystore used for signing code deployed over USB to my develo

[android-developers] com.google.android.maps.MapView and "server returned 3"

2011-11-02 Thread Phil H
I've been developing a Google Maps based application and for a few weeks I've been running with a Maps API key generated from the keystore used for signing code deployed over USB to my development phone. I've been able to see maps in the MapView, zoom, pan and add my own layers. This evening I got

[android-developers] Re: LVL and InApp Billing

2011-10-01 Thread Phil H
The only thing I would say is that, in my recent investigation into LVL, you can see how many devices are using a single purchased licence, which may be useful. On Oct 1, 7:54 pm, androidmediadeveloper wrote: > Have noticed several posts on this issue but no specific resolution, > so, trying agai

[android-developers] Re: LVL, DeviceLimiter and userId

2011-10-01 Thread Phil H
OK after playing with two different accounts across three different devices... the userId passed to DeviceLimiter is maintained across devices and between wipes. So, if a user has purchased an LVL licenced application, DeviceLimiter will always receive the same userId string. Therefore, it is poss

[android-developers] Re: LVL, DeviceLimiter and userId

2011-10-01 Thread Phil H
Android users have multiple devices with the same Google Id tied to > the, > > On Oct 1, 7:41 am, Phil H wrote: > > > > > > > > > I'm looking at the LVL code and had a question about user identity and > > the DeviceLimiter interface. I've one app in

[android-developers] LVL, DeviceLimiter and userId

2011-09-30 Thread Phil H
I'm looking at the LVL code and had a question about user identity and the DeviceLimiter interface. I've one app in the Android Market that uses LVL in its recommended form, so users can install the application on any device they have set up their account on. Early indications are that the software

Re: [android-developers] Controlling mutually exclusive preference categories with a single parent checkbox

2011-07-02 Thread Phil Haigh
ried them. You may also wish to consider how you > will approach this when you switch to PreferenceFragments going > forward. > > On Sat, Jul 2, 2011 at 9:18 AM, Phil H wrote: >> Yes, the first two options are a bit unpleasant, and as for the third, well >> its an option b

[android-developers] Re: Controlling mutually exclusive preference categories with a single parent checkbox

2011-07-02 Thread Phil H
Ah, sorry, forgot to put the R.xml.preferences_a and R.xml.preferences_b in that onCreate! -- 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 gro

Re: [android-developers] Controlling mutually exclusive preference categories with a single parent checkbox

2011-07-02 Thread Phil H
Yes, the first two options are a bit unpleasant, and as for the third, well its an option but I couldn't help feeling there had to be a better way. After some more thought I ended up adopting a slightly different approach altogether. I took out the two mutually exclusive sets of preferences and

[android-developers] Controlling mutually exclusive preference categories with a single parent checkbox

2011-07-01 Thread Phil
ppears that I can't enable one category while disabling another: ... ... I've tried "!use_option_one" out of curiosity but this is not a supported syntax. Can somebody confirm (a) that my understanding is correct and (b) suggest an alternative implementation pattern to

[android-developers] Re: Anyone developing on the Galaxy Tab and a Mac?

2011-06-15 Thread Phil
But... can anybody recommend an MTP client for the mac that works with the Galaxy Tab? Fail - Google Android File Transfer 1.0.11.9326 Fail - Samsung Kies Mini Fail - XNJB (ok, it works about one time in 10 but its not a pleasant experience) On Jun 12, 7:44 am, John Coryat wrote: > If you mean t

[android-developers] Fragments API 11+ vs Compatibility package

2011-05-13 Thread Phil Bayfield
nest way and no code duplication) Also are there any implications/loss of features etc by doing this, or are the packages/functionality identical? Thanks! Phil. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to thi

[android-developers] SAXParser throws exception for bad character in CDATA block, bug???

2011-04-20 Thread Phil Bayfield
I'm having an issue with SAXParser on an RSS feed from a vBuletin forum. The parser throws SAXException - At line 212, column 26: not well-formed (invalid token) when it encounters a right apostrophe character - http://www.fileformat.info/info/unicode/char/2019/index.htm I realise this is a unico

[android-developers] Create animated loading image

2011-03-11 Thread Phil Bayfield
y? Thanks, Phil. -- 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.

[android-developers] Re: Best, easiest, cleanest, way to make a game and cross platfrom.

2011-01-24 Thread Phil Endecott
On Jan 22, 7:27 am, Hogus wrote: > People spend way too much time worrying about cross-platform > capability at the outset. > Companies > spend so much time trying to roll their product out to everyone that > they back themselves into corners where there is no way to actually > provide the functi

[android-developers] Re: Best, easiest, cleanest, way to make a game and cross platfrom.

2011-01-20 Thread Phil Endecott
On Jan 20, 12:30 am, brian purgert wrote: > even straight opengl Go for it. Think of it as a learning investment. You may then decide that you'd like to use some sort of layer on top of that, to hide some of the details. But it will help a lot if you have had some exposure to the underlying st

[android-developers] Re: glHint implementation and openGL antialiasing

2011-01-19 Thread Phil Endecott
On Jan 19, 2:40 pm, Guian wrote: > in our openGL implementation There are multiple Android OpenGL implementations, one for each graphics chip vendor, so you may see different results in each case. > does someone know a way to get smooth > antialiased lines rendered ? Draw triangles that fade fr

[android-developers] Re: Version code being displayed instead of Version Name in Samsung Galaxy S - GT I9000 device?

2011-01-17 Thread Phil Endecott
On Jan 17, 6:20 pm, Dianne Hackborn wrote: > If you are talking about the version shown in Manage Applications, old > versions of the platform had a bug where they showed the raw version code > and not the text. I don't remember in which platform version that was > fixed. Between 2.1 and 2.2, AF

[android-developers] Re: How to get screen density in pixels-per-inch or equivalent

2011-01-14 Thread Phil Endecott
On Jan 14, 5:26 pm, Dianne Hackborn wrote: > On Fri, Jan 14, 2011 at 8:30 AM, Phil Endecott < > > spam_from_goo...@chezphil.org> wrote: > > Thanks Dianne. What's going on with the Tab? Its true dpi, which it > > does accurately report in the xdpi and ydpi fi

[android-developers] Re: Loader files deletion

2011-01-14 Thread Phil Endecott
On Jan 14, 1:38 pm, Andy wrote: > Hi, > I have a dictionary app, and its loads all the data from the Loader > text files (as raw files), into SQL lite database initially. Why not ship a prepopulated SQLlite database file? -- You received this message because you are subscribed to the Google Gro

[android-developers] Re: Simple compass functionality

2011-01-14 Thread Phil Endecott
It seems that Display.getOrientation() probably returns the same constants as the new Display.getRotation(), i.e. Surface.ROTATION_n, and that it *does* potentially return all 4 values. Good. It's unfortunate that this information was removed from the docs when getOrientation() was deprecated: co

[android-developers] Re: Simple compass functionality

2011-01-14 Thread Phil Endecott
On Jan 11, 5:00 pm, Phil Endecott wrote: > There is a deprecated method Display.getOrientation(). Perhaps that > is what I'm supposed to use, however its docs seem to have been > removed when it was deprecated (Please Don't Do That!). Googling > suggests that perhaps

[android-developers] Re: searching in HUGE SQLite database

2011-01-14 Thread Phil Endecott
On Jan 14, 2:24 pm, Menion wrote: > CREATE TABLE tiles (x INTEGER,y INTEGER,z INTEGER,s INTEGER,image > BYTE, PRIMARY KEY (x, y, z, s)); > SELECT DISTINCT z FROM tiles You need to create an index on z, then it will be much faster. > disk I/O error That's not good, but it will be hard to debug.

[android-developers] Re: How to get screen density in pixels-per-inch or equivalent

2011-01-14 Thread Phil Endecott
On Jan 12, 8:33 pm, Dianne Hackborn wrote: > Unfortunately, I don't have a good solution if you want to get the real > exactly screen dots per inch. One thing you could do is compare xdpi/ydpi > with densityDpi and if they are significantly far apart, assume the values > are bad and just fall bac

[android-developers] Re: Amazon to Policy Android Market Place

2011-01-14 Thread Phil Endecott
On Jan 7, 8:38 am, ko5tik wrote: > > wrote: > > I don't, because for some bizarre reason they are making it US-only! > > What on earth are they thinking? > > Selling all over the world is mayor PITA - all the different tax > regulations, payment providers... Let me guess - you're American, right

Re: [android-developers] Re: What's new in honeycomb?

2011-01-14 Thread Phil Bayfield
I'd make the assumption that with higher resolution phones on the way soon that Honeycomb would be for phones also with a similar UI and the same API, would be interesting to hear more on this though if anyone knows and is allowed to reveal at this stage. On 10 January 2011 08:43, mort wrote: >

[android-developers] Re: C++ exception support confusion

2011-01-13 Thread Phil Endecott
> support for C++ exceptions and RTTI is not available with Android 1.5 system > images. Do you care about devices running Android 1.5 and older? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-

[android-developers] Re: How to get screen density in pixels-per-inch or equivalent

2011-01-12 Thread Phil Endecott
oximate dpi, and density just gives densityDpi/160. Multiplying them together doesn't do anything useful. But I could be wrong! Thanks, Phil. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send emai

[android-developers] Re: How to get screen density in pixels-per-inch or equivalent

2011-01-12 Thread Phil Endecott
), which I trust is more reliable. If 96 is not the only wrong answer, can anyone suggest some other way to detect a bogus value here? Thanks, Phil. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, s

[android-developers] Re: Simple compass functionality

2011-01-11 Thread Phil Endecott
I'm now trying to understand how to allow for the display orientation in my simple compass calculation, since I don't think there is an API that does that for me. It looks like the "right way" to get this is getWindowManager().getDefaultDisplay().getRotation() which returns values Surface.R

[android-developers] Simple compass functionality

2011-01-10 Thread Phil Endecott
worked out how all of this should hang together? Is there some simpler API somewhere that I have missed? Thanks, Phil. -- 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@googl

[android-developers] Re: Making a video of your app running

2011-01-06 Thread Phil Endecott
Some devices have HDMI or composite video out, which you could record in numerous ways. -- 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,

[android-developers] Re: Amazon to Policy Android Market Place

2011-01-06 Thread Phil Endecott
On Jan 5, 10:05 pm, Leon Moreyn-Android Development wrote: > I am curious > as to other developers take on this and how many plan to actually > develop to meet the amazon market guidelines. I don't, because for some bizarre reason they are making it US-only! What on earth are they thinking? If i

[android-developers] Re: How many refunds do you get.

2011-01-02 Thread Phil Endecott
Hi Ernest, On Jan 2, 7:25 pm, ernestw wrote: > Phil, 50% refunds would make me worry a lot if it were my game. Yes. Actually it's not a game, it's a map app, and it has a large data download when it first runs; I suspect some people are discouraged by that. I did this as a &quo

[android-developers] Re: How many refunds do you get.

2011-01-02 Thread Phil Endecott
On Jan 1, 8:14 pm, brian purgert wrote: > Im not sure if people just don't like my game or they are finishing it fast, > but out of 52 sales, 14 refunded it. That's much better than my ratio at present, which is about 50%, and seems to have got worse since the refund period was reduced to 15 mins

[android-developers] Re: How to get screen density in pixels-per-inch or equivalent

2010-12-31 Thread Phil Endecott
Thanks Kostya, this is just what I needed. On Dec 31, 12:42 pm, Kostya Vasilyev wrote: > Phil, > > This has both rounded (mdpi, ldpi, etc.) values and actual resolution, > that you'd want to use for a ruler: > > http://developer.android.com/reference/android/util/Displ

[android-developers] How to get screen density in pixels-per-inch or equivalent

2010-12-31 Thread Phil Endecott
;m drawing. Is there any way to get this info? Failing that, I'm aware that the system knows the approximate density (one of three values IIRC). How can I retrieve this programatically? Thanks, Phil. -- You received this message because you are subscribed to the Google Groups "Andr

[android-developers] Re: and ?

2010-12-13 Thread Phil Endecott
Hi Mario, On Dec 12, 9:14 pm, Mario Zechner wrote: > I think the only thing needed is a manifest tag that let's you specify > the OpenGL ES profile you want to work have available. This doesn't tell me if the implementation has enough texture units or user clip planes etc. > That feature is > a

[android-developers] Re: Notification assistance.

2010-12-12 Thread Phil Endecott
Hi Damien, On Dec 12, 4:13 am, Damien Cooke wrote: > In ios I can post notifications that can be listed for by other objects. Write your own replacement. On iOS I use my own simple notification system, because Apple's version is overcomplicated. For most cases it's almost trivial to do; it onl

[android-developers] Re: and ?

2010-12-12 Thread Phil Endecott
On Dec 12, 3:53 pm, Dianne Hackborn wrote: > The feature expression is "I need X, and Y, and Z". Maybe in the future > there will be ways to express "greater than," and "A or B"... but on the > other-hand, making this so complicated has a lot of pit falls as well. Don't overcomplicate it. 99%

[android-developers] Re: and ?

2010-12-12 Thread Phil Endecott
On Dec 12, 12:46 am, Dianne Hackborn wrote: > On Sat, Dec 11, 2010 at 4:17 PM, Phil Endecott < > > spam_from_goo...@chezphil.org> wrote: > > If you can describe supported texture formats, I would think this is > > very similar, no? > > Not really, because text

[android-developers] Re: and ?

2010-12-11 Thread Phil Endecott
Hi Dianne, On Dec 11, 11:15 pm, Dianne Hackborn wrote: > On Sat, Dec 11, 2010 at 2:30 PM, Phil Endecott < > > spam_from_goo...@chezphil.org> wrote: > > Re uses-gl-texture, there are some other OpenGL features that an app > > might want to test, including the numb

[android-developers] Re: and ?

2010-12-11 Thread Phil Endecott
Re uses-gl-texture, there are some other OpenGL features that an app might want to test, including the number of texture units and the number of user-defined clip planes. The app I've just released works on PowerVR hardware but not on Tegra because of this, and it would be great to be able to adve

[android-developers] Re: What Tablet would you get

2010-12-10 Thread Phil Endecott
On Dec 9, 10:33 pm, "Howard M. Harte" wrote: > Last, I bought the Vewsonic gTablet to debug some native code that was > segfaulting on tegra2. The CPU is great, and I love that it has a USB > host port, but now I'm convinced I'm not a fan of the 10" form > factor. The biggest drawback is easily

[android-developers] Re: What's the general consensus on the non-Android affiliated app stores?

2010-12-09 Thread Phil Endecott
ill be good, but their obvious deficiency is their geographic limitation. Regards, Phil. -- 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 t

[android-developers] Re: OpenGL on multiple threads with sharegroups

2010-12-06 Thread Phil Endecott
nne Hackborn's reply dated Dec 1, 6:48 am) I've decided not to try to create multiple contexts in different threads for the time being, since they're unlikely to work reliably. Thanks, Phil. -- You received this message because you are subscribed to the Google Groups "And

[android-developers] Re: What Tablet would you get

2010-12-03 Thread Phil Endecott
Everyone's already got a Galaxy Tab (and they're quite pricey). No- one wants the Toshiba Folio 100 (though it's almost the only thing on the market with a Tegra 250 chip, which we'll all need to test on). The latest Archos devices are perpetually "coming soon". Giving a crapo resistive cheaptab

[android-developers] Re: Strategies for large apps

2010-11-30 Thread Phil Endecott
On Nov 29, 11:15 pm, Phil Endecott wrote: > Dear All, > > I have just discovered that the Android Market limits apps to a > maximum size of 25 MB. Is that really true? > - Download the data when the app first runs. Well I've now found the example code here: http://code.g

[android-developers] Strategies for large apps

2010-11-29 Thread Phil Endecott
... (*) I mention the possibility that it might change because (a) there is now the "install to SD" option in 2.2, and (b) there do seem to be changes afoot in the market. It would be great to get some feedback about that, but presumably it is secret. Thanks, Phil. -- You received this

[android-developers] Types of multitouch on deployed devices

2010-11-29 Thread Phil Endecott
case, how will my code see those touches? Thanks, Phil. -- 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 androi

[android-developers] Re: Detect touch event on a OpenGL object

2010-11-29 Thread Phil Endecott
> gl.glColor4f(colorCount, 0, 0, 1); > markers.get(i).draw(); > colorCount++; > but unfortunately it doesn't work. The color remains always white > (0,0,0,1) in RGBA. White is 1,1,1,1. The colour components passed to glColor4f are float

[android-developers] Re: Detect touch event on a OpenGL object

2010-11-29 Thread Phil Endecott
es. Sometimes your application will have characteristics that let you do something simpler, e.g. a constrained projection or object layout. Good luck! Phil. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post t

[android-developers] Re: OpenGL on multiple threads with sharegroups

2010-11-26 Thread Phil Endecott
On Nov 26, 11:08 am, Adam Hammer wrote: > I do bitmap loading in another thread, but I do glBindTexture in the > main graphics thread. Works well for me, I load bitmaps stored in zips > delivered by contentproviders into textures. Yes; thanks; I'm actually doing something like that at the moment,

[android-developers] Re: OpenGL on multiple threads with sharegroups

2010-11-26 Thread Phil Endecott
etween them. Might it be possible to save your > OpenGL context from your rendering thread, then use it to create > textures in another thread? You would need a mutex since there is so much state in the context (currently bound texture, etc). So it would be easier to move everything onto one thr

[android-developers] OpenGL on multiple threads with sharegroups

2010-11-25 Thread Phil Endecott
#x27;ve not seen any equivalent to this on Android. Is this correct, or am I missing something? My code is C++, but as far as I can see the situation is the same for Java OpenGL code. Thanks for any suggestions. Phil. -- You received this message because you are subscribed to the Google Groups

[android-developers] Selling app from own website

2010-11-24 Thread Phil Endecott
, which I suspect I can't do much about, and the other is how to supply updates to users who have bought previous versions. If anyone has experience with selling apps from their own site, I would love to hear about how you have done it. Thanks, Phil. -- You received this message because yo

[android-developers] Re: redirecting printf

2010-11-17 Thread Phil Endecott
Hi Dhaval, On Nov 15, 9:48 pm, Dhaval wrote: > Hello all, > > I'm trying to use a c library for my android project and I need to > redirect the output from printf to Logcat. After spending sometime > looking into a solution for this, I stumbled > across:http://developer.android.com/guide/develop

[android-developers] Re: Making window full-screen on Galaxy Tab

2010-11-13 Thread Phil Endecott
OK, I've found the thing - it works! Sorry for the noise. -- 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-devel

[android-developers] Making window full-screen on Galaxy Tab

2010-11-13 Thread Phil Endecott
for full-screen mode, but it's not obvious to me how to do that; how do I get the current window? Can anyone help? Many thanks, Phil. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, se

[android-developers] Re: Product images for marketing materials

2010-11-13 Thread Phil Endecott
On Nov 13, 1:24 am, dan raaka wrote: > http://www.samsung.com/us/support/contact Thanks Dan. Actually I had spent quite a long time on the phone trying to find the right person at Samsung before I posted here. The closest I was able to find was their press relations team, but they didn't return

[android-developers] Re: Android 2.2 - Portable Hot Spot - WifiManager class

2010-11-11 Thread Phil
I think if a small company is willing to put out such a widget they should also be willing to keep up with API updates, or pull the widget. Personally, having solved the problem, I will use this for a while and if it proves reliable I will strongly consider pushing it out as a freebie. After all, i

[android-developers] Re: Android 2.2 - Portable Hot Spot - WifiManager class

2010-11-11 Thread Phil
again on client premises. Phil. On Nov 11, 6:31 pm, Mark Murphy wrote: > On Thu, Nov 11, 2010 at 7:53 AM, Phil wrote: > > Interestingly there must be another way to do this than through the > > official hidden API as there is at least one hot spot widget in the > > mark

[android-developers] Re: Android 2.2 - Portable Hot Spot - WifiManager class

2010-11-11 Thread Phil
ainst in Eclipse - although the Reflection API shows that these methods are present. Thanks again, Phil. On Nov 9, 8:58 pm, Mark Murphy wrote: > They are not part of the public SDK at present. If you look at the > source code, you will see they all have the @hide annotation. They > might

[android-developers] Re: Product images for marketing materials

2010-11-10 Thread Phil Endecott
> Your printer is a douchebag Somehow I just knew that I would get replies like this... Is there anyone out there who can offer a sensible reply? Do any Android device vendors publish product images with terms that allow developers to re-use them? Is anyone from Samsung reading this list? --

[android-developers] Re: Product images for marketing materials

2010-11-10 Thread Phil Endecott
> I am not a lawyer No, that quite clear. I'm not asking for legal advice, and certainly not from a non-lawyer who doesn't even know what country I'm in. I'm looking for pointers to product images that have clear re-use terms associated with them. Can anyone help? -- You received this message

[android-developers] Product images for marketing materials

2010-11-10 Thread Phil Endecott
ny experience to share or perhaps suggestions of other manufacturers whose material is published with a clear re-use rights statement. If not, the flyer is only going to have pictures of Apple devices on it, which would be unfortunate. Many thanks, Phil. -- You received this message because

[android-developers] Android 2.2 - Portable Hot Spot - WifiManager class

2010-11-09 Thread Phil
my bang-up-to-date Eclipse IDE, this class has none of the Ap methods or constants. Can anyone shed any light on this? Thanks, Phil. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-develop

[android-developers] Re: Failed to upload .apk on device

2010-09-03 Thread Phil
I had this same error come up after successfully uploading to my android device many times. My solution was to use a different USB cable. I've read a different USB port might also solve the issue. On Aug 17, 10:36 pm, Lukas Adamec wrote: > Phone has debugging allowed and I've set android:debuggab

[android-developers] Re: Routing audio input to bluetooth headset

2010-07-22 Thread Phil
In 2.2, check out android.media.AudioManager: startBluetoothSco() and setBluetoothScoOn() One thing to watch out for, however, is: If you pair up a bluetooth headset, and start the SCO connection to record the bluetooth input, any phone calls you take will now control the bluetooth connection.

[android-developers] Re: Simple Question about Res folders

2010-07-02 Thread Phil
They are there to allow your app to display icons, etc of different sizes, for different devices. For example, H.D. icons are 72x72, MD are 48x48 and LD are 36x36. On Jul 2, 10:37 am, B Woods wrote: > What are the differences between drawable-hdpi, drawable-ldpi, and > drawable-mdpi? Do I need t

[android-developers] Re: How much does an Nexus One cost?

2010-07-02 Thread Phil
https://www.google.com/phone/ I just bought two of the unlocked (no contract) N1s for a client project. According to the site they are still available. For development they are great. If it were for my own use, however, I would seek out an eBay one as John mentioned. -- You received this mess

[android-developers] How to prevent phone from taking control of BT SCO connection

2010-07-02 Thread Phil
In 2.2, I have an active Bluetooth SCO connection to a BT headset, outside of a phone call. Is there a way to prevent the phone from taking control of the BT SCO connection for the phone call, and/or prevent the phone from dropping the BT SCO connection when the call ends? -- You received this m

[android-developers] Re: Stanford researchers looking for a programmer in Silicon Valley to write code for two Android apps

2010-05-28 Thread Phil Montgomery
es, as our data collection may be similar.. Phil Montgomery Majura LLC phil.montgom...@majura.com On May 27, 6:11 pm, Eric Hekler wrote: > Dear programmers, > > Our group, led by Dr. Abby King of the Stanford Prevention Research > Center-School of Medicine and Dr. Banny Banerjee

[android-developers] Looking for interns as Android Developers

2010-05-24 Thread Phil Montgomery
l - once we kick this into the next phase we'll start general hiring. Look forward to hearing from you! Phil Montgomery Founder www.majura.com -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email t

[android-developers] How to config Android screen from landscape to portrait

2010-05-19 Thread kaost phil
My LCD hardware is 800x600 size, so after booting, the Android default screen is landscape. How do I modify the framework to let android show default portrait screen? I hope all booting procedures are portrait. for example, when booting, the Android logo and banner shows on screen are portrait. --

[android-developers] Re: 2-D Graphics Performance after Motorola Droid 2.1 Update

2010-04-02 Thread Phil
gt; > ... There is so much idle time! Does Android 2.1 try to keep an upper > > > limit > > > of 30 FPS to save battery? > > > > So, many questions! > > > > 2010/4/2 MrChaz > > > > > Wow that is a big difference in performance! &

[android-developers] Re: 2-D Graphics Performance after Motorola Droid 2.1 Update

2010-04-02 Thread Phil
any questions! > > > 2010/4/2 MrChaz > > > > Wow that is a big difference in performance! > > > > On Apr 2, 6:29 pm, Phil wrote: > > > > I have observed a marked difference in frame rate of 2-D (Canvas) > > > > graphics following a 2.1 update on th

[android-developers] Re: 2-D Graphics Performance after Motorola Droid 2.1 Update

2010-04-02 Thread Phil
y impossible to > reach 60FPS, even if only doing a glClear... > > ... There is so much idle time! Does Android 2.1 try to keep an upper limit > of 30 FPS to save battery? > > So, many questions! > > 2010/4/2 MrChaz > > > > > Wow that is a big difference in perf

[android-developers] 2-D Graphics Performance after Motorola Droid 2.1 Update

2010-04-02 Thread Phil
I have observed a marked difference in frame rate of 2-D (Canvas) graphics following a 2.1 update on the Motorola Droid. Details are here: http://tesujigames.blogspot.com/2010/04/2-d-graphics-slowdown-after-motorola.html Can anyone else corroborate this? I have posted the code and an apk in the

[android-developers] R.xml cannot be resolved

2010-01-26 Thread Phil Raymonds
In case anyone is interested (I might be saving your life here) I had the error - R.xml cannot be resolved - no visible solution - on a GLS project. h. After looking in R.java I found an auto generated class XML.java (I think) was not there and should have been. I guessed the solution - impossi

  1   2   >