[android-developers] Re: switch between activities

2008-10-03 Thread Joa

hackbod,
Thank you for your angle on this. I am using the described technique
to open a web browser window from within an Activity without stopping
it. After user closes the web browser, he or she returns to the main
app without missing a beat. A Dialog does not cover this use case, and
OP might have a similar challenge.
So... while this technique does not completely honor the intent of the
activity model - the activity model does not completely cover the
intent of the app either here...

On Sep 28, 9:52 pm, hackbod [EMAIL PROTECTED] wrote:
 It sounds like you are really working against theactivitymodel.  Why
 not just create a second window (with the Dialog class) inside of your
 parentactivity, instead of trying to express everything as
 activities?  If theactivitymodel doesn't work for you for a
 particular UI flow, you don't need to use it.

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Adding standard More icon in submenu

2008-09-03 Thread Joa

Polishing my app, I am trying to add the standard More icon to the
respective submenu.

I can't quite make sense out of the following instructions:
http://code.google.com/android/reference/android/R.styleable.html#IconMenuView_moreIcon

The following code crashes:
submenuMore = menu.addSubMenu(0, 5, Menu.NONE, More);
 
submenuMore.setIcon(android.R.styleable.IconMenuView_moreIcon);

Anybody set this up with success?

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Adding standard Moreicon to More submenu

2008-09-03 Thread Joa

Sorry hit the submit button by accident

On Sep 2, 9:53 pm, Joa [EMAIL PROTECTED] wrote:
 Polishing my app, I am trying to add the standard

 http://code.google.com/android/reference/android/R.styleable.html#Ico...
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Adding standard Moreicon to More submenu

2008-09-02 Thread Joa

Polishing my app, I am trying to add the standard

http://code.google.com/android/reference/android/R.styleable.html#IconMenuView_moreIcon

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: long click on MapView

2008-09-01 Thread Joa

Hmm... setting long clickable explicitly does not make a difference.

On Aug 31, 3:21 pm, adamrocker [EMAIL PROTECTED] wrote:
 Hi.

 Do you set a long clickable option to true through
 View#setLongClickable(...) ?

 2008/9/1 Joa [EMAIL PROTECTED]:



  I am trying to capture the fact that a long click has occurred in a
  MapView. Not sure if I am doing this right, because
  OnLongClickListener.onLongClick() in the following implementation is
  never called:

  public class MyMapView extends MapView implements OnLongClickListener
  {

 boolean hasBeenLongClicked = true;

  // constructor etc. omitted

 public boolean onLongClick(View v) {
 hasBeenLongClicked = true;
 return true;
 }
  }
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Replacement for MapView's OnLongPressListener

2008-09-01 Thread Joa



 PS: This is my third try to post o_O.

Hey, at least you got onLongClick() to fire.

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Replacement for MapView's OnLongPressListener

2008-09-01 Thread Joa

Oh those servants, can get good one's any more like in the old days (;-
)

On Sep 1, 7:55 pm, plusminus [EMAIL PROTECTED] wrote:
 I did not yet try it, as it does not serve my needs ;)

 On 1 Sep., 22:47, Joa [EMAIL PROTECTED] wrote:

   PS: This is my third try to post o_O.

  Hey, at least you got onLongClick() to fire.
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: MediaPlayer in 0.9?

2008-08-31 Thread Joa

I'm afraid I cannot give you direct answer, but one pointer I can give
you that you might want to check out is control of handset functions
through manifest permissions.
http://code.google.com/android/reference/android/Manifest.permission.html
I am mostly involved in LBS apps using MapView. Had to add the
INTERNET permission to the manifest to even see any map data... pretty
trivial but it took 15 minutes out of my life (;-). might be a
similar issue in your case.

