[android-developers] AIDL files and Android.mk

2013-12-04 Thread gallagth
I'm trying to build my app as a system app so I added the sources to aosp. I'm having troubles with AIDL files, related to the project structure. Here is the relevant part of the project's structure src --main Android.mk aidl --com/master/android IDialCallback.aidl

[android-developers] Issues with InputConnection.getExtractedText and bug in InputConnection.getTextAfterCursor in custom input method

2013-11-25 Thread gallagth
Hi all, I'm developing an InputMethod and therefore relying on InputMethodService and it's getCurrentInputConnection to retrieve an InputConnection. I'm trying to extract the current text from the input connection, via the getExtractedText method and it works *most* of the time. However, most

[android-developers] Re: Override enableMyLocation in MyLocationOverlay

2010-03-04 Thread gallagth
OK so if I understand, I have to override the drawMyLocation function, is that it? Is there a way around that because I kind of like the google blue blutton icon... On Mar 5, 2:42 am, TreKing treking...@gmail.com wrote: On Wed, Mar 3, 2010 at 11:37 PM, gallagth galla...@gmail.com wrote: I

[android-developers] Override enableMyLocation in MyLocationOverlay

2010-03-03 Thread gallagth
Hi everyone, I want to override the method enableMyLocation() in MyLocationOverlay class, in order to implement my own positioning algorithm to get latitude/longitude, and then plot them onto a MapView. I figured out how to do that, but now I'm stuck because I dont know what Canvas to pass when

[android-developers] FileNotFoundException on FileOutputStream when writing on sdcard, no idea why

2010-02-11 Thread gallagth
Hi, I'm trying to write a file to a sdcard, I'm using the same writeToFile() function in all my apps, and I dont know why, it wont work for this one, no idea why. It works for all the other apps, but not for this one. I have two classes, GPSTest, and GPSListener. writeToFile() is in GPSListener,