[android-developers] How to get stream of Audio

2009-08-24 Thread tommylion
Hi all, I used Class MediaRecorder to play mp3 file, the source like this: -- MediaRecorder recorder = new MediaRecorder(); recorder.setAudioSource(MediaRecorder.AudioSource.MIC);

[android-developers] outgoing call data stream / channel

2009-08-24 Thread slenzi
Is it possible to get a handle on the outgoing data (voice) stream during a call? I'd like to be able to intercept the outgoing data, alter it slightly, then write it back out. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: Can an end user disable 2G data, or GSM function?

2009-08-24 Thread Shawn Brown
Is there enough control in the SDK to pursue writing an app with a control screen like: [x] Enable Voice (GSM) [ ] Enable 2G Data [ ] Enable 3G Data (uses more battery than 2G) [ ] Enable Data When Roaming (may result in extra charges) [x] Enable WiFi [x] Enable WiFi even if device is

[android-developers] Re: Connecting multiple phones

2009-08-24 Thread Roman ( T-Mobile USA)
Without any framework/platform changes you cannot do this right now. - Bluetooth is right now not supported on SDK level - Wifi only has infrastructure support (no ad-hoc support) on SDK level If you want to connect over an AP, this works fine but I assume that you try to setup up a P2P

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-24 Thread sheik
been waiting for this for a long while...thanks its finally out.. On Aug 24, 9:57 pm, David McLaughlin (Android Advocate) d...@google.com wrote: The submission site for ADC 2 is now live! For full details, see our blog post:

[android-developers] Still no ADC2 submission site (?)

2009-08-24 Thread Ilya Shinkarenko
Hi all, sorry to open this thread again, but there is still no submission site for ADC2 :-( Anybody can give some comments? I am going on a vacation next week and it would be really stupid if I wouldn't be able to commit the results of last months hard job... Greetz Ilya

[android-developers] Some questions about running HelloWorld?

2009-08-24 Thread Chauncey Chen
I have developed a HelloWorld application in Eclipse 3.4. When I ran it, I came accross a problems. The emulator managed to lunch, but its CPU occupying rate was staying 100%. It kept some minutes as only Android _ with black background in the screen. Are there somebody tell me why and how to

[android-developers] WifiInfo object contains out of date info

2009-08-24 Thread David Horn
I'm trying to check if there's a connected Wifi connection on the HTC Hero. However, the WifiInfo object is reporting a connection (including SSID and MAC address) even when WiFi is turned off. public boolean isHighSpeedConnection() { TelephonyManager telMan =

[android-developers] Re: catching out of memory errors

2009-08-24 Thread fadden
On Aug 23, 10:07 am, Streets Of Boston flyingdutc...@gmail.com wrote: In general, it's no good catching Errors. But I'm using this particular error to see if i have enough memory for creating a full- sized bitmap (no other way of doing this). If not, i catch the outofmemoryerror and will use

[android-developers] Re: EMMA Code coverage and JUnit

2009-08-24 Thread Maya
Thanks Gabor, indeed it's a very useful information. Am getting an error while building the project, it says: make: *** [out/host/linux-x86/obj/EXECUTABLES/emulator_intermediates/ android/skin/window.o] Error 1 seems some problem with emulator skin. Have you faced this, or else can you let me

[android-developers] Re: adc2 submission site

2009-08-24 Thread euclid
is it the case that to join the contest we need to publish our apps on the market before 31st Aug? --~--~-~--~~~---~--~~ 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] How to use motion events with multiple layouts

2009-08-24 Thread andr0id
Hi everyone, I'm beginning in android development, and I've stumbled upon a problem. My application has different layouts stored in xml files, and I use motion events such as onFling or onSingleTapup. These motion events seem to apply whatever layout i'm in. My problem is simply identifying

[android-developers] My emluator is occupying 100% CPU, Why?

2009-08-24 Thread Chauncey Chen
Hi All, My emluator is occupying 100% CPU. I am a fresh man and just now created a HelloWorld in Eclipse. When I ran it as an Android application, after a while, it keep 100% occupying some minutes and only the text Android_ with black background in the emluator. My OS is Windows XP and Eclipse

[android-developers] G1 as Dev Phone replacement

2009-08-24 Thread Dave Smith
Hi all - I'm needing to get my hands on an unlocked device for some development work, and I noticed that the ADP1 is supposedly out of stock until (maybe) early next month. I know someone who is wanting to get rid of their T-Mobile G1, and I'm curious if anyone out there has had experience

[android-developers] How to get stream of Audio

2009-08-24 Thread tommylion
Hi all, I used Class MediaRecorder to play mp3 file, the source like this: -- MediaRecorder recorder = new MediaRecorder(); recorder.setAudioSource(MediaRecorder.AudioSource.MIC);

[android-developers] Re: disable HOME key and right soft key

2009-08-24 Thread Dianne Hackborn
Fyi-- this setting is left over from decisions about the behavior we wanted for 1.0, and is no longer used. Don't count on any of the settings doing what they say, or any of this staying around in the future. (I realize this got left in the public SDK. Ooops. It shouldn't have been.) On Sun,

