[android-developers] Re: cannt scroll imageview right and down

2008-05-08 Thread Megha Joshi
Using the code that you provided, I can move the Image in any direction on the screen. So its working as you expected, isn't it? On Wed, May 7, 2008 at 5:53 PM, Chenguo [EMAIL PROTECTED] wrote: hi,everyone! I add onTouchEvent method to ImageSwitcher of API Demo, and i'd like to scroll the

[android-developers] Re: Prevent phone from ringing?

2008-05-08 Thread Megha Joshi
It is not possible to intercept an incoming call in this manner in the current release of the SDK. -Megha On Wed, May 7, 2008 at 8:56 PM, Trey Ethridge [EMAIL PROTECTED] wrote: Let's say that I want to send a caller straight to voicemail if I'm watching my favorite movie. Is it possible to

[android-developers] does clipping an image work?

2008-05-08 Thread stefoid
Example code below is my attempt to clip an ImageView with a non- rectangular shape. It doesnt work, I see the full rectangle. Obviously I am misunderstanding some basic thing about the way android graphics works. any help appreciated. also another question - why dont I have to call

[android-developers] Using ServerSocket on emulator

2008-05-08 Thread Gibson
Hi all, I got a problem about using ServerSocket on emulator. I just try to set up a ServerSocket on emulator and create a client on Windows to connect to the server on Emulator. I tried adb forward the port and also redir the port. But all failed. Anyone has succeeded doing this? Any piece

[android-developers] Re: Prevent phone from ringing?

2008-05-08 Thread seandsky
In current phone platform design(not only android), incoming call almost has the highest priority in all user applications. Block your movie player and back it again after voice call was ended is more reasonable. If you want watching your movie and don't want to accept this call, you can just

[android-developers] Re: MapView in a TabSpec

2008-05-08 Thread WildLuka
great mind sharing ? On May 8, 1:47 am, Hielko [EMAIL PROTECTED] wrote: We have an activity inside a tabview with a map without problems... On 7 mei, 23:00, Mark Murphy [EMAIL PROTECTED] wrote: WildLuka wrote: If I substitute the Intent with a LinearLayout, just as for tab1, the

[android-developers] THE PSYCHODROID

2008-05-08 Thread Muthu Ramadoss
* THE PSYCHODROID * MAY 09 2008. EXT. MARY'S OFFICE - (DAY) The Phone rings. Mary picks up the phone and listens. We see Mary's face lighting up. Mary couldn't stop grinning. She had heard some great news. She throws in some kisses on the phone, pumps her fist and looks for something in her

[android-developers] Re: Using ServerSocket on emulator

