Re: [android-developers] Re: runtime compilation of dalvik bytecode

2012-09-28 Thread Ross Bamford
On Friday, 28 September 2012 00:28:40 UTC+1, Kristopher Micinski wrote: > On Thu, Sep 27, 2012 at 6:33 PM, Ross Bamford > > > wrote: > > On Thursday, 27 September 2012 18:28:40 UTC+1, Kristopher Micinski > wrote: > >> > >> FYI during a project I w

[android-developers] Re: runtime compilation of dalvik bytecode

2012-09-27 Thread Ross Bamford
On Thursday, 27 September 2012 19:07:57 UTC+1, jb wrote: > Ross Bamford schrieb: > > You'll find the project at http://deelang.googlecode.com/ . To get the > > native compiler, you'll need to check the DEXCOMPILER branch out of > > subversion (a file relea

Re: [android-developers] Re: runtime compilation of dalvik bytecode

2012-09-27 Thread Ross Bamford
On Thursday, 27 September 2012 18:38:56 UTC+1, Mark Murphy (a Commons Guy) wrote: > On Tue, Sep 25, 2012 at 9:22 PM, Ross Bamford > > > wrote: > > Recently, I've been working on a native (i.e. DEX) compiler for > > it. > > Are you using Dexmaker for

Re: [android-developers] Re: runtime compilation of dalvik bytecode

2012-09-27 Thread Ross Bamford
7;ll look into it over the next few days. > Also, as matter of personal preference, would you ever consider > switching to github ... :-P... I just don't like the google code > interface as much... > > I have a vague item on my todo list about switching over to

Re: [android-developers] Re: runtime compilation of dalvik bytecode

2012-09-27 Thread Ross Bamford
On Wednesday, 26 September 2012 08:01:07 UTC+1, Kristopher Micinski wrote: > > On Tue, Sep 25, 2012 at 9:22 PM, Ross Bamford > > > wrote: > > Hi, > > > > On Saturday, 23 June 2012 12:27:31 UTC+1, mame82 wrote: > >> > >> A first naive

[android-developers] Re: runtime compilation of dalvik bytecode

2012-09-25 Thread Ross Bamford
. It may well work for your needs? And in any case, more testers are always welcome ;) You'll find the project at http://deelang.googlecode.com/ . To get the native compiler, you'll need to check the DEXCOMPILER branch out of subversion (a file release is planned soon, but not yet).

[android-developers] Jelly Bean OTA fails on Galaxy Nexus

2012-08-16 Thread David Ross
This is not a programming question per se, it is a question about how to get information from Google about Android. The company I am working for has hundreds of Galaxy Nexus handsets which are used as the standard operating platform of a company specific app. The app is not important. We hav

[android-developers] Galaxy Nexus JB OTA fails

2012-08-16 Thread David Ross
I reported this as an issue and I have done lots of googling but I have not found a satisfactory answer. I work for a company that is using the Galaxy Nexus to deploy an application. We have literally hundreds of handsets. With the roll-out of the Jelly Beans OTA update we are finding that ro

[android-developers] Re: Widget Product Updates

2012-06-04 Thread David Ross
On Jun 3, 7:09 pm, Kostya Vasilyev wrote: > 03.06.2012 14:22, David Ross написал: > > > Sadly, this does not work at all well. Just as when you have a widget > > and you uninstall the app you get the horrid "Problem Loading Widget" > > message, the same thing

[android-developers] Re: Widget Product Updates

2012-06-03 Thread David Ross
Sadly, this does not work at all well. Just as when you have a widget and you uninstall the app you get the horrid "Problem Loading Widget" message, the same thing happens when the user accepts the update from the Play site. I think this is a serious problem and I am certain I loose users because o

[android-developers] Re: UI performance is slow on large screen tablet

2012-05-30 Thread David Ross
Are you using the convert view parameter and getTag() with a viewHolder or are you creating the elements in the list from scratch each time? Using the convert view reduces GC and removes the time to create new objects for each row. See this for an explanation: http://logc.at/2011/10/10/handling-

[android-developers] Re: time sync

2012-05-30 Thread David Ross
Time keeping on Android is lousy, you will not be able to synchronise multiple phones unless you implement your own time keeping (perhaps using NTP) aside from the Android date/time. See: See: https://code.google.com/p/android/issues/detail?id=12497 http://code.google.com/p/android/issues/detail?i

[android-developers] Re: resolution of the system clock

2012-05-30 Thread David Ross
The nominal resolution is millisecond, however the accuracy is of the order of a minute or so unless you root the phone and use NTP. Standard Android time keeping is hopeless. See: https://code.google.com/p/android/issues/detail?id=12497 http://code.google.com/p/android/issues/detail?id=4581 On

[android-developers] Re: Will google plan to fix bug #26446 in next release?

2012-05-30 Thread David Ross
That's a useless answer, why post it? There is are two meta issues here: 1) Google's support system for reported issues is hopeless. 2) ICS on the Nexus is a disaster, there is so much wrong with it and it is poisoning the Android brand severely. In both instances, Google should be pro-actively wor

[android-developers] Re: GPS Location returns zero speed always

2012-04-26 Thread David Ross
My problems is not with failure or inaccurate readings, it has to do with why the GPS provider does not provide speed and bearing values when it returns a new Location. I have done a simple test and reduced the minimum time between location updates from 1 minutes to 10s and then I consistently get

[android-developers] GPS Location returns zero speed always

2012-04-25 Thread David Ross
Asked this over on Stackoverflow as well... I have code that successfully gets location updates from multiple providers and filters them to give a current best estimate. I added code to check for the returned Location.hasSpeed() and .hasBearing() values to do some bearing related calculations whe

[android-developers] Spam apps in the Play search lists

