[android-developers] Re: New application replacing old application

2010-03-29 Thread Nithin
Thanks... its working.. On Mar 30, 11:26 am, Tako Au wrote: > A new package name > > On Mar 30, 2:23 pm, Nithin wrote: > > > Hi, > > > From one application, I want to create two apk. So I changed the > > manifest file. In changed the name of the launcher activity, put a new > > icon, changed th

[android-developers] Re: Database : XML or SQLite ?

2010-03-29 Thread ko5tik
JSON is also an option: http://github.com/ko5tik/jsonserializer ( unless you like to write SAX / DOM yourself, you will need kind of data binding) regards, -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send

[android-developers] Re: R.id cannot be resolved

2010-03-29 Thread Tako Au
Agree. Clean your project and rebuild it. See if you can see the R.java in /src/gen. On Mar 30, 10:16 am, DonFrench wrote: > Can you show us the contents of R.java.  It is in the gen folder. > > On Mar 29, 3:17 am, mnavlani wrote: > > > > > thanks for your reply! > > > I used the following cod

[android-developers] Re: New application replacing old application

2010-03-29 Thread Tako Au
A new package name On Mar 30, 2:23 pm, Nithin wrote: > Hi, > > From one application, I want to create two apk. So I changed the > manifest file. In changed the name of the launcher activity, put a new > icon, changed the label etc. But the new apk is replacing the old > apk. > > What I need to do

[android-developers] Re: New to android

2010-03-29 Thread patbenatar
Yea... Check out the tutorials and API Demos under the Resources tab. Great starting point. On Mar 29, 12:30 pm, Felipe Silveira wrote: > The first place you need to go is:http://developer.android.com > > Felipe Silveirawww.felipesilveira.com.br > > > > > > On Mon, Mar 29, 2010 at 8:53 AM, ifte

[android-developers] New application replacing old application

2010-03-29 Thread Nithin
Hi, >From one application, I want to create two apk. So I changed the manifest file. In changed the name of the launcher activity, put a new icon, changed the label etc. But the new apk is replacing the old apk. What I need to do to create a seperate apk. Nithin -- You received this message be

[android-developers] Re: android.location.Location.distanceTo algorithm

2010-03-29 Thread Patrick
Of course, the source code. I didn't think of that. Thank you Andreas. On Mar 30, 2:44 am, Andreas wrote: > Yes. > > According to the source code (http://source.android.com/download), the > section 4 of this document is used to calculate the > distance:http://www.ngs.noaa.gov/PUBS_LIB/inverse.

[android-developers] Re: Bluetooth file trasfer

2010-03-29 Thread VovaN
Hello, Of course Android can. Please follow guide http://developer.android.com/intl/zh-CN/guide/topics/wireless/bluetooth.html On Mar 30, 5:30 am, Jobs He wrote: > Hello: >      I want to know android can or not transfer through Bluetooth,and > now,android have how much capalicity about Bluetoot

[android-developers] Re: Network connectivity checking without wakelock

2010-03-29 Thread Tako Au
Anybody here? On Mar 26, 10:30 pm, Tako Au wrote: > I have a terrible bug in my widget.  The widget is waken up using an > AlarmManager (the update interval is chosen by users, ranging from 30 > mins to 2 hours) to grab some data from the Internet and display it on > the widget.  I do not hold a

[android-developers] how to implement musicplayer as service in android

2010-03-29 Thread kavitha
Hi All, I have a Music Player application and music plays continuously even user comes out of application UI. I have read that such background processing should be done with service in android. How to do that?any idea? Please help. Thanks Kavitha -- You received this message because you are

[android-developers] Re: Camera in Portrait on Surface View

2010-03-29 Thread grace
i tried the following method, it worked out for me.. Parameters params = mCamera.getParameters(); params.set("orientation", "portrait"); mCamera.setParameters(params); u need to add this code before calling setPreviewDisplay() in the public void surf

[android-developers] restarting the application

2010-03-29 Thread Asif k
Hi All, I have kept the title bar in my application. But I have also given an option in the menu to invisible title bar. If someone clicks that menu option then my application need to restart and clear all the activities from the task. For time being, I had thrown an unhandled exception menua

[android-developers] Camera in Portrait on Surface View

2010-03-29 Thread Prasanna Perera
Hello, I tried several things to try to get the camera preview to show up in portrait on a SurfaceView. Nothing worked. I am testing on a Droid that has 2.0.1. I tried: 1) forcing the layout to be portrait by: this.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); 2) using C

