[android-developers] Re: need someone to try my app on htc hero

2010-03-30 Thread ko5tik
German HTC Hero also works (downloads and installs, I do not have time to check emulation quality though ) regards, -- 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 T

[android-developers] Re: Application as root

2010-03-30 Thread manjunath
I'm trying to run the factory application i.e. GlobalTime where one EGL API eglCreateWindowSurface is used. The Vendor provided EGL library call is only working with root access. It is not a third party application. Also the SystemServer initiates SurfaceFlinger. In this case the above EGL API is

[android-developers] Installing apps to Nexus One device

2010-03-30 Thread oriharel
Hi, I"m running Win XP 32 bit, SP3. I have Nexus one device. and I develop on Eclipse. I'm trying to install my app to test it on a real device - my own Nexus one. after downloading and installing the USB driver - the devices charges just fine. after I mount the USB storage (from the device) I can

[android-developers] Writing Current Time

2010-03-30 Thread perumal316
Hi All, In my application I will be writing messages to a text file. When I am writing the messages I also want to include the time in it. How do i write in the current date and time? Must I use Calendar now = Calendar.getInstance() ? Thanks In Advance, Perumal -- You received this message bec

[android-developers] Installing apps to Nexus One device

2010-03-30 Thread oriharel
Hi, I"m running Win XP 32 bit, SP3. I have Nexus one device. and I develop on Eclipse. I'm trying to install my app to test it on a real device - my own Nexus one. after downloading and installing the USB driver - the devices charges just fine. after I mount the USB storage (from the device) I can

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

2010-03-30 Thread AJ
Hi Anthoni, Can you please throw some-light on what you have said. How can I do that? Thanks, AJ On Mar 30, 10:23 pm, AJ wrote: > Hi Anthoni, > > Thanks for the reply. > I got the overview what you have said. But can you please tell me more > about that. How can I achieve that. > > Thanks, > AJ

Re: [android-developers] Re: Ads in apps... How to successfully generate a larger revenue?

2010-03-30 Thread Dan Sherman
I would imagine their tax lines look something like this: Client --> Google :: $1.00 Google --> Developer :: $0.70 Google's taxable income: $0.30 Note that they don't explicitly tell the government "We paid XXX to developer Y", they just note that the money left their hands, and that they should

[android-developers] Re: restarting the application

2010-03-30 Thread Menion
Hi Asik I'm trying to find solutin for similar problem, how to restart an application. Your slution is "little funny" but functional of course. In my code, to force close app I use this In my main activity I call [code] ActivityManager aM = (ActivityManager) getApplicationContext().getSystemServ

[android-developers] Re: restarting the application

2010-03-30 Thread Menion
Hi Asik I'm trying to find solutin for similar problem, how to restart an application. Your slution is "little funny" but functional of course. In my code, to force close app I use this In my main activity I call [code] ActivityManager aM = (ActivityManager) getApplicationContext().getSystemServ

[android-developers] Re: conditional compilation

2010-03-30 Thread Bob Kerns
There is a much better way to do this. I have outlined it in a prior post, but I don't have time to dig it out or recreate it tonight. I'm planning to turn it into a blog post at some point. Basically, you do not need conditional compilation. The *only* Java code which needs to change is the gene

Re: [android-developers] Re: Ads in apps... How to successfully generate a larger revenue?

2010-03-30 Thread Kevin Duffey
I would think the same thing. Maybe it's the google market that doesn't report it? I had asked about this some time ago, for those selling apps and making their 70%, at tax time do they get some 1099 or something, and several said no. So I am unclear as to how the market handles taxes... as well, i

Re: [android-developers] Re: Ads in apps... How to successfully generate a larger revenue?

2010-03-30 Thread Dan Sherman
I would very seriously suspect that they report it. I remember having to give a social-security/tax-id to Adsense when signing up. And just thinking through their tax predicament (bringing in tons of money, and seeing a lot of it go straight back out), they're going to need to keep records, and r

[android-developers] Re: How to build 2 projects in on apk?

2010-03-30 Thread Bob Kerns
If you don't specify in the manifest that the components should have different process names, they'll be in the same process. You can even put components from different .apk's into the same process by giving them the same process name -- so long as they're signed by the same cert. Or maybe the sam

