[android-developers] Re: trying to test applications

2008-11-08 Thread blindfold
Thanks Madhuri, but I rather need someone for testing on a *real* G1, because I don't have one. On the emulator things work fine, but on the physical G1 my app reportedly still crashes despite many adaptations for undocumented G1 camera properties. My app is available at http://www.seeingwithsound

[android-developers] Hosting apks on Amazon S3

2008-11-08 Thread Al Sutton
I've updated AndAppStore to allow upload submitted apps to Amazons S3 service with the correct MIME type to fire off the download installer when the user installs. If you want to make use of this you'll need to have your own S3 account (you can sign up at http://aws.amazon.com/s3/) and then ad

[android-developers] Re: Adding an external Jar error

2008-11-08 Thread guna
Josh, What jar you added? Take care of the classes in the external jar? Is it a third party external jar or your own? Thanks, Guna On Nov 8, 4:19 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hey guys, > > alittle more info, > > I do not have the jar loaded twice or have multiples of the

[android-developers] Re: How to open the keyboard in emulator?

2008-11-08 Thread Android Shadow
Hi firewallbreak, I think I find the answer. the emulator can only support sms input when the phone lying down. you can use "CTRL + F11" or num pad 7 to do it. B.R. Shadow On Nov 8, 12:39 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi All, > > Am also facing the same problem, how to

[android-developers] Re: Orientation sensor gone bad?

2008-11-08 Thread blindfold
Perhaps related to the other thread http://groups.google.com/group/android-developers/browse_thread/thread/cba46eeb09b1765a/ ? On Nov 6, 6:30 pm, kelly <[EMAIL PROTECTED]> wrote: > Hello, > > Has anyone noticed trouble with the orientation sensor in their phone? > Mine was returning values as d

[android-developers] Re: Android SoftKeyboard Released(Both English and Chinese Input) !

2008-11-08 Thread ena
Hi ALL, could u give me some idea ..how to do it??? On Oct 24, 7:24 pm, "Justin (Google Employee)" <[EMAIL PROTECTED]> wrote: > PowerGUI, > > I had a quick look at the test source. I haven't been able to actually > run the test, but this seems like great work. I can see a lot of > applications

[android-developers] Re: trying to test applications

2008-11-08 Thread Fish Kungfu
Interesting looking app. On a side question, I see on your website that your emulator keyboard is open. How did you do that? Thanks in advance...Fish On Sat, Nov 8, 2008 at 3:49 AM, blindfold <[EMAIL PROTECTED]> wrote: > > Thanks Madhuri, but I rather need someone for testing on a *real* G1, >

[android-developers] ::Help me Please....!!!!

2008-11-08 Thread Imran
Hi In my Application i have scenario where the Button Should be in Pressed mode for few seconds and than it should be in unpressed mode i have tried using thread But its not working bt.setPressed(true); Thread.sleep(2000); bt.setPressed(false); this logic is not working... the Button is alw

[android-developers] Re: great idea

2008-11-08 Thread petunio
Hi could you give me more information about this program epocrates? I am not a med, therefore I am not sure whether the information that I found on the internet about it, is right or wrong Thanks for the information anyway... I'll see if I can do that program as soon as I finished one that I'm do

[android-developers] Re: Unable to view "M5 to 0.9 Porting and Migration Tips"

2008-11-08 Thread Charlie Collins
This is not the same document you mention there, but have you seen this information (it's fairly comprehensive)?: http://code.google.com/android/migrating/m5-0.9/changes-overview.html http://code.google.com/android/migrating/m5-0.9/changes.html On Nov 7, 10:45 pm, Aniruddha <[EMAIL PROTECTED]>

[android-developers] Re: trying to test applications

2008-11-08 Thread blindfold
Thanks Fish. To toggle the emulator keyboard, use the G1 skin of Jeffrey Sharkey at http://www.jsharkey.org/downloads/G1.zip and just press the Page-Up key or Control F12. See also the recipe at http://groups.google.com/group/android-developers/browse_thread/thread/a41edb9bd109fa7/ On Nov 8, 3:38

[android-developers] Re: trying to test applications

2008-11-08 Thread Fish Kungfu
Great! Thanks very much. On Sat, Nov 8, 2008 at 10:07 AM, blindfold <[EMAIL PROTECTED]>wrote: > > Thanks Fish. To toggle the emulator keyboard, use the G1 skin of > Jeffrey Sharkey at http://www.jsharkey.org/downloads/G1.zip and just > press the Page-Up key or Control F12. See also the recipe a

[android-developers] MediaRecorder on G1

2008-11-08 Thread g1ster
I had trouble get the MediaRecorder to work on g1 (actually with the emulator as well). I have the following samle code: MediaRecorder mRecorder = new MediaRecorder(); mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); mRecorder.setOutputFormat(MediaRecorder.OutputFormat

[android-developers] Re: Custom Parcelables in external JARs... how to get this working?

2008-11-08 Thread DulcetTone
If I understand you correctly, I think you're advising me to do what I may have already tried: copy MyCustomParcelable.aidl (which contains only a package statement and a "parcelable MyCustomParcelable" statement) into my second app's source tree. I just tried it again, and that does not work.

[android-developers] Re: How shall I need design my application when the device be rotated?

2008-11-08 Thread Guillaume Perrot
Check orientation in the manifest file for your activities then override onConfigurationChanged in your activities, this function will be called each time the phone's orientation changes. On Nov 7, 3:02 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi , > I mean,  If the device be rotated,

[android-developers] Re: Getting user's phone number

2008-11-08 Thread ole!
I also have the same problem although my number is blank. When I look at my phone number in the phone status settings, it is also blank. Does the Sum card have the phone number? and is Android failing to read it properly? Anyone know what is going on? On Oct 23, 3:28 pm, Danny <[EMAIL PROTECTED

[android-developers] who should close the activity started by a PICK action once the item is picked?

2008-11-08 Thread Satya Komatineni
I have the following code and the activity that displays notes is not closing after picking an item. Do I need to explicitly close this activity?? Thanks for your help Satya public static void invokePick(Activity activity) { Intent pickIntent = new Intent(Intent.ACTION_PICK); pickIntent.setD

[android-developers] How come PICK doesn't seem to work on Contacts.CONTETN_URI?

2008-11-08 Thread Satya Komatineni
I have used the following code public static void invokePick(Activity activity) { Intent pickIntent = new Intent(Intent.ACTION_PICK); pickIntent.setData(Contacts.CONTENT_URI); activity.startActivityForResult(pickIntent, 1); } I get an exception that no activity found matching this criteria. Tha

[android-developers] Re: Orientation sensor gone bad?

2008-11-08 Thread Brendon Drew
Maybe download the Bubble app from the market, see if its really the sensor as opposed to a bug in your code. Sent from my gPhone On Nov 7, 2008 12:20 PM, "kelly" <[EMAIL PROTECTED]> wrote: Hello, Has anyone noticed trouble with the orientation sensor in their phone? Mine was returning valu

[android-developers] Re: Android Crash! Crash!! Crash!!! No more boot up successfully!!!!

2008-11-08 Thread Nickname
Man, I know wipe-data will work. But I got much test data manually typed in during prior numerous executions of my app. Once wiping the data, i need hours to reproduce it. What the?! I wish such crashes do not exist with real android phones, otherwise we all will die ^_^ On Nov 7, 6:00 pm, "And

[android-developers] Re: Capture Call Audio

2008-11-08 Thread Eric Mill
So, is there a way to get the audio after the call? Surely there must be some way to use the G1 to record one's phone calls. -- Eric On Nov 7, 2:34 pm, Dave <[EMAIL PROTECTED]> wrote: > Downlink audio is not routed to the application processor on the G1, > so there is no way to capture in-call

[android-developers] Re: Android Crash! Crash!! Crash!!! No more boot up successfully!!!!

2008-11-08 Thread Christine
On Nov 8, 6:35 pm, Nickname <[EMAIL PROTECTED]> wrote: > Man, I know wipe-data will work. But I got much test data manually > typed in during prior numerous executions of my app. Once wiping the > data, i need hours to reproduce it. Looks like that's what you'll need... Then consider using unit

[android-developers] Re: Android Crash! Crash!! Crash!!! No more boot up successfully!!!!

2008-11-08 Thread Christine
On Nov 8, 6:35 pm, Nickname <[EMAIL PROTECTED]> wrote: > Man, I know wipe-data will work. But I got much test data manually > typed in during prior numerous executions of my app. Once wiping the > data, i need hours to reproduce it. Looks like that's what you'll need... Then consider using unit

[android-developers] Re: How shall I need design my application when the device be rotated?

2008-11-08 Thread Christine
In some cases, your application doesn't even have to know. Android uses the proper xml file (landscape or portrait). If these are different, the presence of ui elements will tell you what's happening. If your app just fills and listens to elements that are not null, you don't care what orientation

[android-developers] Re: ::Help me Please....!!!!

2008-11-08 Thread Christine
A subject line of "help me please" doesn't really invite people to come see what you're asking. On Nov 8, 12:13 pm, Imran <[EMAIL PROTECTED]> wrote: > Hi > >  In my Application i have scenario where the Button Should be in > Pressed mode for few seconds and than it should be in unpressed mode > >

[android-developers] Re: great idea

2008-11-08 Thread Christine
epo, isn't that something cycle racers use? On Nov 8, 11:56 am, petunio <[EMAIL PROTECTED]> wrote: > Hi > could you give me more information about this program epocrates? > I am not a med, therefore I am not sure whether the information that I > found on the internet about it, is right or wrong >

[android-developers] Re: Android Crash! Crash!! Crash!!! No more boot up successfully!!!!

2008-11-08 Thread hackbod
You can use adb to pull all of your app's files out of its data directory and before wiping then put them back later. On Nov 8, 9:35 am, Nickname <[EMAIL PROTECTED]> wrote: > Man, I know wipe-data will work. But I got much test data manually > typed in during prior numerous executions of my app.

[android-developers] Re: ::Help me Please....!!!!

2008-11-08 Thread hackbod
Android's UI is event driven, so if you block that thread it will stop doing things. Use a Handler to schedule a message in the future at which you will turn off the pressed state. On Nov 8, 3:13 am, Imran <[EMAIL PROTECTED]> wrote: > Hi > >  In my Application i have scenario where the Button Sh

[android-developers] Re: Custom Parcelables in external JARs... how to get this working?

2008-11-08 Thread hackbod
If it works for building the library, I don't see any reason why it won't work for building the app. You can look at the remote service API demo to see how things should be set up. On Nov 8, 8:11 am, DulcetTone <[EMAIL PROTECTED]> wrote: > If I understand you correctly, I think you're advising m

[android-developers] Re: Orientation Sensor yaw values. Is your G1 compass bad?

2008-11-08 Thread hackbod
The compass auto-calibrates itself as it is used, but coming near a magnet can uncalibrate it so it won't give good data until getting calibrated again. To help it along, you can hold the phone and move it around in figure eights. That is not a joke. :) On Nov 6, 11:23 am, "[EMAIL PROTECTED]" <

[android-developers] Re: How shall I need design my application when the device be rotated?

2008-11-08 Thread hackbod
Please don't just do that. As Christine said, in most cases letting the system handle it is the best thing to do, and then you can have any of your resources vary based on orientation or whether the keyboard is visible without having to do anything. As far as canceling the "auto-adjustment" I'm

[android-developers] Re: How shall I need design my application when the device be rotated?

2008-11-08 Thread David Given
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hackbod wrote: [...] > As far as canceling the "auto-adjustment" I'm not sure what you mean > -- if you mean you want to force one orientation, you can specify in > the manifest a fixed orientation to use. If you mean you don't want > to relayout the

[android-developers] Connect Android application to internet

2008-11-08 Thread Cattivik
My android application must connect to the internet but didn't connect. Exampe: "http://www.pippo.it:8084/"; I use eclipse IDE. There is some permession to set? thanks for any help --~--~-~--~~~---~--~~ You received this message because you are subscribed to t

[android-developers] System Timeout: Force Close/Wait

2008-11-08 Thread joshbeck
Is there a way to increase the system timeout so it won't throw the 'Force Close' screen so soon. I have an app that relies on web requests, and if they take too long, the user gets the Force Close prompt. (Push Wait and it works fine.) Thanks! Josh Beck --~--~-~--~~~

[android-developers] Re: DOWNLOADING MUSIC FROM WINDOWS VISTA MEDIA P;AYER FOR G1 PHONE

2008-11-08 Thread Protocol-X
First of all id like to mention this is the devekopers version of the groups not a section to complain in because u feel your provider should tell u how to do a simple task. So to start providers are not allowed to tell u how to move music to your device due to legal reasons. Second the way u ex

[android-developers] Re: MediaRecorder on G1

2008-11-08 Thread Dave
Your code looks correct to me from what I recall of the API. Are you sure that the application has write access to the directory specified by mPath? On Nov 8, 8:09 am, g1ster <[EMAIL PROTECTED]> wrote: > I had trouble get the MediaRecorder to work on g1 (actually with the > emulator as well). I h

[android-developers] Re: System Timeout: Force Close/Wait

2008-11-08 Thread Romain Guy
Hi, No, you cannot change this timeout. If you see this message that means your application is blocking the UI (or main) thread. The problem is in your implementation; you should be using background threads instead. Any "long" operation (anything that might take more than half a second or so; and

[android-developers] Text mask

2008-11-08 Thread zl25drexel
Hi, does anyone know how to do text mask effect in android? like the below in flash http://www.entheosweb.com/Flash/video_tutorials/shining_text_effect.asp thanks, --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "And

[android-developers] Re: Text mask

2008-11-08 Thread Romain Guy
Hi, You would need to draw the text manually on a Canvas object (from the onDraw() method of your View for instance.) Then, in the Paint you use to draw the text, simply set a linear gradient shader. All you have to do is animate the coordinates of the shader to make it look like it's moving and

[android-developers] Re: System Timeout: Force Close/Wait

2008-11-08 Thread joshbeck
Thank You. That helps On Nov 8, 1:58 pm, Romain Guy <[EMAIL PROTECTED]> wrote: > Hi, > > No, you cannot change this timeout. If you see this message that means > your application is blocking the UI (or main) thread. The problem is > in your implementation; you should be using background threads

[android-developers] Synchronization

2008-11-08 Thread Emery
I posted this before but never got an answer. I have data coming in on a separate thread and I want to add the items to a ListView asynchronously as the items are received (I do not want to block the UI thread). If I try to add the items from the other thread I get a CalledFromWrongThreadException

[android-developers] Re: Synchronization

2008-11-08 Thread Romain Guy
Hi, Loading the data from a background thread is a very good idea. However, adding the data to the adapter MUST be done on the UI thread. All you have to do is create a Handler to post the results back in the UI thread. If you don't want to create a Handler and you have a reference to your Activi

[android-developers] Re: Synchronization

2008-11-08 Thread Mark Murphy
Emery wrote: > I posted this before but never got an answer. I have data coming in on > a separate thread and I want to add the items to a ListView > asynchronously as the items are received (I do not want to block the > UI thread). If I try to add the items from the other thread I get a > CalledF

[android-developers] Re: Connect Android application to internet

2008-11-08 Thread JP
Documentation here: http://code.google.com/android/devel/security.html You need to set permission.INTERNET in your AndroidManifest.xml On Nov 8, 10:55 am, Cattivik <[EMAIL PROTECTED]> wrote: > My android application must connect to the internet but didn't > connect. > Exampe: "http://www.pippo

[android-developers] SimpleCursorAdaptor and ListActivity question

2008-11-08 Thread j
My activity extends ListActivity. I need to programmaticly change the text color of the TextView defined in list_item.xml (copied below). I know that Adapter has this method: public View getView(int position, View convertView, ViewGroup parent) but there must be a better way than to iterates

[android-developers] Re: SimpleCursorAdaptor and ListActivity question

2008-11-08 Thread Mark Murphy
j wrote: > My activity extends ListActivity. I need to programmaticly change the > text color of the TextView defined in list_item.xml (copied below). > > I know that Adapter has this method: > > public View getView(int position, View convertView, ViewGroup parent) > > but there must be a bet

[android-developers] Re: System Timeout: Force Close/Wait

2008-11-08 Thread Hong
use thread to do long background operations and use handler to post back UI updates ^_^ On Sat, Nov 8, 2008 at 3:16 PM, joshbeck <[EMAIL PROTECTED]> wrote: > > Thank You. > That helps > > > > On Nov 8, 1:58 pm, Romain Guy <[EMAIL PROTECTED]> wrote: >> Hi, >> >> No, you cannot change this timeout.

[android-developers] ImageView & automatic sizing

2008-11-08 Thread David Given
I have a layout problem with ImageView. I'm trying to display an image, with a border drawn round it, at the largest possible size that will fit in an area without changing the aspect ratio. I'm doing this with a simple ImageView, with the border drawn using a Drawable attached to android:backgrou

[android-developers] Re: MediaRecorder on G1

2008-11-08 Thread Grigory Fishilevich
On Sat, Nov 8, 2008 at 5:09 PM, g1ster <[EMAIL PROTECTED]> wrote: > > I had trouble get the MediaRecorder to work on g1 (actually with the > emulator as well). I have the following samle code: Hi g1ster, try as first "adb logcat", you will see whats wrong with you code. if you see something bout

[android-developers] temporary gl view

2008-11-08 Thread skink
hi, how can i get temporary GL view in order to make some 3D transformations/animations? Do i have to somehow add SurfaceView to existing view hierarchy? skink --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Androi

[android-developers] LocationListener onLocationChanged

2008-11-08 Thread Christine
I was wondering, does an onLocationChanged event happen when the location device gets turned on? That is, if you're in SF, you turn off gps, you take a plain to Amsterdam, then you turn on gps, does the device generate an onLocationChanged event? Or does that happen when you've changed location af

[android-developers] Re: Getting user's phone number

2008-11-08 Thread Mark Robinton
My number was coming up blank as well but a full power cycle of the phone solved it. Mark On Nov 8, 12:01 pm, "ole!" <[EMAIL PROTECTED]> wrote: > I also have the same problem although my number is blank. > When I look at my phone number in the phone status settings, it is > also blank. > > Does

[android-developers] Cannot compile Email source in Eclipse

2008-11-08 Thread ppcinfo
I downloaded the project files for the "Email" app from the Google source code and tried to compile them as-is using Eclipse on my Windows Vista machine. I get numerous errors related to unresolved imports, etc. For example, here are some error messages: "import android.text.util.Regex cannot be

[android-developers] Re: Android 1.0 SDK Released

2008-11-08 Thread Dark pp
Thanks a million. On 9月24日, 上午6时09分, "Megha Joshi" <[EMAIL PROTECTED]> wrote: > Hi everyone, > > We're pleased to announce the release of the Android 1.0 SDK, release 1. > > For full information, please see Dan Morrill's blog post: > > http://android-developers.blogspot.com/2008/09/announcing-and

[android-developers] Re: LocationListener onLocationChanged

2008-11-08 Thread Nickname
Please allow me to ask a question related with onLocationChanged event: How does everybody make the mock gps provider send onLocationChanged events automatically instead of manually by clicking on the "Send" button in the DDMS Device Control view? My app needs the event from the very beginning o

[android-developers] best way for a service to send a notice to an activity?

2008-11-08 Thread Don Park
Activity A is able to bind to service S and use the AIDL to make calls from A to S. Whats the best way for S to send a notice to A? It seems there are three possible approaches: 1. AIDL for an activity (im not sure if thats possible), then S will bind to A (when A is active). 2. send an android.

[android-developers] Re: Synchronization

2008-11-08 Thread Michael
You could also do a lazy update like they do in the API Demos in the sample code included with the SDK, see List13. One thing I've got in my own code is having a thread update the data in the List which the ListView is linked to, and posting to a handler each time an item is updated, running ada

[android-developers] Re: Android SoftKeyboard Released(Both English and Chinese Input) !

2008-11-08 Thread PowerGUI
Hi, Sorry. for my busy work,I have not notice the topic in time. To ena: there is a TestSoftKeyboard.apk(including code),you can know the details. To Justin: Thank you very much for your details hints.I will try it later. To Timbobsteve: there is a bug in previous SoftKey version.that wil

[android-developers] Re: MediaRecorder on G1

2008-11-08 Thread g1ster
Thanks Grigory. I turned on logcat, it showed I entered into an infinite loop repeating: >> D/AudioHardware( 24): AudioStreamInGeneric::read(0x403082a0, 320) from fd 7 >> D/AudioHardware( 24): AudioStreamInGeneric::read(0x403083e0, 320) from fd 7 Know how to interpret it? I use the mPat