[android-developers] How to load html file embedded with javascript using WebView

2010-03-29 Thread monty
Culd any1 plz tell How to load a html file embedded with javascript using WebView .I m not able to display the image in ythe html usin WebView. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-dev

[android-developers] Re: Application not re-launching.

2010-03-29 Thread Bhargavi
Hi, Please let us know how to resolve the application re-launch issue. Regards, Bhargavi On Mon, Mar 29, 2010 at 11:30 AM, Bhargavi wrote: > Hi, > I have written an application which calls native methods through JNI. > In the native library 4 threads are started. > On USB removal, the applicati

[android-developers] Re: media player source code

2010-03-29 Thread grace
u can check out in the api demos for one.. http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/media/index.html On Mar 28, 7:18 am, jana janarthanan wrote: > Dear sir > >            Good morning to all. please send the media player source code to > me. > >      

[android-developers] Re: ScrollView listview again again

2010-03-29 Thread Kumar Bibek
It will work. Try making the contents go beyond the screen height, and it would start showing you the scroll bars. Thanks and Regards, Kumar Bibek On Mar 25, 3:18 pm, Lars wrote: > Hi I'm new to Android development and having a hard time making the > UI, so hopefully someone here can help me wit

[android-developers] Re: Database : XML or SQLite ?

2010-03-29 Thread Kumar Bibek
Yes you can do this. You can put your xml file in the assets directory. When you app is launched, read this file, and do whatever you want. Note: You cannot delete this file from the assets directory from within the app. It will be there forever. Thanks and Regards, Kumar Bibek On Mar 25, 1:03 p

[android-developers] Re: ImageView: zoom proportionally to width="fill_parent" ???

2010-03-29 Thread Kumar Bibek
Well, I guess, if it's a background or a texture image that you want to scale, it's advisable to go the 9-patch way. Else, if it is a normal picture, if stretched, it would obviously not look good. By the way, to stretch an image, you can try FIT_XY. But I don't know if it works all the time. Th

[android-developers] Re: onRelease for ListView-Adapter

2010-03-29 Thread Kumar Bibek
TouchListener would work in this case. You can act upon specific events such as MOUSE_DOWN, MOUSE_UP etc. Thanks and Regards, Kumar Bibek On Mar 30, 1:54 am, "Kevin S." wrote: > Have you tried view.setOnTouchListener()?  I think you then get a > motionEvent which you can look at to determine if

[android-developers] How can I upload a device recorded Video to a specific YoutTube account?

2010-03-29 Thread Juan David Trujillo C.
Hello everyone, I have read previous posts that somehow mention how to upload videos to YouTube, but I would like to get the whole picture of what I mention, considering new OS versions have been released: Is it possible to record a video directly from the device, and then use some sort of Androi

Re: [android-developers] Re: Disable Home Key?

2010-03-29 Thread Dianne Hackborn
Since this is not talking about the SDK, please move the discussion to android-porting. Thanks. On Mon, Mar 29, 2010 at 8:22 PM, DroidBy wrote: > Hi HackNone, > > You can handle the Home Key inside the PhoneWindowManager itself. This > is up to your way to handle the key there. > > > On Mar 21,

[android-developers] Re: currentTimeMillis() doesnt match on two concurrent emulators

2010-03-29 Thread Robert Green
Dianne, I don't know why but I found that my games were jittery using SystemClock.uptimeMillis(). It's as if there was a little inconsistency and when doing time-interpolated movements, it shows. I've never run a test comparing the output of nanoclock vs uptime so I have no empirical evidence, bu

[android-developers] Re: Disable Home Key?

2010-03-29 Thread DroidBy
Hi HackNone, You can handle the Home Key inside the PhoneWindowManager itself. This is up to your way to handle the key there. On Mar 21, 9:18 pm, HackNone wrote: > Hi, DroidBy. > > Do you solve this problem now? I also have this question. > > I am trying my best to solve it. -- You received

[android-developers] How to slip right/left to review next/previous item in the listview?

2010-03-29 Thread David
Dear All, There are some items in the listview, they list normally, click one item and an activity comes out for corresponding details, I wanna know how to slip right/left on the activity page to review next/previous item's detail with another activity page ? Thanks, Best Regards, David

[android-developers] Re: Sound Processing

2010-03-29 Thread Janaka
I am testing the application on the emulator and i couldn't get the AudioTrack or AudioRecord to work. I am trying to apply fast furior transform to the input so implementation in Java may be too slow. I learned there is Native Development Kit for android. Does it have libraries for audio suppor