On Aug 31, 5:21 am, David Given [EMAIL PROTECTED] wrote:
 I have an application that's a specialised streaming audio player,
 designed to play music from a particular online archive. I'm using the
 time-honoured technique of downloading into a file and telling
 MediaPlayer to stream from the file.

 This all worked on m5, but on 0.9 it fails: I call setDataSource(), and
 then prepareAsync(), and immediately get back an undocumented error with
 what=-4 and extra=0. Does anyone know what this means?

 In addition, has anyone compiled a list of what's changed in MediaPlayer
  in 0.9? I want to know how many of my bug workarounds to get rid of!
 What I'm actually *trying* to do is to stream audio via a large,
 persistent file cache under application control; does the new
 MediaPlayer provide enough control of the buffering system to do this
 automatically?

 --
 ┌─── dg@cowlark.com ─http://www.cowlark.com─
 │
 │ All power corrupts, but we need electricity. --- Diana Wynne Jones,
 │ _Archer's Goon_

  signature.asc
  1KViewDownload
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: MediaPlayer in 0.9?

2008-08-31 Thread Joa

Here's one more link which describes permissions

On Aug 31, 5:21 am, David Given [EMAIL PROTECTED] wrote:

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] 0.9 new blank screens and calls to Activity.onResume()

2008-08-31 Thread Joa

I am using Activity.onPause() and .onResume() to hibernate parts of my
app's to save battery and stop expensive server calls. It mostly
works as expected, except for one situation involving the (new to me)
blank/idle screens.
1. When an app runs, and the (red) hangup-key is pushed, a screen
blanks shows, and, as expected, .onPause() is called which allows to
send an app into hibernation.
2. In this state, a push on any button changes from the blank screen
to an info screen (I haven't found how it's officially called) showing
Andrdoid, time, charge status etc. This screen does not show any
parts of a running app, which is fine, except that app's
receive .onResume(). Not quite as expected. Now, as a result of
onResume(), expensive application calls resume without any benefit
to the user.
Is this the desired behavior? If so, what is the correct practice to
follow these state changes?

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] M5 - 0.9: access to PixelCalculator functionality

2008-08-19 Thread Joa

In M5 I used MapView.PixelCalculator in overridden methods draw(...)
and onTap(...) of a subclass of Overlay to convert geo locations
(Point / GeoPoint) to screen coordinates. The signatures of these
methods have changed, so I referred to the Overview of Changes page
which mentions that MapView.PixelCalculator was moved out into its
own class PixelConverter.
So I was looking for class PixelConverter. No documentation in the
class reference however. Strange. I was poking around a little and
found that the type com.google.android.maps.PixelConverter exists but
that it is not visible to import and therefore to access methods for
pixel conversion. It appears com.google.android.maps.PixelConverter
has been tucked away by accident? Or is there another method to
convert geo coordinates to screen coordinates?
JP


--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: New SDK available - 0.9 SDK beta

2008-08-18 Thread Joa


On Aug 18, 12:01 pm, David McLaughlin (Android Advocate)
[EMAIL PROTECTED] wrote:

 We're pleased to announce the release of the Android 0.9 SDK beta!

tat... Thanks guys, finally... Looks like things are getting back
in line now.

From what I could see so far it appears we (developers) have got a
boatload of work punched out porting over to 0.9.

JP
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Ode to Team Android

2008-07-11 Thread Joa

Enjoyed your poem (:-).
I am going through a summer of no code here.
Not like there wouldn't be work but we're already building at risk.
So all I can offer is a good read. Can't help to mention this one:
http://en.wikipedia.org/wiki/The_Castle_%28novel%29


On Jul 10, 8:11 am, daspears [EMAIL PROTECTED] wrote:
 We know you are busy
toiling away
 You've got issues to solve
without delay

 Embedded OSes are
not like web apps
 Firmware must update
without a hitch
 Else millions of customers
will suffer the glitch

 Your schedules are tight,
the handsets cant wait
 You have to release
in 4Q O-Eight

 We do wish you luck
as you test through the nite
and code through the day
 But...
 Could you please please just
give us a new SDK?

 -Dave

 p.s. We don't mind if its buggy
 and not tested so well
  the old SDK
 is giving us hell.
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: SDK Update?

2008-06-30 Thread Joa



On Jun 30, 9:35 am, André Charles Legendre
[EMAIL PROTECTED] wrote:
 Hi

 If Android OS has not been improved from February it would be even
 worse. I would mean that this project is not well and alive.
