[android-developers] Re: INSTALL_REFERRER not sent to custom receivers - New Market App

2011-11-02 Thread mscwd01
Also if anyone from Google could let us know if this will be fixed in a future release of the Market app, it'd be great. I'm hoping this bug wasn't intended and that install tracking will be fixed. On Nov 1, 9:48 am, mscwd01 mscw...@gmail.com wrote: Hey I used to be able to track installs

[android-developers] INSTALL_REFERRER not sent to custom receivers - New Market App

2011-11-01 Thread mscwd01
Hey I used to be able to track installs of apps by placing the INSTALL_REFERRER action in my manifest and pointing it to a custom receiver. However, it seems the newest version of the Android Market app has changed the way it handles the referrer string included in market URLs, this means I can

[android-developers] Re: Cannot have more than one INSTALL_REFFERER receiver in Android Manifest?

2011-02-28 Thread mscwd01
If no one can offer a solution, the only hack I've found is to forward the INSTALL_REFERRER intent on to the AdMob manually in my receiver. Not great at all :( On Feb 27, 11:27 pm, mscwd01 mscw...@gmail.com wrote: I am using the AdMob install receiver in my Android Manifest file, e.g

[android-developers] Cannot have more than one INSTALL_REFFERER receiver in Android Manifest?

2011-02-27 Thread mscwd01
I am using the AdMob install receiver in my Android Manifest file, e.g. !-- AdMob Install Receiver -- receiver android:name=com.admob.android.ads.analytics.InstallReceiver android:exported=true intent-filter action android:name=com.android.vending.INSTALL_REFERRER / /intent-filter

[android-developers] Re: Camera preview - works on all devices apart from the Droid