[android-developers] Re: Programmatically setting a new default ringtone without the ringtone picker

2010-03-29 Thread HippoMan
I figured out a way to do this. This is a stripped down version (no error checking, etc.). I set the default ringtone and notification to my preferred values from out of the standard set that comes with my N-1. Then, I make sure that the volume is set to the maximum on ringtones, notifications, al

[android-developers] Re: How to prevent long URL from breaking in generated email?

2010-03-29 Thread DonFrench
As you might have guessed from a subsequent post of mine, it turns out that the culprit was an embedded space in the URL. On Mar 28, 8:12 pm, DonFrench wrote: > I am generating an email in my app in which I include a long URL.  The > entire URL appears in the email but the clickable link portion

[android-developers] Re: Variable rate audio playback

2010-03-29 Thread ps
Anyone? On Mar 14, 7:45 pm, ps wrote: > Hey guys, I'm new to development on Android and thought maybe you > could shed some light on my problem.  I'm trying to code up a little > object to take care of playing a list of songs at a constantly varying > playbackrate. > > I just spent a god chunk of

[android-developers] Re: Bug or feature?

2010-03-29 Thread DonFrench
I based my statement on the fact that the example I gave works correctly (treating the space as just another character) in all the browsers I tested it on, which wasn't that many (IE 8 and FF3.6.2). I assumed that if it worked it was valid, which obviously isn't necessarily true. On Mar 29, 11:52

[android-developers] Bluetooth file trasfer

2010-03-29 Thread Jobs He
Hello: I want to know android can or not transfer through Bluetooth,and now,android have how much capalicity about Bluetooth.Thank you ! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-devel

[android-developers] Re: R.id cannot be resolved

2010-03-29 Thread DonFrench
Can you show us the contents of R.java. It is in the gen folder. On Mar 29, 3:17 am, mnavlani wrote: > thanks for your reply! > > I used the following code in main.xml: > > > http://schemas.android.com/apk/res/ > android” > android:orientation=”vertical” > android:layout_width=”fill_parent” >

Re: [android-developers] Re: currentTimeMillis() doesnt match on two concurrent emulators

2010-03-29 Thread Dianne Hackborn
Fwiw, we generally use SystemClock.uptimeMillis() in the platform. This is monotonic and should not jump. It does not increment when the CPU is not running, but typically this is actually fine or even good behavior. (For example, it is used to time messages in handlers; if you post a delayed mes

[android-developers] Re: ADP3? When?

2010-03-29 Thread JP
On Mar 25, 10:21 am, Disconnect wrote: > Almost any phone can be used for app development. Thats one of the awesome > bit about Android. (I say 'almost' because I heard rumours of one that had a > market-apps-only lock.) > Not to toot the horn for Google here, but I'd stick with Google's device

Re: [android-developers] Global font size?

2010-03-29 Thread Dianne Hackborn
There is a font scale, but it hasn't been officially documented and thus most applications won't use it. On Mon, Mar 29, 2010 at 5:49 PM, paladin wrote: > Is there a single place/call where I could increase all font sizes in > the app all at once, programmatically? > > -- > You received this mes

[android-developers] Re: Question for Admob users

2010-03-29 Thread Emmanuel
The location is also used to determine the language the ad should use. In my games, "Word Prospector" and "Chasseur de Mots", I essentially have ads in english and in french, and, for some reasons, click on the ads in french are much more expensives ! So if your application is used world wide, I

[android-developers] Global font size?

2010-03-29 Thread paladin
Is there a single place/call where I could increase all font sizes in the app all at once, programmatically? -- 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 unsubsc

[android-developers] Re: android.location.Location.distanceTo algorithm

2010-03-29 Thread Andreas
Yes. According to the source code (http://source.android.com/download), the section 4 of this document is used to calculate the distance: http://www.ngs.noaa.gov/PUBS_LIB/inverse.pdf Good luck. On Mar 29, 3:31 pm, Patrick wrote: > Hello! > > I'm developing an Android app with a web for GPS data

Re: [android-developers] Re: Advice on buying android phone for development

2010-03-29 Thread Chi Kit Leung
how's about htc legend? much better to have sense UI, better UI. On Tue, Mar 30, 2010 at 10:25 AM, davemac wrote: > I didn't know the iPhone supported all Android versions. Good to > know ;-) > > - dave > > On Mar 29, 7:02 pm, Gabriel Simões wrote: > > Can´t any android device use any android

Re: [android-developers] Android market - limited distribution

2010-03-29 Thread Chi Kit Leung
As I remember, Android Market policy doesn't allow this. (Free App needs to be an application without restrictions). On Tue, Mar 30, 2010 at 5:50 AM, Sean Hodges wrote: > On Mon, Mar 29, 2010 at 6:42 PM, Mark Murphy > wrote: > > ole! wrote: > >> Now that AT&T will not allow any downloads to the

[android-developers] Re: Advice on buying android phone for development

2010-03-29 Thread davemac
I didn't know the iPhone supported all Android versions. Good to know ;-) - dave On Mar 29, 7:02 pm, Gabriel Simões wrote: > Can´t any android device use any android version just like the iphone? > > On 29 mar, 17:52, Sean Hodges wrote: > > > On Mon, Mar 29, 2010 at 1:05 PM, Venky.Vijay wrote:

[android-developers] Free MEM and SD CARD

2010-03-29 Thread Porting beginner
Hi, I have Android (eclair)running on armv6 target platform. I am trying to check how much memory is currently in used and how much left ( free ) ? During boot I can observe that memory is going in in-active partition and at the end when all processes ( zygote, system ) and apps up and running a

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-29 Thread Andrei
FL still waiting On Mar 29, 5:58 pm, "SoftwareForMe.com SoftwareForMe.com" wrote: > Washington State, USA. Still waiting. > > > > On Mon, Mar 29, 2010 at 2:41 PM, Arnon wrote: > > You mean 4 weeks? ;-) > > > Quote: "Please allow 2-4 weeks from the date of submission of the form > > for delivery

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-29 Thread havexz
I jst got my Droid ...thanks to Google any one any idea how to make Droid (the one we got from Google) work with our SDK. I mean how can i start deploying my app on Droid? I enabled the USB debugging but still i cant see the device listed in the DDMS? Any idea? On Mar 29, 4:58 pm, "SoftwareForMe.