[android-developers] Android Developers

2009-08-24 Thread sathya
The second Android Developer Challenge has begun! In this contest, real-world users will help review and score applications and the overall winner will take ... developer.android.com/ Android Developers. Discuss developing Android applications using the Android framework. Get help with

[android-developers] Re: My emulator is running 100% CPU, it's annoying..

2009-08-24 Thread Chauncey Chen
Mine is also occupying 100% CPU. I am a fresh man and just now created a HelloWorld in Eclipse. When I ran it as an Android application, after a while, it keep 100% occupying some minutes and only the text Android_ with black background in the emluator. My OS is Windows XP and Eclipse is 3.4. I

[android-developers] android Hello mapview

2009-08-24 Thread sweet
Hello i'm new in the android developpement and i've tested the tutorial Hello mapview (at the URL:http://developer.android.com/ guide/tutorials/views/hello-mapview.html) but i'm stopped in the step 8. I don't understand how to retrieve the ZoomControls object from the MapView and add it to my new

[android-developers] Re: Lossless rotation of a jpeg image in Android (without fully decoding the image). How to?

2009-08-24 Thread Dianne Hackborn
You'd need to compile the code into your app and call it with JNI. On Sat, Aug 22, 2009 at 11:48 PM, RaulHK raulabr...@gmail.com wrote: Hello, I would appreciate to hear from you what would be the available options in Android to perform a lossless jpeg rotation of a jpeg image -

[android-developers] ADC Submission Site

2009-08-24 Thread Bagpiper
Hi All, Any updates on the submission site? Or is finding the submission site part of the challenge itself :) ? M --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] File created with MODE_WORLD_WRITABLE mode could be accessed directly, but not through content provider.

2009-08-24 Thread Zhang Yi
Hi guys, The Android SDK says that the only way to share data across applications is to use content providers. But I found that the file created with the MODE_WORLD_WRITABLE mode could be accessed directly by other applications, but not through content provider. I wrote a application

[android-developers] Re: outgoing call data stream / channel

2009-08-24 Thread Dianne Hackborn
The current Android hardware I know of does not support this. On Sat, Aug 22, 2009 at 7:11 AM, slenzi sle...@gmail.com wrote: Is it possible to get a handle on the outgoing data (voice) stream during a call? I'd like to be able to intercept the outgoing data, alter it slightly, then write it

[android-developers] Emulator -dpi-device option is not work.

2009-08-24 Thread Daisong
I've launched emulator with -dpi-device option. But any icon size is not changed. Is there other options I must apply? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-24 Thread Mark Murphy
The submission site for ADC 2 is now live! For full details, see our blog post: http://android-developers.blogspot.com/2009/08/android-developer-challenge-2-open-for.html Great! I am concerned about the following quote from that blog post: As a final note, if you've uploaded a version of

[android-developers] Re: ListView touch problem

