hi all,
i tried the sample compass app in apidemo. When there's a new reading
in azimuth, i write the reading on canvas. However, the canvas is set
to rotate when new reading comes in, to simulate the rotation of the
compass arrow.
Is there an alternative to just rotate the bitmap rather than
onDetachedFromWindow() {
mAnimate = false;
super.onDetachedFromWindow();
}
}
}
On Sep 8, 4:18 pm, dadada ytbr...@gmail.com wrote:
hi all,
i tried the sample compass app in apidemo. When there's a new reading
in azimuth, i write the reading on canvas
hi all,
i saw some application that can use the system camera instead of
having just a blank camera preview?
ie, the camera preview is the same as the default android camera
application with full control.
how do i access that?
Thank you.
--
You received this message because you are
hi all,
question as above!
thanks
bryan
--
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 unsubscribe from this group, send email to
at 9:53 AM, dadada ytbr...@gmail.com wrote:
question as above!
This is not supported, for security reasons. There are apparently ways
you can get something to work if you root your phone. And, of course,
you can do screenshots from outside your phone using DDMS.
--
Mark Murphy (a Commons
hi all,
So i opened my android project(from win7 environment) in my mac.
then i have these java problems :
@Override
public void onFocusChange(View v, boolean hasFocus) {
// TODO Auto-generated method stub
}
@Override
hi all,
so i have an intent that use the system camera. so after i taken the
photo, it brings me back my application.
I want to display the image (just taken) as a thumbnail. How do i
retrieve that latest image from MediaStore.Images.Thumbnails.
thanks!
bryan
--
You received this message
пользователь dadada ytbr...@gmail.com написал:
hello all,
i used matrix to rotate instead of the canvas.
However, the result isn't what i expected. The path just rotate
infinitely without stopping.
below is my code. it is a modification of the compass.java in
apidemo. can someone please give me
hi all,
question as above.
right now, i am creating a class extending mylocationoverlay.
then, i override the draw method.
is this the correct method?
because after i rewrote the draw method, the map tile cannot render.
please advise. Thanks!
bryan
--
You received this message because you
);
startActivityForResult(intent,0);
On Thu, Sep 9, 2010 at 12:46, dadada ytbr...@gmail.com wrote:
hi all,
i saw some application that can use the system camera instead of
having just a blank camera preview?
ie, the camera preview is the same as the default android camera
application
that constructs mPath so it gets created from
scratch every time through, as a temporary test. If this works, consider
keeping the path constant, applying the transform at canvas level.
--
Kostya Vasilyev --http://kmansoft.wordpress.com
12.09.2010 18:53 пользователь dadada ytbr...@gmail.com написал
do.
On Sep 13, 10:38 pm, TreKing treking...@gmail.com wrote:
On Mon, Sep 13, 2010 at 3:35 AM, dadada ytbr...@gmail.com wrote:
question as above.
What is the direction arrow? You mean the indicator on the
MyLocationOverlay that Google Maps shows?
right now, i am creating a class extending
hi all,
question as above.
I cannot find anything in the sdk regarding google street view.
do we launch it from the web?
please advise. thanks.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
oops thanks treking!
On Sep 13, 11:23 pm, TreKing treking...@gmail.com wrote:
On Mon, Sep 13, 2010 at 10:18 AM, dadada ytbr...@gmail.com wrote:
I cannot find anything in the sdk regarding google street view.
Really?http://developer.android.com/guide/appendix/g-app-intents.html
Hi all,
I have a few activities within an app.
Should i be reusing the same location manager or should i call
(LocationManager) this.getSystemService(Context.LOCATION_SERVICE) for
each new activities?
Thanks
Bryan
--
You received this message because you are subscribed to the Google
Groups
hi all,
I have a Main_Overlay class that extends Overlay.
I added This overlay to the mapview and override the Draw method as of
below:
public void draw(android.graphics.Canvas canvas, MapView mapView,
boolean shadow )
{
mPath = new Path();
Hi all,
I have a Main_Overlay that extends Overlay.
Inside Main_Overlay i override the draw method:
public void draw(android.graphics.Canvas canvas, MapView mapView,
boolean shadow )
{
mPath = new Path();
mPath.moveTo(0, -240);
mPath.lineTo(-50,
hi all,
since map overlay is not activity, how do i get the sensor data so
that i can draw on the map overlay? like the direction arrow.
Thanks!
Bryan
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Thanks for the reply TreKing.
Is there a way to prevent the second drawing?
or simply how do i draw on the overlay so that there's only one path?
Thanks again.
On Sep 14, 10:41 pm, TreKing treking...@gmail.com wrote:
On Tue, Sep 14, 2010 at 3:46 AM, dadada ytbr...@gmail.com wrote:
Can
You are fast! just wanted to reply! saw your a thread
http://groups.google.com/group/android-developers/browse_thread/thread/2b004ab18bd7544e/131b5b435520e047,
that you replied.
Thanks TreKing! =)
On Sep 15, 12:34 am, TreKing treking...@gmail.com wrote:
On Tue, Sep 14, 2010 at 11:28 AM, dadada
, dadada ytbr...@gmail.com wrote:
since map overlay is not activity
What is your map overlay contained in?
---
--
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app
is wrong?
Thanks again TreKing.
On Sep 15, 12:48 am, TreKing treking...@gmail.com wrote:
On Tue, Sep 14, 2010 at 11:45 AM, dadada ytbr...@gmail.com wrote:
map overlay sits in Map_form which extends mapactivity.
Bingo.
But it crushes.
Is that like pwns?
Assuming you meant crashes
Hello,
I tried to update my mapactivity with toast as the sensor data
changes.
However, my first Toast appears and it never change despite detecting
changes in sensor values.
What could be the reason?
Below is the snippet of my SensorListener:
Can someone please give me some advices! Thanks!
Thanks TreKing for the suggestion.
it works.
On Sep 15, 2:34 am, TreKing treking...@gmail.com wrote:
On Tue, Sep 14, 2010 at 1:07 PM, dadada ytbr...@gmail.com wrote:
But the overlay isn't redrawing.
Try invalidating your MapView. You seldom, if ever, want to call draw
yourself
Hi all,
I want to do a sensor driven animation ( like AR) where by i use
azimuth to control the flowing of drawable in the camera overlay.
right now, i have the sensor reading ready on camera. I can drawable
on the camera overlay.
However, I am not sure how can the sensor data to be used to
you can also use 'haversine' formula. google it. you need two
geopoint.
On Sep 16, 3:36 pm, Rocky rkjhaw1...@gmail.com wrote:
Hi Shashidhar,
Thanks dear...
On Thu, Sep 16, 2010 at 12:56 PM, Shashidhar shashi.zep...@gmail.comwrote:
Have a look at this
hi,
do I use the imageview as the skin of the colored listview or is there
better ways to create them?
thanks.
bryan
--
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
hi all,
i am using drawable and translateobject to create animation on camera
overlay.
how do i get clickable drawable object?
should i be using drawable?
thanks!
bryan
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
hi,
something strange about my map. it doesn't load at specific location.
The map view has a custom overlay where i draw some path on it.
can some advise me what is wrong? below is the logcat:
W/MapActivity( 7383): Recycling dispatcher
The map tile doesn't load. However, the overlay ( some path and
control) is drawn. with the default enabled-compass drawn too.
It only happen at home. When i go to my office, it will work fine.
On Sep 21, 12:51 am, TreKing treking...@gmail.com wrote:
On Mon, Sep 20, 2010 at 11:24 AM, dadada
treking...@gmail.com wrote:
On Mon, Sep 20, 2010 at 10:34 PM, dadada ytbr...@gmail.com wrote:
It only happen at home. When i go to my office, it will work fine.
That sounds like you simply have bad coverage in your home. Are you on 3G or
Wifi? Does other internet-related functionality work at home
hi all,
what is the best way to pass data between map activity and activity?
basically the passed data is an array of coordinate.
is it possible to create a global variable that is accesible by both
mapactivity and activity?
or should i use parcelable?
thanks!
Bryan
--
You received this
hi,
how do i draw a semicircle using a path?
thanks,
bryan
--
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 unsubscribe from this group, send email to
hello,
i want to post data onto google map. since there's no gdata for
android, i reckon that i have to do it through http post and get which
i am not good at.
is there some reference code for doing http post and get request?
Both the url to the map and xml are the same
hi all,
how do i add the content view behind gridview?
i could only addContentView on top of gridview.
I setContentView() of the gridview for the activity.
Thanks!
bryan
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
hi all,
is there a good way to do screen cast on android?
what do you guys use to replace the cursor? i'm looking for a
simfinger alternative. is there something for android?
anybody tried http://code.google.com/p/androidscreencast/? is it
good?
thanks!
bryan
--
You received this message
hi,
since the gdata doesn't work on android, i'm trying to use http
protocol.
Retrieving the map feed from this
http://maps.google.com/maps/ms?hl=enie=UTF8oe=UTF8num=200start=200vps=1jsv=282dmsa=33msid=106069377598790155454.0004720325247dc0c953aabauth=4caac8b6s7fLDxa4oy-0GX5xHS8iZJIEeWo,
using
hi
how do i include Authorization: GoogleLogin auth=authorization_token
into the httpclient?
should i be doing :
ListNameValuePair nameValuePairs = new
ArrayListNameValuePair(1);
nameValuePairs.add(new BasicNameValuePair(Authorization,
GoogleLogin auth=authorization_token)); ??
Thanks!
: Unable to respond to any
of these challenges: {googlelogin=WWW-Authenticate: GoogleLogin
realm=http://ww
w.google.com/accounts/ClientLogin, service=local}
W/System.err( 8462): org.apache.http.client.HttpResponseException:
Missing auth
token
what am i doing wrong? thanks!
On Oct 6, 11:21 am, dadada
ok .. i got it.
it should be
httpget.addHeader(Authorization, GoogleLogin auth= +auth);
On Oct 6, 11:35 am, dadada ytbr...@gmail.com wrote:
hi,
so i tried the following
HttpGet httpget = new HttpGet(http://maps.google.com/maps/feeds/maps/
default/full);
httpget.addHeader
hi all,
so i tried to update a google map through httprequest.
However, I get a org.apache.http.client.HttpResponseException:
Forbidden.
The initial authorization gives a 200 OK. and I got my authtoken.
I then tried the url on a browser and i got a map not api visible. I
checked that the
Thank you TreKing. I will post in the google map group.
At the meantime, I wonder is there someone out there who tried to use
http to update map. thanks
On Oct 6, 8:09 pm, TreKing treking...@gmail.com wrote:
On Wed, Oct 6, 2010 at 5:41 AM, dadada ytbr...@gmail.com wrote:
I then tried the url
Hi,
In android gallery, is there a way to limit the number of image cover
to ONE for each swipe?
Right now, it is covering more than one.
thanks
Bryan
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hi all,
how do i get back the image taken from starting the
Intent(MediaStore.ACTION_IMAGE_CAPTURE)?
I need the image to be display as a thumbnail and also be attached to
email.
Thanks!
bryan
--
You received this message because you are subscribed to the Google
Groups Android Developers
hi all,
i have a map overlay for my map view. I have a few Path and Matrix
variables within the overlay.
when the project ran on other screen resolution, the map overlay did
not scale to the desire screen size.
How can i achieve that?
did i miss out something on
hi all,
i have a map overlay for my map view. I have a few Path and Matrix
variables within the overlay.
when the project ran on other screen resolution, the map overlay did
not scale to the desire screen size.
How can i achieve that?
did i miss out something on
46 matches
Mail list logo