Not sure about the improved part it certainly has changed. Check out
the Google I/O keynote video where Android is shown off. It sure looks
different from what we've got with mc5-rc15


 If we consider that SDK is not an Open Source project it would solved
 also many issues but it would mean that the code is all new and not
 tested and I am not sure that it would be a good news..

 But SDK use a lot of open source projects : WebKit, OpenGl ES, SGL,
 OpenCore, FreeType, eclipse, linux libraries etc...

 The free side give a big competitive advantage to Android, because
 Android get very good code, ready made and tested.
 And Android get a good image and use it because it is 'Open' at the
 contrary of some competitors.

You hit it on the head. Let's put that little open source audit of
ours to rest. When Google go out an set aside $10mio to throw at
people like us, you can rest assured they set aside an equal amount
(or more) to pay IP lawyers to vet their strategy and every step they
take along the way.

The thing is... values got under the wheels here. Not everything
that's possible is in fact desirable. Going for it is the mark of
EVIL doers and Google look pretty shabby right now.


--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: SDK Update?

2008-06-30 Thread Joa



On Jun 30, 10:35 am, André Charles Legendre
[EMAIL PROTECTED] wrote:
 Hi Joa

 You seems to forget the main things :

 Does Android SDK need to be open source as using a lot of Open Source code ?

Dalvik demonstrates that they went to great lenghts to avoid
dependencies on their part, e.g. having to rely on Sun Java. And even
if they were in violation. We'd be buidling on a system that's
compromised even more than it is at this point. Developers don't have
an interest in sinking their platform. But are they crazy enough to
hang in there to get pounded in you know where? At this point... I've
stopped working. Android has been pitched as open source all along.
Where is the dual strategy coming from all of a sudden? It is
mislieading to announce the release of parts of Android as open source
in the future when in reality Google started marching in the
opposite direction. What a shame. But I'm running in circles here...
Let's turn to the inside-trackers for a few thoughts though. Looks
like things for *those* guys might turn out really bad. Imagine: You
won, cashed in $25K, signed the papers and told all your friends and
family. Pride and joy. Now you go and you quit your dayjob, run to the
bank for credit. More money gets thrown at you. Just in time to start
worrying if you're next in line for a rude awakening. Man... the
carriers haven't even gotten involved yet and Google drive a wedge in
the community like that. Uh oh. In the end... some of the inside-
trackers might end up really messed.

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: SDK Update?

2008-06-30 Thread Joa

Hi Digit thanks for the update.
Back on topic. No SDK updates in sight unless we are part of the
privileged. How that comes across? Not well obviously, as has been
elaborated.
As long as things play out in Kafkaesque dimensions, and the only way
to get something out is by rattling the cage, the community will
either die, or speculation is going to remain a perpetual problem. You
(and I say you, as the Google team) have *got* to do a better job at
this.

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: SDK Update?

2008-06-29 Thread Joa

Romain,
I suppose I don't have to tell you that a great number of coders
invested a good amount of time.
Many had been in it for the Challenge only, I am sure, but then
there's a bunch who like to code and create a valuable product.
By now it should be clear that the community expects more. Way more...
in terms of open process. I can't believe there's a cordoned-off
inside track. Frankly I am not aware this is in the open source
playbook. Did Google write an amendment we've missed?
You are well respected out here as you've been assisting Android
developers including me for months now. Thanks for breaking the
silence (a little). Perhaps you are personally unhappy with the whole
situation yourself. I bet some are...
For everybody's sanity, please re-open communication channels and
access to SDK updates.
JP


On Jun 28, 11:03 am, Romain Guy [EMAIL PROTECTED] wrote:
  WTF ?!?!?! That sounded like that there may be no update to the SDK
  until the handsets launch?
  Exactly no one would profit from such a decision!

 There has been no official announcement either way, please do not make
 any conclusion based on wild guesses.

 --
 Romain Guywww.curious-creature.org
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: SDK Update?

2008-06-29 Thread Joa



On Jun 29, 12:57 pm, André Charles Legendre
[EMAIL PROTECTED] wrote:
 I just cannot believe that Android team could made some major GPL
 violation with the agreement of Google legal division.
 Sometime we make mistake, sometime it is better to correct them.

