[android-developers] Re: sound effect using SoundPool

2009-02-13 Thread Stoyan Damov
Listen to Robert's advice, and most importantly, if you don't have a need to manipulate the sounds during the game (e.g. Robert changes the pitch dynamically in his game) stay away from the SoundPool. Simply build your own sound pool based on MediaPlayer instances - I know it works. It probably

[android-developers] Re: 2d background image on a 3d OpenGL game

2009-02-13 Thread quakeboy
Thank you very much again. GL11Ext ?? So we can actually use that ? I think I read Android supports only OpenGL ES 1.0... So can we use the GL11 also ? I guess I must have read an old article or something ? 'OpenGL ES-CM 1.0' was returned by glGetString I have an actual device. I will try out

[android-developers] Re: Running different actives in the same package?

2009-02-13 Thread bigauto
It seems that finish() ends a activity, but I'm not sure if it will actually allow me to run a different activity on a simulator. Also if there are any tutorials dealing with this it would be greatly appreciated. On Feb 13, 2:26 am, susanner zsusan...@163.com wrote: Close with finish() for that

[android-developers] Accessing Dialog buttons

2009-02-13 Thread Peter Sankauskas
I would like to bring up an old post I have found without a solution: http://groups.google.com/group/android-developers/browse_thread/thread/9f6a7a0bd9556dbd/6694e11f528dd459?lnk=gstq=disable+dialog+button#6694e11f528dd459 It seems Gil and I both want to do the same thing: implement an

[android-developers] Re: 2d background image on a 3d OpenGL game

2009-02-13 Thread Stoyan Damov
On Fri, Feb 13, 2009 at 1:42 AM, Jon Colverson jjc1...@gmail.com wrote: On Feb 12, 2:50 pm, quakeboy prasna...@gmail.com wrote: I don't think OpenGL ES 1.0 is so incapable that it can't give me atleast 25-30 fps with just 12 triangles which you one 256x256 texture and one 64x64 textures

[android-developers] Re: sound effect using SoundPool

2009-02-13 Thread Peter Sankauskas
Has anyone been kind enough to create a sound/media pool using MediaPlayer instances and made it open source for the rest of us to use? It seems like it is a pretty common problem that many developers could take advantage of some well written and tested code. Peter On Feb 13, 12:04 am, Stoyan

[android-developers] Re: sound effect using SoundPool

2009-02-13 Thread Stoyan Damov
I think I might be able to decouple the pool from my game and get rid of some entropy which sneaked in over the months, and then I don't mind posting it here. Only it's Friday 13th and I don't release on this date :P Seriously though my daughter turned 1 today, so I don't think I'll work in the

[android-developers] Re: how to create the object of intentfilter

2009-02-13 Thread Miguel Paraz
On Jan 24, 1:50 am, Dianne Hackborn hack...@android.com wrote: There are lots of examples of using the AlarmManager in ApiDemos, including ones that use receiver.  I suggest looking there. Fwiw, using registerReceiver() with the alarm manager is generally pretty pointless, since the main use

[android-developers] Re: G1 support for OpenGL ES 1.1?

2009-02-13 Thread quakeboy
Me too waiting for someone from Android team to answer this.. Please.. let us know the details of what is supported in GL11 I have heard that drawTex from GL11Ext was working for a fellow developer online.. On Feb 3, 2:35 am, shaun shashepp...@gmail.com wrote: I sure would love to know more on

[android-developers] Re: 2d background image on a 3d OpenGL game

2009-02-13 Thread quakeboy
Thanx Stoyan for your input. I have read that post long ago and helped me understand. Just a quick question.. Is 100ms of sleep okay, even if you want to do something like move objects in your game by touch and drag action on the screen ? On Feb 13, 1:21 pm, Stoyan Damov stoyan.da...@gmail.com

[android-developers] Re: 2d background image on a 3d OpenGL game

2009-02-13 Thread Stoyan Damov
On Fri, Feb 13, 2009 at 10:53 AM, quakeboy prasna...@gmail.com wrote: Thanx Stoyan for your input. I have read that post long ago and helped me understand. Just a quick question.. Is 100ms of sleep okay, even if you want to do something like move objects in your game by touch and drag

[android-developers] Re: sound effect using SoundPool

2009-02-13 Thread Markus Junginger
On Feb 13, 9:04 am, Stoyan Damov stoyan.da...@gmail.com wrote: Listen to Robert's advice, and most importantly, if you don't have a need to manipulate the sounds during the game (e.g. Robert changes the pitch dynamically in his game) ... How does Robert implement pitching? Is there a