2012-04-13 Thread David Ross
Has anyone else experienced spam apps in Google's search results in Play? I have a season app for an annual sporting league in Australia, and aside from the mystery of how the "big players" manage to get their apps at the top of the search results immediately they publish them, the more irritating

[android-developers] Marquee in ICS changed?

2012-04-11 Thread David Ross
Hi, I have an app that is built with target SDK 4 (1.6) and it has a screen with two marquee text fields. It works fine on anything I have tested from 1.6 to 2.3.6 but when I run it on 4.0.4 the marquees do not scroll at all. Is there something different in ICS and they way Marquees are handled? W

[android-developers] Re: How to keep activity running

2012-03-20 Thread David Ross
Humbly suggest using BroadcastReceiver that handles a PendingIntent that you use with the AlarmManager as a RTC_WAKEUP if you want to do timed polling of location. Also, use BroadcastReceivers to catch location updates. There was an excellent Google Blog entry: http://android-developers.blogspot.

[android-developers] Re: Newly installed widgets are not runnable on Honeycomb

2012-02-04 Thread David Ross
to the home screen immediately after the > installation. > > The application's package needs to be moved from stopped to started state > first. > > You can do this by providing an activity that the user can launch from > Launcher. > > This is not the same as the widget conf

[android-developers] Re: Newly installed widgets are not runnable on Honeycomb

2012-02-03 Thread David Ross
I guess I was not clear. Downloaded from the Market and then "run by the user". Yes, the download and install process does not run the APK automatically, but after it has been downloaded the Market App gives the user the the options to "Open" or to "Uninstall". Even if the user exits the Market App

[android-developers] Re: Newly installed widgets are not runnable on Honeycomb

2012-02-03 Thread David Ross
But that's not how it works in 2.3.x. Install the "App (Widget)", say from market. Don't run it when given the "Open" option in the market after download completes. Don't launch it from the Launcher either. Just navigate back to the Home Screen. Long press on home screen and select Widgets. Hey p

[android-developers] Re: Newly installed widgets are not runnable on Honeycomb

2012-02-02 Thread David Ross
nt a basic dialog when the App is run that explains how to install the Widget and then exits. The user can only access my App's functionality via a home screen Widget. On Feb 3, 8:42 am, Mark Murphy wrote: > On Thu, Feb 2, 2012 at 7:32 PM, David Ross wrote: > > Are you saying that d

[android-developers] Re: Newly installed widgets are not runnable on Honeycomb

2012-02-02 Thread David Ross
eturns the RESULT_OK. It took quite some time to nut out these rare use-cases. On Feb 3, 8:32 am, David Ross wrote: > In my Widget I have a "dummy" configuration App that does as the > earlier poster said, it just runs, does some internal housekeeping > like setting up defaul

[android-developers] Re: Newly installed widgets are not runnable on Honeycomb

2012-02-02 Thread David Ross
In my Widget I have a "dummy" configuration App that does as the earlier poster said, it just runs, does some internal housekeeping like setting up default preferences and returns the provided AppWidgetId and RESULT_OK: Intent resultValue = new Intent(); resultValue.putExtra(AppWid

[android-developers] Re: Home screed Widget crash

2012-02-01 Thread David Ross
I would suggest using AlarmManager for your repeating 15s update. Handle the Intent in a private BroadcastReceiver inside your AppWidgetProvider. Forget the Service as the scheduling mechanism but use it for the download of the next image from within your BroadcastReceiver. In BroadcastReceiver als

[android-developers] Re: running UI thread with AppWidgetProvider class

2012-02-01 Thread David Ross
Actually the Widget uses a RemoteView and you service that view in an AppWidgetProvider which must register one or more BroadcastReceivers to handle calls from the AppWidgetManager for updated views or your own events (through Intents). The Activity is only used for the optional configuration code

[android-developers] Southern Hemisphere Developer Labs

2012-01-23 Thread David Ross
I tried to find somewhere to make contact with someone from the ADL group but failed, this is the closest thing I could find. Can someone please explain why the Labs in Melbourne and Sydney have only 48 hr confirmation for attendance? I registered now twice (other than one brief HTML page there is

[android-developers] Re: How to remove widget when the app is uninstalled in Android?

2011-09-04 Thread david ross
This is a design bug as far as I am concerned. There seems to be nothing you can do about it except let the poor phone user drag the toast to the trash can. I think you can listen for an Intent PACKAGE_UNINSTALL and then check to see if it is actually a reinstall for a new version, but there is no

[android-developers] Advertise Swap

2011-04-20 Thread Ross Rosemark
Hi Guys and Gals, Wondering if anyone is interested in doing an advertisement swap. I.e. I will advertise your product on my android apps, you advertise mine on yours. Maybe we can get a win/win situation. Ross -- You received this message because you are subscribed to the Google Groups

[android-developers] Honeycomb SurfaceTexture()

2011-03-11 Thread Rab Ross
Can anyone give me a small sample application of this class in use? It's sounds like something I'd like to use but I feel there's not enough information on this class and how to use it. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To pos

[android-developers] Re: Developing a 2D game on Android

2008-08-28 Thread ross
(canvas); holder.unlockCanvasAndPost(canvas); } } inside myPaint I lay it on pretty good :) and i'm hoping my 15 fps on emulator might be a little better on the device? wondering how much farther OpenGL would take me... thanks, Ross On Aug 28, 11:17 pm, "Romain Guy" &l

[android-developers] Re: Developing a 2D game on Android

2008-08-28 Thread ross
Canvas? Right now i've got a fairly intense 2D game running at 15 fps running on top of the Canvas API on the emulator in 0.9, and i'm much happier than when it was running 5 fps in M5-RC15 - but if I were using OpenGL would I be doing a lot better even still? thanks Ross On Aug 2