BTW: My dialogs were dying because I was opening them outside the
onCreateDialog method. Once I moved them in there, everything worked
great. Ref: http://developer.android.com/guide/topics/ui/dialogs.html
On Aug 13, 10:41 am, CraigsRace craig...@gmail.com wrote:
Well, I did it this way.
Is there an easy way to change the color of a drawable (which is a png
image) ..setColorFilter does not seem to work
I tried in following
d.setColorFilter(0xffff, Mode.DARKEN); and few more of these modes
(which I have no idea what they mean)...
before a call to setMarker(d); but it didnt
Hi David,
I don't use Linux now, so I have not tries it.
Thanks,
Jiaoni
On Aug 21, 7:35 pm, David Wilson d...@botanicus.net wrote:
Are you on Linux? You could try this.. From a terminal:
killall -STOP emulator
To pause it while not in use, and:
killall -CONT emulator
To
This will help you.
http://www.movable-type.co.uk/scripts/latlong.html
2009/8/22 Mark Murphy mmur...@commonsware.com:
alexdonnini wrote:
I had already considered using the GCC formula (I did not know the
name GCC). Unfortunately, the only lat/lng information I have is mine,
none other.
Thank you for replying, Mark.
I'll try it.
On 8月22日, 午前7:41, Mark Murphy mmur...@commonsware.com wrote:
Tsuyoshi Ozawa wrote:
Hello,
I tried to build the default app Contacts, but I couldn't.
What I tried is as follows:
1. Download source code from Android repository.
$ git clone
Thank you for replying, Mark.
I'll try it !
On 8月22日, 午前7:41, Mark Murphy mmur...@commonsware.com wrote:
Tsuyoshi Ozawa wrote:
Hello,
I tried to build the default app Contacts, but I couldn't.
What I tried is as follows:
1. Download source code from Android repository.
$ git clone
Guys,
Any help on the same?
Regards,
R.Karthik
--~--~-~--~~~---~--~~
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
...or maybe I am just missing something?
I have a service and would like that service to keep up with the
user's current location. I don't have any particular requirements in
terms of accuracy etc.
So I am looping over the list of all providers, and registering a
listener for each. I thought
Hi,
Thanks for the replies. Here's my situation:
1. I am running emulator on windows XP;
2. when show top in adb shell console, the system_server process
occupies the most cpu;
Thanks a lot,
Jiaoni
On Aug 21, 7:35 pm, David Wilson d...@botanicus.net wrote:
Are you on Linux? You could try
Is it possible to use adb over wifi with the android developer phone?
If not how heavily is adb tied into usb both on the client and server
sides?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers
human android wrote:
when I click on launcher it does not show displayed activity log for
launcher, it shows it way before during boot up stage.
why is this happening?
AFAIK, it is because the launcher is part of the home application, which
is created at boot time.
--
Mark Murphy (a Commons
Hello,
I have trouble launching the WebBrowser with an Intent with a Button Click.
I try doing this in the onCreate Method of my Activity:
final Button getTheButtonBtn = (Button)
this.findViewById(R.id.ButtonTheButton);
getTheButtonBtn.setOnClickListener(new View.OnClickListener() {
Tobias Eisentraeger wrote:
Hello,
I have trouble launching the WebBrowser with an Intent with a Button
Click. I try doing this in the onCreate Method of my Activity:
final Button getTheButtonBtn = (Button)
this.findViewById(R.id.ButtonTheButton);
getTheButtonBtn.setOnClickListener(new
Hi,
dis
I m making a test application and want to able all keys excluding the
back button.. Using below code i am not able to disable HOME key
and right soft key. Please suggest what to do.
@Override
public boolean onKeyDown(int keyCode, KeyEvent event) {
I had the same problem and found my sources at
http://williams.best.vwh.net/avform.htm
. Ed Williams goes into detail on great circle navigation. I took his
formulas for distance between points and true course and translated
them into PHP. Projecting a point is given as well. The translated
Shang Hao wrote:
Hi,
dis
I m making a test application and want to able all keys excluding the
back button.. Using below code i am not able to disable HOME key
and right soft key. Please suggest what to do.
@Override
public boolean onKeyDown(int keyCode, KeyEvent
Hi Steve,
PLease let me know how you fixed the belllow exeption
run-time exception the next
attempt to use recycled bitmap.
I m also getting the same exeption
trying to use a recycled bitmap android.graphics.bit...@43750030
Please reply back. Your reply will be highly appreciated.
Thanks
Hi Nivek,
Can you please tell me the solution for the problem attempt to use
recycled bitmap
Any solution please let me know.
Your reply will be highly appreaciated
Thanks and Regards
Mohammed Sameer
On Aug 17, 11:53 pm, Nivek kevin.gau...@gmail.com wrote:
When you change the device
Hey,
I am using the android xmlrpc client (http://code.google.com/p/android-
xmlrpc/) to consume a xml-rpc webservice.
I can call the webservice and get data back but I want to save the
received data in own made Objects.
For example:
I want to get the movieScore:
public void getMovieScore()
Hi Guys,
Im still not able to figure out the problem.
When i try to use the Bitmaps compress method for PNG formats there
doesnt seems to be any problem.
But for JPEG format there is a sever loss of quality even if i give
the quality as 100.
Any inputs please.
Regards,
R.Karthik
karthikr wrote:
Hi Guys,
Im still not able to figure out the problem.
When i try to use the Bitmaps compress method for PNG formats there
doesnt seems to be any problem.
But for JPEG format there is a sever loss of quality even if i give
the quality as 100.
A quick scan of Google
Hi I wrote java code that connects remote sql server. But code does
not work in android. Code is as follows:
try {
DriverManager.registerDriver(new
com.microsoft.sqlserver.jdbc.SQLServerDriver());
String url=jdbc:sqlserver://hostname;
Connection
engin wrote:
Hi I wrote java code that connects remote sql server. But code does
not work in android. Code is as follows:
try {
DriverManager.registerDriver(new
com.microsoft.sqlserver.jdbc.SQLServerDriver());
String url=jdbc:sqlserver://hostname;
Connection
Hello Mark,
thanks for looking into that with me.
The problem is the Button Object which does not get instantiated correctly,
i guess this is what null is. i can let it crash now like this:
theButtonBtn = (Button) findViewById(R.id.ButtonTheButton);
Log.d(EditYourSettings,Before accessing ID);
Tobias Eisentraeger wrote:
Hello Mark,
thanks for looking into that with me.
The problem is the Button Object which does not
get instantiated correctly, i guess this is what null is. i can let it
crash now like this:
theButtonBtn = (Button) findViewById(R.id.ButtonTheButton);
Rud wrote:
The is (maybe) a simple Java question but I can't find the anwer
searching.
The code is:
final Formatter f = new Formatter();
for (Sentinel s : Sentinel.mSentinels) {
if (s.mIsLive) {
pos++;
f.format(%4d%5d,
The is (maybe) a simple Java question but I can't find the anwer
searching.
The code is:
final Formatter f = new Formatter();
for (Sentinel s : Sentinel.mSentinels) {
if (s.mIsLive) {
pos++;
f.format(%4d%5d, s.mPos.x, s.mPos.y);
Just wondering if it is possible to get icons for applications on the
Android Market?
For example, if there is an application called
com.mycompany.someapp, is there a way to programmatically grab an
image (icon) for that application either through an Android API or by
simply downloading it from
Thanks all for the suggestions.
Mark, I am well aware that there is an infinite number of points on
the circle at distance X from a known location. To start with, for my
application, my plan is to find 16-64 of the locations at distance X
from my location. That should be sufficient.
The problem
Hi,
I am getting the following logs when i am changing the wallpaper for
Homescreen.
Even i am recycling the bitmap is done when the wallpaper changes in
OnWallpaperChanged(). Still i m getting the bellow error.
03-26 05:02:16.829: INFO/AC(1340): setWallpaper(InputStream
03-26 05:02:16.840:
when making a connection for streaming content, what is the algorithm
for when to use a wifi connection and when to use an ota connection?
can you modify that algorithm?
can you specify what type of connection to make?
tia.
--~--~-~--~~~---~--~~
You received
alexdonnini wrote:
Mark, I am well aware that there is an infinite number of points on
the circle at distance X from a known location. To start with, for my
application, my plan is to find 16-64 of the locations at distance X
from my location. That should be sufficient.
OK, which 16-64?
Hi,
I am getting the following logs when i am changing the wallpaper for
Homescreen.
Even i am recycling the bitmap is done when the wallpaper changes in
OnWallpaperChanged(). Still i m getting the bellow error.
03-26 05:02:16.829: INFO/AC(1340): setWallpaper(InputStream
03-26 05:02:16.840:
Mark,
That was it,
i called findViewById() before calling setContentView() , thank you so much.
Toby
On Sat, Aug 22, 2009 at 11:02 AM, Mark Murphy mmur...@commonsware.comwrote:
Tobias Eisentraeger wrote:
Hello Mark,
thanks for looking into that with me.
The problem is the Button
Thanks. I think I will use the parametric formulas for calculating the
coordinates of points on a circle using increments of 1 degree. If
that turns out to be too ambitious (because of the performance hit
generated by the additional processing once I have calculated the 360
possible locations), I
This example using a Google map may be useful: (JavaScript)
http://maps.huge.info/dragcircle2.htm
-John Coryat
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send
Hi Guys,
Im trying to write an application that does some changes to the image.
But i can see that even after some changes are made to the image the
thumbnail of the picture that is displayed in the gallery has not
changed.
But on opening the image im able ot see the edited picture.
Any
Have you downloaded/updated eclipse with pde and jdt ?
btw: what source code are using master / cupcake ?
On Aug 21, 12:07 am, 何斌斌 hbbs...@gmail.com wrote:
hi :
I can make the whole android source code and sdk , but when I make adt,
it failed . like this(my os is ubuntu 9.0 ) :
### TEST
That is the normal behavior -- your app is in the background, not relevant
to what the user is currently doing, so its process may be killed to use
memory elsewhere. You deal with this by implementing onSaveInstanceState()
to note anything to need to remember and collecting that from the state
Hello,
i am using android.opengl.GLSurfaceView in my game, which is working
well expect under one condition:
Starting the game a second time after leaving it by pushing the home
button, causes the game to flicker, because the rendering thread from
the previous instance is still running and
I would like to have a view where I show the People and the Location
where they are from in the List View. Is this possible? Or do I have
to drill into each user to get their details?
Brian
--~--~-~--~~~---~--~~
You received this message because you are
I thought SurfaceHolder.Callback.surfaceDestroyed would be called.
On Aug 23, 6:19 am, Mike internet...@hotmail.com wrote:
Hello,
i am using android.opengl.GLSurfaceView in my game, which is working
well expect under one condition:
Starting the game a second time after leaving it by pushing
Okay, so something in the system itself is running a lot. adb shell top
-t might be able to isolate that more (showing individual threads).
On Sat, Aug 22, 2009 at 12:22 AM, jiaoni jiaoni5...@gmail.com wrote:
Hi,
Thanks for the replies. Here's my situation:
1. I am running emulator on
This is a known bug. I reported it back in June. A work around is
provided by the Google developer in the bug thread.
http://code.google.com/p/android/issues/detail?id=3099
On Aug 21, 2:57 am, jiaoni jiaoni5...@gmail.com wrote:
Hi,
Many times (not all the times), my emulator is running 100%
Hi,
I just wonder if anyone happen to know how to use MediaRecorder to
recorder the voice and save it as MP3 format.
I try the following but nothing is working so far.
mediarecorder.setAudioSource(MediaRecorder.AudioSource.MIC);
Everything is possible ... But in the case to use adb over Wifi you
have change both the adb toolkit and also the framework code.
If you try to work on such complex changes make sure that you think
about how to distinguish adb connections and eth1. I assume that you
still want that Wifi works
Thanks Dan,
Do you have any sample code ? Or a link for a tutorial ?
Cheers,
Emre
Date: Fri, 21 Aug 2009 01:33:56 -0400
Subject: [android-developers] Re: How to place an ImageView to a specific
location on the screen ?
From: impact...@gmail.com
To:
Thanks for the hint.
The problem was caused by an other thread in the game that did not
shut down properly.
On 22 Aug., 22:40, CraigsRace craig...@gmail.com wrote:
I thought SurfaceHolder.Callback.surfaceDestroyed would be called.
On Aug 23, 6:19 am, Mike internet...@hotmail.com wrote:
Hi,
I have an activity which I have defined to keep in portrait position.
However I would still like to change things (slightly) when the screen
is rotated, what is the best way of doing this?
I notice onConfigurationChanged is still called, but this still
reports portrait mode.
I want to keep
Hi,
I am getting an outofmemory error (java.lang.outofmememoryerror) from
a bitmapfactory that doesn't seem to be caught despite the fact that
it is in a try{ }catch block. Can I catch this error somehow or is it
outofmemory inherently uncatchable?
Thanks,
Bob
I'm writing an app that needs to save a color-corrected full-sized (6
megapixels == 12MByte) to a file (since it can't be held in memory
next to the original non-color-corrected bitmap):
'Original Bitmap' + 'ColorMatrix' -- 'Color-Corrected Bitmap in a
file'
I use getPixels to get an
You can catch it.
Just catch the OutOfMemoryError (or Throwable).
On Aug 22, 7:45 pm, Bob bshumsk...@yahoo.com wrote:
Hi,
I am getting an outofmemory error (java.lang.outofmememoryerror) from
a bitmapfactory that doesn't seem to be caught despite the fact that
it is in a try{ }catch block.
Is it possible to create and dispatch custom events in android? The
only examples i have seen extend existing events. I want to be able to
dispatch an event anywhere that I deem necesary. Thanks in advance for
any help on this.
--~--~-~--~~~---~--~~
You received
I figured out that the cause of the problem is my ZoneAlarm firewall.
Turning off the firewall enables the emulator to start up without any
issues.
Any ideas on what I need to enable in the firewall to allow the ADB
emulator to work correctly?
On Aug 18, 9:34 pm, Jeff skatalici...@gmail.com
Rather wasteful on a platform like Android. Are there any other
options other than Formatter?
Rud
On Aug 22, 10:28 am, Mark Murphy mmur...@commonsware.com wrote:
Rud wrote:
The is (maybe) a simple Java question but I can't find the anwer
searching.
The code is:
final
I think first you'll need to define what you mean by an event, since Android
doesn't have any such thing per-se. A broadcast? An activity start? A
view hierarchy callback? A message receiver? Something else?
On Sat, Aug 22, 2009 at 5:13 PM, Josh joshdo...@gmail.com wrote:
Is it possible
All you can do is monitor the accelerometer yourself and decide for yourself
when you consider the screen to be rotated.
On Sat, Aug 22, 2009 at 3:27 PM, kabir kab...@gmail.com wrote:
Hi,
I have an activity which I have defined to keep in portrait position.
However I would still like to
Since the error is that you are trying to draw a bitmap that has been
recycled, then saying that you are even recycling a bitmap is possibly the
problem right there.
You'll just need to figure out where you are recycling this bitmap while it
is still in use. And saying you are recycling the
If you are doing this, you are making your own device, so you can build your
own system image to run in the emulator that is signed with your own
platform cert.
On Fri, Aug 21, 2009 at 4:02 AM, Asad Zia asad...@gmail.com wrote:
Hi,
There seems to be two levels of uses-permission, user level
Thanks for quick response. Is an OutOfMemoryError not a normal
exception that will be caught by try{}catch(Exception ex){}?
On Aug 22, 7:47 pm, Streets Of Boston flyingdutc...@gmail.com wrote:
You can catch it.
Just catch the OutOfMemoryError (or Throwable).
On Aug 22, 7:45 pm, Bob
I want to be able to dispatch an event and have a listener(a fuction)
run when the event is fired. Much like the click event of a button.
What i want to dospecifically is have a function run everytime the
contents of a variable change.
On Aug 22, 5:44 pm, Dianne Hackborn hack...@android.com
anyone can help?
On Aug 21, 11:42 am, sleith raysle...@gmail.com wrote:
hi,
i'm trying to make a map with showing my location with an arrow that
point to the way we are facing. the arraw image is something like
this:
^
0
always pointing north, so i rotate it with sensor orientation
Nope. :=)
If you look at the class-hierarchy, an OutOfMemoryError is an Error,
not an Exception.
(You can catch a Throwable as well, since a Throwable is the super-
class of both Error and Exception)
On Aug 22, 8:00 pm, Bob bshumsk...@yahoo.com wrote:
Thanks for quick response. Is an
You can override the onKeyDown(int, android.view.KeyEvent) or onKeyUp
(..)
You can retrieve the KeyCode form the KeyEvent and print it.
Balwinder Kaur
Open Source Development Center
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in
What do you mean exactly with OTA? Current Android devices are
supporting Wifi and 2G/3G data connections. When you are in a Wifi
connection but lose the connection, your data connectivity is
automatically switched to cellular data. When you entering a building
with a know Wifi network, your
Thinks brotherBut if you can developp small!
Please if you can developp smal but i havenot understand
2009/8/23 Balwinder Kaur (T-Mobile USA) balwinder.k...@t-mobile.com
You can override the onKeyDown(int, android.view.KeyEvent) or onKeyUp
(..)
You can retrieve the KeyCode form the
Hello,
Can some one tell me how can i get area name by passing latitdue and
longitude in android? Which api i will have to use.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to
67 matches
Mail list logo