2009-08-24 Thread Rimma Sukhovsky
thanks alot! TouchDelegate looks like a good direction! On Mon, Aug 24, 2009 at 6:16 PM, manigault manig...@gmail.com wrote: Maybe this will help you http://stackoverflow.com/questions/500264/android-multiple-actions-on-a-list-view-focus-issue On Jul 30, 5:26 pm, legerb drim...@gmail.com

[android-developers] Re: EMMA Code coverage and JUnit

2009-08-24 Thread Mayank Gupta
has anyone stuck with the problem on android OS not booting while launching emulator showing error that can not specify non '.' in your classpath, unable to launch dalvikvm On Aug 20, 6:08 pm, Gabor gabor.andr...@googlemail.com wrote: Hi All, Finally, the emmacodecoveragemeasurement is

[android-developers] How to write the contacts with Chinese name into sim contact?

2009-08-24 Thread wood
I tried to write the contacts with a Chinese name into the sim contact. It seems to be success. But when I shut down the phone and restart it, all the Chinese names read from sim contact become blank while all phone numbers are exactly correct. How to write the contact with a Chinese name into

[android-developers] Re: Emulator -dpi-device option is not work.

2009-08-24 Thread Romain Guy
This will be supported in Donut. On Fri, Aug 21, 2009 at 10:05 PM, Daisongxfile1...@gmail.com wrote: I've launched emulator with -dpi-device option. But any icon size is not changed. Is there other options I must apply? -- Romain Guy Android framework engineer romain...@android.com

[android-developers] Re: Best/safest place to do cleanups(e.g. connection release) at Application level

2009-08-24 Thread Vikas
Experts!!! Any ideas. On Aug 24, 9:36 am, Vikas vik...@hotmail.com wrote: Hi, What is the best/safest place to do cleanups at application level? I am creating a single instance of DefaultHttpClient when the application starts up. Rest of the activities will be ustilizing same instance of

[android-developers] Re: Connecting multiple phones

2009-08-24 Thread Yusuf Saib (T-Mobile USA)
There are two ways to do this: 1) have the phones running your app sign in to a central server with their location, and the server informs the phones of each other. Then they can contact each other however you like. One problem is that 50m is a small radius for the phone's ability to detect its

[android-developers] Re: Jdbc driver problem

2009-08-24 Thread Mark Murphy
Like object i have some problem with jdbc driver. Android does not include JDBC. I wanna connect to a database server (postgresql) without write some php script server side to comunicate with client (android mobile phone) Write a Web service in PHP and connect to that Web service from

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-24 Thread Dan Morrill
This site is using the same infrastructure as the Android Market and shares a unified namespace, primarily to avoid squatting issues. That is, we want to make sure that if a developer submits an app via ADC2 that an evil third party could not come along and put an app with the same package up on

[android-developers] Re: ADC2

2009-08-24 Thread sheik
check this out .. http://android-developers.blogspot.com/2009/08/android-developer-challenge-2-open-for.html final confirmation from .. http://groups.google.com/group/android-developers/browse_thread/thread/2b0f224a326daf04 On Aug 24, 5:42 am, D.Garcia kfgo...@gmail.com wrote: Hi all, Any

[android-developers] Re: android widgets on WVGA

2009-08-24 Thread Jeff Sharkey
Launcher uses a specific number of cells, and doesn't allocate more cells when the screen becomes larger: http://android.git.kernel.org/?p=platform/packages/apps/Launcher.git;a=blob;f=res/layout-port/workspace_screen.xml;hb=cupcake In particular, the number of short and long axis are identical

[android-developers] Re: android 1.5 to google maps API