2008-05-08 Thread Digit
your server is listening on the local port, which can only be connected to by processes running within the emulator. you should really make your server listen to any port, or 10.0.2.15 which is the real network interface in the emulator (note that this last address will not work on real devices

[android-developers] About Reading and displaying content of text file

2008-05-08 Thread Analdin Judy
Hi, Can anybody please give me the code for Reading and displaying content of text file -- Thanks Regards Analdin Judy.M InfoWave Knowledgeware. Beyond Multimedia Chennai | INDIA M: +91.98416.64705 www.i-waves.com The information contained in this e-mail (including any attachments)

[android-developers] Re: Prevent phone from ringing?

2008-05-08 Thread condor
I had the same need but i didn't find how to intercept the phone call before ringing. Secopnd need, once you have intercepted the phone call you can anlize the phone number but how to communicate with the caller and so implement a answering machine, I look for library in the SDK and I din't find

[android-developers] Re: Story about interesting Android apps

2008-05-08 Thread tberthel
I'm interested. http://allbinary.axspace.com/ [EMAIL PROTECTED] On May 6, 1:12 pm, Vasanth Sridharan [EMAIL PROTECTED] wrote: Hello, My name is Vas and I am a reporter for Silicon Alley Insider (www.alleyinsider.com), a tech news site based out of NYC. I am trying to put together a story

[android-developers] Re: MapView in a TabSpec

2008-05-08 Thread WildLuka
I have already tried it, with no joy. I get error inflating class, an InflateException. instances of MapView can only occur in MapActivity's ... On May 8, 11:38 am, zero [EMAIL PROTECTED] wrote: yeah, i did that without problems, too. don't have the code anymore, because i wanted the tab

[android-developers] Re: Using ServerSocket on emulator

2008-05-08 Thread ken
Please refer to this thread, it can work. http://groups.google.com/group/android-developers/browse_thread/thread/16f5948d7bf2e1a5/c53c2c1a4a1c4a5f?hl=enlnk=gstq=ServerSocket#c53c2c1a4a1c4a5f On May 8, 4:05 pm, Gibson [EMAIL PROTECTED] wrote: Hi all, I got a problem about using

[android-developers] Re: Prevent phone from ringing?

2008-05-08 Thread [EMAIL PROTECTED]
A utility I wanted to make, but found unsupported by the current SDK, was location based ring tones. A primary use model is to go to silent mode whenever in concert/recital hall church or fishing. A secondary use model is to adjust the sound type or volume to make sure the tone could always be

[android-developers] Looking for great starting points towards developing i-browser

2008-05-08 Thread neo beyond the matrix
hi all, In google android web browser, I want to have a button for users to send info on websites they’re browsing to a database. I’m a beginner in developing android-based apps, but I understand that I could: (1) modify google android web browser by adding a button for users to interact (2)

[android-developers] Can anybody explain collision between resources?

2008-05-08 Thread vitvikt
Hi,all! Can anybody explain collision between resources? I paced my application A and used it as pacage in application B. Application A - package aaa.AAA: public class NN extends ForAll ... public class ForAll extends Activity ... R.java of application A. Application B - package bbb.BBB: import

[android-developers] Re: MapView in a TabSpec

2008-05-08 Thread Hielko
Yeah, but that's no problem: you can simply display an activity inside a tabview. That's also how we have implemented our mapview with tabs. On May 8, 1:52 pm, WildLuka [EMAIL PROTECTED] wrote: I have already tried it, with no joy.  I get error inflating class, an InflateException. instances

[android-developers] Re: How to initiate call

2008-05-08 Thread Charlie Collins
Check out the documentation more, and look at the samples that come with the SDK. There are several ways to initiate a phone call, the easiest is to use the correct Intent: http://code.google.com/android/reference/available-intents.html There is also phone.dial() (on the IPhone interface), but

[android-developers] Re: About Reading and displaying content of text file

2008-05-08 Thread Charlie Collins
Sorry, can't reply to your message based on your disclaimer, your query wasn't addressed to me as a named individual (nor to anyone in particular on a public list like this). ;) http://attrition.org/security/rants/z/disclaimers.html On May 8, 5:42 am, Analdin Judy [EMAIL PROTECTED] wrote:

[android-developers] Re: Performance Metrics

2008-05-08 Thread MoD
Thank You --~--~-~--~~~---~--~~ 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

[android-developers] getting a user’s portion of w eb browser screen

2008-05-08 Thread david at seven
I want to access both current user’s url, and portion of the screen that is currently being displayed at android web browser. thanks, david --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Re: retrieving a user’s geogr aphical location

2008-05-08 Thread Sahil R Cooner
googles map software for phones uses 3 towers to triangulate. why don't you try that? ruben wrote: In android, I'd like to obtain user’s geographical location, as well as current time. I wonder if there is any variable, class, etc. to do so thanks, ruben -- Sahil R. Cooner

[android-developers] Re: Static variables or variables, saved in Bundle?

2008-05-08 Thread vitvikt
Thank's for all. I read all about lifecycle, but it didn't help me :). In my application I read big file to static array. Now it is sufficient to read this file only one time. Snake example from SDK examples uses specific tecnic to save data. It do it in onFreeze(), and restore - in onCreate().

[android-developers] Re: MapView in a TabSpec