2010-05-25 Thread mscwd01
Surely I cant be the only one to encounter problems with this? On May 24, 6:19 pm, mscwd01 mscw...@gmail.com wrote: Hey, This is my code I use to display a preview from the camera on a SurfaceView: public void surfaceChanged(SurfaceHolder holder, int format, int w, int h

[android-developers] Camera preview - works on all devices apart from the Droid

2010-05-24 Thread mscwd01
Hey, This is my code I use to display a preview from the camera on a SurfaceView: public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { Camera.Parameters parameters = mCamera.getParameters(); ListSize cameraSizes =

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-29 Thread mscwd01
Yes! Thanks Google. My Nexus One arrived via FedEx today. I live in the UK and it was shipped via Brightpoint Netherlands. Thanks again! On Apr 29, 9:07 am, cannehal tomasz.l...@gmail.com wrote: Here is link to map. You can add your location (not exact of course) there when you receive your

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-29 Thread mscwd01
Only slight issue is that it comes with a European (American?) wall socket charger, so you will have to charge it via USB. (My old HTC Hero charger isn't compatible) I'm going to buy the dock today though so that will solve that problem. Anyway, having used a Hero before the N1 is amazing, I hope

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-28 Thread mscwd01
I'm just speculating here however, it may have been the case that Brightpoint (or whoever distributes the N1 to European providers) needed to stock places like Vodafone before issuing out free handsets. A report today says they are already experiencing N1 shortages and need to await more stock

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-22 Thread mscwd01
I received the usual response from Google today saying there were issues which are now resolved. Again, I was given the your phone should arrive in 1-2 weeks time frame. Being stuck with a 1.5 device this wait is not ideal... On Apr 22, 9:36 am, Lorents iva...@gmail.com wrote: No news in Norway

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-19 Thread mscwd01
Has anyone had a reply from Google regarding a potential delivery time- scale to Europe? I have been waiting 7 weeks now and cant seem to get a reply to any emails I send their way. Thanks On Apr 17, 9:12 am, Lorents iva...@gmail.com wrote: Damn Icelandic people... First they mess with the

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-19 Thread mscwd01
Many people have said the phones will be shipping not from the US but from a warehouse in Europe so I agree that the volcano shouldn't have any effect on delivering the phones. They would be sent over land not by air - which makes me wonder if there is another issue delaying the phones? On Apr

[android-developers] Re: Getting the url of an http response

2010-04-07 Thread mscwd01
I think your asking for the final URL you are redirected to... right? If so this should help nicely: http://www.example-code.com/java/http_redirect.asp I think you need to pay attention to this part: if (http.get_WasRedirected() == true) { System.out.println(This was a redirect

[android-developers] Re: real ip address

2010-03-30 Thread mscwd01
The only way I found to do this was by opening a socket connection and reading the IP that way. I couldn't find a nice getIP() method. On Mar 30, 11:32 am, Engin Arslan enginarsla...@gmail.com wrote: Hi All , Can I get real ip address of android phone Thanks -- You received this message

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-25 Thread mscwd01
I'm in the UK too and still waiting. Are you sure FedEx will be used in the UK? It could be Royal Mail, Parcel Force, DPD etc... On Mar 25, 2:06 pm, David Horn pga...@gmail.com wrote: I was about to say that I'm very grateful to be offered a free Nexus One and would suggest that you wait until

[android-developers] Re: Need a Nexus One tester with logcat

2010-03-09 Thread mscwd01
I think I may know why your app doesn't work on the Nexus. It's to do with setting the preferred size of the Camera view on the Surface View. I have a similar augmented reality app and had to use a reflection to solve the issue. Take a look at the code a developer posted here:

[android-developers] Re: Android Device Seeding Program - Differences in phone for developers?

2010-03-09 Thread mscwd01
I'd be suprised if it didn't have some kind of Device Seeding inscription on the back of the Nexus, but apart from that it's in their interest to make it no different to the device the paying public can buy. On Mar 9, 12:19 pm, nickthecook nickthec...@gmail.com wrote: Does anyone know if the

[android-developers] Re: Supress the native In Call Screen and replace with 3rd party?

2010-03-05 Thread mscwd01
I haven't looked into it but there must be an intent-filter you can use to launch your Call screen when necessary? On Mar 5, 9:39 am, draf...@gmail.com draf...@gmail.com wrote: Currently creating a VOIP application for Android and I was wondering is there any possible way to supress the In Call

[android-developers] Re: Google: is this real?

2010-03-03 Thread mscwd01
It's funny how we all automatically assume this is a scam, but from the thread below it seems it's legitimate: http://groups.google.com/group/android-developers/browse_thread/thread/49da01a3cb7f8803/d51548090313040e#d51548090313040e I sincerely hope I do get a Nexus One as my apps dont play well

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-02 Thread mscwd01
Can I get an idea of how many people have submitted their details? I am still fairly sure this is not legit but the evidence is starting to say I am wrong. And why oh why cant an official Google person post here and confirm/ deny this? On Mar 3, 12:59 am, Greg Donald gdon...@gmail.com wrote:

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-02 Thread mscwd01
I wish I wasn't so pessimistic! I think i'll just submit my details as I cant see the form asking for anything too sensitive details wise. On Mar 3, 1:09 am, Rob Franz rob.fr...@gmail.com wrote: Ok great. Now that we have this settled - Can I please have a Nexus One?  I don't have Verizon - I

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-02 Thread mscwd01
No its the order number of the Google checkout receipt you got when you registered as a developer/publisher. Just one last question. Why would the form have this question: Future Offers * Can we contact you with offers related to Android or the Android market going forward? Your information will

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-02 Thread mscwd01
I went against my better judgement and submitted the form, i'll be crossing my fingers too. On Mar 3, 1:31 am, havexz bali.param...@gmail.com wrote: I am crossing my fingers and submitting the form...rest we ll C On Mar 2, 6:46 pm, Roman Nurik romannu...@google.com wrote: Folks, the email

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-02 Thread mscwd01
I have no confirmation either, and I made sure I entered my details correctly ;) On Mar 3, 1:13 am, Androidz base...@gmail.com wrote: Very cool guys, I've been debating on which new phone to buy, but I guess you can make the decision for me in this case! 854x440 devices and larger tablets are

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-02 Thread mscwd01
It's official: http://techcrunch.com/2010/03/02/google-handing-out-free-nexus-ones-and-droids-to-top-android-devs/ On Mar 3, 1:37 am, BeMeCollective bemecollect...@gmail.com wrote: Hi All! I got it too. It's a nice gesture. I wish that in addition Google would let me monetize my applications

[android-developers] Draw a Bitmap by specifying the x,y locations of the four corners

2010-03-01 Thread mscwd01
Hi, I want to draw a bitmap on the screen by specifying the x,y locations of the four corners. I.e. I have a square bitmap and I would like to draw the: * Top right corner at pixel x=100,y=100 * Bottom right corner at pixel x=120,y=220 * Bottom left corner at pixel x=50,y=200 *

[android-developers] Re: Draw a Bitmap by specifying the x,y locations of the four corners

2010-03-01 Thread mscwd01
Hey, Thanks for the tip. I have had a look at drawBitmapMesh in the docs and it has left me slightly confused. Do you know how it is meant to be used? Thanks On Mar 1, 4:04 pm, skink psk...@gmail.com wrote: On Mar 1, 2:50 pm, mscwd01 mscw...@gmail.com wrote: Hi, I want to draw a bitmap

[android-developers] Re: Draw a Bitmap by specifying the x,y locations of the four corners

2010-03-01 Thread mscwd01
, x2,y2, x3,y3, x4,y4) method! If I am overlooking the drawBitmapMesh method however, please let me know. Thanks On Mar 1, 5:56 pm, skink psk...@gmail.com wrote: On Mar 1, 4:23 pm, mscwd01 mscw...@gmail.com wrote: Hey, Thanks for the tip. I have had a look at drawBitmapMesh in the docs

[android-developers] Re: Draw a Bitmap by specifying the x,y locations of the four corners

2010-03-01 Thread mscwd01
enables me to draw the Bitmap where I need it. I have searched for some documentation on the Mesh object and can find nothing useful. Thanks for your help. On Mar 1, 6:43 pm, skink psk...@gmail.com wrote: On Mar 1, 5:21 pm, mscwd01 mscw...@gmail.com wrote: I found this in the Demos:http

[android-developers] Re: Draw a Bitmap by specifying the x,y locations of the four corners

2010-03-01 Thread mscwd01
(bitmapImg, 1, 1, verts, 0, null, 0, paint); On Mar 1, 7:26 pm, skink psk...@gmail.com wrote: On Mar 1, 5:54 pm, mscwd01 mscw...@gmail.com wrote: I realise the verts array is what manipulates the Bitmap, however I am unsure how I construct the verts array. Basically I have calculated

[android-developers] Load image from Jar file

2010-01-15 Thread mscwd01
Hey, I realise the correct way to load an image is from res/drawable but imagine that was not a possibility. If you had to load an image from an attached jar file, how would one achieve it? Many thanks -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: IMPORTANT - display.getOrientation() does not work on all devices

2009-11-02 Thread mscwd01
custom ROMS are trouble for developers. -niko On Nov 1, 6:31 pm, mscwd01 mscw...@gmail.com wrote: Hey Mark, I have had one user contact me by email and he had the same issues using the older version and the new version (using the orientation code you supplied), so I can rule out

[android-developers] Re: IMPORTANT - display.getOrientation() does not work on all devices

2009-11-01 Thread mscwd01
:( On Nov 1, 3:18 am, niko20 nikolatesl...@yahoo.com wrote: Wait- YOu are remapping the coords after rotation? Well then that's where the problem has to be, since clearly Mark has shown that the getOrientation() works correctly -niko On Oct 31, 1:25 pm, mscwd01 mscw...@gmail.com wrote

[android-developers] Re: IMPORTANT - display.getOrientation() does not work on all devices

2009-11-01 Thread mscwd01
phones which are the same make and model? This is really disconcerting, and needs to be explained. On Nov 1, 11:06 pm, mscwd01 mscw...@gmail.com wrote: Well Niko that may be true but it doesn't change the fact that it works fine on an HTC Hero and some G1 Magic phones. It should either work

[android-developers] Re: IMPORTANT - display.getOrientation() does not work on all devices

2009-11-01 Thread mscwd01
Hey Mark, I have had one user contact me by email and he had the same issues using the older version and the new version (using the orientation code you supplied), so I can rule out that being the cause *I think*. I *presume* it isn't a ROM issue as I have had 8-10 users leave comments saying it

[android-developers] Re: App name/icon problems on Hero after reboot

2009-11-01 Thread mscwd01
I have an HTC Hero, have used many of the above apps and have never seen these problems... On Nov 1, 11:47 pm, rooster 808 rich.al...@gmail.com wrote: I'm seeing this frequently on my HERO HTC, but not my G1 Google Dev phone. Almost every power off, I lose the Desktop Icon on the App I'm

[android-developers] IMPORTANT - display.getOrientation() does not work on all devices

2009-10-31 Thread mscwd01
Hi, I have had several complaints from people with G1 and MyTouch/G2 devices who say my application does not work correctly. The problem stems from the following code which gets the orientation of the phone: // Get Screen Orientation Display display = ((WindowManager) getSystemService

[android-developers] Re: IMPORTANT - display.getOrientation() does not work on all devices

2009-10-31 Thread mscwd01
Hi Mark, I added this to the activity tag in the manifest: android:screenOrientation=sensor Would that make any difference? If I get it still doesn't work emails, i'll try your code. Thanks On Oct 31, 11:54 am, Mark Murphy mmur...@commonsware.com wrote: mscwd01 wrote: Hi, I have had

[android-developers] Re: IMPORTANT - display.getOrientation() does not work on all devices

2009-10-31 Thread mscwd01
if the API is not supported on all devices??? I would be very greatful if someone could offer a solution to this, its just not acceptable. On Oct 31, 12:08 pm, Mark Murphy mmur...@commonsware.com wrote: mscwd01 wrote: I added this to the activity tag in the manifest: android:screenOrientation

[android-developers] Re: IMPORTANT - display.getOrientation() does not work on all devices

2009-10-31 Thread mscwd01
documentation...  but this is a pretty low priority because, again, it really shouldn't be used by applications.) On Sat, Oct 31, 2009 at 5:08 AM, Mark Murphy mmur...@commonsware.comwrote: mscwd01 wrote: I added this to the activity tag in the manifest: android:screenOrientation=sensor

[android-developers] Re: IMPORTANT - display.getOrientation() does not work on all devices

2009-10-31 Thread mscwd01
Sorry I meant works on the HTC Hero NOT magic ;) On Oct 31, 6:11 pm, mscwd01 mscw...@gmail.com wrote: Dianne, I have used the configuration to try and determine orientation (see Method 2); however, this still fails on G1 and G2 devices. It works on the HTC magic though. If you could offer

[android-developers] Re: IMPORTANT - display.getOrientation() does not work on all devices

2009-10-31 Thread mscwd01
31, 6:19 pm, Mark Murphy mmur...@commonsware.com wrote: mscwd01 wrote: Okay this is getting really rather annoying now. I have used both of the following methods of getting the screen orientation and both do not work properly on different devices. Method 1: Display display

[android-developers] Paint (fill) a Path with a texture

2009-10-30 Thread mscwd01
Hey, I currently draw Paths to the screen and fill them with a simple color; however, is it possible to take a bitmap and fill the path with this texture? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Supporting Smaller Screen Sizes supports-screens

2009-10-30 Thread mscwd01
I have had several emails from people with HTC Tattoo devices who say they cannot find my app in the Market. After reading this page (http://d.android.com/guide/practices/ screens_support.html) I believe I have to add the supports-screens tag to my manifest file. However, when I try to do this I

[android-developers] 3D MapView - Is it possible?

2009-10-20 Thread mscwd01
Is there a way to manipulate a MapView so it is given perspective? I.e. the Tiles at the bottom of the view are wider than those drawn at the top of the view? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Create always running app

2009-09-26 Thread mscwd01
Is it possible to create an app which always runs in the background and can listen to user input? To be more specific, is it possible to open your app by performing a gesture or long pressing selected text on any screen in any other running app?

[android-developers] Re: Create always running app

2009-09-26 Thread mscwd01
Hmm pity, I can see it being abused by unscrupulous developers - but it'd be a powerful feature nonetheless. On Sep 27, 12:28 am, Dianne Hackborn hack...@android.com wrote: No it is not, sorry. On Sat, Sep 26, 2009 at 3:02 PM, mscwd01 mscw...@gmail.com wrote: Is it possible to create

[android-developers] Re: Now ADC2 judging has begun.

2009-09-24 Thread mscwd01
The judging app is rubbish. I just keep getting a notification to download a single app mystic maggie which is 11mb to download... Cant I skip it? On Sep 24, 10:52 pm, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: How the devil are regular users going to be to: 1. Know ADC2 exists.

[android-developers] Using sensors and orientation - lat/lon point to screen coordinates

2009-08-20 Thread mscwd01
Hi, I want to find the screen coordinates (X,Y) where a point represented by a latitude/longitude value would appear on the screen if you pointed your phone at it (much in the same way as Wikitude does). Here is my code from my onSensorChanged() method: public void onSensorChanged(SensorEvent

[android-developers] Re: Using sensors and orientation - lat/lon point to screen coordinates

2009-08-20 Thread mscwd01
/SensorSimulator On Aug 20, 4:55 pm, mscwd01 mscw...@gmail.com wrote: Hi, I want to find the screen coordinates (X,Y) where a point represented by a latitude/longitude value would appear on the screen if you pointed your phone at it (much in the same way as Wikitude does). Here is my code from my

[android-developers] Re: Using sensors and orientation - lat/lon point to screen coordinates

2009-08-20 Thread mscwd01
); SensorManager.getOrientation(outR, values); I'm assuming thats the correct way to do it. On Aug 20, 6:00 pm, mscwd01 mscw...@gmail.com wrote: The main problem is when I use the values returned by the sensor manager as is i.e. not modifying them in any way, the points are no where near where they should be. For example

[android-developers] Re: Using sensors and orientation - lat/lon point to screen coordinates

2009-08-20 Thread mscwd01
the compass, and if that works, then look into your projection routine), rather than solving the whole stack of possible error sources at once. Good luck :-) Peli On Aug 20, 7:02 pm, mscwd01 mscw...@gmail.com wrote: I should add I am holding the phone horizontally (as you would when

[android-developers] Re: How to use the RotationMatrix, actually how to get it

2009-08-20 Thread mscwd01
Heres my code, which works: public void onSensorChanged(SensorEvent event) { Sensor sensor = event.sensor; int type = sensor.getType(); switch (type) { case Sensor.TYPE_MAGNETIC_FIELD: mags = event.values.clone();

[android-developers] Re: How to use the RotationMatrix, actually how to get it

2009-08-20 Thread mscwd01
Oh and you'll need these: final int matrix_size = 16; float[] R = new float[matrix_size]; float[] outR = new float[matrix_size]; float[] I = new float[matrix_size]; float[] values = new float[3]; On Aug 21, 3:06 am, mscwd01 mscw...@gmail.com wrote: Heres my code, which works: public void

[android-developers] Re: adc2 submission site

2009-08-19 Thread mscwd01
I'd like it postponed a month please ;) It would be good to know either way though... On Aug 17, 7:43 pm, cindy ypu01...@yahoo.com wrote: I have question too. Google should update the ADC official site to tell us what happends. On Aug 16, 11:11 am, siuying siu.y...@gmail.com wrote: Glad

[android-developers] Android sensors - Correct when held vertically, incorrect in the horizontal

2009-08-14 Thread mscwd01
Forgive me if I am missing the obvious here but is there an easy way to get the coorect azimuth/roll/pitch values when the phone is oriented to the horizontal position? When you hold a device certically, the compass and roll/pitch values are correct but if you hold the phobe horizontally the

[android-developers] Re: Android sensors - Correct when held vertically, incorrect in the horizontal

2009-08-14 Thread mscwd01
Sorry about that poorly spelt question - I was in a hurry earlier. ;) Basically is there a way to tell the sensors what orientation your activity is in, so if the phone is held horizontally the compass works correctly? On Aug 14, 5:51 pm, mscwd01 mscw...@gmail.com wrote: Forgive me if I am

[android-developers] Detecting Long Press on a Map Overlay

2009-08-13 Thread mscwd01
Hey, I want to be able to detect where a user has long pressed on my Map Overlay. The idea being to get the GeoPoint of the location the user pressed. I can detect where a user taps, but cannot find how to detect a long press. Any ideas? Thanks

[android-developers] Re: Detecting Long Press on a Map Overlay

2009-08-13 Thread mscwd01
your code. On Aug 13, 7:47 am, mscwd01 mscw...@gmail.com wrote: Hey, I want to be able to detect where a user has long pressed on my Map Overlay. The idea being to get the GeoPoint of the location the user pressed. I can detect where a user taps, but cannot find how to detect

[android-developers] Re: SensorManager Query

2009-08-08 Thread mscwd01
I'm still struggling with this, its thr roation matrix I need to supply which i'm not sure with... On Aug 7, 6:12 pm, mscwd01 mscw...@gmail.com wrote: Hi, I would like to get the orientation of the phone i.e. its compass bearing (azimuth), pitch (around X axis) and roll (around Y axis). I

[android-developers] SensorManager Query

2009-08-07 Thread mscwd01
Hi, I would like to get the orientation of the phone i.e. its compass bearing (azimuth), pitch (around X axis) and roll (around Y axis). I have found the method 'getOrientation(float[] R, float[] values)' which seems to serve this purpose, however I am unsure what I need to pass to it as a

[android-developers] Getting the email address of the Google Account tied to the handset

2009-07-07 Thread mscwd01
Hey, Simple question - but i'm finding it difficult finding the answer. I want to get the email address of the Google account tied to the phone (the one the user enters upon setup). I need it to uniquely identify the user of my app - however I do not want their password as it would,

[android-developers] Camera View = Regular out of memory exceptions

2009-06-16 Thread mscwd01
Just a quick question... Using the emulator has anyone experienced regular out of memory exceptions if you open and close a few times an activity which uses the Camera / Surface Holder (as demonstrated in the API Demos)? If I start the activity for the first time since the application was

[android-developers] Get latitude longitude of center of MapView

2009-06-05 Thread mscwd01
Hi How would one get the latitude/longitude of the point which resides in the center of a MapView? I want to obtain the lat/lon each time the user pans/moves the map. Ideally, I want to find the lat/lon of the points on the map in the bottom left and top right of the screen. Thanks for your

[android-developers] Re: MapView balloon box, is it possible??

2009-06-05 Thread mscwd01
I believe you have to create your own balloon box and draw it to the screen above the tapped marker. I am not aware of an in-built mechanism to achieve this. It shouldn't be too hard to create one though, just use a .9.png for the background etc, so the marker expands automatically to contain

[android-developers] Re: Tut (SDK 1.5) Get google account of user

2009-06-05 Thread mscwd01
Does this code allow you to get the email address of the phones owner, used when setting up the phone? I.e. the email address of the google account tied to to the phone? On Jun 5, 7:54 am, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: hi guys i finally got a simple method to get the

[android-developers] Re: Get latitude longitude of center of MapView

2009-06-05 Thread mscwd01
doin a tile download and display on screen then do the maths... ;) On Fri, Jun 5, 2009 at 5:21 PM, mscwd01 mscw...@gmail.com wrote: Hi How would one get the latitude/longitude of the point which resides in the center of a MapView? I want to obtain the lat/lon each time the user pans/moves

[android-developers] Re: Get latitude longitude of center of MapView

2009-06-05 Thread mscwd01
Great, thanks for the help. I'll try it later. On Jun 5, 1:07 pm, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: mymap.getProjection().fromPixels(x, y) On Fri, Jun 5, 2009 at 5:33 PM, mscwd01 mscw...@gmail.com wrote: Ok that sounds great but how would one do this? ;) What

[android-developers] Detecting when a MapView is changed (panned or zoomed)

2009-06-05 Thread mscwd01
Hi, I thought this would have an easy answer but I cant seem to find one. Does MapView have a mechanism such as an onChange listener which is fired when the MapView is either panned or zoomed? I have expermiented with onClick, motion events etc, all are not really what i'm after. I just need

[android-developers] Re: Detecting when a MapView is changed (panned or zoomed)

2009-06-05 Thread mscwd01
own. How can i fix this? On Jun 5, 3:21 pm, mscwd01 mscw...@gmail.com wrote: Hi, I thought this would have an easy answer but I cant seem to find one. Does MapView have a mechanism such as an onChange listener which is fired when the MapView is either panned or zoomed? I have expermiented

[android-developers] Seekbar - Snap to value

2009-05-30 Thread mscwd01
Hey, Quick question... Is there a way to define set values (i.e. 0%, 25%, 50%, 75%, 100%) for the seekbar widget that enables the slider to snap to the nearest set value? For example instead of allowing the user to position the slider at an percentage through 0-100, instead the slider can only

[android-developers] Re: Seekbar - Snap to value

2009-05-30 Thread mscwd01
Thanks for the quick reply. I shall do as you suggested. Pity there isn't support for a vertical seekbar though :( On May 30, 4:26 pm, Marco Nelissen marc...@android.com wrote: On Sat, May 30, 2009 at 8:19 AM, mscwd01 mscw...@gmail.com wrote: Hey, Quick question... Is there a way

[android-developers] Re: TextView Highlight/Select Issue

2009-05-29 Thread mscwd01
it doesn't highlight when tapped but as soon as I apply a selector drawable to it, it causes thos highlight on tap issue. This is my last plea for help ;) On May 29, 1:14 am, mscwd01 mscw...@gmail.com wrote: It seems the problem only occurs when the selector drawable is applied to the TextView

[android-developers] TextView Highlight/Select Issue

2009-05-28 Thread mscwd01
Hey, I have a ListView where each row is a layout inflated from an xml file. Within each layout I have a TextView which is defined by the following: TextView style=@style/MenuItem android:paddingLeft=10sp android:textColor=@drawable/menu_item / The style attribute sets the font size and style,

[android-developers] Re: Is there any chance that there will be ADP2?

2009-05-28 Thread mscwd01
http://code.google.com/android/adc/ On May 28, 12:47 pm, szeldon szeldon@gmail.com wrote: Hi, I've read:http://groups.google.com/group/android-developers/browse_thread/threa...http://www.google.com/support/forum/p/Android%20Market/thread?tid=55c... but both discussions seem a little

[android-developers] Re: Is there any chance that there will be ADP2?

2009-05-28 Thread mscwd01
^ In that link it mentions phones were given out to aid people for ADC 2 so I guess these would be configured as such. I guess it wont be long before they're updated. On May 28, 1:08 pm, mscwd01 mscw...@gmail.com wrote: http://code.google.com/android/adc/ On May 28, 12:47 pm, szeldon szeldon

[android-developers] Re: TextView Highlight/Select Issue

2009-05-28 Thread mscwd01
It seems the problem only occurs when the selector drawable is applied to the TextView. Can anyone explain why this would allow the TextView to be selected/highlighted when tapped? On May 28, 11:00 am, mscwd01 mscw...@gmail.com wrote: Hey, I have a ListView where each row is a layout inflated

[android-developers] Determine which row of ListView is highlighted

2009-05-25 Thread mscwd01
Hey, I would like to change the font colour of text in each ListView row when the row is highlighted. I.e. when the row is not highlighted leave the font black, however when it is highlighted change the font colour to white. Is there a method which allows one to get the ID of the currently

[android-developers] Re: Determine which row of ListView is highlighted

2009-05-25 Thread mscwd01
Great thanks Mark, I hoped you'd be the one to reply... and you didn't disappoint! Thanks again On May 25, 6:22 pm, Mark Murphy mmur...@commonsware.com wrote: mscwd01 wrote: Hey, I would like to change the font colour of text in each ListView row when the row is highlighted. I.e. when

[android-developers] Re: startActivity from subclass - strange problem

2009-05-16 Thread mscwd01
;) On May 15, 11:54 pm, mscwd01 mscw...@gmail.com wrote: Here's the complete stack trace: 05-15 23:51:58.278: ERROR/AndroidRuntime(731): Uncaught handler: thread main exiting due to uncaught exception 05-15 23:51:58.340: ERROR/AndroidRuntime(731): java.lang.NullPointerException 05-15 23:51:58.340

