[android-developers] Re: Android Activity stack

2010-10-20 Thread whitemice
You don’t need to page your lists. The Android ListView is very efficient at displaying long lists (recycling views, fast scrolling, etc), assuming you are showing data derived from a database (there are other examples if you are dynamically downloading your data) The world of ListView

[android-developers] Re: Need I-phone app converted into an Android app.

2010-10-18 Thread whitemice
According to a demo I watched at the last Berlin droidcon, the latest version of the Unity 3D engine supports outputting to Android. I suggest you take this up with Unity. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: HELP: A Verizon Droid puzzle.

2010-07-16 Thread whitemice
Quick dial on the Last Caller mini widget is now live on the Market, enjoy, Mark On Jul 12, 10:43 pm, whitemice markbr...@zedray.co.uk wrote: Hi Operand Zombie Thanks for ruling out the CMDA API on your EVO. Issue is with the original Droid AFAIK (I'm guessing specific firmware), but I'll

[android-developers] Re: HELP: A Verizon Droid puzzle.

2010-07-12 Thread whitemice
, and not Droid Incredible users, yes?), or perhaps some other app on the users phone.. On Jul 11, 11:18 am, whitemice markbr...@zedray.co.uk wrote: I am based in Germany and publish the Last Call Widget on the Android Market.  I have been steady improving it over time, but one group of users

[android-developers] HELP: A Verizon Droid puzzle.

2010-07-11 Thread whitemice
I am based in Germany and publish the Last Call Widget on the Android Market. I have been steady improving it over time, but one group of users still complain about it not working on their devices. My widget listens for the android.intent.action.PHONE_STATE intent, and then sets an alarm to

[android-developers] Re: Failing JUnit tests, not breaking my Ant script like I expect?

2010-06-08 Thread whitemice
Hi Xavier Thanks for the feedback. I haven't found a utility for parsing the output (XML or otherwise) and breaking the build. If no one can suggest one, I'll just go an write one myself. Regards Mark -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Failing JUnit tests, not breaking my Ant script like I expect?

2010-06-02 Thread whitemice
My continuous integration server runs an Ant script, which calls something like: /tests/ant run-tests My JUnit tests run, but with errors: run-tests: [echo] run-tests-helper. [echo] Running tests ... [exec] [exec] com.zedray.stuff.FooBarTest: [exec]

[android-developers] JUnit Puzzle: How do I test a Service and an Application together?

2010-05-21 Thread whitemice
I want to test a Service with my Application class pre-instantiated, a bit like what happens on a real device. My problem is I can't figure out a way to do this with the correct Application context AND having the Application being instantiated EXACTLY once. Being instantiated multiple times

[android-developers] Need help understanding the ContentObserver life-cycle.

2010-05-09 Thread whitemice
I have Call Log Widget on the Android Market: http://blog.zedray.com/call-log-widget/ The core of this Widget is an AppWidgetProvider which registers a ContentObserver to the CallLog content URI. This means that my widget is updated every time a call (incoming, outgoing, missed) is recorded.

[android-developers] Re: Need help understanding the ContentObserver life-cycle.

2010-05-09 Thread whitemice
Ah, BroadcastReceiver - ACTION_PHONE_STATE_CHANGED. That's the sort of life-cycle I was looking for. :-D Thanks Mark -- 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

[android-developers] Re: Problem updating widget in emulator

2010-05-05 Thread whitemice
Genius, I'd never have figured that one out! (just had the same issue testing http://blog.zedray.com/call-log-widget/) Thanks for closing your own question. Mark -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Using Flurry with a Widget

2010-04-24 Thread whitemice
Has anyone had any luck using Flurry with a home screen widget? What I want to do is tap into the onEnabled and onDisabled life- cycle methods, so I know how long at least one of the widgets has been installed on the home screen. The problem here is that the widget does not maintain the same

[android-developers] Re: what's the best 2d engine and what's the tools I need to create a game?

2010-03-30 Thread whitemice
If you want to see how its done, suggest you look here: Replica Island is a free, open-source game for Android. http://replicaisland.net/ -- 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] Re: Develop Android app using J2ME Polish

2009-12-21 Thread whitemice
Polish is designed to save you from most of the pain of writing a good looking app in J2Me. However Android is a modern OS with it's own UI framework, so you should only consider it if you have a very great need to support Java phones. If you want to support more users, consider building a web

[android-developers] Re: Same servicein multiple APKs, only want best one to launch

2009-12-18 Thread whitemice
I already had this discussion and was able to put together a workable solution. I bloged it here: http://tinyurl.com/9hwdva Regards Mark -- 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] Device bug: Data SMS not received on Samsung Galaxy