[android-developers] Re: sound effect using SoundPool

2009-02-13 Thread Stoyan Damov
You need to ask Robert for the details, but I think SoundPool.play's method has an argument controlling pitch (I don't remember which if the 3rd to 5th argument that was). On Fri, Feb 13, 2009 at 11:14 AM, Markus Junginger mar...@junginger.biz wrote: On Feb 13, 9:04 am, Stoyan Damov

[android-developers] Re: 2d background image on a 3d OpenGL game

2009-02-13 Thread quakeboy
@Stoyan Thank you very much. I will soon post more info and results after implementing, so that it helps developers in the future. On Feb 13, 2:03 pm, Stoyan Damov stoyan.da...@gmail.com wrote: On Fri, Feb 13, 2009 at 10:53 AM, quakeboy prasna...@gmail.com wrote: Thanx Stoyan for your

[android-developers] Adding menu item in Phone book

2009-02-13 Thread Shrikant Agrawal
Hi Do anybody know how the add a menu item from any application into addressbook?? Thanx Shrikant --~--~-~--~~~---~--~~ 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] Re: Customization on SearchDialog

2009-02-13 Thread Marty Wang
Hi Andy, Thanks for your kind reply. What we are trying to do is just to customize the search dialog's UI to match with the entire lookfeel we have designed for our client, for example, apply some custom animation on the search suggestion list. We knew that reflection is certainly not the

[android-developers] Problem with scroll view and button

2009-02-13 Thread Muthu Kumar K.
Hi All, I have the page with the text area and buttons. Here i added the text in to scroll view, below the text i added two buttons. One is for coming back and another one is going to next screen. When i click the button it is not taking the button action(onClick) event. I am using the setPadding

[android-developers] Re: Context Menus on ListView onListItemClick()

2009-02-13 Thread Miguel Paraz
On Feb 9, 9:44 pm, Odessa Silverberg silverberg.ode...@googlemail.com wrote: By simply calling theonCreateContextMenuitself inside the onListItemClick. i.e. onCreateContextMenu(null, v, null); (where v ist the reference of the list view passed by the onListItemClick). Dunno if you need to

[android-developers] Problem in sending messages with special characters

2009-02-13 Thread for android
I donot have a device.I am testing on the emulator. When i send a message(problematically and through the device) with special characters i am not able to view them properly. For eg: when i send a message from one emulator to another say ~Ha.I see only the character ~ in the other emulator.

[android-developers] Re: sound effect using SoundPool

2009-02-13 Thread djp
Thanks for information. I'm already using OGG files totaling about 200kB. The original uncompressed WAV files are 1.4MB. I'll try to further reduce number of files and the total size. Also, I'm not using stop/pause as it crashes the application instantly :) Robert, are you saying that your

[android-developers] Re: Problem with SDK 1.1 - can not see javadoc

2009-02-13 Thread Evgeny V
I have the same problem. Don't see help. I just removed previous 1.0 r2 from path and installed new 1.1 On Thu, Feb 12, 2009 at 6:02 PM, Stoyan Damov stoyan.da...@gmail.comwrote: I can see the documentation but FYI I haven't uninstalled 1.0, just installed 1.1 as well. Cheers, Stoyan On

[android-developers] Re: new to maps.. need help with locating position

2009-02-13 Thread Zi Yong Chua
Thanks I got that.. but its not working still. / there is no image coming out On Feb 13, 1:34 am, Dan danscott0...@gmail.com wrote: Have you gotten a Google Maps API Key? Your maps will not show until you obtain one of these from Google. Here is the link in case you have

[android-developers] how to pass data from activity to service through Intent

2009-02-13 Thread Munish
I am trying to pass a string from an activity class to a service class. but cant do the same as service doesnot take arguments of BUNDLE type in onCreate method can anyone pls help me out... --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Getting location with multiple providers

2009-02-13 Thread muckwarrior
I want my app to be able to retrieve a fine location, but also to be able to get it's location as quick as possible. What I'm trying to implement is something like the way it works in maps, i.e. it gets a coarse location via network and then refines that location using GPS. If I set the criteria

[android-developers] Re: Problem with list divider

2009-02-13 Thread Aaron Smith
Just so you know, I got around the problem by using a drawable as the divider. On Wed, Feb 11, 2009 at 5:34 AM, Justin Grammens jus...@localtone.comwrote: Does anyone know if this is supposed to be fixed in the latest 1.1 SDK Release or will we have to wait for Cupcake? I seem to still be