2009-08-24 Thread Honest
it is displaying java.lang.VerifyError as exception in logcat. On Aug 24, 8:07 pm, Jack Ha jack...@t-mobile.com wrote: Can you post the logcat exception stack track here? -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-24 Thread David McLaughlin (Android Advocate)
So...will ADC2 apps be used by people outside of ADC2 judging? No, apps will be removed from the device after the judging period is over. If developers want to, they may release their app into the standard Market, but that will be the only version they will need to support. Thanks, David

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-24 Thread Peli
Does this mean we should choose a unique package name for ADC2? Would this be recommended? (e.g. can we continue to use the package name after ADC2 is over, or do we have to choose a new package name if we switch back to Market?) E.g. if in the long run, we would like to use com.myapp, then for

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-24 Thread JP
You beat me to it. On Aug 24, 11:10 am, Peli peli0...@googlemail.com wrote: Does this mean we should choose a unique package name for ADC2? Would this be recommended? (e.g. can we continue to use the package name after ADC2 is over, or do we have to choose a new package name if we switch

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-24 Thread Dan Morrill
Not only should you, you will have to. You won't be able to upload an app with a conflicting package name. Adding a .adc2 sub-package sounds perfectly reasonable to me, though what you name it is up to you. - Dan On Mon, Aug 24, 2009 at 11:10 AM, Peli peli0...@googlemail.com wrote: Does this

[android-developers] Re: android 1.5 to google maps API

2009-08-24 Thread Fred Grott(shareme)
Your uses-library is in the wrong location see my copy: ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=com.mobilebytes.mymapview android:versionCode=1 android:versionName=1.0 uses-permission

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-24 Thread Mark Murphy
So...will ADC2 apps be used by people outside of ADC2 judging? No, apps will be removed from the device after the judging period is over. If developers want to, they may release their app into the standard Market, but that will be the only version they will need to support. Ah, good.

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-24 Thread Dan Morrill
Ah yes, I misunderstood the question. I guess I had the other topic on my mind. ;) - Dan On Mon, Aug 24, 2009 at 10:59 AM, Mark Murphy mmur...@commonsware.comwrote: This site is using the same infrastructure as the Android Market and shares a unified namespace, primarily to avoid

[android-developers] Re: catching out of memory errors

2009-08-24 Thread Streets Of Boston
That would be indeed be possible. But, in my app's case, unlikely. :-) On Aug 24, 1:03 pm, fadden fad...@android.com wrote: On Aug 23, 10:07 am, Streets Of Boston flyingdutc...@gmail.com wrote: In general, it's no good catching Errors. But I'm using this particular error to see if i have

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-24 Thread Ehab Bassilli
Hello, I have a question. I published my app on the android market to get feedback and see the product mature. Now we have a new release that is different in user interface. Am I allowed to publish the new release for the adc2? Thanks for any info you can provide. Ideally someone from google

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-24 Thread JP
OK - so do I understand correctly that an app that has not been published on Android Market so far, can carry that name over to the public market once the ADC2 is over? On Aug 24, 10:48 am, Dan Morrill morri...@google.com wrote: This site is using the same infrastructure as the Android Market

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-24 Thread JP
I checked the Market for the judging app. When is that coming out? Is there going to be an overlap between the end of the submission period, and judging as suggested? It still says late August re: the availability of the judging app. On Aug 24, 9:57 am, David McLaughlin (Android Advocate)

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-24 Thread David McLaughlin (Android Advocate)
Hi, Per the official ADC2 website, The ADC 2 contest is open only to applications that have not been made publicly available through the Android Market prior to August 1, 2009. Thus, you may publish your new release to the Market and submit to the ADC2, provided of course that you had not

[android-developers] Re: File created with MODE_WORLD_WRITABLE mode could be accessed directly, but not through content provider.

2009-08-24 Thread Dianne Hackborn
What do you mean a problem? You explicitly created a file that was world writeable, and so others can write it. That is the intended behavior. That said, I would strongly encourage you not to use world writeable, since by definition that turns off any security for that file. Anyone can write

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-24 Thread Peli
Thanks for the info! Peli On 24 Aug., 20:14, Dan Morrill morri...@google.com wrote: Not only should you, you will have to. You won't be able to upload an app with a conflicting package name. Adding a .adc2 sub-package sounds perfectly reasonable to me, though what you name it is up to you.

[android-developers] Re: SurfaceView to slow for games? OpenGL necessary to do games?

2009-08-24 Thread TjerkW
The SpriteMethodTest application shows the benefits of opengl, the main benefit is: If you have a lot of sprites / a lot of things happening at the same time it is better to use opengl. I am porting my game to opengl now. It was too slow on only the Canvas (30+ things moving at the same time)