2009-09-25 Thread whitemice
Background:A code contained in a Data SMS is required to authenticate the MSISDN of the device running our product. Bug: When I receive a data SMS on the Samsung Galaxy, the Intent “android.intent.action.DATA_SMS_RECEIVED” is not thrown and the Data SMS arrives in the Inbox as a blank text

[android-developers] Developer review of all Android (Cupcake) devices - HTC vs. Samsung, test cases, etc.

2009-09-01 Thread whitemice
Hi Android Developers I am doing a developer centric review of all the Android devices currently available (retail) and have documented some technical differences on my blog: http://blog.zedray.com/2009/08/22/android-cupcake-hardware-review/ I am now working on individual device reviews, and was

[android-developers] Re: Android service always alive..

2009-07-29 Thread whitemice
Maybe this is what you're looking for: Its not clear from the documentation the difference between startService() and bindService(). If you just bind to a service, the service will be killed after your activity calls unbind. If you call startService(), then it will (more or less) keep running

[android-developers] Re: SurfaceView to slow for games? OpenGL necessary to do games?

2009-07-22 Thread whitemice
Some phones implement this functionality in hardware, others in software. Here is a tutorial I found recently: http://sites.google.com/site/drpaulthomasandroidstuff/Home/voxel-fun/how-it-works --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: DEVELOPER CHALLENGE 2 - Can suite of applications participate as one entry?

2009-07-02 Thread whitemice
I had this issue in ADC1 and was forced to put all my apps into the same APK, although by configuring the manifest.xml file I was still able to make each application show up with an individual icon. However, due to the commoditized nature of the competition, the judge doe’s not follow the normal

[android-developers] Re: I must pay 25$ to distribute a FREEWARE on Android Market

2009-03-16 Thread whitemice
Distribution of apps (even free ones) over the Android Market isn’t free for Google. Worst case: why don’t you just ask someone else to distribute the app on your behalf? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: Confused about handling SSL Errors in WebView

2009-02-24 Thread whitemice
Hi Manuel So far no luck. I'm sure any solution will involved the SslErrorHandler class, but I have so far failed to find any post 1.0 example code. http://developer.android.com/reference/android/webkit/SslErrorHandler.html --~--~-~--~~~---~--~~ You received this

[android-developers] Re: IMPROPER RENDERING OF A HTML OBJECT

2009-02-20 Thread whitemice
I’ve just encountered the same problem. Below is a code snippet which defines a DIV element, light blue in colour and of limited height. This height/overflow setting caused a scrollbar to appear on all the desktop browsers tested. In the Android Browser, no scrollbar is shown and content after

[android-developers] Re: IMPROPER RENDERING OF A HTML OBJECT

2009-02-20 Thread whitemice
Added as a bug report here: http://code.google.com/p/android/issues/detail?id=2044can=1q=htmlcolspec=ID%20Type%20Version%20Security%20Status%20Owner%20Summarystart=100 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Confused about handling SSL Errors in WebView

2009-02-13 Thread whitemice
I have a WebView and I want to capture an error, most likely related to a web page having an invalid SSL certificate (company Intranet). Currently the MyWebViewClient.onPageStarted() method is called, and no secure content is shown the the page. Generally I would expect

[android-developers] Re: Sending SMS using Messaging app - with filled in To: field

2009-02-12 Thread whitemice
Thanks to the wonders of open source * ACTION_VIEW Specification taken from Android source code com.android.mms.ui.ComposeMessageActivity.initActivityState() * See line numbers between 2999 to 3004 in v1.0 *

[android-developers] Re: Android Bug/Architectural Issue: How do I handle multiple versions of my own Content Provider?

2009-01-19 Thread whitemice
Thanks for the additional feedback. The meta data name is a global namespace to all applications, so you must qualify it… That’s how I understood it. “myComponentNamespace” is a shortened camel case to represent a full application namespace. I renamed all my code to anonymize our client and

[android-developers] Re: Android Bug/Architectural Issue: How do I handle multiple versions of my own Content Provider?

