[android-developers] Re: Developing Android Developers in the US

2009-11-18 Thread Maps.Huge.Info (Maps API Guru)
As I used to tell my customers a long time ago in a place far, far away: "Any 10 year old with a PHD in physics can do it in a week." -John Coryat -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to androi

Re: [android-developers] Re: Developing Android Developers in the US

2009-11-18 Thread Wayne Wenthin
Hey now it took me 6 months to do that! On Wed, Nov 18, 2009 at 11:16 AM, niko20 wrote: > 3-6 learning days is enough to write a game that looks like hell and > has subtle bugs LOL > > -niko > > On Nov 18, 12:33 pm, Sundog wrote: > > Basically true. I learned enough in three days last year

Re: [android-developers] Re: startForeground

2009-11-18 Thread Dianne Hackborn
On Wed, Nov 18, 2009 at 11:12 AM, Andrei wrote: > Thanks > In my sample it does not post notification when i call it > What is your code? Is anything printed in the log? Is your service actually running in the foreground (you can tell by looking at the output of "adb shell dumpsys activity.ser

[android-developers] Re: Certificate webpage problem when using WebView

2009-11-18 Thread Mark
Isn't anybody know that solutions? On Nov 16, 11:07 am, Mark wrote: > Hi, folks > > i have aproblemto show specific web page (https:// > emocion.movistar.es/mstore/index.jsp) withcertificatewhen iusingWebView.. > i searched that some guy done fake X509TrustManger, but in my case no > luck. > i ca

Re: [android-developers] startForeground

2009-11-18 Thread Dianne Hackborn
On Wed, Nov 18, 2009 at 10:24 AM, Mark Murphy wrote: > The documentation is fuzzy on this point, but I believe > startForeground() will display the Notification at the time you call > that method. Conversely, when you call stopNotification(), the > Notification is canceled. > Yes, it is currently

[android-developers] Re: Developing Android Developers in the US

2009-11-18 Thread niko20
3-6 learning days is enough to write a game that looks like hell and has subtle bugs LOL -niko On Nov 18, 12:33 pm, Sundog wrote: > Basically true. I learned enough in three days last year to write the > demo version of my Mahjongg game, which was downloaded about a hundred > thousand times

[android-developers] Re: startForeground

2009-11-18 Thread Andrei
Thanks In my sample it does not post notification when i call it On Nov 18, 1:24 pm, Mark Murphy wrote: > Andrei wrote: > > it has Notification as arg > > Yes. > > > what is it for > > startForeground() is used to give preferential treatment to a service > that is doing something actively on beha

[android-developers] Mediaplayer and stopping it....

2009-11-18 Thread furby
I have a activity which is called from another activity as an intent... This activity loads and starts playing a audio file. All is good - that much works. The activity also has a "stop" button and that stops the audio from playing - that is also fine. But how do I stop the file from playing if th

[android-developers] Re: Android Market Anti-Piracy

2009-11-18 Thread niko20
+1 to Andre Wasting time worrying about this will prevent you from doing what you should, namely, pleasing the customers you do have. -niko On Nov 18, 1:24 am, westmeadboy wrote: > On Nov 18, 2:57 pm, André wrote: > > > Note the users that an update is available from within your game, e.g. > >

[android-developers] Could this happen on Android?

2009-11-18 Thread Al
I have my main handler and a blockingQueue. Messages are added to the blockingQueue from another thread so not to overload the handler with messages. The messages are processed by the handler as they come in. My concern is if the handler stops processing messages and queue is full, then my thread

[android-developers] Re: Android Market Anti-Piracy

2009-11-18 Thread strazzere
An a similar note -- it looks like you've enraged the user who has the IMEI "123456789123456" - since now they're at a level 1 piracy watch! Yikes! http://www.artfulbits.com/android/antipiracycheck.ashx?IMEI=123456789123456 On Nov 18, 1:39 pm, Paul Turchenko wrote: > Why emulator says that my st

[android-developers] Re: Android Market Anti-Piracy

2009-11-18 Thread Paul Turchenko
Why emulator says that my status is 1??? I've just installed a fresh one! On Nov 18, 7:25 pm, AlexK wrote: > Today we release anti-piracy black list check application. > > You can download it from Android Market - search: aiAntiPiracy > > Alternative Market:https://slideme.org/application/aiantip

[android-developers] Re: Application priority

2009-11-18 Thread Neilz
Thanks Dianne - haven't come across the profiler yet, but I'm sure I can find lots of info on it. On Nov 18, 5:55 pm, Dianne Hackborn wrote: > If your app is in the foreground, it isn't put down in priority.  If it is > in the background (not visible to the user) it is, and you would not be able

[android-developers] Re: Developing Android Developers in the US

2009-11-18 Thread Sundog
Basically true. I learned enough in three days last year to write the demo version of my Mahjongg game, which was downloaded about a hundred thousand times. The hitch is Java, not Android. On Nov 18, 11:25 am, Andrei wrote: > 3 to 6 days is enough, if you know Java, to start writing real apps, >

[android-developers] Re: Developing Android Developers in the US

2009-11-18 Thread Andrei
3 to 6 days is enough, if you know Java, to start writing real apps, the rest you learn writing apps while producing something useful On Nov 18, 10:33 am, Mark Murphy wrote: > Andreiwrote: > > 3-6 days should be more than enough to learn all Android > > That's unrealistic. I have been developing

Re: [android-developers] startForeground

2009-11-18 Thread Mark Murphy
Andrei wrote: > it has Notification as arg Yes. > what is it for startForeground() is used to give preferential treatment to a service that is doing something actively on behalf of the user. The Notification is required to ensure that the user "sees" your service. It would be a Really Good Thing

[android-developers] Reinstall and an App Widget...

2009-11-18 Thread sdphil
can someone explain how re-installing (from an old version of your app to a new version of your app) works with respect to an app widget? specifically, it does not seem like app widgets get replaced with a re- install. tia. -- You received this message because you are subscribed to the Google G

[android-developers] Re: Android keyevent keycodes and scancodes

2009-11-18 Thread Mark Wyszomierski
Hi Yi, If I understand correctly, does this just mean that a physical key may not appear at all on different devices? For instance, I want to check if the "z" key is pressed, so right now I check for: keyCode == KeyEvent.KEYCODE_Z if I understand correctly, KEYCODE_Z should be constant on all

[android-developers] startForeground

2009-11-18 Thread Andrei
it has Notification as arg what is it for, when is it shown -- 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 android-devel

[android-developers] OnScrollListener#onScrollStateChanged cange behavior from 1.5?

2009-11-18 Thread koji
Hi, Because I want to adjust my list item's position, so at 1.5, i tried using OnScrollListener#onScrollStateChanged(SCROLL_STATE_IDLE) to detect when the scrolling stopped(either TOUCH_SCROLL or FLING).But when it runs on 2.0, onScrollStateChanged cant received the event after releasing the fin

Re: [android-developers] building to support both contacts 1.6 and 2.0 apis

2009-11-18 Thread Mark Murphy
Rachel Blackman wrote: > I am reasonably certain that if you compile the app for 1.6 but run > on 2.0, the contacts code will work. The caveat here is that you > will only get the raw contacts from the master account, rather than > the combined contacts from all active accounts; the older API just

Re: [android-developers] Re: Is status bar an activity?

2009-11-18 Thread Dianne Hackborn
More specifically, Android has a fairly rich windowing system; the activity model sits on top of this. Applications can make their own windows with the Dialog or PopupWindow classes, though these are associated with the activity that created them, they are not activities themselves, and this assoc

Re: [android-developers] Re: Sub Acivity fly-in direction?

2009-11-18 Thread Mark Murphy
Dianne Hackborn wrote: > Fwiw, 2.0 introduces some new APIs to control the animation: > > http://developer.android.com/reference/android/app/Activity.html#overridePendingTransition(int, > int) > http://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_NO_ANIMATION Oh, exce

Re: [android-developers] Re: How to build a project in Android sources seperately?

2009-11-18 Thread Julian Chu
Hi, Did you build the android tree first? although it spends time but pretty easy. http://source.android.com/download All you have to do is follow the webpage and cross your finger If there is no commit break your building, you will get everything you need. of course, including acp $ which acp

Re: [android-developers] [Quit application correctly] How to execute code before exiting application ?

2009-11-18 Thread Dianne Hackborn
You don't "exit" an application; in fact an application is a fairly nebulous concept on Android. You should do this kind of stuff in Activity -- for example, as long as you have an activity in the start state, then continue running your work thread. On Wed, Nov 18, 2009 at 2:02 AM, Syl wrote: >

Re: [android-developers] How to Add new sensor support in Android sensor framework?

2009-11-18 Thread Dianne Hackborn
These kinds of questions belong on android-porting; thanks. On Wed, Nov 18, 2009 at 3:53 AM, Leo wrote: > Hi Guys, > > Can some one please point me towards any documentation/resources/ > threads that can explain how a new sensor support can be added in > android sensor framework? I'll be gratefu

[android-developers] Re: Should I use a 'TextView' hovering over 'GLSurfaceView' for a game UI?

2009-11-18 Thread niko20
Dont know the answer performance wise, but I would recommend to do your UI with your own graphics, it will look better. REason, I think ppl that make a game that then shows an Android UI, it pulls you out of the experience of the game. -niko On Nov 18, 10:46 am, hzakimoto wrote: > An example in

Re: [android-developers] Re: Multitouch support in Android 2.0

2009-11-18 Thread Dianne Hackborn
On Tue, Nov 17, 2009 at 3:19 PM, 3pei <333...@gmail.com> wrote: > Can you explain this in a more detail? > Different screens have different imperfections in reporting multitouch; by its nature you simply are not going to get perfect data, as there are intrinsic ambiguities in what is happening, a

Re: [android-developers] Re: Sub Acivity fly-in direction?

2009-11-18 Thread Dianne Hackborn
Fwiw, 2.0 introduces some new APIs to control the animation: http://developer.android.com/reference/android/app/Activity.html#overridePendingTransition(int, int) http://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_NO_ANIMATION On Wed, Nov 18, 2009 at 7:43 AM, CyberQat

Re: [android-developers] Re: Android keyevent keycodes and scancodes

2009-11-18 Thread Yi Sun
Please do pay attention to Dianne's comment, the mapping is per-device based. On Wed, Nov 18, 2009 at 9:55 AM, Yi Sun wrote: > yi...@yisun-desktop:~/android/x86/1029/frameworks/base$ find . -name > KeycodeLabels.h > ./include/ui/KeycodeLabels.h > yi...@yisun-desktop:~/android/x86/1029/frameworks/

[android-developers] Re: Android keyevent keycodes and scancodes

2009-11-18 Thread Mark Wyszomierski
Thanks Dianne, works well. On Nov 18, 12:45 pm, Dianne Hackborn wrote: > That tells you about events being delivered to the specific view(s) you have > the listener attached to.  You also need to look in the event to see if it > is an up or down.  This only tells you about events when one of the

Re: [android-developers] Application priority

2009-11-18 Thread Dianne Hackborn
If your app is in the foreground, it isn't put down in priority. If it is in the background (not visible to the user) it is, and you would not be able to run much because there is something in the foreground that wants to run and we strongly prefer that so your background app can't impact UI respo

Re: [android-developers] Re: Android keyevent keycodes and scancodes

2009-11-18 Thread Yi Sun
yi...@yisun-desktop:~/android/x86/1029/frameworks/base$ find . -name KeycodeLabels.h ./include/ui/KeycodeLabels.h yi...@yisun-desktop:~/android/x86/1029/frameworks/base$ This is for Donut. I did not check for Eclair yet. On Fri, Nov 13, 2009 at 7:36 AM, Android_n00b wrote: > Hi Yi, > > I am look

Re: [android-developers] Re: Alarm is canceled if app is stopped

2009-11-18 Thread Dianne Hackborn
On Wed, Nov 18, 2009 at 8:27 AM, jotobjects wrote: > Don't you care just as much about Activities that have threads running > the background? > No, the system can freely kill those processes when it needs memory. Thus this isn't the cause of the main problem, the overall system becoming slow b

Re: [android-developers] Re: Is status bar an activity?

2009-11-18 Thread Julian Chu
Home screen is just an application with some special tag in its AndroidManifest.xml With the tag, the application will be regarded as a Launcher. StatusBar is a part of framework but not part of Home Screen. Therefore, you could create an application and it do nothing but show an image on screen.

Re: [android-developers] Re: Android keyevent keycodes and scancodes

2009-11-18 Thread Dianne Hackborn
That tells you about events being delivered to the specific view(s) you have the listener attached to. You also need to look in the event to see if it is an up or down. This only tells you about events when one of the views has focus. On Wed, Nov 18, 2009 at 8:49 AM, Mark Wyszomierski wrote: >

[android-developers] Re: XMPP Services

2009-11-18 Thread nEx.Software
The Google Talk app uses the Smack library itself. Having to include it again is unfortunate but the state of things today. Depending on the features that you need, you can actually get away with a MUCH smaller implementation. I have an XMPP capable app that currently comes in at about 22kb compile

Re: [android-developers] Re: App Not showing up on Verizon DROID Phones

2009-11-18 Thread Kumaravel Kandasami
Quick update, When we disabled ("OFF") the copyright settings for our "Money Now" app in the android market, the HTC Eris phone were able to show our app. However, we don't know how to solve the problem (as a developer) on our end to keep the Copyright feature "ON" in the android market setting, a

[android-developers] Re: Android Market Anti-Piracy

2009-11-18 Thread AlexK
Today we release anti-piracy black list check application. You can download it from Android Market - search: aiAntiPiracy Alternative Market: https://slideme.org/application/aiantipiracy On Nov 16, 1:12 pm, AlexK wrote: > Our company starts today anti-piracy initiative against piracy that > alr

Re: [android-developers] Re: [Android 2.0] Contacts FAQ?

2009-11-18 Thread Rachel Blackman
On Nov 18, 2009, at 1:43 AM, GDroid wrote: > I would like to add one more question to this issue: > > 15) What is the best way to write the code so in case the API Level is > below 5, some of the contacts actions can still be done correctly. > > As far as I've checked when publishing an applica