2008-05-08 Thread WildLuka
a TabView ? I am aware of a TabSpec. i couldn't find it in the documenation. can you show how ? On May 8, 2:50 pm, Hielko [EMAIL PROTECTED] wrote: Yeah, but that's no problem: you can simply display an activity inside a tabview. That's also how we have implemented our mapview with tabs. On

[android-developers] using mysql

2008-05-08 Thread neo beyond the matrix
I want to access a mysql database from android –sending/receiving data great answers welcome :) neo --~--~-~--~~~---~--~~ 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] adding a button to android web browser

2008-05-08 Thread neo beyond the matrix
I'd like to to add a button to android web browser for running my own code. points of departure for doing so welcome :) neo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] retrieving a user’s geographi cal location

2008-05-08 Thread ruben
In android, I'd like to obtain user’s geographical location, as well as current time. I wonder if there is any variable, class, etc. to do so thanks, ruben --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: retrieving a user’s geogr aphical location

2008-05-08 Thread ruben
well, what I need is to add this info (location, time) as part of a bigger piece of code –in other words, I want to see/read location and time from my android-based code. ruben On May 8, 4:07 pm, Sahil R Cooner [EMAIL PROTECTED] wrote: googles map software for phones uses 3 towers to

[android-developers] Re: retrieving a user’s geogr aphical location

2008-05-08 Thread fernan.do
Android makes it really easy to get the current location and time. Getting the time (presumably if you are trying to get this to production you would like to get the current time of the system) so you would do something like (Google recommends using the GregorianCalendar object in Java):

[android-developers] FastForwarding time!

2008-05-08 Thread fernan.do
Hi Everyone! Does anyone know of a way to have clock emulator go faster. What I mean by that is that have the emulator clock (or rather the clock for the system) go faster than regular time. So that for example what the emulator and system perceive as one minute is actually one second in real

[android-developers] Re: Static variables or variables, saved in Bundle?

2008-05-08 Thread mmurphy
Thank's for all. I read all about lifecycle, but it didn't help me :). In my application I read big file to static array. You probably don't want to do that. Bear in mind that Android devices will have very little RAM for running programs, compared to your average desktop or notebook PC. Use

[android-developers] Re: using mysql

2008-05-08 Thread vinh2b
I think you can't do it :) The leading company of mobile map solution www.pydod.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: retrieving a user’s geogr aphical location

2008-05-08 Thread Sahil R Cooner
thank you that was actually very helpful information. fernan.do wrote: Android makes it really easy to get the current location and time. Getting the time (presumably if you are trying to get this to production you would like to get the current time of the system) so you would do something

[android-developers] Re: Anyone know how to get Android up and running on a Motorola L2

2008-05-08 Thread vinh2b
Currently, we have no an existing device to install android software Mr.Vinh Nguyen Van Senior Developer The leading company of mobile map solution E-mail: [EMAIL PROTECTED] Website: www.pydod.com --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: How to display these String?

2008-05-08 Thread vinh2b
I think to display Chinese name you must use UTF-16 encoding. TextView uses UTF-8 therefore you can not display correctly. I am not sure Android supports UTF-16, see docs for more details. Mr.Vinh Nguyen Van Senior Developer The leading company of mobile map solution E-mail: [EMAIL PROTECTED]

[android-developers] Re: Compiling and Installing Androin in Pocket PC

2008-05-08 Thread vinh2b
Currently there is no an existing device to install Android software therefore you can't. Mr.Vinh Nguyen Van Senior Developer The leading company of mobile map solution E-mail: [EMAIL PROTECTED] Website: www.pydod.com --~--~-~--~~~---~--~~ You received this

[android-developers] chat client

2008-05-08 Thread Sahil R Cooner
Is anyone trying to write a chat client for this platform yet? I was going to start implementing the OSCAR/IRC/XMPP protocol for this platform ? -- Sahil R. Cooner Programmer Analyst Global Geophysical Services Inc. 3535 Briarpark Drive Suite 200 Houston, Texas 77042 Office - 713-972-9200 ext

[android-developers] OSCAR/XMPP/IRC chat client