2009-01-16 Thread whitemice
Thanks for the additional feedback. Peli - Probably you should not mis-use getType()… I originally choose getType() for simplicity (URI in - String out), but I will now use query() instead. However, as my application is not compatible with any other software (i.e. my data exchange has no MIME

[android-developers] Re: Android Bug/Architectural Issue: How do I handle multiple versions of my own Content Provider?

2009-01-15 Thread whitemice
Solution The simplest solution (not using intents) is to instruct each user of my component to define a new content provider: content://myComponentNamespace.theirApplicaitonNamespace Android lets me search through all available content providers, which can be string matched to my own component

[android-developers] Re: Android Bug/Architectural Issue: How do I handle multiple versions of my own Content Provider?

2009-01-09 Thread whitemice
Thanks everyone for the replies: Just to clarify: I am writing an advertising server component at the moment, but other projects that I have in the pipeline essentially have the same requirement. Dianne Hackborn - As far as naming issues, this is why you should use an authority in a

[android-developers] Re: Android Bug/Architectural Issue: How do I handle multiple versions of my own Content Provider?

2009-01-09 Thread whitemice
Peli - Indeed, for an advertising server, it makes more sense to include that in every application separately, for the reasons you mentioned. I could suggest the following…and all applications can access that one content provider. Would this sound like a suitable solution? I didn’t think of

[android-developers] Android Bug/Architectural Issue: How do I handle multiple versions of my own Content Provider?

2009-01-08 Thread whitemice
I’ve blogged this question with pictures here: http://tinyurl.com/9hwdva I am writing a component that makes certain functionality available to any application running on an Android device (e.g. an advertising service, stock ticker cache, Snowball server, etc). This functionality is useful for

[android-developers] Re: Working example of CrossProcessCursor?

2008-12-18 Thread whitemice
Solved Use a MatrixCursor instead of a CrossProcessCursor. This will allow you to send custom data in a Cursor object over a ContentProvider, and works across the process boundary. Example code: public class TestContentProvider extends ContentProvider { public Cursor query(Uri uri,

[android-developers] Re: Working example of CrossProcessCursor?

2008-12-16 Thread whitemice
bump So correct me if I am wrong, but the only Cursors that can be sent across a process boundary are the ones created by SQLite? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Working example of CrossProcessCursor?

2008-12-15 Thread whitemice
Can anyone point me at a working example of CrossProcessCursor? I am trying to create a custom object and pass it to another process over a content provider. My code works fine inside the same process, but I get a CursorIndexOutOfBoundsException(AbstractCursor.java:559) when I try to access the

Re: Fw: [android-developers] Re: Android and bluetooth

2008-12-04 Thread whitemice
Hi Nick I can see there is a use case for this. If we were to do this, it would be through a scary sounding bluetooth permission. This application can connect to untrusted Bluetooth devics. We'll have to think about this a little. I would do it this way: (1) Application permission: This

Re: Fw: [android-developers] Re: Android and bluetooth

2008-12-03 Thread whitemice
Hi Nick While we are on the subject, I am looking for Android *Ad-hoc* Bluetooth support. Example: Alice and Bob both have my client running on their phones, and walk within Bluetooth range of each other in a social setting. I want the application to: (a) Be able to detect the other Bluetooth

Re: Fw: [android-developers] Re: Android and bluetooth

2008-12-03 Thread whitemice
Hi Nick Thanks for getting back to me. We are likely to prevent Bluetooth data connections (RFCOMM) from apps unless the two phones have been paired. It's really hard to make security work any other way. Right, so none of these Symbian apps are possible on Android… Nokia Sensor

[android-developers] Re: T-mobile G1 for testing purposes

2008-10-28 Thread whitemice
This could be FUD, as the G1 is reported to have “quad-band GSM plus dual-band UMTS, which means it will work abroad [i.e. outside US] as well“. It turns out that 3G standards are a bit complex: http://www.three-g.net/3g_standards.html Although I do use a T-Mobile Germany laptop PCMCIA 3G card

[android-developers] Re: T-mobile G1 for testing purposes

2008-10-27 Thread whitemice
I am a T-Mobile customer/Android developer living in Germany, and we have been promised a device sometime in Q1/2009 (after USA, then UK). As it takes 90 days to get an officially locked T-Mobile USA device, I am assuming that all unlocked G1’s currently listed on eBay are fake. I am also unsure

[android-developers] Re: Android Specialists

2008-06-25 Thread whitemice
No one *really* supports Android yet as there are no actual devices to deploy against. However many developers who entered the Android Developer Challenge have real mobile-software-development day jobs and are looking forward to the first Android projects to walk in the door. What sort of thing

[android-developers] Re: 16M Memory Limit

2008-06-13 Thread whitemice
That’s a relief! Can you comment on whether the community will see another Android SDK before the APIs are finalised in 1.0? I know the UI is supposed to be a *big surprise*, but there are so many other APIs that us regular developers would love to give feedback on.

[android-developers] Re: 16M Memory Limit

2008-06-13 Thread whitemice
OK, thanks for giving feedback. Perhaps someone else from Google (who is more in the know) could throw in a comment? All this silence from Google regarding the SDK is making us developers nervous. --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: 16M Memory Limit

2008-06-12 Thread whitemice
...On top of this, by the time Android is fully loaded on a 64MB device only 10-20MB of RAM will probably remain.* So, essentially your application would use all system resources... 640K ought to be enough for anybody - Bill Gates (apparently)