i am having a hard time figuring out how in the google map
application, it is able to have buttons on the mapview. I am talking
about the textbox and the two arrow buttons that show up after you do
a search. The textbox and the two arrows also does not stay on screen
when you pan the map. anyon
JPG and PNG are also bitmaps.
2009/6/27 楊健 :
>
> But the images we use in application are instances of Bitmap : (
>
> On 6月28日, 午前2:43, Romain Guy wrote:
>> BMP is not supported on Android. And why is it strange? PNG and JPG
>> are widely used formats across platforms.
>>
>> On Sat, Jun 27, 2009
But the images we use in application are instances of Bitmap : (
On 6月28日, 午前2:43, Romain Guy wrote:
> BMP is not supported on Android. And why is it strange? PNG and JPG
> are widely used formats across platforms.
>
> On Sat, Jun 27, 2009 at 7:32 AM, 楊健 wrote:
>
> > Hey everybody !
> > How can
Thank you very much!
I think i have to convert the file by myself!
On 6月27日, 午後11:52, Mark Murphy wrote:
> 楊健 wrote:
> > How can i save a Bitmap instance to a *.bmp file?Anyone knows?
>
> Option #1: Don't do it. So, for example, if this is a question of
> uploading data to some server, let the
I can't understand what it want to do...Is it a bug?
SaveRestoreState.java
The file containing the source code shown below is located in the
corresponding directory in /platforms/android-/
samples/...
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache Lice
Thanks!
I found there is no API to generate a image thumbnail for video. How
the camcorder of G1 phonedo that ?
Thanks!
Cindy
On Jun 27, 5:30 pm, Mark Murphy wrote:
> cindy wrote:
> > I want to call INTENT_VIEW to play a local video:
> > private void doPlayCurrentVideo() {
> > mCurre
cindy wrote:
> I want to call INTENT_VIEW to play a local video:
> private void doPlayCurrentVideo() {
> mCurrentVideoUri=Uri.parse(mCurrentVideoFilename);
> Intent intent = new Intent(Intent.ACTION_VIEW,
> mCurrentVideoUri);
> try {
> startActivity(intent);
>
I want to call INTENT_VIEW to play a local video:
private void doPlayCurrentVideo() {
mCurrentVideoUri=Uri.parse(mCurrentVideoFilename);
Intent intent = new Intent(Intent.ACTION_VIEW,
mCurrentVideoUri);
try {
startActivity(intent);
} catch (android.cont
On Saturday 27 June 2009 16:38:20 Kent Loobey wrote:
> Is there a way to set a Spinner's style so that each entry has the but no
> radio button?
Is there a way to set a Spinner's style so that each entry has text but no
radio button?
>
>
>
--~--~-~--~~~---~--~~
On Sat, Jun 27, 2009 at 3:58 PM, Mark Murphy wrote:
>
> silverburgh wrote:
>> On Fri, Jun 26, 2009 at 5:29 PM, Mark Murphy wrote:
>>> silverburgh wrote:
I create a local file in my activity like this:
File f = getFileStreamPath("mypicture");
How can I pass the URI of this
Is there a way to set a Spinner's style so that each entry has the but no
radio button?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-develo
silverburgh wrote:
> On Fri, Jun 26, 2009 at 5:29 PM, Mark Murphy wrote:
>> silverburgh wrote:
>>> I create a local file in my activity like this:
>>>
>>> File f = getFileStreamPath("mypicture");
>>>
>>> How can I pass the URI of this file to another Activity?
>> If the other activity is one in yo
Hi,
I have a listview with a custom ArrayAdapter. I've implemented getView
so I can do different things
in different list items based on the contents. For example I call
setBackgroundColor based on
the contents of the list.
Problem now is that when the listItem is selected, it doesn't get the
or
are you sure you have overriden onActivityResult method correctly ?
something like this:
@Override
protected void onActivityResult(int requestCode, int resultCode,
Intent data)
Also, is the "Image Capture" intent working for you ? it's not exactly
working for me, i keep getting a
On Fri, Jun 26, 2009 at 5:29 PM, Mark Murphy wrote:
>
> silverburgh wrote:
>> I create a local file in my activity like this:
>>
>> File f = getFileStreamPath("mypicture");
>>
>> How can I pass the URI of this file to another Activity?
>
> If the other activity is one in your application, just tel
Hi guys at android,
Can you plase fix http://code.google.com/p/android/issues/detail?id=1193
When do you expect it to get fixed? I am a developer working on
http://layar.eu and I had to go through lot of trouble to get the app
working in portrait mode with camera preview, using a LOT of
rotat
I can't get DDMS to load any KML files.
I have a KML file for example with the following in it:
http://www.opengis.net/kml/2.2";>
Simple placemark
Attached to the ground. Intelligently places itself
at the height of the underlying terrain.
-122.0822035425683,37.4222
Just to add a note,
Services are stopped when the phone goes to sleep e.g. the screen goes
off.
You can prevent this via WakeLock's but they impact battery life so be
careful
On Jun 27, 4:55 am, Delta Foxtrot wrote:
> 2009/6/27 Dennis
>
>
>
> > Yet another question -- we have an application tha
What are you doing in your onCreate and onResume methods?
If you're getting a crash on start up like that I'd wager that you're
doing something that take a long time and so times out.
On Jun 27, 12:13 am, Carl Minden wrote:
> I am getting a crash intermittently when my Activity starts up either
Have you tried *not* caching the component views in your ViewHolder
object - instead looking them up whenever you get a redraw request?
You may find that the list is re-using objects, and your image issue
is simply an artifact of that.
Doug
On Jun 26, 10:56 pm, Peter wrote:
> > There's not a def
Alternatively, you could download the file at first run, do whatever
it is that you need to do with it then delete it.
On Jun 25, 5:44 am, nuno wrote:
> Thanks Mark,
> I though that was the answer. I'll have to live with the file.
> Cheers,
>
> Nuno
>
> On Jun 25, 1:39 pm, Mark Murphy wrote:
>
楊健 wrote:
> How can i save a Bitmap instance to a *.bmp file?Anyone knows?
Option #1: Don't do it. So, for example, if this is a question of
uploading data to some server, let the server do the conversion from PNG.
Option #2: See if there is a way, through the implementation of Bitmap
in the op
glory wrote:
> Is there is any way we can customerize the list show in the Live
> Folder.
For a live folder for your own content provider, yes, IIRC.
For a live folder for somebody else's content provider, no, IIRC.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/com
BMP is not supported on Android. And why is it strange? PNG and JPG
are widely used formats across platforms.
On Sat, Jun 27, 2009 at 7:32 AM, 楊健 wrote:
>
> Hey everybody !
> How can i save a Bitmap instance to a *.bmp file?Anyone knows?
> Is it strange that we can only save a bitmap instance to
As long as you have the default pool-size set to 1, there should be no
issues what-so-ever.
On Jun 27, 8:00 am, joshv wrote:
> Interesting issue. I can see the need to make this configurable
> though. In some cases it would be nice to make sure that these
> background tasks do not run concurre
Sorry you can only run one instrumentation at a time.
On Sat, Jun 27, 2009 at 2:26 AM, dev wrote:
>
> More to add on the same:
>
> I tried 2 different apk's with test suites I want to run.
>
> i.e.
>
> apk1 has testsuite1
> and apk2 has testsuite2
>
> tried running them in two terminals simultan
Hey everybody !
How can i save a Bitmap instance to a *.bmp file?Anyone knows?
Is it strange that we can only save a bitmap instance to a png or jpg
file?
Best regards!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups
you should be able to do that with something like
matrix.preTranslate(-centerX, -centerY);
matrix.postTranslate(centerX, centerY);
--
http://www.deepdroid.com
On Jun 27, 10:32 am, "sagar.indianic"
wrote:
> Hi all,
>
> I rotate image using setImageMatrix() function. I first use
I've been struggling to efficently draw tracks over the top of maps embedded
in my app.
I've been redrawing the track with the ondraw method however as the number
of points the app and eventually the phone crawls to a halt and I get a
bunch of force close/wait messages as a result.
I've been toyi
That's great. Thanks. Unfortunately this tells me I have to live with
what I have since it's beyond my control. I don't mind if other email
clients (gmail or whatever) pick up the intent - it's the user's
choice - I'd just rather not pick up apps that are not especially
suited to my purpose. So it
Hi all,
Is there is any way we can customerize the list show in the Live
Folder.
Regards,
Glory
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android
Interesting issue. I can see the need to make this configurable
though. In some cases it would be nice to make sure that these
background tasks do not run concurrently as concurrency issues can
result.
For example, I might have a URL fetch tied to a user interface
button. When the URL returns,
More to add on the same:
I tried 2 different apk's with test suites I want to run.
i.e.
apk1 has testsuite1
and apk2 has testsuite2
tried running them in two terminals simultaneously.
What I saw was, though I did not get any crash, they don't run
simultaneously.
Execution was one followed by
Hi all,
I rotate image using setImageMatrix() function. I first use
getImageMatrix() function to get matrix then i use matrix.postRotate
(90). Rotation works fine. But it rotates around top/left corner of
image. i want to change that pivot point to center of the image. how
can I do that
--~-
Hello All,
This is what I have,say:
TestCases : TestCase 1 to TestCase10 , all have several test methods
in it (all extends base class InstrumentationTestCase)
TestSuite:
TestSuite 1 - Adds 'TestCase 1 to TestCase10' in
its suite
All of the above is in single APK.
Instrum
Hi All
While using browser recently in my phone I found the following error
gp_initSearch not found !!!
Can any body help me by telling why this happens ?
Please help !!!
Regards
Joe
--~--~-~--~~~---~--~~
You received this message because you are subscribed to t
thanks for the respose ;)
On Jun 20, 8:35 am, Brett Chabot wrote:
> My guess is its not possible to do this. An InstrTestNested instance
> can only exist inside an instance of InstrTestCase, thus pretty sure
> the InstrumentationTestRunner cannot instantiate the nested class.
> Maybe if you made
37 matches
Mail list logo