[android-developers] Re: Drawing on MapView

2008-09-27 Thread Jordan Innovations
Why do not you try the open source Maps application, I re-wrote it again to help developers understand how the maps application works and extend it accordingly: http://nader.shalabi.googlepages.com/androidapplications Regards On Thu, Sep 25, 2008 at 6:35 PM, andrex <[EMAIL PROTECTED]> wrote: >

[android-developers] Re: Is there any book on development with Android ?

2008-09-27 Thread Jordan Innovations
I listed all the published books on my web page: http://jinnov.googlepages.com/index.html On Fri, Sep 26, 2008 at 5:44 PM, dave <[EMAIL PROTECTED]> wrote: > > Because Android 1.0 has been released, I wonder if there is any book > on development with Android or anybody is writing one. > > > --~-

[android-developers] Re: Flush title from an AlertDialog

2008-09-27 Thread aquinas
Thanks. I was able to solve this by overriding Activity.onPrepareDialog(). On Sep 27, 10:07 pm, Mark Murphy <[EMAIL PROTECTED]> wrote: > aquinas wrote: > > Hello, > >   I am trying to make adialogwith a dynamic title. I am using the > > AlertDialog.Builder approach, with a layout that I have infl

[android-developers] Jar libraries support

2008-09-27 Thread Chihau Chau
Who know if Android support standard Jar Libraries? -- Chihau Chau --~--~-~--~~~---~--~~ 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

[android-developers] Re: Flush title from an AlertDialog

2008-09-27 Thread Mark Murphy
aquinas wrote: > Hello, > I am trying to make a dialog with a dynamic title. I am using the > AlertDialog.Builder approach, with a layout that I have inflated from > XML. I setting the title using AlertDialog.Builder.setTitle(), passing > a class-level string to this method. I am able to set the

[android-developers] Re: How to query for my current location?

2008-09-27 Thread Mark Murphy
zl25drexel wrote: > Hi, sorry i am sure this had been asked before, how do i find out my > current lat/lon using the location API? You can't, per se. You can call getLastKnownLocation() to return, well, the last known location, but that may be null (if there have been no locations recorded for

[android-developers] Re: netbeans + android = compile error

2008-09-27 Thread Ahmed
ran into the same issue! any solution? On Sep 25, 8:25 am, "fabio.gravina" <[EMAIL PROTECTED]> wrote: > Hallo, > I've installed undroid plugins for netbeans > but when i run an example appl  netbeans return me: > ERROR: Unknown command 'compile' > Android Asset Packaging Tool > > Usage: >  aapt l

[android-developers] MediaRecorder recording video?