[android-developers] Re: another round of emulator DNS problems

2009-02-13 Thread David Turner
Hello, On Fri, Feb 13, 2009 at 1:19 AM, Brian Smith flatp...@gmail.com wrote: I have tried specifying -dns-server 192.168.1.1 to the emulator, but it complains that it cannot resolve that hostname and will use the default. that's quite strange, because this should be resolved into a

[android-developers] Re: I want to use mediaplayer to play avi and other file formats

2009-02-13 Thread Mark Murphy
susanner wrote: Is there any support for avi and other media formats except mp4 and 3gpp? http://developer.android.com/guide/appendix/media-formats.html Plus any formats that specific devices have, licensed for those devices by other parties (see the T-Mobile G1 section at the bottom of the

[android-developers] Confused about handling SSL Errors in WebView

2009-02-13 Thread whitemice
I have a WebView and I want to capture an error, most likely related to a web page having an invalid SSL certificate (company Intranet). Currently the MyWebViewClient.onPageStarted() method is called, and no secure content is shown the the page. Generally I would expect

[android-developers] youtube app on android source

2009-02-13 Thread Harishkumar V
Dear all, I have downloaded android source from android git tree and built it, loaded the new images into emulator. but when i opened up the browser and browse through http://youtube.com, only the blank white screen appears. i am able to browse other websites. http://m.youtube.com works fine,

[android-developers] Re: Is the holiday_devphone build an official ADP1 image?

2009-02-13 Thread Jean-Baptiste Queru
We're working on getting an official 1.1 image available to ADP1 users. Given the number of times that this question is asked every day (search the archives) we'll make sure that everybody who needs to know about it does. JBQ On Thu, Feb 12, 2009 at 2:05 PM, Lucian Tomuta

[android-developers] Re: sound effect using SoundPool

2009-02-13 Thread tasos.klei...@gmail.com
I have written a class that utilises MediaPlayer and SoundPool objects. MediaPlayer is used to play looping music and SoundPool is used for sound effects. Have a look at my blog http://tkcodesharing.blogspot.com/2009/02/class-for-playing-music-and-sound.html

[android-developers] Re: 2d background image on a 3d OpenGL game

2009-02-13 Thread Jon Colverson
On Feb 13, 8:21 am, Stoyan Damov stoyan.da...@gmail.com wrote: Jon, search my posts (I have a few on this list) for touch screen - Dianne explained pretty well why touch slows the game, and a workaround for that. In short, you need to put your main thread to sleep after you handle a touch

[android-developers] Re: Touch *extremely* expensive performance-wise

2009-02-13 Thread Jon Colverson
On Jan 11, 2:25 am, Dianne Hackborn hack...@android.com wrote: Fwiw, you should generally avoid trying to directly control scheduling.  Let the kernel schedule the threads as needed; the only issue you had here was that your main thread was using as much CPU as it could get, since it was

[android-developers] Re: Sdcard issue

2009-02-13 Thread Kishor
Hi, I formatted the sdcard from my PC with FAT. While mounting sdcard on hardware, it uses vfat as file type and /dev/block/mmcblk0 as device node. Mount happens successfully on hardware as i can see the device node /dev/block/mmcblk0. I am also able to create file in /sdcard. What could be

[android-developers] Re: new to maps.. need help with locating position

2009-02-13 Thread swapnil dalal
Hi, Have you set path of Android sdk's Tools folder in your Environment veariables? As my problem got solved because of that only. On Fri, Feb 13, 2009 at 5:25 PM, Zi Yong Chua chu...@gmail.com wrote: Thanks I got that.. but its not working still. / there is no image coming out On Feb 13,

[android-developers] TextView scrolling (in case anyone finds this useful)