[android-developers] Re: WifiInfo object contains out of date info

2009-08-24 Thread Roman ( T-Mobile USA)
Dave, I noticed the same that the wifi connection manager returns wifi connection information also if you are not registered on wifi anymore. It might be that the API description is not correct (or the implementation ). If you use the API

[android-developers] pass data to new activity

2009-08-24 Thread Honest
I have two activity in my project. I am callilng second activity from main activity. can some one tell me how can i pass some data to that activity ? Simply i want to pass object array. Can some one tell me how can i do it ? --~--~-~--~~~---~--~~ You received this

[android-developers] Turn off GPF for Google Map programmatically

2009-08-24 Thread Wenzhong
Hi, I am writing an Android application that invokes the built-in Google Map using Intent. My code looks like: Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(geo: 47.545992,-122.059613?zoom=15)); startActivity(intent); When Google Map starts, however, GPS is on all

[android-developers] Re: ADC Submission Site

2009-08-24 Thread phillip
http://android-developers.blogspot.com/2009/08/android-developer-challenge-2-open-for.html On Aug 24, 8:23 am, Bagpiper the.bagpi...@gmail.com wrote: Hi All, Any updates on the submission site? Or is finding the submission site part of the challenge itself :) ? M

[android-developers] App shutdown during package reinstall

2009-08-24 Thread DaveG
I'm working on the upgrade process for an Android app and am having a hard time ensuring a graceful shutdown of the old version. Can someone explain how the old version of the app is killed and if there is anything we can do to hook into the process? In more detail: We notice that a new version

[android-developers] Re: SurfaceView to slow for games? OpenGL necessary to do games?

2009-08-24 Thread Dan Sherman
We're having the same issues in some of our games. Unfortunately running into issues drawing dynamic text in OpenGL, any chance you'd care to share your solution for that? (if you have one that is) - Dan On Mon, Aug 24, 2009 at 2:39 PM, TjerkW tje...@gmail.com wrote: The SpriteMethodTest

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-24 Thread Ehab Bassilli
Ok, thanks david. But what if the release after 1st august had new and different features? On Aug 24, 2009 7:44 PM, David McLaughlin (Android Advocate) d...@google.com wrote: Hi, Per the official ADC2 website, The ADC 2 contest is open only to applications that have not been made publicly

[android-developers] Re: pass data to new activity

2009-08-24 Thread Hong
array/list of Parcelables via intent data bundle On Mon, Aug 24, 2009 at 3:16 PM, Honest honestsucc...@gmail.com wrote: I have two activity in my project. I am callilng second activity from main activity. can some one tell me how can i pass some data to that activity ? Simply i want to pass

[android-developers] Re: Live video delivery