Re: [android-developers] Re: WebView not loading Assets correctly... help?

2009-11-18 Thread Mark Murphy
Jeremy Logan wrote: > True, but I'm not really building an app... I'm building a thing > that's probably closer to an app framework. Basically the client can > just dump in their content, change a few settings and churn out a "new > app". Ah. > I guess what I meant is that in the future I won't h

[android-developers] How to keep the selected item of a ListView vertically centered?

2009-11-18 Thread arielm
Scenario: 1) A ListView with many items (i.e. scrolling will occur at some point) 2) At the beginning, the selection is at the top (item #0) 3) User is scrolling down (i.e. we're not in touch mode) 4) For the first items, the selection is moving down without the list to scroll. 5) Once the selecte

Re: [android-developers] building to support both contacts 1.6 and 2.0 apis

2009-11-18 Thread Rachel Blackman
On Nov 17, 2009, at 12:24 PM, androsag wrote: > As has been discussed on this list, the 2.0 Contacts API is a > significant overhaul. And that the 1.6 API has been deprecated. > Usually this means use of the 1.6 API is discouraged but maintained > for at least a little while. I am not that this i

[android-developers] Re: Problem running Android jUnit tests on Android project with multiple included auxiliary projects

2009-11-18 Thread emitya
Thanks for response. Tried that but getting same consistently broken result -> if the interface is defined inside included Jar while the implementation class lives in Android project, then Android test runner cannot instantiate instances of that particular class. It can instantiate anything else ei

[android-developers] Re: WebView not loading Assets correctly... help?

2009-11-18 Thread Jeremy Logan
Oh man... I WAS missing something. I think I was looking at this too long. The folder my images were in wasn't down one level relative to the location of the html. In this instance the html was just flat-out wrong. Gaaar. Thanks guys, Jeremy On Nov 18, 8:47 am, Jeremy Logan wrote: > True, but I'

[android-developers] Re: Android keyevent keycodes and scancodes

2009-11-18 Thread Mark Wyszomierski
Hi, If we need to check if a particular key was pressed, is this the correct way of doing it?: public boolean onKey(View v, int keyCode, KeyEvent event) { if (keyCode == KeyEvent.KEYCODE_O) { alert("you pressed the 'o' key!"); } else if (keyCode == KeyEvent.KEYCODE_R) {

[android-developers] Re: WebView not loading Assets correctly... help?

2009-11-18 Thread Jeremy Logan
True, but I'm not really building an app... I'm building a thing that's probably closer to an app framework. Basically the client can just dump in their content, change a few settings and churn out a "new app". I guess what I meant is that in the future I won't have full control over what the HTML

[android-developers] Should I use a 'TextView' hovering over 'GLSurfaceView' for a game UI?

2009-11-18 Thread hzakimoto
An example in APIDemos, called "SurfaceViewOverlay" show that you can have Android UI (buttons, textview, etc.) hovering over a GLSurfaceView. Should I use a textview this way to display real-time UI (like Score) in OpenGL game? Will it hurt game performance? Currently I'm using a sprited text f

[android-developers] Re: Lock Screen?

2009-11-18 Thread mehool
Hey, Is there some way that I can write a program to lock the screen (the one that usually happens when you press the power buttong once)? Thanks, Mehool On Nov 11, 8:04 am, Mark Murphy wrote: > Fred Grott(Android Expert,http://mobilebytes.wordpress.com) wrote: > > > My question is that I have

[android-developers] Re: Alarm is canceled if app is stopped

2009-11-18 Thread jotobjects
On Nov 17, 4:05 pm, Dianne Hackborn wrote: > 2.0 includes a UI showing you which -services- are running and the resources > they are using.  This is what you really care about Don't you care just as much about Activities that have threads running the background? Two more questions about all th

[android-developers] Re: Download Android source code failed

2009-11-18 Thread Roman ( T-Mobile USA)
I noticed that I got this error when I used a much slower internet connection. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent tho

[android-developers] Re: How do I backup my application signing key?

2009-11-18 Thread Nmix
Vista? Oh yes, finding the keystore was ... interesting. I'm surprised you simply didn't do a disk search to find it. If you don't want to do that, look in a folder that is something like: C://AppData/Local/Virtual Store/Program Files/Java/jdk1.6_xx/ bin Not very intuitive, but that's what we get

[android-developers] Re: Alarm is canceled if app is stopped

2009-11-18 Thread jotobjects
On Nov 17, 7:54 pm, String wrote: > On Nov 17, 7:43 pm, Dianne Hackborn wrote: > > > I will probably make this API a no-op, since it violates the principle of > > one app not being able to break another app > > +1 > > Especially with the Running Services UI in 2.0, I'd suggest this is > the bes

[android-developers] Application priority

2009-11-18 Thread Neilz
Hi all. Not sure how appropriate the title is, but here goes... I have an app which within the main Activity a SensorListener is setup. The listener detects changes from the accelerometer and sends updates to various child views, which update the display. When the app first start up, it's great -

[android-developers] Re: media recorder error on start

2009-11-18 Thread Roman ( T-Mobile USA)
It might be helpful to attach your code. Have you called the prepare() method before starting the recording? -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and d

[android-developers] Creating Gmail filters

2009-11-18 Thread vendor.net
I am building a program for Android and I need to create a filter that makes labels to messages which contains in the subjects a special word. Is this possible through the imap interface or any other interface? I am talking to Gmail. Thanks! -- You received this message because you are subscribe

[android-developers] Android 2.0 Emulator and Accounts

2009-11-18 Thread stanlick
Is it possible to link/test contact account(s) using a 2.0 AVD? Peace, Scott -- 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 emai

[android-developers] Re: Draw Bitmap on Overlay

2009-11-18 Thread Søren
I think the projection is causing the problem. Here's a copy of my Projection-object: projection PixelConverter (id=830060753840) + mInverseMatrix (id=830060753992) + mMapMap (id=830060693368) biller MapBiller (id=830060694872) cent

Re: [android-developers] Re: How do I backup my application signing key?

2009-11-18 Thread Mark Murphy
skyhigh wrote: > Is the keystore located somewhere that the file can be easily copied > to back it up and I am just not able to find it? Is no one replying > because this should be obvious and I just can't see how to do it, or > because no one knows how to backup the application signing key. You

[android-developers] Re: Sub Acivity fly-in direction?

2009-11-18 Thread CyberQat
On Nov 18, 10:42 am, Mark Murphy wrote: > CyberQat wrote: > > So, how do apps fly in a new panel when you flick up?  Im sure I have > > apps on my phone that do this... > > They presumably are not using multiple activities. For example, you can > use a ViewFlipper and animations to achieve this

Re: [android-developers] Re: Sub Acivity fly-in direction?

2009-11-18 Thread Mark Murphy
CyberQat wrote: > So, how do apps fly in a new panel when you flick up? Im sure I have > apps on my phone that do this... They presumably are not using multiple activities. For example, you can use a ViewFlipper and animations to achieve this effect. > Are you sure? i have a Droid and its defin

[android-developers] Re: How do I backup my application signing key?

2009-11-18 Thread skyhigh
Is the keystore located somewhere that the file can be easily copied to back it up and I am just not able to find it? Is no one replying because this should be obvious and I just can't see how to do it, or because no one knows how to backup the application signing key. The information that is ava

Re: [android-developers] Re: Is status bar an activity?

2009-11-18 Thread Mark Murphy
Mark Murphy wrote: > pink 444 wrote: >> Because status bar is belong to home screen , > > Your evidence of this is...what, exactly? To be more specific, I see nothing that indicates that the status bar is part of the home screen. It is part of Android, but not necessarily any given activity, such

[android-developers] Re: Sub Acivity fly-in direction?

2009-11-18 Thread CyberQat
To be clear... this question is "How do apps fly in a new panel *from the bottom* when a user flicks up?" > > So, how do apps fly in a new panel when you flick up?  Im sure I have > apps on my phone that do this... > > -- You received this message because you are subscribed to the Google Group

[android-developers] Re: Sub Acivity fly-in direction?

2009-11-18 Thread CyberQat
On Nov 18, 10:01 am, Mark Murphy wrote: > CyberQat wrote: > > Little question Ive been having difficulty finding an answer to. > > > My current app flies ina  sub activity when you flick-up.  problem is, > > it flies in horizontally from the right.  I want it to fly in > > vertically from the bo

Re: [android-developers] Re: Is status bar an activity?

2009-11-18 Thread Mark Murphy
pink 444 wrote: > Because status bar is belong to home screen , Your evidence of this is...what, exactly? -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Consulting/App Development: http://commonsware.com/consulting -- You received this message be

Re: [android-developers] Re: Developing Android Developers in the US

2009-11-18 Thread Mark Murphy
Andrei wrote: > 3-6 days should be more than enough to learn all Android That's unrealistic. I have been developing in, teaching, and writing about Android for nearly two years, and *I* don't know "all Android". Heck, I am going to be spending a chunk of time the rest of this week just to wrap my

[android-developers] Re: problem sending an email with an attachment programmatically

2009-11-18 Thread Jason
I am also having this attachment issue with the Email application. It works perfectly fine with the GMail app, which throwing me for a loop. My code is as follows: Intent sendIntent = new Intent(Intent.ACTION_SEND); sendIntent.putExtra(Intent.EXTRA_STREAM, Uri.fromFile (attachmentFile)); startAc

[android-developers] Re: Is status bar an activity?

2009-11-18 Thread pink 444
Thanks for your replay. I have one more doubt. Even though we are in any activity if we get any notification that is displayed in status bar. That means home screen activity is being updated by some mechanism that may be from broadcast receiver or any service. But that updating is not disturbi

Re: [android-developers] Re: WebView not loading Assets correctly... help?

2009-11-18 Thread Mark Murphy
Jeremy Logan wrote: > Thanks for the suggestion, but if I could alter the HTML I'd just use > absolute URLs instead or relative. Well, by definition, you can alter the HTML. You are packaging it in your app. It's not like it is being downloaded from some server that you cannot touch. -- Mark Mur

[android-developers] Re: "android create project" & ACTIVITY_NAME

2009-11-18 Thread Mark Murphy
Hearing no response, I've taken the liberty of filing this as a bug: http://code.google.com/p/android/issues/detail?id=4889 But if anyone has any thoughts, I'd love to hear them! Mark Murphy wrote: > Once upon a time (Android 1.5 and earlier), when you would create a new > project using the "and

[android-developers] Re: Developing Android Developers in the US

2009-11-18 Thread Andrei
3-6 days should be more than enough to learn all Android On Nov 17, 4:01 pm, GirlRumi wrote: > Hello All, > > I am attempting to reach out to Android Developers who might be able > to answer a fundamental question... what is the best way to identify > Android developers in the US? > > My company

[android-developers] Re: WebView not loading Assets correctly... help?

2009-11-18 Thread Jeremy Logan
Dave, Thanks for the suggestion, but if I could alter the HTML I'd just use absolute URLs instead or relative. Jeremy On Nov 17, 4:31 pm, davemac wrote: > Have you looked into using a tag in your HTML? > > - dave > > On Nov 17, 6:27 pm, Mark Murphy wrote: > > > Jeremy Logan wrote: > > > I ac

[android-developers] Re: Map Application works in 1.5 but not working in 2.0

2009-11-18 Thread Andrei
Mine works fine on 1.6 and 2.0 On Nov 16, 6:48 am, RANJAN BANIK wrote: > Hi All, > > I have a code which works beautifully in the Android 1.5 platform. Now > I have upgrade the platform to the Android 2.0 , but it is not > working . > > The error is - "no activity to handle the intent" > > The co

[android-developers] Setting the ID in a SimpleAdapter

2009-11-18 Thread jax
How do you set the Id attribute for a SimpleAdapter so that when you run onItemClick(AdapterView parent, View view,int position, long id) I will be able to get the id? The data is coming from an XML file. -- You received this message because you are subscribed to the Google Groups "Android Dev

[android-developers] Re: Draw Bitmap on Overlay

2009-11-18 Thread Søren
This is the method for drawing circles: private Canvas drawCircle(Canvas canvas, GeoPoint gp) { Point p = new Point(); _projection.toPixels(gp, p); // Create gradient circle int[] gradientColors = new int[]{Color.BLACK,Color.

[android-developers] Re: Map Application works in 1.5 but not working in 2.0

2009-11-18 Thread Lance Nanek
Is the Maps application on the device you are trying to run this on? On Nov 16, 6:48 am, RANJAN BANIK wrote: > Hi All, > > I have a code which works beautifully in the Android 1.5 platform. Now > I have upgrade the platform to the Android 2.0 , but it is not > working . > > The error is - "no act

[android-developers] Re: Draw Bitmap on Overlay

2009-11-18 Thread Søren
But the toPixels is still wrong. What I'm doing is, I'm drawing lots of circles on a canvas, then I take the bitmap and recolours the circles as one blob. I then want to draw that bitmap to my overlay canvas. I can easily draw, but when I transform my GeoPoint to screenPoints I get the values sta

Re: [android-developers] image to text

2009-11-18 Thread Mark Murphy
Carol Bolger wrote: > Hi, > I would like to convert an image to text. ie take a picture of a > receipt. Could someone point me in the direction of a tutorial or sample > code. You will need to purchase an OCR library, or find something that is free and runs in reasonable speed on Android. -- Mar

[android-developers] Re: Growing pains for Android developers??

2009-11-18 Thread Kieran
Thanks for your comment Dianne. On Nov 17, 3:59 am, Dianne Hackborn wrote: > Sorry no I don't. > > On Mon, Nov 16, 2009 at 7:37 AM, Robert Woodruff wrote: > > > > > > > Dianne, > > > Nice to have response from someone inside Google. > > > Do you know when is 2.0 image available for ADP? > > > On

Re: [android-developers] Sub Acivity fly-in direction?

2009-11-18 Thread Mark Murphy
CyberQat wrote: > Little question Ive been having difficulty finding an answer to. > > My current app flies ina sub activity when you flick-up. problem is, > it flies in horizontally from the right. I want it to fly in > vertically from the bottom to match the flick direction. > > I'm sure thi

[android-developers] /data/misc/wifi/wpa_supplicant.conf access from application

2009-11-18 Thread Francesco
Hello, I'm trying to build a little application in order to help my company's user to connected to the internal wifi network. I know about the android application sandbox and I was wondering if is possible to read/write (by using some permissions) on the/data/misc/ wifi/wpa_supplicant.conf file. An

[android-developers] Android on Beagleboard

2009-11-18 Thread develop
I am looking to develop Android on a beagleboard to provide a TTS solution for a disability app. Having tried the Embinux offering it turns out to be a phone based app expecting a touch screen. I have seen the Android TTS demo and would like to see how it would perform on a BB. Any suggestions and

[android-developers] image to text

2009-11-18 Thread Carol Bolger
Hi, I would like to convert an image to text. ie take a picture of a receipt. Could someone point me in the direction of a tutorial or sample code. Thanks Carol -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send ema

[android-developers] Re: android1.6 source code

2009-11-18 Thread Lance Nanek
http://android.git.kernel.org/ On Nov 17, 11:26 pm, shri wrote: > can anyone please do share the android1.6(donut) kernel source code -- 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@

[android-developers] Sub Acivity fly-in direction?

2009-11-18 Thread CyberQat
Hi Guys, Little question Ive been having difficulty finding an answer to. My current app flies ina sub activity when you flick-up. problem is, it flies in horizontally from the right. I want it to fly in vertically from the bottom to match the flick direction. I'm sure this must be an xml pro

[android-developers] Re: Draw Bitmap on Overlay

2009-11-18 Thread Nithin
Hi, u try like this.. Point p = new Point(); _mapView.getProjection().toPixels(_gp, p); Then, in canvas.drawBitmap(), try like this... canvas.drawBitmap(bmp, p.x, p.y, null); Thanks Nithin On Nov 18, 6:50 pm, Søren wrote: > I think I'm getting there, but it seems like my projection isn't

[android-developers] Re: Eclipse question

2009-11-18 Thread kchoi
I created a Blog for using Eclipse for Android programming, though it's on MacOS X platform but it shall be the same for Windows. I will have successive posting working through small projects as part of my own learning experience. It might be helpful if you just getting started. http://androidde

Re: [android-developers] Is status bar an activity?

2009-11-18 Thread Mark Murphy
pink 444 wrote: >Notifications are displayed in status bar. Yes. > Any thing , which > appears to user in android is an activity. Not everything that the user sees is an activity. The status bar and its contents are not an activity. Toasts are not activities. App widgets are not themselv

[android-developers] Is status bar an activity?

2009-11-18 Thread pink 444
Hi all, Notifications are displayed in status bar.Any thing , which appears to user in android is an activity. Thus can i assume status bar as an activity . Because user can see it. In that case there are always two activities in running mode ,one is home or any user activit

[android-developers] Re: Migrating Google Accounts from 1.x to 2.0

2009-11-18 Thread ubikdroid
My apps use GoogleLoginServiceHelper and as far as I know they work on the Motorola Droid. One user reported an unrelated bug with the Droid to me but did not mention any other issues. On Nov 9, 2:25 am, JP wrote: > Introduced in 2.0, the SDK offers AccountManager to access accounts. > For all wh

[android-developers] Re: Problem running Android jUnit tests on Android project with multiple included auxiliary projects

2009-11-18 Thread Diego Torres Milano
You should create jars for your libraries and include them in project's Properties -> Java Build Path -> Libraries. Hope this helps. -- Have you read my blog ? http://dtmilano.blogspot.com android junit tests ui linux cult thin clients On Nov 18, 6:30 am, emitya wrote: > Hi, > > I have a questio

[android-developers] How Handle Android Default Messaging Application According To Our Requirement

2009-11-18 Thread Gulfam
Hi Everyone, Currently I am doing R&D on an idea for example I have an application "abc" which send sms through my own way . I want to do work like this: When user send sms from Android Default Messaging Application My app Intercept that sms and stop it to send and take user decision to send sms

[android-developers] Re: Draw Bitmap on Overlay

2009-11-18 Thread Søren
I think I'm getting there, but it seems like my projection isn't working. This is my onCreate-method in my MapActivity: public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.map); _mapView = (MapView)findViewB

[android-developers] Re: Get info from mp3 file

2009-11-18 Thread aBx
Aiite...thnx... On Nov 18, 2:59 am, PJ wrote: > Environment.getExternalStorageDirectory() will give you a Java File > object to the directory of your > sdcard:http://developer.android.com/reference/android/os/Environment.html > > Once you can access your mp3 file, extracting mp3 tag info is not

Re: [android-developers] Re: SoundPool problem

2009-11-18 Thread Wayne Wenthin
I may be wrong but I thought I read that the ADC2 was restricted and will not run on 2.0. On Mon, Nov 16, 2009 at 10:28 PM, Doug wrote: > YES YES YES. This is particularly disappointing to me (that mp3 > doesn't work with SoundPool on 2.0). > > I have an entry in ADC2 that relies heavily on mp3

[android-developers] Re: XMPP Services

2009-11-18 Thread Lance Nanek
It's been removed in the latest versions of the SDK and the issue to put it back declined: http://code.google.com/p/android/issues/detail?id=201 It was really great while it was in. I wrote a multiplayer game using it for the first Android Developer Challenge. A player could choose to challenge a

[android-developers] Re: Map Application works in 1.5 but not working in 2.0

2009-11-18 Thread Esmail
RANJAN BANIK wrote: > Hi All, > > I have a code which works beautifully in the Android 1.5 platform. Now > I have upgrade the platform to the Android 2.0 , but it is not > working . hi, has this been confirmed? thanks. -- You received this message because you are subscribed to the Google Grou

[android-developers] Re: Ruby for Android

2009-11-18 Thread Esmail
TCBlues wrote: > Is there any way to develop applications on Ruby for Android? > I was wondering the same for Python, especially given that Python is one of the main languages used by Google. -- You received this message because you are subscribed to the Google Groups "Android Developers" group

Re: [android-developers] Re: abortAnimation on ListView

2009-11-18 Thread Romain Guy
This was an internal issue so there's no link, sorry. On Wed, Nov 18, 2009 at 12:46 AM, Philipp wrote: > I had a similar problem in touch mode. In my case, individual > OnClickListeners for each single convertView caused the problem. They > were created by a custom adapter.  E.g. I had code like

<    1   2   3   >