[android-developers] startActivity from subclass - strange problem

2009-05-15 Thread mscwd01
Hey, I have a Activity and I have a class which extends this Activity. In this subclass I call: startActivity(new Intent(this, CameraView.class)) Which should start the CameraView Activity. However, I always get this error: ERROR/AndroidRuntime(876): java.lang.NullPointerException

[android-developers] Re: startActivity from subclass - strange problem

2009-05-15 Thread mscwd01
. On Fri, May 15, 2009 at 9:14 AM, mscwd01 mscw...@gmail.com wrote: Hey, I have a Activity and I have a class which extends this Activity. In this subclass I call: startActivity(new Intent(this, CameraView.class)) Which should start the CameraView Activity. However, I always get

[android-developers] Obtaining field of view of camera

2009-05-14 Thread mscwd01
Hey, Quick question: Is there a method of obtaining the field of view for a phones camera (horizontal and vertical)? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Change ListView Row Font Colour on Highlight

2009-05-10 Thread mscwd01
Hey, quick question... How could one change the font colour of a TextView in a ListView row when the row is highlighted? I load each row of the ListView from a given row.xml file. I would like to have a black font colour when NOT highlighted and a white font colour when the row IS highlighted.

[android-developers] ViewFlipper - showView(2) functionality rather than just showNext()