2009-08-24 Thread Dan Foss
I am keenly interested in this as well. I am trying to help out my church who is streaming services using m3u8 format to iPhones (http:// www.calvaryccm.com/iphone/) and I would LOVE to help them get this working with the G1 and other android OS phones to come down the pike. Any advice or

[android-developers] desktop link to Android SDK's screen capture function

2009-08-24 Thread slavix
Hello, I would like to create a shortcut link to screen capturing of my android on the desktop, so I can do it faster, without having to open Eclipse. Any ideas? thanks, Slava --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: App shutdown during package reinstall

2009-08-24 Thread Hong
If you do: adb uninstall your.package.name.mainactivity, do you ever get any crash/error etc? If not, the upgrade/installation process will uninstall your app cleanly. If onDestroy() is never called, try to do things in onStop(). I would assume onDestroy() will be called during un-installation

[android-developers] Multi Touch keyboard for Android

2009-08-24 Thread FrogPad
http://www.youtube.com/watch?v=t8AiUmueD0Y SoftFrog, (FrogPad) is now on N-Trig Dell Tablets, Soon to be on Android for multi touch and also being developed for Single touch. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] server over 3g

2009-08-24 Thread Andrei
Sorry if this repeats I do not have data plan with G1. With 3g is it possible to run server on the phone? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: server over 3g

2009-08-24 Thread Dan Sherman
You can definitely run a server. But the likelyhood of someone being able to connect to it through the network is unlikely due to networking restrictions (NAT, etc) - Dan On Mon, Aug 24, 2009 at 4:40 PM, Andrei gml...@gmail.com wrote: Sorry if this repeats I do not have data plan with G1.

[android-developers] Re: android Hello mapview

2009-08-24 Thread Jack Ha
Just continue to follow step 9 and 10. Step 8 is just for declaring the necessary variables. -- Jack Ha Open Source Development Center ・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

[android-developers] Re: How to look up position in spinner from string array?

2009-08-24 Thread Jack Ha
Can you just save the position instead? -- Jack Ha Open Source Development Center ・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 those of T-Mobile USA, Inc. On Aug 24,

[android-developers] Re: How to look up position in spinner from string array?

2009-08-24 Thread Fabian Sturm
Hi! Am Montag, den 24.08.2009, 13:40 -0700 schrieb Jack Ha: Can you just save the position instead? Yes I could but the next time the app gets loaded the array might contain new entries. Therefore the position will no longer reflect the correct entry, e.g. after an app upgrade. Therefore I am

[android-developers] Spinner and cursor adapter

2009-08-24 Thread Federico Paolinelli
Hi all, I successfully binded a spinner widget to a simple cursor adapter, but I started having problems when I tried to add a new item to the table which feeds the spinner by clicking an add new item button. The idea was to launch a new activity which returns the rowid of the just added element,

[android-developers] Re: pass data to new activity

2009-08-24 Thread Federico Paolinelli
On 24 Ago, 23:10, Honest honestsucc...@gmail.com wrote: can you give me code snippt for how to use Intanet data bundle ? try to look at the notepad example in http://developer.android.com/guide/tutorials/notepad/index.html Federico --~--~-~--~~~---~--~~ You

[android-developers] Android. Issue with smooth Animation transition during animation switch

2009-08-24 Thread LD
Hi, I will describe briefly what I am currently trying to implement: I have a number of cards (for example 8); I am trying to do shuffle using Translate Animation. But in the shuffle process I am experiencing UI issue. I will describe what kind of issue I have: card B is moved to new position

[android-developers] Re: pass data to new activity

2009-08-24 Thread Honest
can you give me code snippt for how to use Intanet data bundle ? On Aug 25, 12:35 am, Hong lordh...@gmail.com wrote: array/list of Parcelables via intent data bundle On Mon, Aug 24, 2009 at 3:16 PM, Honest honestsucc...@gmail.com wrote: I have two activity in my project. I am callilng

[android-developers] Re: EMMA Code coverage and JUnit

2009-08-24 Thread Haritha
thanks everyone for posting info on emma coverage.I was also able to generate coverage reports for custom tests with necessary changes to vold.conf. regards Haritha On Aug 20, 6:08 am, Gabor gabor.andr...@googlemail.com wrote: Hi All, Finally, the emma code coverage measurement is working for

[android-developers] Re: ListView with multiple buttons, how do I detect which View the buttons were pressed in?

2009-08-24 Thread Croccy22
Hi, Thanks. I'll have alook at this 2moz. I managed to get it working by creating an array with the data that I need against the name of the view so I was sort of on the right lines of what I needed but this looks like exactly what I was looking for. Thanks again, Matt. On 24 Aug, 17:40, Doug

[android-developers] Re: How to use the RotationMatrix, actually how to get it

2009-08-24 Thread Mike Collins
I must be dense but can't seem to make the documentation around this make sense. I can compute the phone orientation in earth-relative coordinates but can't figure out how to get the phone-relative acceleration values expressed in the earth coordinate system. I tried multiplying the rotation

[android-developers] pass data to new activity

2009-08-24 Thread Jason Proctor
the API details are all there in the SDK docs. the list isn't here to write your application for you. http://developer.android.com/reference/packages.html also i'd recommend reading up on activities and intents in general. that's how Android works. you need to know this stuff. hth can you

[android-developers] Re: More efficient way to get the resource id of a drawable from its name than using getResources().getIdentifier()

2009-08-24 Thread cadlg
Anybody ? On Aug 21, 6:10 pm, cadlg carlos@gmail.com wrote: I have some image names stored in a database, but the images themselves are in the /res/drawable folder of the application. I need to assign these images to some views at runtime, and I'm currently doing it this way:

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-24 Thread mgpc
Hi Ehab, The rules say: An Entry (or substantially similar application by the same Participant) must not have previously been publicly available through the Android Market prior to August 1, 2009. For the avoidance of doubt, any beta, demo, trial, or incomplete version of an application that

[android-developers] Icon with label + background

2009-08-24 Thread Klaus Kartou
Hi! I am trying to make an icon with a label, just like the ones used on the home screen. Currently I use a TextView with a top drawable as specified in the code below: TextView android:id=@+id/share android:layout_width=wrap_content android:layout_height=wrap_content

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-24 Thread Peli
I have a question regarding the judging application that is provided by Google: Will users (judges) have the possibility to choose which categories they would like to judge, or would they get random applications from all categories? We have an app that would equally well fit into two of the

[android-developers] best way to add some static text...

2009-08-24 Thread sdphil
is the best way to add some static text to a display to use a TextView? Seems like there should be a TextLabel or TextStatic or something like that... tia --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: best way to add some static text...

2009-08-24 Thread Romain Guy
That's what TextView is :) On Mon, Aug 24, 2009 at 4:48 PM, sdphilphil.pellouch...@gmail.com wrote: is the best way to add some static text to a display to use a TextView? Seems like there should be a TextLabel or TextStatic or something like that... tia -- Romain Guy Android

[android-developers] Re: File created with MODE_WORLD_WRITABLE mode could be accessed directly, but not through content provider.

2009-08-24 Thread Zhang Yi
Thanks Dianne. I said problem here is because that Android SDK says the content provider is the only way to share data across applications, but right now we could share files without content provider. I think files are a kind of data as well. So it seems that it's a conflict to say content

[android-developers] Re: File created with MODE_WORLD_WRITABLE mode could be accessed directly, but not through content provider.

2009-08-24 Thread Dianne Hackborn
Um well you could also have a service with an interface that returns a ParcelFileDescriptor, so there's another. :) On Mon, Aug 24, 2009 at 5:18 PM, Zhang Yi zhangyi87888...@gmail.com wrote: Thanks Dianne. I said problem here is because that Android SDK says the content provider is the only

[android-developers] Re: Why there is an error when I doing unit test with ActivityInstrumentationTestCase2?

2009-08-24 Thread android.bu...@gmail.com
no one know it? On Aug 24, 11:01 am, android.bu...@gmail.com android.bu...@gmail.com wrote: I am using ActivityInstrumentationTestCase2 to do some test for an activity. I get a button in the setUp() method like this: protected void setUp() throws Exception {         super.setUp();        

[android-developers] Re: server over 3g

2009-08-24 Thread Roman ( T-Mobile USA)
As add to Dan's post To resolve the NAT issue you could implement some hacks on the phone. These hacks would be only from temporary nature because when you disconnect and reconnect from 3G, the probability is high that you get another IP address assigned. Of course the difficult part here is

[android-developers] Re: desktop link to Android SDK's screen capture function

2009-08-24 Thread Michael Leung
Hi Slava, You can use ddms. I have written the instructions for this in my blog. http://www.itblogs.info/index.php/2009/08/22/android-screen-capture?blog=6 On Tue, Aug 25, 2009 at 4:56 AM, slavix mikerin.sl...@gmail.com wrote: Hello, I would like to create a shortcut link to screen capturing

[android-developers] Re: Adding Threshold to Bitmap Images

2009-08-24 Thread Abdul Mateen
Yes, probably the same. On Mon, Aug 24, 2009 at 7:42 PM, Streets Of Boston flyingdutc...@gmail.comwrote: You mean 'threshold' as a color-effect (turning a pic into a black and white (no grey) image)? On Aug 24, 1:09 am, Abdul Mateen abmat...@gmail.com wrote: Hi, I have a question about

[android-developers] Re: Why there is an error when I doing unit test with ActivityInstrumentationTestCase2?

2009-08-24 Thread Dianne Hackborn
As the error says, you are calling peformClick() for a different thread than the UI thread (here the instrumentation thread). You can use the Instrumentation API to perform a call on the UI thread. On Mon, Aug 24, 2009 at 6:08 PM, android.bu...@gmail.com android.bu...@gmail.com wrote: no one

[android-developers] CTS fails for java.io.OutputStreamWriterTest

2009-08-24 Thread Victor
Dear Google, Please give me a clue, to pass CTS. I'm try to do CTS test. The Android 1.5 r3 which I get from Android Open Source fails CTS. Mean while, if I download Android 1.5 r3 and run CTS test for emulator it's PASS. the module fail CTS is: java.io.OutputStreamWriterTest I run test with

[android-developers] Re: CTS fails for java.io.OutputStreamWriterTest

2009-08-24 Thread Victor
Nobody knows the subject? --~--~-~--~~~---~--~~ 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

[android-developers] Re: getFromLocationName always throws IOException first time, but is successful second time with same input

2009-08-24 Thread Hong
I'm having the same problem Using wifi, the 1st time it ALWAYS throws exception. On 3G and Edge it's fine. I figure it some dns resolving issue? Can any google guys look into that? On Fri, May 29, 2009 at 12:12 AM, pawpaw17 georgefraz...@yahoo.com wrote: Developers, My calls to

[android-developers] Re: My emulator is running 100% CPU, it's annoying..

2009-08-24 Thread jiaoni
Hi Chauncey, Yes, sometimes I encountered such situation like yours, the emulator stopped at the Android.. stage and never moved on. I had to kill and restart it. However, my above situation is a bit different, that the emulator is actually working, but it's always occupying 100% cpu. Although

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-24 Thread Dan Morrill
Users will be randomly assigned apps to judge, without regard for categories. - Dan On Mon, Aug 24, 2009 at 4:26 PM, Peli peli0...@googlemail.com wrote: I have a question regarding the judging application that is provided by Google: Will users (judges) have the possibility to choose which

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-24 Thread Dan Morrill
This is correct: upgraded versions of apps submitted to Market before 1 August are ineligible; this includes UI upgrades. - Dan On Mon, Aug 24, 2009 at 4:09 PM, mgpc mcumm...@gmail.com wrote: Hi Ehab, The rules say: An Entry (or substantially similar application by the same Participant)

[android-developers] Accessing default Messaging settings

2009-08-24 Thread yves...@gmail.com
I am trying to access the default Messaging app's settings from my app, and i would like to be able to modify those settings as well. But I can't find any examples on how to do this. Any ideas? Thanks. --~--~-~--~~~---~--~~ You received this message because you

[android-developers] MyTouch Lag Problems

2009-08-24 Thread Mike
Hi, I am the creator of WordUp! This game has done well, and I have had next to no complaints related to performance on the G1. Around July of this year, which, coincidentally, is when the MyTouch hit the market, I noticed people leaving feedback mentioning that my game was laggy. One of my

[android-developers] SingleTask...

2009-08-24 Thread sdphil
I want my application to work like this: 1. When the user launches the application, it starts up. 2. When the user hits back, or home, the application is still running (although not visible). 3. If the user hits menu-quit the application exits cleanly. 4. If the user starts the application, hits

[android-developers] Re: email application

2009-08-24 Thread SrilankanKK
On Aug 18, 9:25 am, Balwinder Kaur (T-Mobile USA) balwinder.k...@t- mobile.com wrote: Intent sendIntent = new Intent(Intent.ACTION_SEND);        sendIntent.setType(image/jpg);        sendIntent.putExtra(android.content.Intent.EXTRA_EMAIL, new String[]{m...@mine.com});        

[android-developers] Re: how can close other activity?

2009-08-24 Thread Ethan
I think I have the same question. we use startActivity() or startActivityForResult() to start Activity, but the two functions return void, how can I get something to control(e.g close) the started Activity from the original Activity ? --~--~-~--~~~---~--~~ You

<    1   2   3   >