[android-developers] the behavior of "singleTask" not consistent with the document?

2010-03-30 Thread focuser
Hi, I have an app with two activities, one of which the launchmode is set to "singleTask". From the Android dev guide, I got the impression that my SingleTaskActivity should start a new task (or reuse an old task) and always sit at the root of the stack when launched. However, it's inconsistent

Re: [android-developers] Re: GLSurfaceView on app widget?

2010-03-30 Thread Dianne Hackborn
It is a design decision that no application code needs to run to display the widget. On Tue, Mar 30, 2010 at 10:34 PM, Musafir wrote: > > > hi, > why cant it support? is that a limitation of andoid framework? > > -- > You received this message because you are subscribed to the Google > Groups "A

[android-developers] Re: GLSurfaceView on app widget?

2010-03-30 Thread Musafir
hi, why cant it support? is that a limitation of andoid framework? -- 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 andr

[android-developers] Urgent: Getting error when uploading apk file on android market

2010-03-30 Thread Farha Ansari
Hi, i m uploading my apk for 1st time on market and getting Error:The server could not process your apk. Try . My manifest file is:- `http://schemas.android.com/apk/res/android"; package="packagename" android:versionCode="1" android:versionName="1.0">

Re: [android-developers] GLSurfaceView on app widget?

2010-03-30 Thread Romain Guy
Hi, This is not supported and there is no plan to support this. On Tue, Mar 30, 2010 at 9:18 PM, Musafir wrote: > hi friends, > currently GLSurfaceView is not supported in app widget .can we make > changes to framework to make it support? is there any limitation ?if > possible what framework cha

Re: [android-developers] Re: Ads in apps... How to successfully generate a larger revenue?

2010-03-30 Thread Kevin Duffey
Well, yes, you *should* report it.. but if google and admob and so forth don't report anything to the IRS, then it's basically on good faith. There isn't presently any way for them to track how much you make. I would imagine eventually something will come into play. On Tue, Mar 30, 2010 at 7:00 PM

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

2010-03-30 Thread Jason
I received a Droid and I did not see the "Read Me First" leaflet that was referenced in the Getting Started on Droid - Activation section of the letter. Anyone else who got a Droid know what it looks like, where it was packed or what it said? -- You received this message because you are subscribe

[android-developers] Re: Reverse Tethering: Have Android phone use attached computer's connection

2010-03-30 Thread Kumar Bibek
Instead of doing so much, you can just set up an adhoc wireless network between your computer and your phone, by enabling the Internet Sharing on your computer. Of course, your computer's wireless should be free for use. Kumar Bibek http://tech-droid.blogspot.com On Mar 31, 2:55 am, Mark Murphy

Re: [android-developers] Re: How to build 2 projects in on apk?

2010-03-30 Thread Kevin Duffey
Hey Mark, what about if you want a UI component to the service.. say for configuration and such, but otherwise don't want the UI normally running, just the background service? IF you only launch the service, but also offer an icon to launch a GUI, will they still share the same process? Not even su

[android-developers] GLSurfaceView on app widget?

2010-03-30 Thread Musafir
hi friends, currently GLSurfaceView is not supported in app widget .can we make changes to framework to make it support? is there any limitation ?if possible what framework change is required? Thanks and regards -- You received this message because you are subscribed to the Google Groups "Androi

[android-developers] Is SoundPool really low latency?

2010-03-30 Thread Gabriel Simões
Hello, After writing an app using AudioTrack and manipulating and mixing audio streams I´ve found the existance of SoundPool. By the other side I don´t know how well it works for low latency audio which needs to be syncronized (the time each stream should play compared to each other) and also need

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

2010-03-30 Thread Tony
It's an open issue of android. http://code.google.com/p/android/issues/detail?id=5508&q=emulator%20proxy&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars On Mar 30, 5:53 am, David Turner wrote: > b.android.com > > On Mon, Mar 29, 2010 at 12:54 AM, Corrie wrote: > > Yes, I can confirm this

[android-developers] How well does SoundPool work for really low latency playback?

2010-03-30 Thread Gabriel Simões
Hello, After writing an app using AudioTrack and controling audio streams mixing I´ve found SoundPool exists. By the other side I don´t know how well it works for low (really low, REALLY REALLY LOW LATENCY audio playback). The audio playback needs to be syncronized and also needs to be sync with v

Re: [android-developers] CALL_PHONE permission

2010-03-30 Thread Isaac Wagner
On Tue, Mar 30, 2010 at 10:34 PM, Mark Murphy wrote: > Isaac Wagner wrote: >>> startActivity(new Intent(Intent.ACTION_CALL, "tel:...")); >> >> Yes, but that brings up the dialer.  I don't want the dialer UI to >> come up on the screen. > > No, it doesn't. ACTION_DIAL brings up the Dialer. > Sorry

Re: [android-developers] CALL_PHONE permission

2010-03-30 Thread Mark Murphy
Isaac Wagner wrote: >> startActivity(new Intent(Intent.ACTION_CALL, "tel:...")); > > Yes, but that brings up the dialer. I don't want the dialer UI to > come up on the screen. No, it doesn't. ACTION_DIAL brings up the Dialer. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitt

Re: [android-developers] Re: Targetted updates

2010-03-30 Thread Dianne Hackborn
I believe they currently do. (Note I don't work on the market, so I can't tell you for sure.) On Tue, Mar 30, 2010 at 4:51 PM, John Seghers wrote: > Thank you! I'm very glad to hear this. > > There was the one question not addressed: > > Also, do the package names of the differently-targetted a

Re: [android-developers] CALL_PHONE permission

2010-03-30 Thread Isaac Wagner
On Tue, Mar 30, 2010 at 10:22 PM, Mark Murphy wrote: > Isaac Wagner wrote: >> In the Android docs for the CALL_PHONE permission it says: Allows an >> application to initiate a phone call without going through the Dialer >> user interface for the user to confirm the call being placed. >> >> So, my

Re: [android-developers] CALL_PHONE permission

2010-03-30 Thread Mark Murphy
Isaac Wagner wrote: > In the Android docs for the CALL_PHONE permission it says: Allows an > application to initiate a phone call without going through the Dialer > user interface for the user to confirm the call being placed. > > So, my question is, how do I make a phone call through the API with

[android-developers] CALL_PHONE permission

2010-03-30 Thread Isaac Wagner
In the Android docs for the CALL_PHONE permission it says: Allows an application to initiate a phone call without going through the Dialer user interface for the user to confirm the call being placed. So, my question is, how do I make a phone call through the API without it bringing up the dialer

Re: [android-developers] Re: Ads in apps... How to successfully generate a larger revenue?

2010-03-30 Thread Wayne Wenthin
I'll chime in on this. I have switched from admob to mobclix recently. (actually I can control which one I use base on a network check) I have noticed my CTR jump from around 2-3 a day to around 7. This makes me more inclined to hang with them. But I only changed after I watch admob drop from a

Re: [android-developers] Re: How to build 2 projects in on apk?

2010-03-30 Thread Mark Murphy
zhiqiang wang wrote: > I know they can stay in one APK,but will they run in different > process? that is,is the UI dead,will the service dead too? By default they will run in the same process. You want them to run in the same process. Using more than one process takes up more RAM. -- Mark Murphy

[android-developers] Re: How to build 2 projects in on apk?

2010-03-30 Thread zhiqiang wang
I know they can stay in one APK,but will they run in different process? that is,is the UI dead,will the service dead too? On Mar 30, 7:30 pm, Mark Murphy wrote: > Kevin Duffey wrote: > > Oh..my bad. Ok.. not sure then. I can't imagine why you can't build it > > in a single .apk tho. I know there

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

2010-03-30 Thread luoster
Got a Droid in NJ today. Would love an N1, any takers?? On Mar 30, 8:58 pm, tansaku wrote: > Got Droid in HI today  Thanks Google.  But what's this Sprint 3G/4G > usb modem that came in the same delivery?  Neither it nor droid seem > to have associated wireless plan.  With Droid that was expecte

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

2010-03-30 Thread tansaku
Got Droid in HI today Thanks Google. But what's this Sprint 3G/4G usb modem that came in the same delivery? Neither it nor droid seem to have associated wireless plan. With Droid that was expected - have it up and running on wifi now, but not sure what the deal with the sprint modem is ... --

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

2010-03-30 Thread Larry
OK just wanna try my luck: Does anyone in Phoenix, AZ that is interested in exchanging a Nexus with my Droid? On Mar 30, 5:06 pm, Disconnect wrote: > The tags all say 2lb but the website will say something different. (I've got > one at 1.2 coming, we'll see what it is..) > > Tags are a billing es

[android-developers] Re: conditional compilation

2010-03-30 Thread John Seghers
In the J2ME world of wildly non-conforming implementations, conditional compilation is the norm. Sun even admited it by adding "configurations" (IIRC) to NetBeans 5. EclipseMe (Now the official Eclipse Mobile Tools for Java project--MTJ) has support for it, as does the Antenna extension to Ant. Th

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

2010-03-30 Thread Disconnect
The tags all say 2lb but the website will say something different. (I've got one at 1.2 coming, we'll see what it is..) Tags are a billing estimate, website is a weight :) On Tue, Mar 30, 2010 at 7:49 PM, Cory Gibbons wrote: > Well color me confused, then. > > Thanks everyone for the weights. I

[android-developers] Re: Android 1.5 on CDMA phones and OEM non-conformance documentation...

2010-03-30 Thread Richard Schilling
I did think of another option - simply build against 2.0 or 2.1, and then tell the manifest that the application will run on 1.5. Application logic can figure out if CDMA is supported or not... I'm going to try that first. On Mar 30, 2:37 pm, Mark Murphy wrote: > Or you can target API leve

[android-developers] ColorMatrix problem

2010-03-30 Thread paladin
I found the effect that I'm trying to go for here: http://rainmeter.net/forum/viewtopic.php?f=15&t=3119&p=21615 It's the B/W effect (not the grayscale), halfway down the page. But I have been unsuccessful in creating the correct Android ColorMatrix values to achieve this effect. Can anyone help m

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

2010-03-30 Thread Mark Murphy
Paul Turchenko wrote: > Well, how about filling list view with items dynamically? You still have to do the slow database query, which still has to be done off the main application thread (e.g., in an AsyncTask). And you still have to populate any Adapter attached to a ListView on the UI thread (e

[android-developers] Re: Targetted updates

2010-03-30 Thread John Seghers
Thank you! I'm very glad to hear this. There was the one question not addressed: > Also, do the package names of the differently-targetted applications > need to be unique? - John On Mar 26, 6:27 pm, Dianne Hackborn wrote: > I am pretty sure the market is doing this filtering now.  And yes, if

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

2010-03-30 Thread Cory Gibbons
Well color me confused, then. Thanks everyone for the weights. I guess I'll just be patient until tomorrow! On Tue, Mar 30, 2010 at 5:42 PM, Larry wrote: > It is from the tag on the fedex shipping box. Saying '2lb' > > On Mar 30, 4:29 pm, Disconnect wrote: > > Is that 2lb on the label or on th

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

2010-03-30 Thread Paul Turchenko
Well, how about filling list view with items dynamically? On Mar 29, 11:05 pm, Mark Murphy wrote: > 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 a

[android-developers] Re: Regarding language change notification

2010-03-30 Thread Paul Turchenko
override onConfigurationChanged() On Mar 30, 11:51 am, Dilip Dilip wrote: > Hi All, >  How to recieve the language change notification in my service? > I want to get a notification to my service whenever the user changes the > phone language. > > Thanks and Regards, >   Dileep -- You received t

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

2010-03-30 Thread Larry
It is from the tag on the fedex shipping box. Saying '2lb' On Mar 30, 4:29 pm, Disconnect wrote: > Is that 2lb on the label or on the website? Someone was saying the label was > 2 but the website was 1.7 (for a nexus). > > On Tue, Mar 30, 2010 at 7:26 PM, Larry wrote: > > It is 2LB (but actually

Re: [android-developers] Re: How to build 2 projects in on apk?

2010-03-30 Thread Mark Murphy
Kevin Duffey wrote: > Oh..my bad. Ok.. not sure then. I can't imagine why you can't build it > in a single .apk tho. I know there are market apps that install a > service along with the main app. There should be info on here, or in > Mark Murphy's books as well. Mark Murphy is still trying to figu

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

2010-03-30 Thread Disconnect
Is that 2lb on the label or on the website? Someone was saying the label was 2 but the website was 1.7 (for a nexus). On Tue, Mar 30, 2010 at 7:26 PM, Larry wrote: > It is 2LB (but actually doesn't feel like 2LB it is a very small box > with the phone inside a huge fedex box it's so light) > > O

Re: [android-developers] Re: How to build 2 projects in on apk?

2010-03-30 Thread Kevin Duffey
Oh..my bad. Ok.. not sure then. I can't imagine why you can't build it in a single .apk tho. I know there are market apps that install a service along with the main app. There should be info on here, or in Mark Murphy's books as well. On Tue, Mar 30, 2010 at 3:58 PM, zhiqiang wang wrote: > actu

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

2010-03-30 Thread Larry
It is 2LB (but actually doesn't feel like 2LB it is a very small box with the phone inside a huge fedex box it's so light) On Mar 30, 4:21 pm, Disconnect wrote: > Its a month free - after that you'll need a plan. Probably it'll be like the > IO phones - they work for a month, and you can upgrade

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

2010-03-30 Thread Disconnect
Its a month free - after that you'll need a plan. Probably it'll be like the IO phones - they work for a month, and you can upgrade online, but at the end (or a couple days late) they cut it off. Can you check your fedex # and see what the actual ship weight was? :) On Tue, Mar 30, 2010 at 7:14 P

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

2010-03-30 Thread Larry
Got my Droid today. Question: After I activate the phone with verizon, I went to verizon wireless and opened an account with my Droid phone number. It says it is a "NATIONWIDE VZW MANAGEMENT/DEMO UNLIMITED" account. And I cannot find any billing information. Could anyone tell me what kind of this

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

2010-03-30 Thread Seni Sangrujee
g1bb, sorry about that. I should have realized the shipping label might not display the best info. When I looked up the package on fedex.com, it shows 1.7 lbs. Shipment Facts Service type FedEx Home Delivery-Indirect Signature Required Weight 1.7 lbs/.8 kg

[android-developers] Re: How to build 2 projects in on apk?

2010-03-30 Thread zhiqiang wang
acturally,It's not "server side",they are all client side. I have a android service connected to my server. On Mar 30, 4:47 pm, Kevin Duffey wrote: > Why would you build a server side service into the apk?  It would be deployed > on the server side. If you want one project for both pieces you wi

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

2010-03-30 Thread Thomas Riley
Yes David I "would suggest that you wait until after the deadline before whining- uh, asking where it is." ;-) On Mar 30, 10:53 pm, David Horn wrote: > It looks to me like the system sent out US Nexus's first, then US > Droids, and hopefully us EU yokels will get a Nexus later this week. > > I s

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

2010-03-30 Thread Seni Sangrujee
> Can anyone tell me the weight of their package? The shipping label on the box for my Nexus One says: SHIP DATE: 22MAR10 ACTUAL WGT: 2 LB -- 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: Device Seeding Program for Top Android Market Developers

2010-03-30 Thread Andrei
Question Can I compile Android src and install to the the Droid i got? Where can i find instructions? Thanks On Mar 30, 6:14 pm, Andrei wrote: > got Droid in FL today > Thank you Google > > On Mar 30, 5:47 pm, Breezy wrote: > > > Received my Droid in Alabama today. > > -- You received this me

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

2010-03-30 Thread Quartertone
Received Droid in New Orleans! I was hoping for a Nexus One, so I'm looking for anyone (preferrably in New Orleans) to do a swap. Please let me know if you're interested! cheers, gary On Mar 30, 5:14 pm, Andrei wrote: > got Droid in FL today > Thank you Google > > On Mar 30, 5:47 pm, Breezy

[android-developers] Re: Activity Not Responding after sleep

2010-03-30 Thread BiiG
> I try to be useful. Failing that, I try to be funny. Now you accomplished both! Thanks and have a GREAT DAY! On Mar 30, 6:34 pm, Mark Murphy wrote: > BiiG wrote: > > I believe Mark even > > helped me with the last problem I got stuck on. > > I try to be useful. Failing that, I try to be funny.

Re: [android-developers] Re: Activity Not Responding after sleep

2010-03-30 Thread Mark Murphy
BiiG wrote: > I believe Mark even > helped me with the last problem I got stuck on. I try to be useful. Failing that, I try to be funny. > I ended up doing this: > Random rn = new Random(); > long range = 6; > long fraction = (long) (range*rn.nextDouble()); > int randomNumber =

[android-developers] Re: Activity Not Responding after sleep

2010-03-30 Thread BiiG
Thanks you two... This forum has been a biig help. I see your names all over the place here. Thank you very much. I believe Mark even helped me with the last problem I got stuck on. I ended up doing this: Random rn = new Random(); long range = 6; long fraction = (long) (range*rn.ne

[android-developers] Advertising Secrets

2010-03-30 Thread olipolus
Page Rank counts the number of links coming to your site from other sites. The theory is this means your site is more respected, and more useful, than others. It also puts an emphasis on older sites - therefore links from sites that themselves have a high pagerank and age will effect yours more ben

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

2010-03-30 Thread g1bb
Can anyone tell me the weight of their package? FedEx said my package is 1.22 lbs, and I'm trying to figure out if it's a Droid or N1. Thanks On Mar 30, 4:14 pm, Andrei wrote: > got Droid in FL today > Thank you Google > > On Mar 30, 5:47 pm, Breezy wrote: > > > > > Received my Droid in Alabama

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

2010-03-30 Thread Andrei
got Droid in FL today Thank you Google On Mar 30, 5:47 pm, Breezy wrote: > Received my Droid in Alabama today. -- 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 uns

[android-developers] Re: Activity Not Responding after sleep

2010-03-30 Thread BiiG
Thanks. I found it... now to figure out Runnable. On Mar 30, 6:04 pm, Mark Murphy wrote: > BiiG wrote: > > Having trouble with the postDelayed(). My eclipse isn't recognizing it > > and for some reason I can't get on tohttp://developer.android.com/to > > investigate. > > It is a method on View (i

Re: [android-developers] Re: Activity Not Responding after sleep

2010-03-30 Thread Mark Murphy
BiiG wrote: > Having trouble with the postDelayed(). My eclipse isn't recognizing it > and for some reason I can't get on to http://developer.android.com/ to > investigate. It is a method on View (in other words, every widget and container) and on Handler. -- Mark Murphy (a Commons Guy) http://c

[android-developers] Re: Activity Not Responding after sleep

2010-03-30 Thread BiiG
Thanks. Having trouble with the postDelayed(). My eclipse isn't recognizing it and for some reason I can't get on to http://developer.android.com/ to investigate. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send

Re: [android-developers] Re: Activity Not Responding after sleep

2010-03-30 Thread mike
On 03/30/2010 02:49 PM, BiiG wrote: I'm real new to Java, but not to programming. By blocking do you mean I'm stopping the main routine from executing? If I use the time difference by currentTimeMillis and give it something to do, is this still blocking? Yes, blocking as in the Unix sense o

Re: [android-developers] Re: what's the best 2d engine and what's the tools I need to create a game?

2010-03-30 Thread Kevin Duffey
Look at the link Mihai posted.. it has others. On Tue, Mar 30, 2010 at 2:24 PM, Ozymandias wrote: > http://rokonandroid.com/ is the only 2d engine as far as I know. > > On Mar 30, 12:24 am, jProg wrote: > > Hi, I'm a newbie to android and I want to develop my first 2d game..:) > > I read about

Re: [android-developers] Reverse Tethering: Have Android phone use attached computer's connection

2010-03-30 Thread Mark Murphy
j wrote: > I have a Nexus One connected to my computer via USB cable. Is it > possible to have Nexus One route all TCP/IP traffic via my computer's > internet connection? This is like reverse tethering I guess. Not that I am aware of -- sorry! -- Mark Murphy (a Commons Guy) http://commonsware.

Re: [android-developers] Re: Activity Not Responding after sleep

2010-03-30 Thread Mark Murphy
BiiG wrote: > I'm real new to Java, but not to programming. By blocking do you mean > I'm stopping the main routine from executing? If that sleep() call is on the main application thread, then, yes, you're stopping it from executing. That at best will freeze your UI and at worst will cause the An

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

2010-03-30 Thread David Horn
It looks to me like the system sent out US Nexus's first, then US Droids, and hopefully us EU yokels will get a Nexus later this week. I say hopefully, as I launched into a bit of an attack on someone whose phone hadn't turned up with 2 days of the deadline to run; and now I'm in that situation wi

[android-developers] Reverse Tethering: Have Android phone use attached computer's connection

2010-03-30 Thread j
I have a Nexus One connected to my computer via USB cable. Is it possible to have Nexus One route all TCP/IP traffic via my computer's internet connection? This is like reverse tethering I guess. Thanks. -- You received this message because you are subscribed to the Google Groups "Android Deve

[android-developers] Re: Activity Not Responding after sleep

2010-03-30 Thread BiiG
I'm real new to Java, but not to programming. By blocking do you mean I'm stopping the main routine from executing? If I use the time difference by currentTimeMillis and give it something to do, is this still blocking? I'll look at the other things you suggested which also turned up in my investig

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

2010-03-30 Thread Breezy
Received my Droid in Alabama today. -- 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...@google

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

2010-03-30 Thread Mark Murphy
String wrote: > On Mar 29, 6:42 pm, Mark Murphy wrote: > >> If "limited" means ... possibly >> "subscribers to a particular mobile carrier", then yes. > > How do you do that? It's not an option I've ever seen. If you uncheck the "All locations" checkbox, you then get a long list of countries wi

Re: [android-developers] Android 1.5 on CDMA phones and OEM non-conformance documentation...

2010-03-30 Thread Mark Murphy
Richard Schilling wrote: > All I know is running > Android 1.5 on a CDMA phone means I can't build my application against > the Android 1.5 SDK. At best, I have to try and build my application > against some other version of the Android SDK, force the manifest to > allow the application to be run

Re: [android-developers] Activity Not Responding after sleep

2010-03-30 Thread mike
Looks like you're blocking on the main UI thread which is a no-no. Look at the PostDelayed method of Handler. That is, just make pgs.playSound(2) into the body of a Runnable and the random time and use them for the PostDelayed parameters. Mike On 03/30/2010 02:28 PM, BiiG wrote: Hi, I have an

[android-developers] Activity Not Responding after sleep

2010-03-30 Thread BiiG
Hi, I have an activity that has one button. When the user presses the button, a wav file is played with soundpool. Then after a random number of seconds from 1 to 4 has passed using Thread.sleep(), another wav file is played. Everything works as it should on the emulator. But when I go to test it o

[android-developers] Re: what's the best 2d engine and what's the tools I need to create a game?

2010-03-30 Thread Ozymandias
http://rokonandroid.com/ is the only 2d engine as far as I know. On Mar 30, 12:24 am, jProg wrote: > Hi, I'm a newbie to android and I want to develop my first 2d game..:) > I read about engines ..but what do you advice me to go with<--for 2d > game > and what is the best tools I need to create t

[android-developers] Re: Could not get audio input for record source

2010-03-30 Thread BobG
Change 11025 to 8000 and try one more time? -- 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..

[android-developers] Re: Sound Processing

2010-03-30 Thread BobG
On Mar 29, 11:07 pm, Janaka wrote: > 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 I saw the guy down the street apply the

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

2010-03-30 Thread String
On Mar 29, 6:42 pm, Mark Murphy wrote: > If "limited" means ... possibly > "subscribers to a particular mobile carrier", then yes. How do you do that? It's not an option I've ever seen. String -- You received this message because you are subscribed to the Google Groups "Android Developers" gr

Re: [android-developers] How to build 2 projects in on apk?

2010-03-30 Thread Kevin Duffey
Why would you build a server side service into the apk? It would be deployed on the server side. If you want one project for both pieces you will need to modify the build file to only put android code in APK and separate target for building WAR and deploying it to server. zhiqiang wang wrote

[android-developers] Android 1.5 on CDMA phones and OEM non-conformance documentation...

2010-03-30 Thread Richard Schilling
I know people other than me are having issues with this, so I'm starting a thread specifically to talk about all the things that are popping up just because phone manufacturers are running Android 1.5 on their CDMA phones. I don't even want to know why. I don't care. All I know is running Androi

Re: [android-developers] ListView/Adapter IllegalStateException

2010-03-30 Thread social hub
prob u need to call notifyDataSetChanged if data is changed. See if that helps On Tue, Mar 30, 2010 at 3:15 PM, ionel wrote: > I've implemented a custom ListView and Adapter, and sometimes I > receive IllegalStateException exception:” ERROR/AndroidRuntime(3575): > java.lang.IllegalStateExceptio

[android-developers] How to build 2 projects in on apk?

2010-03-30 Thread zhiqiang wang
Hi,I seperate my application into 2 projects. one for UI,the other is for service.How can I build these 2 applications into one apk? -- 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@goo

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

2010-03-30 Thread Esteem
Did not compete in ADC2. Droid arrived here in AZ today through FedEx. Got the sending info to shipper confirmation email March 5th. On Mar 19, 3:59 am, Richard wrote: > I wasn't a registered developer when ADC2 was around, and I have one > (on the way) > > On Mar 17, 11:40 pm, "olivier.bo...@gma

[android-developers] Re: Getting images from Intents to be showed correctly in imageview

2010-03-30 Thread benbenbenben
The default camera app makes low quality images in < Android 2.0. Check out http://code.google.com/p/android/issues/detail?id=1480 -- 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@googl

[android-developers] ListView/Adapter IllegalStateException

2010-03-30 Thread ionel
I've implemented a custom ListView and Adapter, and sometimes I receive IllegalStateException exception:” ERROR/AndroidRuntime(3575): java.lang.IllegalStateException: The content of the adapter has changed but ListView did not receive a notification. Make sure the content of your adapter is not mo

[android-developers] Samsung Moment Drivers (with USB Modem support)

2010-03-30 Thread Richard Schilling
The USB drivers for the Samsung Moment are impossible to find on the Internet and on Samsung's developer forums/website/etc So, I called technical support. They sent me a link: http://shrunk.me/mometdriver.zip I was very impressed with the lady who answered the phone. She didn't realize tha

Re: [android-developers] Error on implementing OnClickListener

2010-03-30 Thread Mark Murphy
Akiduki wrote: > I am writing an application which one of the activity has a button and > use this button to switch to another activity when clicking that. The > main activity implements the onCreate and OnClickListener as follows: > > public void onCreate(Bundle savedInstanceState) { > su

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

2010-03-30 Thread James
I sorted it out in the end. Thanks for your help :) On Mar 30, 7:48 pm, James wrote: > I don't have any "getApplicationContext()" in my code > > On Mar 30, 7:32 pm, "~ TreKing" wrote: > > > > > On Tue, Mar 30, 2010 at 1:28 PM, James wrote: > > > Yeah i did that before i started this thread. But

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

2010-03-30 Thread AJ
okie - AJ On Mar 30, 10:35 pm, Disconnect wrote: > No > > On Tue, Mar 30, 2010 at 3:32 PM, AJ wrote: > > Thanks for the reply > > > Actually my intent is to send SMS, Call a real device from this > > console. > > If I would be able to do this "telnet localhost " in the > > real device then I ca

[android-developers] Error on implementing OnClickListener

2010-03-30 Thread Akiduki
Hi, all, I am writing an application which one of the activity has a button and use this button to switch to another activity when clicking that. The main activity implements the onCreate and OnClickListener as follows: public void onCreate(Bundle savedInstanceState) { super.onCreate(save

Re: [android-developers] Re: Ads in apps... How to successfully generate a larger revenue?

2010-03-30 Thread Abdul Mateen
Yes Really Moto $150/day is a damn good income from Ads, I am only making $1-$2/day , and I am using Admob + Greystripe.. On Wed, Mar 31, 2010 at 12:31 AM, Kevin Duffey wrote: > I am interested in this as well. First, Moto.. $150 a day? Holy crap! I'd > love to have that much 7 days a week comi

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

2010-03-30 Thread Disconnect
No On Tue, Mar 30, 2010 at 3:32 PM, AJ wrote: > Thanks for the reply > > Actually my intent is to send SMS, Call a real device from this > console. > If I would be able to do this "telnet localhost " in the > real device then I can send sms bye commans "sms send > " > > Is there any way so that

[android-developers] Sort of working! [WasRe: MediaRecorder prepare() causes segfault]

2010-03-30 Thread dwilde1
STILL MORE: working somewhat but with puzzling results. Based on info in the bug #5050, I spaced everything out. I have now gotten the recorder to actually save a snippet of video (a whole 2160 bytes!), and I did it by spacing the view visibility, prepare() and start() w.a.a.a.a.a.y out (like sev

  1   2   3   >