2008-09-27 Thread haig
I am looking for help on how to record video with sdk 1.0 In MediaRecorder, setVideoSource is no longer there. The documentation (http://code.google.com/android/reference/android/media/ MediaRecorder.html) still references setVideoSource in the diagram even though its no longer available. Ideas

[android-developers] How to query for my current location?

2008-09-27 Thread zl25drexel
Hi, sorry i am sure this had been asked before, how do i find out my current lat/lon using the location API? My app is very simple, basically it needs to query for that current lat/lon when the user click on a button. can someone give me example codes, the android location api document makes lit

[android-developers] Flush title from an AlertDialog

2008-09-27 Thread aquinas
Hello, I am trying to make a dialog with a dynamic title. I am using the AlertDialog.Builder approach, with a layout that I have inflated from XML. I setting the title using AlertDialog.Builder.setTitle(), passing a class-level string to this method. I am able to set the title of the dialog the

[android-developers] Re: How to access the SMS content provider in SDK 1.0_r1

2008-09-27 Thread xoloki
I created an Issue for this in the Android bug database: http://code.google.com/p/android/issues/detail?id=914 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, s

[android-developers] Re: WebView and "contents://"

2008-09-27 Thread Satya Komatineni
I suspect you may need some kind of signatures to give access to local resources or files from a web browser. Just like any regular browser won't let access local resources due to local constraints. But again that is a guess. Hope someone else will answer you for sure. Satya On Fri, Sep 26, 2008

[android-developers] Translate

2008-09-27 Thread Xat
How can I translate Anroid system ? Where are system files ? I have the emulator. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-devel

[android-developers] How to write a test case for custom MediaPlayer class

2008-09-27 Thread Josh Guilfoyle
I would like to create an instrumented unit test for my StreamMediaPlayer class which extends the MediaPlayer to be add support for arbitrary input streams. I chose to extend AndroidTestCase as MediaPlayer has a service component requiring an Android context. Everything seems to work correctly e

[android-developers] HTC Touch Pro skin for Android Emulator

2008-09-27 Thread Olaf Encke
I finished the HTC Touch Pro skin for the Android Emulator in portrait mode. Grab it here: http://www.android.encke.net Have fun. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to

[android-developers] Re: Intercept incoming call

2008-09-27 Thread Eric B
One of the best apps I've every bought for my Treo 600/650 is an app that lets you assign specific ring tones (really mp3 files) to specific contacts or groups of contacts. I especially like the ability to turn off the ringer and vibrator for calls with no caller id. I don't think this kind of a

[android-developers] Best practise for naming intent extras

2008-09-27 Thread Peli
Is there some (informal) guideline of how to name intent extras, that is, their defining string? Even within the SDK this seems to be controversial: * Single word in small letters: SearchManager.QUERY = "query" http://code.google.com/android/reference/android/app/SearchManager.html#QUERY * full

[android-developers] Re: Is there any book on development with Android ?

2008-09-27 Thread Mark Murphy
Ted Chien wrote: > I guess Mark's book can be pre-ordered on Amazon now? ==BEGIN BLATANT COMMERCIAL PLUG== Version 1.0 is available now in print on Amazon, but that only covers the M5 SDK. Version 1.2, covering Android 0.9, is available now as an ebook subscription through: http://commonswar

[android-developers] Re: WebView and "contents://"

2008-09-27 Thread Nickname
Yes, you can. You can use the content:// url returned by photo picker activity. On Sep 26, 1:49 pm, Martrinex <[EMAIL PROTECTED]> wrote: > I want to be able to access local files from webview. Most tutorials I > see use "file://" which I believe has been blocked on v.9+ I tried to > use the note

[android-developers] Re: Decompile android.jar - RuntimeException("Stub!") - SDK 1.0

2008-09-27 Thread Romain Guy
How so? Aren't you running unit tests on the emulator? On Sep 26, 2008 11:20 PM, "Shane Isbell" <[EMAIL PROTECTED]> wrote: Nice, the only problem is that little things like unit tests no longer run. Shane On Fri, Sep 26, 2008 at 6:29 PM, Romain Guy <[EMAIL PROTECTED]> wrote: > > Android.jar n

[android-developers] Re: Paint.setTextSize & ascent & descent.

2008-09-27 Thread Mike Reed
Ascent and descent are pulled from the font data, so I think stupid interpolations are you best bet. On Sep 27, 2008, at 12:18 PM, skink <[EMAIL PROTECTED]> wrote: > > hi, > > as abs(ascent) + descent != textSize passed to setTextSize, is there > any helper function for getting what textSize t

[android-developers] Paint.setTextSize & ascent & descent

2008-09-27 Thread skink
hi, as abs(ascent) + descent != textSize passed to setTextSize, is there any helper function for getting what textSize to use for given abs(ascent) + descent without boring/stupid interpolations or trying various textSizes? thanks, skink --~--~-~--~~~---~--~~ You

[android-developers] Re: Incoming Call Event

2008-09-27 Thread e
can u give me some idea.. On Sep 17, 5:07 am, "Megha Joshi" <[EMAIL PROTECTED]> wrote: > Unfortunately, these features are not supported in the sdk. Though you will > be able to intercept outgoing calls in sdk 1.0 using > ACTION_NEW_OUTGOING_CALL. > > 2008/9/16 Pulkit Arora <[EMAIL PROTECTED]> >

[android-developers] Re: Documentation Blues

2008-09-27 Thread jtaylor
You or I could correct many things in the documentation just given one day. So it's not a herculean effort. ..My point is that the SDK is useless without the documentation. Right now the docs are in beta. Android is a challenge as is. It wouldn't be just nice to have good docs, it's essential. ..A

[android-developers] Re: Documentation Blues

2008-09-27 Thread jtaylor
Yes, so Google can get Developers out of the ecosystem in return. :) - Juan On Sep 27, 10:33 am, Mark Murphy <[EMAIL PROTECTED]> wrote: > jtaylor wrote: > > Yes and Absolutely. The SDK is inseparable to the Documentation. > > Otherwise the SDK is only for those who are the top something percent

[android-developers] Re: Documentation Blues

2008-09-27 Thread Mark Murphy
jtaylor wrote: > Yes and Absolutely. The SDK is inseparable to the Documentation. > Otherwise the SDK is only for those who are the top something percent > who can get into the code, etc. When I look at a class, I would like > to be pretty sure that class exists within 1.0 and I'm not looking at >

[android-developers] Re: Documentation Blues