I wouldn't expect Google to fail on a technicality like that. The
disappointment is in failing expectations raised by the promises made
- go back to the featured video on code.google.com and listen to
when Sergey Brin and Steve Horowitz discuss the availability of the
SDK, that it will be open source in the future. That was posted on
youtube last year. Listen to what Sergey Brin says or, for
convenience, here is a transcript of part of the presentation:

Android ... is a new open source operating system and software
platform for mobile phone. Just like I learned how to write great
services and software upon free tools for the web, like Linux and GNU,
now with Android, you will be able to do the exact same things on
mobile phones. The software is all free, the source is completely
available and we expect great new powerful application to be developed
on it. The SDK is being released right now, and you can download
it...

What happened?

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: SDK Update?

2008-06-28 Thread Joa

Great write-up Josh, just as I thought. Thanks for the legwork.
NDAs, geez. What a sham.


On Jun 27, 10:13 am, Josh Guilfoyle [EMAIL PROTECTED] wrote:
 There is no official comment from Google, but after talking to several
 sources on the team, it is quite clear that they do not expect a
 release until the handsets launch.  The ADC round 1 winners are now
 under NDA with Google to get access to private updates which they are
 not allowed to discuss or demonstrate publicly.

 For more information, read my blog entry:

 http://devtcg.blogspot.com/2008/05/detail-of-next-public-sdk.html

 On Jun 17, 10:24 pm, maceghost [EMAIL PROTECTED] wrote:

  Anyone from google care to comment on this ?  It seems like r15 is a
  bit buggy, an update would be in order...

  On May 11, 8:16 pm, Biosopher [EMAIL PROTECTED] wrote:


--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: read XML from httpConnection

2008-06-21 Thread Joa


Code I am using, working just fine:

- snip --
SAXParserFactory parserFactory = 
SAXParserFactory.newInstance();
SAXParser parser = parserFactory.newSAXParser();
MyParseHandler handler = new MyParseHandler();
URL url = new URL(http://; + hostname + request );
URLConnection connection = url.openConnection();
HttpURLConnection httpConnection =
(HttpURLConnection)connection;
int responseCode = httpConnection.getResponseCode();
if (responseCode == HttpURLConnection.HTTP_OK) {
InputStream in = httpConnection.getInputStream();
try {
parser.parse(in, handler);
} catch(org.xml.sax.SAXException e) {
Log.v(Parse exception, MyParseHandler parse 
exception: 
+ e.getMessage());
errorMsg = routeConfig parse exception:  +
e.getMessage();
}
- snip --

On a functional level this does not look that much different from
yours, so the problem must be some place else. Perhaps having to log
in throws you off.
JP


On Jun 21, 6:13 am, Deyan Peev [EMAIL PROTECTED] wrote:
 Hi everyone,

 i need Your help:

 i need to read a XML output from  server (who needs username and
 password for access)   in my android app. I've made HttpConnection (post
 to the server was no problem..) to connect the server and authenticate.
 Then i read the HttpResponse - it looks like this:


--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Porting android on hardware

2008-04-12 Thread Joa

renegade,
The guys hanging out on android-internal are doing this kind of stuff.
Check out what they've been doing.
Joa

On Apr 12, 10:25 am, renegade [EMAIL PROTECTED] wrote:
 Hi all,

 I created this post to help new android developers with porting
 android on hardware.
 Very inportant quesion is :
 How to prepare SD card to run android?

 Lets say, that I have :
 - patched compiled kernel,
 - system dir extracted from android emulator,
 - userdata dir extracted from android emulator,

 What to do then?
 How should look the SD card for Android to start system?
 How partitions are mounted?

 There is lack of these informations...

 Thanks for everyone, who replies the message from everyone who see
 this post helpful...

 Regards !
 renegade
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Length of text drawn in pixel?

2008-04-10 Thread Joa

Thanks guys, works!

On Apr 7, 12:37 am, babyblue [EMAIL PROTECTED] wrote:
 You can use Paint.getTextWidths to get it

 On 4月7日, 下午1时57分, Joa [EMAIL PROTECTED] wrote:

  Is there a way to find out the length of text drawn to a Canvas (using
  drawText()) inpixel?
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Length of text drawn in pixel?

2008-04-06 Thread Joa

Is there a way to find out the length of text drawn to a Canvas (using
drawText()) in pixel?

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---