[android-developers] Re: currentTimeMillis() doesnt match on two concurrent emulators

2010-03-29 Thread Samsyn
just a little followup.. thanks again Robert for encouraging me to use nanoclock. I eventually got around to the conversion (I had been invoking System.currentMillis in a thousand individual locations, of course :-) Anyway clock sync is better than ever, whether I am on Wifi/3gs or lagging my poot

[android-developers] Re: Custom Dialog help!!!

2010-03-29 Thread James
Hmmmh, now how do i do that :) On Mar 29, 11:29 pm, "~ TreKing" wrote: > On Mon, Mar 29, 2010 at 5:13 PM, James wrote: > > When I hit on the "info" on my menu nothing happens. > > Are you actually handling this case in onOptionsItemSelected() (that may not > be the right name, going off the top

Re: [android-developers] Re: ADP3? When?

2010-03-29 Thread Dianne Hackborn
On Fri, Mar 26, 2010 at 2:49 AM, String wrote: > Someone might want to mention that to AT&T. Apparently they've > disabled "Unknown sources" on the Motorola Backflip: > http://tinyurl.com/yat7cqe > (among other sources) > That is not the same thing. This is about developing, that is adb access.

[android-developers] Re: Advice on buying android phone for development

2010-03-29 Thread Gabriel Simões
Can´t any android device use any android version just like the iphone? On 29 mar, 17:52, Sean Hodges wrote: > On Mon, Mar 29, 2010 at 1:05 PM, Venky.Vijay wrote: > > Hello everyone, > > I'm from India and I want to buy an Android phone for developing > > applications for it. I shortlisted two ph

[android-developers] Re: Sound Processing

2010-03-29 Thread Gabriel Simões
AudioTrack and AudioRecord will do the trick. If you are thinking about using the emulator to test your app then I should add luck to you. Could never make audioRecord work on the emulator. On 29 mar, 18:06, BobG wrote: > Read about AudioTrack, AudioRecord, and Soundpool I think. -- You receive

[android-developers] Re: how to detect screen is on or off?

2010-03-29 Thread Flying Coder
I also listen to SCREEN_ON/OFF broadcasts in a couple of my apps. But, starting in 2.1 there is a new isScreenOn method: PowerManager pm = (PowerManager) getSystemService(Context.POWER_SERVICE); boolean isScreenOn = pm.isScreenOn(); It won't actually help me with my apps since I'm interested i

Re: [android-developers] Re: Custom Dialog help!!!

2010-03-29 Thread ~ TreKing
On Mon, Mar 29, 2010 at 5:13 PM, James wrote: > When I hit on the "info" on my menu nothing happens. Are you actually handling this case in onOptionsItemSelected() (that may not be the right name, going off the top of my head) and are you actually calling showDialog() somewhere? That would help

[android-developers] Is this is possible in Android ?

2010-03-29 Thread AJ
Hi Group, As we know the following command is for using Emulator console. telnet localhost But this works only for Emulator. I tried for read android Devices that did not work It says "Connecting To localhost...Could not open connection to the host, on port 5700efa84f37: Connect failed" Any c

[android-developers] Re: Custom Dialog help!!!

2010-03-29 Thread James
When I hit on the "info" on my menu nothing happens. On Mar 29, 9:56 pm, "~ TreKing" wrote: > On Sun, Mar 28, 2010 at 6:00 PM, James wrote: > > Hey i'm in need of some help. I want my menu item "info" to create a > > custom dialog. Yet i appear to to be having trouble > > What, exactly, is the "

[android-developers] Re: No Network Connectivity in Service/AlarmManager Process.

2010-03-29 Thread AuxOne
It turns out SystemClock.elapsedRealtime() is horribly wrong on a real device (or at least mine). After turning my phone off then running an app that just prints out the value for this, it came out to 870495360. On the emulator it's a much nicer number. Having said that, it still works fine if

Re: [android-developers] Re: ADP3? When?

2010-03-29 Thread Disconnect
For os hacking your options are ADP1 or 2. (You can do it on nexus one, but it immediately voids the warranty. Makes me wonder about quality.. IANAL but it might not hold up in court if you can prove the failure was due to manufacturing and not software - depending on state, etc. And how much legal

Re: [android-developers] eclipse issue

2010-03-29 Thread Xavier Ducrohet
Hi, this should not happen. I regularly have 2+ phones connected with emulator(s) running as well and DDMS handles it no problem. Could you: - make sure Eclipse is NOT running - launch the standalone version of DDMS from a terminal - plug 2+ devices - grab the error output from the terminal and s

[android-developers] Re: ADP3? When?

2010-03-29 Thread cloudguy
Can you flash different versions of the OS onto it? On Mar 24, 10:21 am, Romain Guy wrote: > The Nexus One can be used as a development phone. > > > > > > On Tue, Mar 23, 2010 at 11:21 AM, cloudguy wrote: > > I'm waiting to buy an android phone until I can get a developer phone > > that has as m

Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-29 Thread SoftwareForMe.com SoftwareForMe.com
Washington State, USA. Still waiting. On Mon, Mar 29, 2010 at 2:41 PM, Arnon wrote: > You mean 4 weeks? ;-) > > Quote: "Please allow 2-4 weeks from the date of submission of the form > for delivery of the phone. If you do not receive the phone within that > timeframe, please send an email to..."

Re: [android-developers] Testing telephony signal strength changes in emulator?

2010-03-29 Thread David Turner
No, i'ts not possible, I'm afraid. On Mon, Mar 29, 2010 at 12:56 PM, goosedroid wrote: > I was wondering if there is a way to manipulate the emulator to > simulate telephony signal strength changes. I would like to test code > that uses TelephonyManager.listen() with LISTEN_SIGNAL_STRENGTHS. > >

Re: [android-developers] Re: Http proxy settings not working in Android Emulator 2.1

2010-03-29 Thread David Turner
b.android.com On Mon, Mar 29, 2010 at 12:54 AM, Corrie wrote: > Yes, I can confirm this works in Linux but not on Windows. > > I am a newbie, how do we reports this as a bug on the windows sdk > version? > > Regards, > Corrie > > On Mar 18, 5:07 pm, David Turner wrote: > > It looks like I can

[android-developers] Re: compatible screen sizes on droid G1

2010-03-29 Thread FrankD
Thanks!!! i wll check those out On Mar 28, 1:06 pm, Mark Murphy wrote: > FrankD wrote: > > I have read the documentation on "supporting multiple screens" but > > can't seem to figure it out. > > I mean, i understand that resolution effects it but it just doesn't > > make sense to me that the droi

Re: [android-developers] Re: Vibrator.vibrate() makes the application crash

2010-03-29 Thread Simone Russo
Ok, so that's the only way ;) Thanks a lot Simone On Mon, Mar 29, 2010 at 11:35 PM, Streets Of Boston wrote: > Nope. Your emulator won't 'shake'. > > I'm not sure what the call to > 'context.getSystemService(Context.VIBRATOR_SERVICE);' returns when > there is no vibration device in the phone. Bu

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-29 Thread Arnon
You mean 4 weeks? ;-) Quote: "Please allow 2-4 weeks from the date of submission of the form for delivery of the phone. If you do not receive the phone within that timeframe, please send an email to..." On Mar 29, 3:48 pm, zneref wrote: > People relax, 6-weeks term doesn't passed yet ;) > > On 2

