This is not so much a problem, more a question about how to achieve
something...
I have a tabhost with three tabs. I have 6 icons, 3 in colour and 3 an
exact copy but in grayscale.
What I want to do is have the coloured version of the icon displayed
when the tab is active i.e. being viewed.
at 2:45 PM, mscwd01 [EMAIL PROTECTED] wrote:
Anyone? I've spent most of today on this problem and its starting to
get old ;)
On Dec 4, 6:43 pm, mscwd01 [EMAIL PROTECTED] wrote:
This is not so much a problem, more a question about how to achieve
something...
I have a tabhost
I have a weird issue, which is probably easily solvable - but the
cause is alluding me.
I have two activities, one is created as an intent from the first
activity. Each activity features a MapView.
My problem is that if I move the first map (i.e. navigate to a
paricular city) the second map,
Anyone? I cant work out what is causing this...
On Dec 7, 5:16 pm, mscwd01 [EMAIL PROTECTED] wrote:
I have a weird issue, which is probably easily solvable - but the
cause is alluding me.
I have two activities, one is created as an intent from the first
activity. Each activity features
maps state as needed?
http://code.google.com/android/reference/com/google/android/maps/MapV...)
On Dec 7, 2:41 pm, mscwd01 [EMAIL PROTECTED] wrote:
Anyone? I cant work out what is causing this...
On Dec 7, 5:16 pm, mscwd01 [EMAIL PROTECTED] wrote:
I have a weird issue, which is probably
Okay this kind of makes sense, so to ensure the map is always showing
the correct view (i.e. city), one should reposition the map each time
the activity is loaded?
One question though, what happens if someone clicks the back button?
Does the original activity reload automatically, or do you have
... Just to add to my question above ...
If only one MapActivity is allowed per process - I take it that
means per application??? - How does one properly use 2 or more maps
per application?
On Dec 8, 12:17 pm, mscwd01 [EMAIL PROTECTED] wrote:
Okay this kind of makes sense, so to ensure the map
I need a way to create a TabHost which has an intent as the tabs
content, e.g:
TabHost tabs = (TabHost)findViewById(R.id.tabhost);
tabs.setup();
TabSpec spec1 = tabs.newTabSpec(TabOne);
spec1.setIndicator(Tab One, this.getResources().getDrawable
(R.drawable.tab_icon));
spec1.setContent(new
I've had a look at the documentation you suggested, however I think im
misunderstanding how you launch a new activity in a seperate process.
Is there a demo which illustrates this?
On Dec 8, 12:36 pm, Mark Murphy [EMAIL PROTECTED] wrote:
mscwd01 wrote:
If only one MapActivity is allowed per
to the first map? I believe I am making more and
more map objects when I launch Activity2 again and again and not
releasing resources when I finish with it?
Hope I havent confused you ;)
On Dec 8, 11:11 pm, Mark Murphy [EMAIL PROTECTED] wrote:
mscwd01 wrote:
I've had a look
Oh btw I purchased your The Busy Coder's Guide to Android
Development book - its very helpful ;)
On Dec 8, 11:30 pm, mscwd01 [EMAIL PROTECTED] wrote:
Okay, one last question ;)
I've noticed if I have one map in, say, Activity1 and I call another
activity, Activity2 which has a map within
Anyone? I'm guessing its possible but I cant find an obvious
solution...
On Dec 8, 5:45 pm, mscwd01 [EMAIL PROTECTED] wrote:
I need a way to create a TabHost which has an intent as the tabs
content, e.g:
TabHost tabs = (TabHost)findViewById(R.id.tabhost);
tabs.setup();
TabSpec spec1
at that issue?
http://groups.google.com/group/android-developers/browse_thread/thread/81631e00bd25ee83/bfb7f675eb8faadc?lnk=gstq=mscwd01#bfb7f675eb8faadc
If I can get that solved, I should be fine!
Thanks again!
On Dec 8, 11:47 pm, Mark Murphy [EMAIL PROTECTED] wrote:
mscwd01 wrote:
Hope I
PROTECTED] wrote:
mscwd01 wrote:
Hope I havent confused you ;)
No, but you have made my head hurt.
Oh btw I purchased your The Busy Coder's Guide to Android
Development book - its very helpful ;)
My head feels better now... ;-)
However what i'm asking is, is there a way to kill off
large, is there a
way to define a WebView in a different class from the one creating the
TabHost and just reference the WebView (from its individual class)
when inserting it as content to the tab?
Thanks
On Dec 9, 12:41 am, Mark Murphy [EMAIL PROTECTED] wrote:
mscwd01 wrote:
Anyone? I'm guessing
:
mscwd01 wrote:
Anyone? I'm guessing its possible but I cant find an obvious
solution...
Alas, I don't think it is possible, unless you fancy getting your hands
dirty in the Android source code.
You need the activity that is managing the tabs to be an ActivityGroup
if you want one
I want to know how to create a map pin such as the one used in the
Google Maps app, shown when you search for a particular address. The
white balloon which contains short String to denote what the pin is
representing.
Instead of adding a drawable for my pin in an OverlayItem, I would
rather use
Similar to this:
http://www.webmonkey.com/mediawiki/images/Android_streetview.jpg
On Dec 11, 11:26 pm, mscwd01 mscw...@gmail.com wrote:
I want to know how to create a map pin such as the one used in the
Google Maps app, shown when you search for a particular address. The
white balloon which
Oh, and if its not possible - does anyone have any tips on how to
emulate such a map pin?
On Dec 11, 11:29 pm, mscwd01 mscw...@gmail.com wrote:
Similar to
this:http://www.webmonkey.com/mediawiki/images/Android_streetview.jpg
On Dec 11, 11:26 pm, mscwd01 mscw...@gmail.com wrote:
I want
, whatever you want.)
On Dec 12, 5:55 am, mscwd01 mscw...@gmail.com wrote:
Anyone?
On Dec 12, 1:40 am, mscwd01 mscw...@gmail.com wrote:
Oh, and if its not possible - does anyone have any tips on how to
emulate such a map pin?
On Dec 11, 11:29 pm, mscwd01 mscw...@gmail.com wrote
Anyone?
On Dec 12, 1:40 am, mscwd01 mscw...@gmail.com wrote:
Oh, and if its not possible - does anyone have any tips on how to
emulate such a map pin?
On Dec 11, 11:29 pm, mscwd01 mscw...@gmail.com wrote:
Similar to
this:http://www.webmonkey.com/mediawiki/images/Android_streetview.jpg
Argh, is there any documentation/examples which demonstrate how to
draw a pin which resizes to the short String it holds? This relatively
easy problem is causing me major headaches ;)
On Dec 12, 11:34 am, mscwd01 mscw...@gmail.com wrote:
Thanks for your reply...
One question though...
How
Hey,
Is it possible to customize the layout/appearance of a
ExpandableListView?
I wish to:
- Give parents a darker background than children
- Place images next to each child (children represent photo albums and
I wish to place an album cover image next to each child under the
photos parent)
Having had a further look, im not sure if an ExpandableListView can
allow me to customize its appearance. Is there another way to do this?
On Dec 15, 1:12 am, mscwd01 mscw...@gmail.com wrote:
Hey,
Is it possible to customize the layout/appearance of a
ExpandableListView?
I wish
Brilliant! Thanks for taking the time to show me this.
I'll have a play and see what I come up with :)
On Dec 15, 2:01 pm, Gnanesh Radhakrishnan gnanesh@gmail.com
wrote:
Sorry... you include dynamic images also to the textview.
Please refer to setCompoundDrawablesWithIntrinsicBounds
Hi,
I wish to replace the default Menu with a Dialog that consists of
several TextViews. Creating the dialog is easy, however how does one
override the defualt Menu and have the dialoge show and dismiss in
the same manner as the default menu?
Currently I create the dialog like this:
@Override
See here for a solution:
http://groups.google.com/group/android-developers/browse_thread/thread/2781fddf7d9a429e
On Dec 18, 10:32 am, Luke w hit...@gmail.com wrote:
and the images dynamic, I get it by an id refers to the bmp files in
/res/drawable/id.bmp
Thanks very much
BR,
Luke Wang
That worked nicely, thanks.
On Dec 18, 1:19 am, Mark Murphy mmur...@commonsware.com wrote:
mscwd01 wrote:
I wish to replace the default Menu with a Dialog that consists of
several TextViews.
I suspect what you mean is: you want to display a Dialog that consists
of several TextViews when
I am getting the following exception:
12-24 00:29:25.922: ERROR/AndroidRuntime(267): Uncaught handler:
thread main exiting due to uncaught exception
12-24 00:29:25.960: ERROR/AndroidRuntime(267):
java.util.ConcurrentModificationException
12-24 00:29:25.960: ERROR/AndroidRuntime(267): at
Hello, anyone help me with this please...
On Dec 24, 12:42 am, mscwd01 mscw...@gmail.com wrote:
I am getting the following exception:
12-24 00:29:25.922: ERROR/AndroidRuntime(267): Uncaught handler:
thread main exiting due to uncaught exception
12-24 00:29:25.960: ERROR/AndroidRuntime(267
hmmm, bump. Still havent worked this out.
On Dec 26, 11:59 pm, mscwd01 mscw...@gmail.com wrote:
Okay, hope everyone had a nice christmas and has had their fill of
Turkey ;)
Now can anyone help me with this?
On Dec 24, 11:53 am,mscwd01mscw...@gmail.com wrote:
Hello, anyone help me
Is there a way to have a list view which comprises both expandable
lists and normal rows?
I.e.
List
- Row 1
- Row 2
- Row 3
- Row 3 Child 1
- Row 4
- Row 4 Child 1
- Row 4 Child 2
- Row 5
E.g. Row 1, 2 and 5 are simple rows, maybe just TextViews, and Rows 3
I have a map with ten overlays which signify map pins. Occasionally I
would like to reposition the overlays to mark a different location on
the map. How do I change the GeoPoint position of a map overlay after
I have already created it and added it to map.getOverlays() ?
I have spent absolutely
focus.
Is there a better way of doing this than this hack?
Thanks
On Dec 28, 6:14 pm, mscwd01 mscw...@gmail.com wrote:
I have a map with ten overlays which signify map pins. Occasionally I
would like to reposition the overlays to mark a different location on
the map. How do I change
I have encountered memory issues in the past when using more than one
MapView in a given application.
However in the application I am currently working on I require two
activites to use MapViews. Instead of creating a new MapView object in
each activity, is there a way to create one MapView and
How do you set/change the title of the Activities window? I am
currently using this code but it has absolutley no effect:
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
// Set Window Title
getWindow().setTitle(Title of
obvious reason why I cannot set the window title?
Thanks
On Jan 6, 8:09 am, Dianne Hackborn hack...@android.com wrote:
Try doing it after setContentView().
On Mon, Jan 5, 2009 at 6:47 AM, mscwd01 mscw...@gmail.com wrote:
How do you set/change the title of the Activities window? I am
Al, you little genius - you just solved a very long running problem in
two short sentences!
Thanks very much!
On Jan 6, 5:54 pm, Al alcapw...@googlemail.com wrote:
Is there any particular reason for using getWindow()? I've always used
setTitle and it always worked for me.
On Jan 6, 5:00
I have an Activity which has a TabHost, lets call this the parent
Activity. Within the TabHost are two tabs whose content, are
themselves, Activities, lets call them child Activities.
The child activites perform several functions which can take a while
to complete so I wish to add an
Try:
map.getOverlays().clear()
and then call:
map.invalidate() (or map.postInvalidate() from a nin UI thread)
Hope that helps.
On Jan 7, 2:56 pm, Sudha sudha...@gmail.com wrote:
hi
I have drawn the map and the overlay on it
But how to remove the added overlays..
I tried to
refresh the
Is this at least possible? I may have to find a workaround...
On Jan 7, 12:25 am, mscwd01 mscw...@gmail.com wrote:
I have an Activity which has a TabHost, lets call this the parent
Activity. Within the TabHost are two tabs whose content, are
themselves, Activities, lets call them child
I may just be overlooking something blatently obvious here but this
seems to be alluding me...
I have an app which routinely contacts my server requesting updates
(small amounts of data). Whilst the user is using my app I wish this
updating to continue, however when the app closes (i.e. the home
Im guessing you'll need a central server with which to relay files
between. I dont believe phones have unique IPs which you can directly
access from phone to phone - its been a while since I checked though,
maybe someone else can confirm this?
On Jan 17, 12:55 pm, Tez earlencefe...@gmail.com
mmur...@commonsware.com wrote:
mscwd01 wrote:
I may just be overlooking something blatently obvious here but this
seems to be alluding me...
I have an app which routinely contacts my server requesting updates
(small amounts of data). Whilst the user is using my app I wish this
updating
Okay, I'll have to opt for the stop/start approach each time you
switch from Activity to Activity - its not a very elegant solution
though.
Im suprised theres not a whole application has lost focus.onPause().
On Jan 17, 3:27 pm, Mark Murphy mmur...@commonsware.com wrote:
mscwd01 wrote
As the title asks - Is it possible to place a WebView inside an
expandable list (as a child).
I have tested this; having created a WebView I placed it as a View
in the getChildView() of the BaseExpandableListAdapter Class. However
I get the following error:
java.lang.ClassCastException:
I dont think it is possible with the current SDK, the problem is
people have to select the tabs by touch and not by relying on a
stylus or other small pointing device. Likewise you need to make sure
the tabs are big enough to select on a real device, the emulator
appears bigger on screen and you
17, 4:19 pm, mscwd01 mscw...@gmail.com wrote:
As the title asks - Is it possible to place a WebView inside an
expandable list (as a child).
I have tested this; having created a WebView I placed it as a View
in the getChildView() of the BaseExpandableListAdapter Class. However
I get
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
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.
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
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
, 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
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
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
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
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
...@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
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
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
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
This was a little confusing to me at first so I hope this code extract
will help you out:
Java:
--
public View getView(int position, View convertView, ViewGroup parent)
{
// Inflate row layout from 'list_row.xml'
View row = inflater.inflate(R.layout.list_row,
With a normal compass you need to hold it level with the ground in
order for it to work. With the compass in the G1 (and other phones I
hope), are you able to hold the phone at any angle and tilt and still
expect the compass to function correctly? I assume this is the case,
it'd be pretty
Simple question, only needs a simple answer... :)
On Feb 23, 9:58 pm, mscwd01 mscw...@gmail.com wrote:
With a normal compass you need to hold it level with the ground in
order for it to work. With the compass in the G1 (and other phones I
hope), are you able to hold the phone at any angle
You can test GPS with the emulator, just send it a set of coordinates
or use a KML file iirc.
On Feb 25, 5:24 pm, Sena Gbeckor-Kove s...@imkon.com wrote:
No Problem
Good luck also
S
On 25 Feb 2009, at 17:19, nitichandra ingle wrote:
that will b fine thanks for offering ur help though
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.
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?
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
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
Anyone?
On Oct 6, 3:04 pm, mscwd01 [EMAIL PROTECTED] wrote:
Hey,
Is there a simple way to get a Street View of a given set of
coordinates (plus heading i.e. direction camera is pointng) and
display it as an image within my application?
Thanks
Is there no way to get a panoramic image of a given set of
coordinates? There must be!
Any help?
On Oct 6, 3:04 pm, mscwd01 [EMAIL PROTECTED] wrote:
Hey,
Is there a simple way to get aStreetViewof a given set of
coordinates (plus heading i.e. direction camera is pointng) and
display
this be sufficient for your purposes?
Peli
On Oct 8, 2:08 pm,mscwd01[EMAIL PROTECTED] wrote:
Is there no way to get a panoramic image of a given set of
coordinates? There must be!
Any help?
On Oct 6, 3:04 pm,mscwd01[EMAIL PROTECTED] wrote:
Hey,
Is there a simple way to get aStreetViewof
On Oct 10, 12:06 pm,mscwd01[EMAIL PROTECTED] wrote:
Am I able to embed a streetview within my app, like you would with a
mapview?
On Oct 8, 3:54 pm, Peli [EMAIL PROTECTED] wrote:
You could call the VIEW intent on a streetview URI
(seehttp://www.openintents.org/en/node/63) to display
I am fairly new to android, although I have been using Java for a
while.
I am creating a 2d maze based game which consists of a bunch of walls
and a rotating player piece (which rotates 360 degrees), while trying
to get from the entrance to the exit of the maze - without touching
the walls.
My
,
just call bitmap.getPixel() for the next position of your player. If
it's the wall color (let's say you use white for walls), there is a
collision.
On Oct 19, 5:51 am, mscwd01 [EMAIL PROTECTED] wrote:
I am fairly new to android, although I have been using Java for a
while.
I am
also was careful so as to draw the absolute minimum as
2d drawing is a little expensive in android. Overall I get a
framerate around 40-45 FPS on my emulator.
Also - if you're not already, use a SurfaceView.
On Oct 19, 6:37 pm, mscwd01 [EMAIL PROTECTED] wrote:
Thanks for your reply,
So
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
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
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
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
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
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
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
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
:(
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
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
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
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
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
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
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
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
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
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
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
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
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
/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
);
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
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
1 - 100 of 159 matches
Mail list logo