2008-09-27 Thread jtaylor
Yes and Absolutely. The SDK is inseparable to the Documentation. Otherwise the SDK is only for those who are the top something percent who can get into the code, etc. When I look at a class, I would like to be pretty sure that class exists within 1.0 and I'm not looking at an illusion. There's the

[android-developers] Re: Incoming Call Event

2008-09-27 Thread e
can u get me some idea...how to do that... On Sep 17, 5:07 am, "Megha Joshi" <[EMAIL PROTECTED]> wrote: > Unfortunately, these features are not supported in the sdk. Though you will > be able to intercept outgoing calls in sdk 1.0 using > ACTION_NEW_OUTGOING_CALL. > > 2008/9/16 Pulkit Arora <[EMA

[android-developers] Re: Documentation Blues

2008-09-27 Thread Mark Murphy
jtaylor wrote: > My suggestion is that in an update to the SDK, everything should be > updated at the same exact time. Are you willing to have the SDK be delayed to accomplish that goal? I'm not saying it wouldn't be nice. But I have to assume that the Android team is strapped for time for the

[android-developers] call reject

2008-09-27 Thread e
hi, is it possible...call reject through coding in new sdk??? --~--~-~--~~~---~--~~ 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 unsu

[android-developers] Documentation Blues

2008-09-27 Thread jtaylor
Hello Android Team, Consider this a helpful criticism. But this sentence is still on the very front of the Documentation. - "A beta version of the Android SDK is available for download." and it's been a few days since the 1.0 SDK has been released. This means that the Documentation hasn't been u

[android-developers] Re: Does ksoap2 is still managed?

2008-09-27 Thread Mark Murphy
Laguiz wrote: >> I would like to know if ksoap2 is still managed? I'm not sure how we would know. This is an Android discussion group. >> Which protocol, API, ...? So, which is/are best way(s) for you to >> communicate between Android and remote server to perform these >> actions: You assume th

[android-developers] Re: Does ksoap2 is still managed?

2008-09-27 Thread Laguiz
No comment ? On 25 sep, 14:44, Laguiz <[EMAIL PROTECTED]> wrote: > Hi, > > I would like to know if ksoap2 is still managed? I'm asking you > because I'm afraid because last news was posted in 2006 > onhttp://ksoap2.sourceforge.net/... If no update has been really created > since 2006, I'm not su

[android-developers] Re: Decompile android.jar - RuntimeException("Stub!") - SDK 1.0

2008-09-27 Thread Shane Isbell
Fair enough. I'll just stub out my use of certain Android APIs so I can test my code in a debugger. Shane On Sat, Sep 27, 2008 at 1:32 AM, Romain Guy <[EMAIL PROTECTED]> wrote: > > There is another big issue: there is absolutely NO guarantee that any > of the classes from android.jar would run ou

[android-developers] intercept an incoming in sdk1.0

2008-09-27 Thread e
Hi, I'm trying to figure out how to intercept an incoming call, but I'm not able to find much documentation on how I would do this. I would like to know incoming call phone number..and how to reject that call??? --~--~-~--~~~---~--~~ You received this message beca

[android-developers] Re: GTalk Calling Functionality

2008-09-27 Thread Ludwig
Apparently Google has something like this on their mind: http://blog.wired.com/gadgets/2008/09/google-files-pa.html However that is taking on the mobile operators big time. At the moment (and for a long time being) Google needs the mobile operators, so it will have to come to a compromise with the

[android-developers] Re: BroadCastReceiver with PhoneStateListener

2008-09-27 Thread e
i try thisbut it doesn't work... On Sep 27, 7:53 am, Nayr <[EMAIL PROTECTED]> wrote: > Hi, > > Did you describe the StartServicesAtStartUp in your > AndroidManifest.xml? for example, > > > > android:name="android.intent.action.BOOT_COMPLETED" /> >

[android-developers] Re: Intercept incoming call

2008-09-27 Thread e
Anyone trythen plz tel me On Sep 25, 8:37 pm, legerb <[EMAIL PROTECTED]> wrote: > How about: ACTION_NEW_OUTGOING_CALL? > According to SDK documentation it gives the possibility to intercept > the call. > Has anyone tried to use it? > > On Sep 17, 9:41 pm, friedger <[EMAIL PROTECTED]> wrot

[android-developers] Re: Is there any book on development with Android ?

2008-09-27 Thread Ted Chien
I guess Mark's book can be pre-ordered on Amazon now? Ted On Sep 26, 11:51 pm, "Mark Murphy" <[EMAIL PROTECTED]> wrote: > > Because Android 1.0 has been released, I wonder if there is any book > > on development with Android or anybody is writing one. > > There are seven books announced, in beta

[android-developers] Re: Announcement: Companies that announce Android support

2008-09-27 Thread Eric
Hi, We are trying to build an Android PMP player which will have a 2.5" hard disk. Details of the unit will be on our web site in the next 1-2 months. Cheers Eric Portable Electronics Ltd www.hdmp4.com On Sep 27, 1:02 pm, samlu <[EMAIL PROTECTED]> wrote: > If you are looking for Android sharewa

[android-developers] How get incoming call phone number in sdk 1.0

2008-09-27 Thread e
Hi, Anyone tell me...how to get incoming call phone number in new sdk --~--~-~--~~~---~--~~ 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

[android-developers] Re: Decompile android.jar - RuntimeException("Stub!") - SDK 1.0

2008-09-27 Thread Jordan Innovations
Check this out http://nader.shalabi.googlepages.com/androidapplications On Thu, Sep 25, 2008 at 2:32 PM, friedger <[EMAIL PROTECTED]> wrote: > > Hi, > > I used to have a look at the classes in android.jar using JadClipse. > > Since SDK 1.0 I only get class method looking like > > public void some

[android-developers] Re: Decompile android.jar - RuntimeException("Stub!") - SDK 1.0

2008-09-27 Thread Romain Guy
There is another big issue: there is absolutely NO guarantee that any of the classes from android.jar would run outside of an Android environment. They could rely on native libraries or special initializations only provided by the full Android environment. Even if a class runs now on top of Java S

[android-developers] Re: Decompile android.jar - RuntimeException("Stub!") - SDK 1.0

2008-09-27 Thread Shane Isbell
Nice, the only problem is that little things like unit tests no longer run. Shane On Fri, Sep 26, 2008 at 6:29 PM, Romain Guy <[EMAIL PROTECTED]> wrote: > Android.jar now contains only the public APIs. If you compile against this > jar, you are guaranteed your app will run against future versions

[android-developers] Re: SDK 1.0: what about multipart entities

2008-09-27 Thread shotwave
gjs, yeap it worksin the eumlator, but I wonder if it will work on the real phone since emulator uses your classpath with the dedicated jars, but these jars are not packed into apk I guess, so they might be not available to the real world phone app On Sep 26, 7:14 pm, gjs <[EMAIL PROTECTED]> wrot

[android-developers] Re: android forum in China

2008-09-27 Thread tom php
i think is a good web On Sat, Sep 27, 2008 at 8:33 AM, 狙击手 <[EMAIL PROTECTED]> wrote: > > The most popular android development community in China with 12000+ > android developers > > http://www.androidin.com/ > > > > --~--~-~--~~~---~--~~ You received

[android-developers] Notepadv3 Issue - NullPointerException in onSaveInstanceState()

2008-09-27 Thread [EMAIL PROTECTED]
I worked through the Notepad tutorials with the 0.9 SDK but found a problem with v3. Even with the "solution" project, if I initiate a new note, but then hit the Call or Home button on the emulator, the application crashes. Even after upgrading to SDK 1.0 the problem is still there. After debuggi

[android-developers] Re: Decompile android.jar - RuntimeException("Stub!") - SDK 1.0

2008-09-27 Thread Romain Guy
Everything should, and now must, run on the emulator or on a device. This is the only way to guarantee a program works (if only to run it on Dalvik rather than a stock JVM.) For what it's worth, that's how we run all of our tests in the Android team. We have special support for tests, especia

[android-developers] Re: Decompile android.jar - RuntimeException("Stub!") - SDK 1.0

2008-09-27 Thread Shane Isbell
On Sat, Sep 27, 2008 at 12:24 AM, Romain Guy <[EMAIL PROTECTED]> wrote: > How so? Aren't you running unit tests on the emulator? > Some I do and some I don't. I've got the Masa plugins (for Maven builds) setup to do both. By simply hooking a value object like ContentValues into one of my classes,

[android-developers] Re: HttpURLConnection Bug

2008-09-27 Thread Shane Isbell
This is on the Android emulator on a Mac, of course On Sat, Sep 27, 2008 at 12:22 AM, Shane Isbell <[EMAIL PROTECTED]>wrote: > I've encountered a bug on a Mac and want to see if anyone has encountered > and possible work around. I do the following and as expected 'is' contains > only the response

[android-developers] HttpURLConnection Bug

2008-09-27 Thread Shane Isbell
I've encountered a bug on a Mac and want to see if anyone has encountered and possible work around. I do the following and as expected 'is' contains only the response body. URL url = serverUri.toURL(); connection = (HttpURLConnection) url.openConnection(); is = c