Re: [android-developers] Re: Notification manager question

2010-03-29 Thread ~ TreKing
On Mon, Mar 29, 2010 at 4:37 AM, guru wrote: > What I have to need to achieve single icon and number of notification > on the status bar? > Make sure you use the same ID when you call NotificationManager.notifiy().

[android-developers] Re: Vibrator.vibrate() makes the application crash

2010-03-29 Thread Streets Of Boston
Nope. Your emulator won't 'shake'. I'm not sure what the call to 'context.getSystemService(Context.VIBRATOR_SERVICE);' returns when there is no vibration device in the phone. But i would check the return value of this call. If this call throws an exception, put it inside a 'try - catch' block: V

[android-developers] Re: Android market - limited distribution

2010-03-29 Thread Streets Of Boston
It would be nice if the Android Market would have some form of an 'enterprise application' section, where companies can publish apps just for their employees or customers outside of the general public. I'm not aware of any such plans by Google. It is possible with the 'Unknown Sources' setting che

[android-developers] Re: deleteOnExit when and how does an Android JVM exit

2010-03-29 Thread Streets Of Boston
Usually, calling System.exit() should not be done. Depending on your manifest settings of your activity, it could be that your activity is loaded into a process of another application. Calling System.exit() will kill the entire application, not just your activity. In short, don't call System.exit(