2009-02-13 Thread Hans
This is rough and quick, but after a couple of minutes looking aroudn I didn't find anything about asking Google to auto-scroll my TextView (I'm sure there are several ways to do this), so I used this for now. public void AdjustScroll( TextView in_oTextView ) { /*

[android-developers] Re: Unable to start service Intent error in Client-Server project

2009-02-13 Thread Sunil . Maharana
Hi All, When my client code calls bindService it was fine and it calls onServiceConnected, there i am calling the interface method using the .Stub.asInterface(service) object and there only it gives me bunch of error as: 02-13 17:14:52.239: WARN/Parcel(1035): enforceInterface()

[android-developers] Re: Unable to start service Intent error in Client-Server project

2009-02-13 Thread Android
Hi All, When my client code calls bindService it was fine and it calls onServiceConnected, there i am calling the interface method using the .Stub.asInterface(service) object and there only it gives me bunch of error as: 02-13 17:14:52.239: WARN/Parcel(1035): enforceInterface()

[android-developers] Re: how to pass data from activity to service through Intent

2009-02-13 Thread Mark Murphy
Munish wrote: I am trying to pass a string from an activity class to a service class. but cant do the same as service doesnot take arguments of BUNDLE type in onCreate method Here are three options off the top of my head: Option #1. If your activity is starting the service via

[android-developers] Re: Unable to start service Intent error in Client-Server project

2009-02-13 Thread Hans
Sunil, I'll zip up my test projects (a client in its own package and *.apk and a remote service it its own package, and *.apk, exposing 2 interfaces and using callbacks into the client), I'll post the URL here when I've done it. Hope it helps :).

[android-developers] Re: multiclass UIs in application and class constructors

2009-02-13 Thread Mark Murphy
automerc wrote: you mean like c2instance.startActivity where c2instance is a aninstance of c2? If c1 is the activity that wishes to start c2, it would be c1.startActivity(). -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training in Sweden --

[android-developers] Re: Unable to start service Intent error in Client-Server project

2009-02-13 Thread Hans
Here's the URL: http://www.plugin-factory.com/storage/workspace.zip There are two projects in it: (1)ServiceMonitor - a simple activity that has 3 buttons and a text view. One buttons starts and binds to the service, the other stops and unbinds from the service, the third is a query

[android-developers] Video in resources

2009-02-13 Thread bleucalme
Hi, Anyone was able to play a video included in the .apk? I'm able to play this video from the SD card but not when it's a resource. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Video in resources

2009-02-13 Thread Mark Murphy
bleucalme wrote: Anyone was able to play a video included in the .apk? I'm able to play this video from the SD card but not when it's a resource. I doubt that will work well. APKs are ZIP files, so you're asking the device to uncompress the video and play it back, which would require a fair

[android-developers] Re: Running different actives in the same package?

2009-02-13 Thread Asif k
include all the activities in manifest use following code Intent i = new Intent(Context.this, New activity.class); startActivity(i); this code will divert you to New Activity On Feb 13, 1:18 pm, bigauto chidragon1...@gmail.com wrote: It seems that finish() ends a activity, but I'm not sure if

[android-developers] Re: Problem in going in back/previous activity

2009-02-13 Thread Sundog
If your two activities are calling and returning properly, check your first activity's onResume() function for something screwy. At least put a log statement there to tell you if it even gets that far. Might do the same with the second activity's onPause() too. On Feb 9, 9:05 pm, Komal

[android-developers] Re: sound effect using SoundPool

2009-02-13 Thread Sundog
Wow! Thanks very much! On Feb 13, 6:29 am, tasos.klei...@gmail.com tasos.klei...@gmail.com wrote: I have written a class that utilises MediaPlayer and SoundPool objects. MediaPlayer is used to play looping music and SoundPool is used for sound effects. Have a look at my

[android-developers] Re: PackageManager. get size of an installed package?

2009-02-13 Thread Grigory F.
Know nobody alternative for PackageManager.getpackageSizeInfo()? --~--~-~--~~~---~--~~ 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

[android-developers] Re: Problem in going in back/previous activity

2009-02-13 Thread Sundog
To expand on that, I had exactly this problem and found that my first activity's onResume() was indirectly reinitializing something it shouldn't have, and kaboom. On Feb 9, 9:05 pm, Komal komal...@gmail.com wrote: Hi, I am developing simple application. I have one activity which displays list

[android-developers] Re: ListView / SqliteCursor

2009-02-13 Thread Marc
Great... Does this have to do with improving performance in scrolling backward (since sqlite doesn't have functionality for walking a result set backwards)? Thanks! Marc On Feb 12, 6:37 pm, Romain Guy romain...@google.com wrote: We're aware of this issue :) In the meantime, you should

[android-developers] Re: Is the holiday_devphone build an official ADP1 image?

2009-02-13 Thread rsung
when u see that triangle with an exclamation mark, press alt-l and it'll bring up a menu. then, if i remember correctly, alt-s option will install it. On Feb 12, 5:05 pm, Lucian Tomuta lucian.tom...@gmail.com wrote: Hi guys, I've copied this official update on the memory card's root as

[android-developers] Re: ListView / SqliteCursor

2009-02-13 Thread Marc
Also... Is fillWindow called by the query? If not, then I don't see how performing the query on a background thread will help... TIA. Marc On Feb 13, 7:34 am, Marc gram...@gmail.com wrote: Great...   Does this have to do with improving performance in scrolling backward (since sqlite doesn't

[android-developers] Re: Running different actives in the same package?

2009-02-13 Thread Andrew Stadler
You might find relevant discussion on this topic (how to start stop activities) in the android-beginners mailing list. http://developer.android.com/community/index.html Good luck and welcome to Android! Andy On Fri, Feb 13, 2009 at 6:33 AM, Asif k asifk1...@gmail.com wrote: include all the

[android-developers] Re: Android 1.1_r1 SDK released and developer.android.com launched

2009-02-13 Thread Alexey
Do i need make additional config changes to make eclipse hint me with java doc with r1.1 ? Once i switched i've lost my hints On Feb 9, 4:31 pm, Justin (Google Employee) j...@google.com wrote: Hey developers, today we released the new, 1.1_r1 SDK. This SDK includes some minor updates that you

[android-developers] Re: Video in resources

2009-02-13 Thread bleucalme
Thanks for the idea, but I can't use the SD card. My application absolutely needs this video. With this method, it if the user removes his SD card, the video would not be available. Maybe I can copy the video from the resources to the flash of the device the first time I use it. Any other

[android-developers] Re: sound effect using SoundPool

2009-02-13 Thread Marco Nelissen
There is a known problem (fixed in cupcake) with SoundPool that will cause it to lock up if you try to play more simultaneous sounds than the capacity of the SoundPool. If you specify the capacity of the SoundPool to be higher than the largest number of sounds you will ever play at the same time,

[android-developers] Re: Video in resources

2009-02-13 Thread Marco Nelissen
How are you trying it play it? On Fri, Feb 13, 2009 at 6:14 AM, bleucalme royerda...@gmail.com wrote: Hi, Anyone was able to play a video included in the .apk? I'm able to play this video from the SD card but not when it's a resource.

[android-developers] Re: Problem with SDK 1.1 - can not see javadoc

2009-02-13 Thread Alexey
Same here. On Feb 10, 2:26 am, tranbinh.b...@gmail.com tranbinh.b...@gmail.com wrote: Dear all, I have just upgraded the SDK version to 1.1. But after that, I can not see thejavadocof the methods. Example: I can not see thejavadocof onCreate() when I move the mouse over this method. Has

[android-developers] Re: Video in resources

2009-02-13 Thread Marco Nelissen
On Fri, Feb 13, 2009 at 6:15 AM, Mark Murphy mmur...@commonsware.comwrote: bleucalme wrote: Anyone was able to play a video included in the .apk? I'm able to play this video from the SD card but not when it's a resource. I doubt that will work well. APKs are ZIP files, so you're asking

[android-developers] Re: I want to use mediaplayer to play avi and other file formats

2009-02-13 Thread Dave Sparks
This is not the appropriate list for your questions. There are lots of threads about this in android-framework. Search for OMX hardware codecs. There is also a guide to integrating OMX codecs in the OpenCore project. On Feb 12, 7:57 pm, susanner zsusan...@163.com wrote: Dear all Is there any

[android-developers] Re: What's in raw data from PictureCallback of camera?

2009-02-13 Thread Dave Sparks
Some good suggestions. Please write up a feature request in the bug tracker. Otherwise I'll probably never remember how to find this thread and we'll lose track of these good ideas. Just in terms of expectations, advanced features like this are probably several quarters out. Right now, we're

[android-developers] Re: RTSP Video Issues on 1.1 firmware

2009-02-13 Thread Dave Sparks
Can you supply some links so we can try to figure out what's wrong? On Feb 12, 12:15 pm, jz0o0z floresje...@gmail.com wrote: Update: After a little more testing I found some rtsp links that do play in 1.1, but other links, which I verified are still active and were working before are giving

[android-developers] Setup Merchant Account link now available

2009-02-13 Thread g1bb
I noticed a 'Setup a Merchant Account at Google CheckoutFree' is now available at market.android.com, but not functional yet. We're getting closer! Is the link working for anyone? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Is there any Android API to support synchronization of PIM data (contact and calender)

2009-02-13 Thread bueffel
Hi guys, i am eager to know if any Android API available which support the synchronisation of PIM data (contact and calender). Any suggestion is welcome! Best Regards Bueffel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] [Split the Android screen into two parts and run 2 applications simultaneously on both screen]

2009-02-13 Thread saroj
Hello all, I need to split the Android screen into two parts and run 2 applications (app A and app B) simultaneously. app A will run on screen 1 and app B will run on screen 2. Both are visible to the users. I need to implement this thing in the Android Framework. How to do it ? Waiting for

[android-developers] Problem about the new AlertDialog of sdk1.1_r1

2009-02-13 Thread Yin
Problem about the new AlertDialog of sdk1.1_r1 --~--~-~--~~~---~--~~ 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

[android-developers] Problem about the new AlertDialog of sdk1.1_r1

2009-02-13 Thread Yin
hey all, I found some of app's Dilaog with more than 2 lines title can't show() correctly in the new sdk v1.1_r1. for example : I 've a dialog' title: Line1:aaa + \n + Line2:bbb + \n + Line3:ccc + \n + Line4:ddd + \n + Line5:eee In the old sdk v1.0_r2 , it show prefert: Line1:aaa Line2:bbb

[android-developers] Split the Android screen into two parts and run 2 applications simultaneously on both screen I need to split the Android screen into two parts and run 2 applications (app A and

2009-02-13 Thread saroj
Hello, I want to split the Android screen into two parts and run 2 applications (app A and app B) simultaneously. app A will run on screen 1 and app B will run on screen 2. Both are visible to the users. I need to implement this thing in the Android Framework. How to do it ? Waiting for your

[android-developers] Problem about the new AlertDialog of sdk1.1_r1

2009-02-13 Thread Yin
hey all, I found some of app's Dilaog with more than 2 lines title can't show() correctly in the new sdk v1.1_r1. for example : I 've a dialog' title: Line1:aaa + \n + Line2:bbb + \n + Line3:ccc + \n + Line4:ddd + \n + Line5:eee In the old sdk v1.0_r2 , it show prefert: Line1:aaa Line2:bbb

[android-developers] Re: Resize based on orientation.

2009-02-13 Thread loty
I would also suggest using different layout files for different screen sizes and orientation. It works very well and much easier to control than any 'smart' resizing code. Look into API docs for explanation of resource folder naming conventions. On Feb 12, 7:26 pm, Timo Bruck timot...@gmail.com

[android-developers] Re: another round of emulator DNS problems

2009-02-13 Thread selawnkhua khua
Dear// Plsease android-developers@googlegroups.com the news i don't kown please my mail jhselawnkhuap...@gmail.com brik off please my mail addres cansel please i don't no life the next tame news i don't kwon please my mail off Thanks bye I had a similar problem with my

[android-developers] Re: Running different actives in the same package?

2009-02-13 Thread selawnkhua khua
Dear// pleasel i don't lite no news On Fri, Feb 13, 2009 at 7:18 PM, bigauto chidragon1...@gmail.com wrote: It seems that finish() ends a activity, but I'm not sure if it will actually allow me to run a different activity on a simulator. Also if there are any tutorials dealing with

[android-developers] no more then 2 lines in the new AlertDialog of sdk1.1_r1 ??

2009-02-13 Thread Yin
hey all, I found some of app's Dilaog with more than 2 lines title can't show() correctly in the new sdk v1.1_r1. for example : I 've a dialog' title: Line1:aaa + \n + Line2:bbb + \n + Line3:ccc + \n + Line4:ddd + \n + Line5:eee In the old sdk v1.0_r2 , it show prefert: Line1:aaa Line2:bbb

[android-developers] setPhotoData dosent associate an image with the contact

2009-02-13 Thread rp2
Here is what I am trying to do 1. Create a new contact programtically 2. Download the content of an image from an image URL on the web 3. Associate that with the netly created contact via the Contacts.People.setPhotoData() method All 3 seem to work. But in the end when I go to the contact book

[android-developers] RC33 update in Hood River Oregon and T Mobile offered to unlock my G1 no strings?

2009-02-13 Thread Qatmeer1
I'm posting for the first time. I was not making a call at the time the RC33 update warning came on my screen. If not for subscribing to this groups e.mail messages I was not even aware there was an update coming! Thank you all for your posts as not one word, newsletter, text, nada! From T

[android-developers] no more then 2 lines in the new AlertDialog of sdk1.1_r1 ??

2009-02-13 Thread Yin
hey all, I found some of app's Dilaog with more than 2 lines title can't show() correctly in the new sdk v1.1_r1. for example : I 've a dialog' title: Line1:aaa + \n + Line2:bbb + \n + Line3:ccc + \n + Line4:ddd + \n + Line5:eee In the old sdk v1.0_r2 , it show prefert: Line1:aaa Line2:bbb

[android-developers] Re: Setup Merchant Account link now available

2009-02-13 Thread Evgeny V
But it's available for US and UK countires! Means it that only US and UK citizen could be a sellers? On Fri, Feb 13, 2009 at 7:24 PM, g1bb corymgibb...@gmail.com wrote: Woah, now I can specify a price! On Feb 13, 10:12 am, g1bb corymgibb...@gmail.com wrote: I noticed a 'Setup a Merchant

[android-developers] Re: ImageView onclick, which area was clicked?

2009-02-13 Thread oguen
Hi, to bring it up again. Did nobody implemented a selection based on an image ? I want to implement some kind of image map like you can do in html map On 12 Feb., 19:42, oguen oguen.bi...@googlemail.com wrote: Hi, is it possible to get any information( x,y coordinates) about where on

[android-developers] How to specify the port when programmatically listening for SMS messages?

2009-02-13 Thread Hans
I can get SMS messages by using the syntax below: IntentFilter l_oSMSIntentFilter = new IntentFilter ( android.provider.Telephony.SMS_RECEIVED ); in_oContext.registerReceiver( this, l_oSMSIntentFilter ); But what I really need to do is listen on a particular port. It appears you can set it in

[android-developers] Re: sound effect using SoundPool

2009-02-13 Thread Robert Green
One more thing you need to know: Soundpool crashes if you change the pitch over 1.5 or under .5. I created multiple engine samples for higher and higher pitches, so no matter how high you hear the engine on light racer, it never goes above 1.5 playback rate. Soundpool is actually a really nice

[android-developers] Re: Getting location with multiple providers

2009-02-13 Thread Timo Bruck
I believe you have to register for multiple location providers (network, gps). In my code, I call requestLocationUpdates() on each provider, but they all share the same LocationListener. My LocationListener keeps track of the highest quality fix received so far (via getAccuracy()) and discards

[android-developers] Re: Setup Merchant Account link now available

2009-02-13 Thread Ivan Soto
I wonder the same. Will it be possible to sell from Canada to the rest of the world? On Fri, Feb 13, 2009 at 10:33 AM, Evgeny V evgen...@gmail.com wrote: But it's available for US and UK countires! Means it that only US and UK citizen could be a sellers? On Fri, Feb 13, 2009 at 7:24 PM, g1bb

[android-developers] How do I remove/disable the bar displaying the app name.

2009-02-13 Thread kozak
Hi All, I have put up a screenshot of the problem I am facing. I would like to remove the bar on the top of the screen ( circled in blue). The screenshot link is http://www.flickr.com/photos/30049...@n07/3277135030/ . I am not sure what the name of that part of the UI is :) hence the screenshot.

[android-developers] Re: remove|delete res/raw files

2009-02-13 Thread Timo Bruck
Alex... check out Jack Palevich's downloader code referenced at the end of http://android-developers.blogspot.com/2008/09/three-new-samples-triangle-spritetext.html. I think it's exactly what you're looking for. -Timo On Thu, Feb 12, 2009 at 6:16 PM, Alex B alexba...@gmail.com wrote: It

[android-developers] Re: Setup Merchant Account link now available

2009-02-13 Thread Evgeny V
Just now received the message from google ... Developers who do not already have a Google Checkout merchant account can easily sign up for one via the publisher website... ... What does it mean publisher site? On Fri, Feb 13, 2009 at 7:57 PM, snctln catlin.s...@gmail.com wrote: I just

[android-developers] Re: How do I remove/disable the bar displaying the app name.

2009-02-13 Thread kozak
HI Fixed it It is the Titlebar and can be removed by using the Theme.NoTitleBar attribute in Manifest.xml On Feb 13, 10:54 pm, kozak c.a.subraman...@gmail.com wrote: Hi All, I have put up a screenshot of the problem I am facing. I would like to remove the bar on the top of the screen (

[android-developers] Re: TextView scrolling (in case anyone finds this useful)

2009-02-13 Thread Al
This worked for me with fadingEdge turned off on the scrollview: scrollview.smoothScrollTo(0, scrollview.getHeight() + textview.getHeight()); Various other combinations worked also. On Feb 13, 1:52 pm, Hans hkess...@gmail.com wrote: This is rough and quick, but after a couple of minutes

[android-developers] Re: Accessing Dialog buttons

2009-02-13 Thread Al
You can do this with a Dialog box and a custom layout with the EditText and button elements defined inside it. Then attach a TextChanged listener to the EditText and enable/disable buttons as appropriate. mDialog = new Dialog(this); mDialog.setCancelable(true);

[android-developers] Re: Setup Merchant Account link now available

2009-02-13 Thread Ivan Soto
In the same site you post your application there's a link to setup a merchant account. On Fri, Feb 13, 2009 at 11:13 AM, Evgeny V evgen...@gmail.com wrote: Just now received the message from google ... Developers who do not already have a Google Checkout merchant account can easily sign up

[android-developers] Re: Setup Merchant Account link now available

2009-02-13 Thread Al Sutton
Google have already stated UK US first, then Germany, Austria, and the Netherlands, followed by France, Italy, and Spain. It was all in an email Google sent out at the end of last year (http://www.talkandroid.com/526-android-market-paid-apps-2009/). Al. Ivan Soto wrote: I wonder the same.

[android-developers] Re: Presumably there's no method to apply permissions to your code during runtime, correct?

2009-02-13 Thread Hans
Another solution would be to be able to associate a manifest with a class in some manner and importing/using that class would aggregate its manifest into your own. Potentially for only a subset of a current manifest's features... Hmmm... It just seems silly that if someone wants to use my

[android-developers] Re: Setup Merchant Account link now available

2009-02-13 Thread Agus
no Canada? On Fri, Feb 13, 2009 at 10:24 AM, Al Sutton a...@funkyandroid.com wrote: Google have already stated UK US first, then Germany, Austria, and the Netherlands, followed by France, Italy, and Spain. It was all in an email Google sent out at the end of last year

[android-developers] Re: Setup Merchant Account link now available

2009-02-13 Thread Al Sutton
Does Canada appear in the list in the email? Agus wrote: no Canada? On Fri, Feb 13, 2009 at 10:24 AM, Al Sutton a...@funkyandroid.com wrote: Google have already stated UK US first, then Germany, Austria, and the Netherlands, followed by France, Italy, and Spain. It was all in an

[android-developers] Database installation - Android

2009-02-13 Thread intbt
I am using a database for storage, I specifically do not want to use the Internet connectivity for data download. I write and install the database from a XML file on first application call. I set a flag within the code to prohibit install during app usage. However, once the user leaves the app,

[android-developers] Re: Database installation - Android

2009-02-13 Thread Faber Fedor
On Fri, Feb 13, 2009 at 1:29 PM, intbt tacbe...@gmail.com wrote: I am using a database for storage, I specifically do not want to use the Internet connectivity for data download. I write and install the database from a XML file on first application call. I set a flag within the code to

[android-developers] Re: Setup Merchant Account link now available

2009-02-13 Thread snctln
Just thought I would follow up, In the 30 minutes since I posted my last post in this thread I got an email from Google describing the paid apps plan (which was posted at the Google developers blog http://android-developers.blogspot.com/2009/02/android-market-update-support-for.html) Basically

[android-developers] Re: Getting location with multiple providers

2009-02-13 Thread Faber Fedor
How about using LocationManager.getBestProvider()? On Fri, Feb 13, 2009 at 12:47 PM, Timo Bruck timot...@gmail.com wrote: I believe you have to register for multiple location providers (network, gps). In my code, I call requestLocationUpdates() on each provider, but they all share the same

[android-developers] Re: Setup Merchant Account link now available

2009-02-13 Thread Romain Guy
The Android team and some specific testers have access to paid apps. On Fri, Feb 13, 2009 at 10:39 AM, snctln catlin.s...@gmail.com wrote: Just thought I would follow up, In the 30 minutes since I posted my last post in this thread I got an email from Google describing the paid apps plan

[android-developers] Re: Setup Merchant Account link now available

2009-02-13 Thread Ivan Soto
I knew you wouldn't be able to buy or sell IN Canada. But I had no idea that if I was IN Canada I wouldn't be able to sell to another countries. Now I'm sad. On Fri, Feb 13, 2009 at 11:29 AM, Al Sutton a...@funkyandroid.com wrote: Does Canada appear in the list in the email? Agus wrote: no

[android-developers] Re: Setup Merchant Account link now available

2009-02-13 Thread Agus
@Ivan: same situation here. Dear Google, can i have my $25 back? On Fri, Feb 13, 2009 at 10:55 AM, Ivan Soto ivanso...@gmail.com wrote: I knew you wouldn't be able to buy or sell IN Canada. But I had no idea that if I was IN Canada I wouldn't be able to sell to another countries. Now I'm sad.

  1   2   >