2009-05-09 Thread mscwd01
Hey, Quick question, is there a straightforward way to flip to a desired view in a list of view, rather than just flipping to the next or previous view? I would like to specifically detail which view to flip to. I.e. If you are on view 2 I would like to be able to flip to view 4, without

[android-developers] Re: ViewFlipper - showView(2) functionality rather than just showNext()

2009-05-09 Thread mscwd01
Hmm, I just found the setDisplayedChild(int whichChild) of the ViewAnimator class. I haven't got the SDK on this pc to test if it works, can someone confirm? Thanks On May 9, 11:43 am, mscwd01 mscw...@gmail.com wrote: Hey, Quick question, is there a straightforward way to flip to a desired

[android-developers] Re: ViewFlipper - showView(2) functionality rather than just showNext()

2009-05-09 Thread mscwd01
Thanks Mark, I posted to soon and found the answer it seems straight after posting the question! Oh well it may help some folks out ;) On May 9, 11:45 am, Mark Murphy mmur...@commonsware.com wrote: mscwd01 wrote: Hey, Quick question, is there a straightforward way to flip to a desired

[android-developers] Re: A Gesture Recognition Library

2009-04-11 Thread mscwd01
That's really impressive and i'd guess a whole lot more intuitive to use than the virtual keyboard for quick text entry. I'll definately have a play around with it when I get a spare minute or two; when I do i'll try and provide some feedback. Thanks for sharing! On Apr 11, 11:56 am, sydnal