2008-05-08 Thread neuro_damage
Has anyone started implementing a chat client for the Android platform. I have started implementing libraries that conform to IRC/XMPP protocols for chat with clients like Gtalk and OSCAR. Has anyone started doing this? --~--~-~--~~~---~--~~ You received this

[android-developers] Re: using mysql

2008-05-08 Thread Dan U.
Use a web service between your client and your database. On May 8, 6:59 am, neo beyond the matrix [EMAIL PROTECTED] wrote: I want to access a mysql database from android –sending/receiving data great answers welcome :) neo --~--~-~--~~~---~--~~ You received

[android-developers] Run two android instances on the same host and comunicate betwen them using socket

2008-05-08 Thread Oskeol
Hi everybody, I'm new at Android, so please be patient if my questions are too simple. I would like to run two (or more) android instances of the emulator on the same host (windows vista), and comunicate between them using Sockets. Can anybody describe in detail, the passes i should take?

[android-developers] Its a Zoooooommmm MDK (ZoomMDK)

2008-05-08 Thread plusminus
Hey guys, maybe I've got something interesting for you ;D Someone sent me a ZoomMDK as a present (doesn't want to be named), which is a generic Hardware platform, which is officially able to run Android. TI is the big one behind. Tomorrow I'll get it from my local customs and start reviewing it

[android-developers] Android unit testing

2008-05-08 Thread versus
Hi all, I'm interested in the current solutions for Android to address the following requirements: - Unit testing for building blocks (activities, content providers, services...) - Integration of unit tests into the project build (maybe through dx -- junit if it works...) - Integration tests I

[android-developers] ViewFlippers in a ListView

2008-05-08 Thread Youri
Hi, I would like to use a ViewFlipper for each of my rows in a ListView. The purpose is to animated the row when the row is selected. I have managed to do this with but ... When scrolling or moving quickly with the pad in the list, the rows seems to blink... like if they were redrawed. This

[android-developers] Re: Story about interesting Android apps

2008-05-08 Thread CaptainFanatic
Hi Vas, My project Bites is a recipe and ingredients organiser for household cooks. The project homepage is at http://bites-android.googlecode.com/ Bites creates relationships between your recipes, ingredients you have in the cupboard and and meals you plan to make. This data is used to

[android-developers] Re: does clipping an image work?

2008-05-08 Thread stefoid
OK, I think I understand whats going on - an ImageView displays the image by:view.setBackground(imageyouwanttosee); this is not want I would want or expect, for precisely the reason that my clipping does not affect it. its lazy in my opinion. If I want to display a view with an image as a

[android-developers] Re: does clipping an image work?

2008-05-08 Thread stefoid
OK, it does work, disregard this babble. My bad. On May 9, 10:55 am, stefoid [EMAIL PROTECTED] wrote: OK, I think I understand whats going on - an ImageView displays the image by:view.setBackground(imageyouwanttosee); this is not want I would want or expect, for precisely the reason

[android-developers] How to preserve view's animation result?

2008-05-08 Thread Anthony
Hi All, I have see this thread as below, but not same as my question: http://groups.google.com/group/android-developers/browse_thread/thread/74667a36a4537f0/739efddf290dd23e?lnk=gstq=animation#739efddf290dd23e In my scenario, there are several views, I want to make them run animation then

[android-developers] Re: Static variables or variables, saved in Bundle?

2008-05-08 Thread Bruno Sauer
well yes, setting a breakpoint in onResume() is easy enough. But the problem is, you'll be sitting there waiting for the breakpoint to fire until the cows come home. And the cows will never come home unless Android has some external activity to attend to that will cause it to preempt, and

[android-developers] Re: Static variables or variables, saved in Bundle?

2008-05-08 Thread wave connexion(BQ)
click BACK causes onPause() called, click HOME causes onFreeze() called and onPause(), click your app again in HOME screen should cause onCreate() and/or onResume() called. The last one I dont remember whether it is the case, can you try and report here? On Fri, May 9, 2008 at 12:54 PM, Bruno