[android-developers] Re: ADP3? When?

2010-03-29 Thread cloudguy
Can it be used to install different versions of the OS, or is not something any phone can do? Jamie On Mar 24, 10:21 am, Romain Guy wrote: > The Nexus One can be used as a development phone. > > > > On Tue, Mar 23, 2010 at 11:21 AM, cloudguy wrote: > > I'm waiting to buy an android phone until

[android-developers] Re: deleteOnExit when and how does an Android JVM exit

2010-03-29 Thread lordjoe
So my take on this is not only can I not COUNT on deleteOnExit() behaving properly but I can basically count on it never being called. This raises one more question which might need a separate thread - is it ever right for an application to call System.exit(). We are trained not to do this but for

[android-developers] Re: Sound Processing

2010-03-29 Thread BobG
Read about AudioTrack, AudioRecord, and Soundpool I think. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-develo

[android-developers] Re: deleteOnExit when and how does an Android JVM exit

2010-03-29 Thread fadden
On Mar 29, 11:33 am, Mark Murphy wrote: > > 2) When does an Application's JVM exit - assuming there is one JVM per > > application. > > That is unclear and definitely varies. For example, the process may be > terminated quickly enough that the JVM does not go through a normal > shutdown procedure.

Re: [android-developers] Custom Dialog help!!!

2010-03-29 Thread ~ TreKing
On Sun, Mar 28, 2010 at 6:00 PM, James wrote: > Hey i'm in need of some help. I want my menu item "info" to create a > custom dialog. Yet i appear to to be having trouble > What, exactly, is the "trouble" ?

[android-developers] Re: onRelease for ListView-Adapter

2010-03-29 Thread Kevin S.
Have you tried view.setOnTouchListener()? I think you then get a motionEvent which you can look at to determine if the event was a touch up or a touch down. I've not tried it in a listview before, however. -Kevin On Mar 27, 1:54 pm, lukas wrote: > Hello everyone, > > I'm programming my first A

Re: [android-developers] Advice on buying android phone for development

2010-03-29 Thread Sean Hodges
On Mon, Mar 29, 2010 at 1:05 PM, Venky.Vijay wrote: > Hello everyone, > I'm from India and I want to buy an Android phone for developing > applications for it. I shortlisted two phones the SAMSUNG I7500 and > HTC Hero. But the problem is that i7500 doesn't have much support as > its still stuck wi

Re: [android-developers] Re: Android Developer Device Seeding Program - Updates?