[android-developers] Animating a Layout

2009-04-08 Thread mscwd01
How do I animate a Layout? I have a RelativeLayout which sits in a certain position within my Activity; I want to glide it in and out from the bottom of the screen when a certain button is pressed. I have found examples of animating the children of lists etc but this is not what I want. I

[android-developers] Re: Animating a Layout

2009-04-08 Thread mscwd01
this: identityOverlayAnimationIn.start(); But it doesn't seem to work... On Apr 8, 4:53 pm, Mark Murphy mmur...@commonsware.com wrote: mscwd01 wrote: How do I animate a Layout? I have a RelativeLayout which sits in a certain position within my Activity; I want to glide it in and out from

[android-developers] Re: Android Physics Engine

2009-04-03 Thread mscwd01
experience. On Apr 1, 2:45 pm, mscwd01 mscw...@gmail.com wrote: Thanks Lajos for pointing APE out, I hadn't heard of it until now. Unfortunately your link to your Android port is broken, can you mend it as I dont fancy spending another hour porting another

[android-developers] Re: Android Physics Engine

2009-04-03 Thread mscwd01
...@gmail.com wrote: On Fri, Apr 3, 2009 at 6:24 PM, mscwd01 mscw...@gmail.com wrote: I have thrown together a quick example of the APE Physics engine (www.cove.org/ape/) running on Android. As you can see, simulating 30 or so circles results in a solid 15fps, which looks acceptable. :( 15 fps

[android-developers] Re: Android Physics Engine

2009-04-01 Thread mscwd01
31, 9:17 am, mscwd01 mscw...@gmail.com wrote: Thanks for your feedback Shaun, I too unfortunately think a bespoke engine will need to be written for Android, which is a real pity as the iPhone has several physics engines which can easily handle hundreds of objects. Having said

[android-developers] Re: Android Physics Engine

2009-04-01 Thread mscwd01
source and games!  Is that too much to ask?  LOL!! On Mar 31, 12:17 pm, mscwd01 mscw...@gmail.com wrote: Thanks for your feedback Shaun, I too unfortunately think a bespoke engine will need to be written for Android, which is a real pity as the iPhone has several physics engines which can

[android-developers] Re: Android Physics Engine

2009-04-01 Thread mscwd01
overhead would be well amortized.     Anton On Mar 31, 9:17 am, mscwd01 mscw...@gmail.com wrote: Thanks for your feedback Shaun, I too unfortunately think a bespoke engine will need to be written for Android, which is a real pity as the iPhone has several physics

[android-developers] Re: Android Physics Engine

2009-03-31 Thread mscwd01
from other programs.  Though they do still happen.  Viewing LogCat I see a GC every 10 or 20 seconds because of some background application.  But between those events I get a consistent frame rate. I am using OpenGL for my rendering.     -Anton On Mar 30, 1:14 pm, mscwd01 mscw...@gmail.com

[android-developers] Re: Android Physics Engine

2009-03-31 Thread mscwd01
Oh I forgot to re-ask... Has anyone tested Phys2D or JBox2D on an actual device to see if they run better than on the emulator? I have a feeling the performance will better on a G1 than the emulator for some reason! On Mar 31, 12:51 pm, mscwd01 mscw...@gmail.com wrote: I did take a look

[android-developers] Re: Android Physics Engine

2009-03-31 Thread mscwd01
, but there are limitations. Particularly with garbage collection and memory allocation on code that gets run continuously in loops, so I don't know how optimised these physics engines are for this purpose. Would be interesting to find out though. On Mar 31, 12:52 pm, mscwd01 mscw...@gmail.com wrote: Oh I forgot

[android-developers] Android Physics Engine

2009-03-30 Thread mscwd01
Does anyone know of, or have implemented, a physics engine which runs smoothly in Android? I have spent the last couple of days trying Phys2D and JBox2D, however both perform very poorly - I am struggling to get even a few objects to simulate smoothly as frequent garbage collection spoils it.

[android-developers] Accuracy of sensors such as electronic compass

2009-03-19 Thread mscwd01
Just a quick question... I am now beginning an app which will use the compass and tilt sensors to determine a persons heading and line of sight. Can I assume the sensors on devices such as the G1 are fairly accurate or can I expect to run into problems such as the compass being 5-10 degress off

  1   2   >