2010-03-29 Thread Yves Liu
I only did the developer program and got an email confirmation on Mar. 5th saying there will be 2 to 4 weeks for me to get mine. I haven't received mine yet. On Fri, Mar 26, 2010 at 2:15 PM, Jeremy Logan wrote: > But was yours for the market program, or the developer program? I > heard people wer

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-29 Thread Rootko
Let me add my 5 cents :D Slovakia, EU still waiting (although I'm for 2 weeks abroad, so plenty of time there :) ) -- 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 u

Re: [android-developers] Re: Moving CursorAdapter cursor creation to background thread

2010-03-29 Thread Mark Murphy
Paul Turchenko wrote: > What is the most correct way to populate your list items from database/ > contentprovider records when querying then takes too long? Run your query in an AsyncTask and call setListAdapter() in onPostExecute() of the task. What, precisely, is not "desirable" about that solu

Re: [android-developers] Re: Application invisible in Market from Nexus One. Please test.

2010-03-29 Thread Evgeny V
Thanks, It's not mine. On Mon, Mar 29, 2010 at 6:33 PM, sbw.android wrote: > On 29 mar, 13:29, EvgenyV wrote: > > My app is universal unit converter "ConvertMe(Beta)" free. > > on a nexus one, I can see the "ConvertMe" application (no beta in the > name) from defiant. is it your ? > > -- > You

Re: [android-developers] Re: Application invisible in Market from Nexus One. Please test.

2010-03-29 Thread Evgeny V
Thank you very much for response. BTW if you've read the documentation the "normal" HVGA resolution mentioned there. It's not a my concept. 1. The question is if Market engine can detect supported resolution and decline it per device. 2. Why app is avaialble from Tatoo devices running "small" scr

Re: [android-developers] Advice on buying android phone for development

2010-03-29 Thread Abdul Mateen
I think you should consider buying a Nexus One. On Mon, Mar 29, 2010 at 5:05 PM, Venky.Vijay wrote: > Hello everyone, > I'm from India and I want to buy an Android phone for developing > applications for it. I shortlisted two phones the SAMSUNG I7500 and > HTC Hero. But the problem is that i7500

Re: [android-developers] Re: Question for Admob users

2010-03-29 Thread Abdul Mateen
Yes, title would be definitely good thing to indicate this., but what I have done is released Free(Ad supported ) as name i.e "Facebook Plus" and paid one as "Facebook Plus(Ad Free)". Thank you! Abdul Mateen. On Mon, Mar 29, 2010 at 11:34 PM, Kevin Duffey wrote: > I agree with Bob... until goog

Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-29 Thread Gary C Wang
ditto that in New Orleans, LA USA. Still within 4-week time frame, but it's getting close. -- http://bit.ly/Qdroid On Mar 29, 2010 2:42 PM, "Breezy" wrote: Oh geez, let me throw this in here... Alabama - still waiting. I've got patience, plenty of it, but when I hear a step truck drive by I

Re: [android-developers] Android market - limited distribution

2010-03-29 Thread Sean Hodges
On Mon, Mar 29, 2010 at 8:53 PM, Mark Murphy wrote: > True. I was assuming the OP literally did not want the APK distributed, > rather than having the APK be distributed but just not work. I thought so, just thought I'd assume a little more, on top of what you had already said :) -- You receive

Re: [android-developers] decoder->decode returned false

2010-03-29 Thread Sean Hodges
I assume you are trying to The image decoder library (called Skia) is failing to parse the image data for those images. There are a number of things that can cause this problem: 1) The input file is not actually an image (e.g. if it is accessed from the Web, it might actually be a 404 error page)

[android-developers] Re: Moving CursorAdapter cursor creation to background thread

2010-03-29 Thread Paul Turchenko
Hi Mark. I don't think that's a most desirable solution. For most cases, we'd like to have the CursorAdapter (which is attached to Cursor) populated in runtime with new entries from ContentProvider/ Database. I generally agree with jsfd that since activity offers managedQuery method, it would be re

[android-developers] Testing telephony signal strength changes in emulator?

2010-03-29 Thread goosedroid
I was wondering if there is a way to manipulate the emulator to simulate telephony signal strength changes. I would like to test code that uses TelephonyManager.listen() with LISTEN_SIGNAL_STRENGTHS. Thanks -- You received this message because you are subscribed to the Google Groups "Android Dev

Re: [android-developers] Vibrator.vibrate() makes the application crash

2010-03-29 Thread Simone Russo
Sorry for the double post, but I put that at the end of the manifest and it seems to work now. Still, I don't get any effect for the vibration. Shouldn't the emulator "shake" or something? Thanks again, Simone On Mon, Mar 29, 2010 at 9:50 PM, Simone Russo wrote: > I did this: > > > > But it stil

Re: [android-developers] Android market - limited distribution

2010-03-29 Thread Mark Murphy
Sean Hodges wrote: > On Mon, Mar 29, 2010 at 6:42 PM, Mark Murphy wrote: >> ole! wrote: >>> Now that AT&T will not allow any downloads to the Flip except through >>> the Android market, >>> we need to have the capability to have a limited distribution on the >>> Market. >>> >>> Can this be done on

Re: [android-developers] Vibrator.vibrate() makes the application crash

2010-03-29 Thread Mark Murphy
Simone Russo wrote: > I did this: > > > > But it still won't work. What gives? Use adb logcat, DDMS, or the DDMS perspective in Eclipse to examine your Java stack trace, so you can determine what is causing your exception. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter

Re: [android-developers] Android market - limited distribution

2010-03-29 Thread Sean Hodges
On Mon, Mar 29, 2010 at 6:42 PM, Mark Murphy wrote: > ole! wrote: >> Now that AT&T will not allow any downloads to the Flip except through >> the Android market, >> we need to have the capability to have a limited distribution on the >> Market. >> >> Can this be done on the Android market? > > If

Re: [android-developers] Vibrator.vibrate() makes the application crash

2010-03-29 Thread Simone Russo
I did this: But it still won't work. What gives? Simone On Mon, Mar 29, 2010 at 9:33 PM, Dan Sherman wrote: > Make sure you have the vibrate permission in your manifest. > > - Dan > > > On Mon, Mar 29, 2010 at 1:31 PM, Simone wrote: > >> Hi, I need in my application to make the device vibrat

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-29 Thread Breezy
Oh geez, let me throw this in here... Alabama - still waiting. I've got patience, plenty of it, but when I hear a step truck drive by I perk up. ;) BTW, FedEx said they're not tracking anything coming to my location (yet). -- You received this message because you are subscribed to the Google

[android-developers] Communication between android Emulator and Real Device !!!

2010-03-29 Thread AJ
Hi group, I know we can communicate between 2 instances of Emulator. But Is it possible to communicate between the a read Device and Emulator? Thanks in Advance for your inputs. - AJ -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To pos

[android-developers] Re: How good is the Android Dev Phone 2?

2010-03-29 Thread MrChaz
It's basically the HTC Magic iirc so the same as the G1 but without the keyboard. On Mar 29, 2:07 pm, Simone wrote: > I was considering buying it, is it as good as the Nexus One? Wich > features does it lack? > Thanks > Simone -- You received this message because you are subscribed to the Googl

Re: [android-developers] Vibrator.vibrate() makes the application crash

2010-03-29 Thread Dan Sherman
Make sure you have the vibrate permission in your manifest. - Dan On Mon, Mar 29, 2010 at 1:31 PM, Simone wrote: > Hi, I need in my application to make the device vibrate during the > playback of a sound. > I did something like this: > > Vibrator > vibrator=(Vibrator)context.getSystemService(Co

[android-developers] Vibrator.vibrate() makes the application crash

2010-03-29 Thread Simone
Hi, I need in my application to make the device vibrate during the playback of a sound. I did something like this: Vibrator vibrator=(Vibrator)context.getSystemService(Context.VIBRATOR_SERVICE); ... vibrator.vibrate(mp.getDuration()); but it makes the application crash. What am I doing wrong? Doe

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-29 Thread android app
NY, US. Still waiting ... -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups

Re: [android-developers] New to android

2010-03-29 Thread Felipe Silveira
The first place you need to go is: http://developer.android.com Felipe Silveira www.felipesilveira.com.br On Mon, Mar 29, 2010 at 8:53 AM, iftekhar wrote: > Hi, > I am new to android/mobile application .I have exp in developing > applications using Java/J2EE but no knowledge of mobile applicati

[android-developers] Re: Recommended way to wake a sleeping Wi-Fi connection?

2010-03-29 Thread westmeadboy
Thanks for reminding me about that Broadcast Intent. Sure, if it was a blocking call, then there would be a timeout. More likely I would write the method passing success/failure callbacks. For re-awakening I was thinking of this: 1. Use ConnectivityManager.getActiveNetworkInfo().isConnected() 2

Re: [android-developers] Re: App not visable on a 1.5 device

2010-03-29 Thread Yuvi
I use: In Eclipse, the target android version is set to Android 1.6 (so that you can use the tag ), but in the code itself you shouldn't use any > 1.5 API calls... On Mon, Mar 29, 2010 at 8:15 PM, Yorgos X wrote: > i am having the same problem, did you eventually figure out the cause of > it?

  1   2   3   >