Re: [android-developers] startActivityForResult and setResult problems

2010-03-31 Thread Mark Murphy
Lordsaibat wrote: > ok I have two classes my main class calls a menu class when the user > gets done with that they press the back button to go to the main > class. on the main class I have onActivityResult setup but no matter > what the data field is null all the time even though I setup the > bun

[android-developers] Looking for definitive location finding logic

2010-03-31 Thread jgostylo
I am looking for a tutorial that explains the logic for fast, robust location finding. Basically I am sick of Google Maps finding my location so incredibly fast and accurately while my own application struggles to get a location. I would be fine with pseudo code responses and I will explain what

[android-developers] startActivityForResult and setResult problems

2010-03-31 Thread Lordsaibat
ok I have two classes my main class calls a menu class when the user gets done with that they press the back button to go to the main class. on the main class I have onActivityResult setup but no matter what the data field is null all the time even though I setup the bundle and attached it to an In

Re: [android-developers] Launch Google Maps app

2010-03-31 Thread Mark Murphy
oriharel wrote: > Hi, > I'm trying to launch Google maps from my application. > I'm using: > > GeoPoint center = _mapView.getMapCenter(); > Uri uri = Uri.parse("geo:"+center.getLatitudeE6() > +","+center.getLongitudeE6()); > Log.d(LOG_TAG, "Launching Google Maps with Uri: ("+uri+")"); > Intent int

[android-developers] Launch Google Maps app

2010-03-31 Thread oriharel
Hi, I'm trying to launch Google maps from my application. I'm using: GeoPoint center = _mapView.getMapCenter(); Uri uri = Uri.parse("geo:"+center.getLatitudeE6() +","+center.getLongitudeE6()); Log.d(LOG_TAG, "Launching Google Maps with Uri: ("+uri+")"); Intent intent = new Intent(Intent.ACTION_VIE

[android-developers] Re: finish parent activity from child

2010-03-31 Thread Paolo
Thanks for your answer. I have different listactivities in which user can navigate like hierarchy views and he has the possibility to come back to the previous listview. I would like to terminate all the listactivity of this hierarchy, when the user changes app's feature, for example goes to pref

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

2010-03-31 Thread JDS
I really hope that we in europe do not have to wait 6 weeksor more!! Not that I can complain getting a phone for free but this waiting is killing meespecially when folks in the US are getting theirs :-( Sweden, still wating -- You received this message because you are subscribed to t

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

2010-03-31 Thread David Scott
It seems no one has got anything outside of the US / Canada, so it's not a problem with just a few people, it's everyone. I'm in the UK and 2-4 weeks would be Saturday for me. If they are being sent from the US you have to expect them to take longer. If they are coming from the EU though, it shoul

Re: [android-developers] Re: My location not getting in real device

2010-03-31 Thread Mark Murphy
Vaikunth wrote: > I have turn on the Security & Location. > And checked Use Wireles Network and Enable GPS satelites. > > When i start Google maps app it shows me my location also. > So how can I get my latitude and longitude in my application? Assuming you have the proper permissions in your man

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

2010-03-31 Thread Warren
Got a Droid from FedEx near Des Moines Iowa today. Thanks Google. Curiously, when I called FedEx last week trying to track the package (as many of us did) they said they didn't have a package for me. On Mar 30, 5:14 pm, Andrei wrote: > got Droid in FL today > Thank you Google > > On Mar 30, 5:

[android-developers] Re: My location not getting in real device

2010-03-31 Thread Vaikunth
I have turn on the Security & Location. And checked Use Wireles Network and Enable GPS satelites. When i start Google maps app it shows me my location also. So how can I get my latitude and longitude in my application? On Mar 31, 5:36 pm, Vaikunth wrote: > Hi, > > I have Samsung Galaxy. > I w

[android-developers] My location not getting in real device

2010-03-31 Thread Vaikunth
Hi, I have Samsung Galaxy. I want to find my latitude and longitude programatically. I can get the location on emulator using eclips Emulator Controlbut, but not able to get the latitude and longitude in device. Is there any settings in mobile which I have to do? please reply. Thanks. -- You r

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

2010-03-31 Thread Justin Giles
On Tue, Mar 30, 2010 at 11:48 PM, Jason wrote: > 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?

[android-developers] Sprint Developer’s Guide for HTC EVO(tm) 4G

2010-03-31 Thread Mark Murphy
Cute Android (http://www.cuteandroid.com) published a link to a "Sprint Developer’s Guide for HTC EVO(tm) 4G" document: http://docs.google.com/View?id=dhtsnvs6_57d2hpqtgr It's an interesting document. Assuming it is for realz, and assuming Sprint intended to make this available, if there are any

[android-developers] Re: Installing apps to Nexus One device

2010-03-31 Thread oriharel
IT WORKS Thanks (again) Mark! On Mar 31, 2:47 pm, Mark Murphy wrote: > oriharel wrote: > > it was turned on (even before the first time I installed the driver) > > still doesn't work > > adb kill-server > adb start-server > adb devices > > See if that helps. If not, reboot and see if that hel

Re: [android-developers] Re: Installing apps to Nexus One device

2010-03-31 Thread Mark Murphy
oriharel wrote: > it was turned on (even before the first time I installed the driver) > still doesn't work adb kill-server adb start-server adb devices See if that helps. If not, reboot and see if that helps. If not, plug in your N1 and see if you see any evidence that Windows is actually recog

Re: [android-developers] CALL_PHONE permission

2010-03-31 Thread Mark Murphy
Isaac Wagner wrote: > 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 u

Re: [android-developers] Re: How to have a notification icon with image + text

2010-03-31 Thread Mark Murphy
guru wrote: > I did the same way, tried to pass same ID. it is now displaying one > icon. But the number of such notification is not displaying i.e number > is not displaying. if i turn off and on bluetooth then it will display > the number. > > Why this behavior? Either your device or your appl

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

2010-03-31 Thread Mark Murphy
guru wrote: > Hi Treking, > > I didnt same may as you and mark told. > > first time it is not displaying number. if i restart my application > then it will display the number. > > what i need to do to get desired behavior... without restarting... I pointed you to an app that does this. http://

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

2010-03-31 Thread Thomas Riley
Yep, I also get the naver.com one, forget about that as I spammed it... On Mar 31, 12:36 pm, Richard wrote: > Okay, thanks. > > I guess I'll email them when the time comes around... > > I know we shouldn't really complain - we are getting these phones for > free. But if they say 2-4 weeks and it'

[android-developers] Re: GsmCellLocation.getCid() returns very large numbers.

2010-03-31 Thread Murphy
I think that's the opposite: large numbers corresponds to 2G cells. Check the network type using TelephonyManager.getNetworkType(). On 24 mar, 19:08, Curro wrote: > I get the same Cell IDs when I set the phone to 2G only, I still get > very large numbers. Any other ideas? > > Thanks! -- You rec

[android-developers] Re: Notification manager question

2010-03-31 Thread guru
Hi Treking, I didnt same may as you and mark told. first time it is not displaying number. if i restart my application then it will display the number. what i need to do to get desired behavior... without restarting... Regards gururaja B O On Mar 30, 2:35 am, "~ TreKing" wrote: > On Mon, Mar

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

2010-03-31 Thread Richard
Okay, thanks. I guess I'll email them when the time comes around... I know we shouldn't really complain - we are getting these phones for free. But if they say 2-4 weeks and it's not there, I feel like maybe the dispatchers are being a little careless - maybe even lost some orders. Also Thomas:

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

2010-03-31 Thread Thomas Riley
I quoted the 4 week contact thing from the original FAQ http://sites.google.com/site/developermarketandroidgiveaway/faq And glad i'm not the only one getting these annoying emails! It's extremely strange... On Mar 31, 12:24 pm, Richard wrote: > That happens to me Thomas - when I post anything o

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

2010-03-31 Thread Richard
That happens to me Thomas - when I post anything on this group. I'm in the UK, and I've just checked with FedEx. They have nothing dispatched to me in the last 2 weeks. Can anyone confirm that it's FedEx in Europe too? Where does it say in your confirmation email to notify them if it hasn't arriv

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

2010-03-31 Thread Anthoni
Hey AJ, Sorry not always at computer, so can't reply instantly. What I've done is write my own server application (mainly because I like doing it lol) and because I find that the easiest route. Before I go too deeply into explaining things, I need to know what types of languages you know first, b

[android-developers] Re: Installing apps to Nexus One device

2010-03-31 Thread oriharel
it was turned on (even before the first time I installed the driver) still doesn't work On Mar 31, 1:45 pm, Kumar Bibek wrote: > You need to turn on USB Debugging setting on your phone. That should > work. > > Thanks and Regards, > Kumar Bibek > > On Mar 31, 11:47 am, oriharel wrote: > > > > >

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

2010-03-31 Thread Thomas Riley
What's also annoying me if everytime I post on this thread I get this email! " We're sorry.. your email was unable to be processed by our automatic support system, and so is being returned to you. We could not find your email address in our customer database and so couldn't accept your email. Due

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

2010-03-31 Thread Thomas Riley
Serious though, the FAQ says "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 android-market-seed...@google.com." Do we just need to wait, or is it worth contacting? I'm not re

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

2010-03-31 Thread Musafir
hi, thanks a lot for reply, could u please tell me how can i put my activity as live wallpaper? can u provide any referance link ? 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-

[android-developers] Re: How to have a notification icon with image + text

2010-03-31 Thread guru
Hi Mark Mruphy, I did the same way, tried to pass same ID. it is now displaying one icon. But the number of such notification is not displaying i.e number is not displaying. if i turn off and on bluetooth then it will display the number. Why this behavior? whether have to use any flag for this?

[android-developers] Re: Installing apps to Nexus One device

2010-03-31 Thread Kumar Bibek
You need to turn on USB Debugging setting on your phone. That should work. Thanks and Regards, Kumar Bibek On Mar 31, 11:47 am, oriharel wrote: > 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

[android-developers] open browser bookmarks

2010-03-31 Thread extrapedestrian
I would like to open browser bookmarks directly from my app. Is there an intent that could to this? I tried String packageName = "com.android.browser"; String className = "com.android.browser.CombinedBookmarkHistoryActivity"; Intent intent = new Intent(Intent.ACTION_MAIN); intent.addCategory(Inte

[android-developers] صورة هيفاء وهبي ب البكيني في مسبح الفيلا (صورة ممنو عة ) لحقوا على....

2010-03-31 Thread روائع الاخدود
*النسخة الجديدة من برنامج جوجل ايرث الان شاهد اقرب جزء الى منزلك** Google Earth* http://www.rishtfn.ql4h.net/vb/showthread.php?t=310 *رسائل جوال مضحكه** ..* http://www.rishtfn.ql4h.net/vb/showthread.php?t=329 *مسجات تذوووب الصخر لوم وعتاب وفراق وشوق* http://www.rishtfn.ql4h.net/vb/sh

[android-developers] super.onResume() at beginning or end of method? Does it matter?

2010-03-31 Thread HippoMan
In general, does it matter in an Activity if I put the call to super.onResume() at the beginning or the end of my own onResume() method? In other words, I can do this ... @Override public void onResume() { super.onResume(); // do my stuff } ... or this ... @Override public void onResume

[android-developers] Re: Integrate IPhone Safari like view in Android?

2010-03-31 Thread javame_android
Hi, I am trying to mimic the view of IPhone Safari. And also, if you have looked at the TweetDeck Application in IPhone. It is quite similar to Anrdoid Browser, since it has minimized window. What I have been able to do is minimize the view using Animation as below : http://schemas.android.co

[android-developers] 404 returned by Picasa Protocol

2010-03-31 Thread Sameer AM
Hello Everyone, I've gotten through the ClientLogin procedure using service=lh2 for picasa and am getting an Auth Token, with which I'm doing the following HttpGet mGet=new HttpGet("http://picasaweb.google.com/data/feed/api/ all?q=puppy&max-results=10"); System.ou

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

2010-03-31 Thread Abdul Mateen
I think I should also do this, i.e switch from Admob ---> QW or Mobclix. If even I made 50 per day it would be enough...but yes how to force user to update ? I have more than 10k active installs. On Wed, Mar 31, 2010 at 11:32 AM, Dan Sherman wrote: > I would imagine their tax lines look somethin

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

2010-03-31 Thread David Horn
Do as I say, not as I do etc. ;-) On Mar 30, 11:57 pm, Thomas Riley wrote: > 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 Nexu

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

2010-03-31 Thread String
On Mar 30, 10:38 pm, Mark Murphy wrote: > If you uncheck the "All locations" checkbox, you then get a long list of > countries with checkboxes. The countries themselves are links -- click > the country name and, for some countries, you get a list of carriers. Sure enough, I'd never really notice

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

2010-03-31 Thread String
On Mar 31, 8:16 am, Dianne Hackborn wrote: > You can put your activity on the > wallpaper to have a very clean transition from the home screen to the > activity (very much feeling like they are part of the same thing). And to bring this back around to the original post, there's a good implementa

[android-developers] How to implement Windows Animation

2010-03-31 Thread Archana
Hi Does anyone knows how can we implement Windows animation? I tried like this PreferenceScreen screen = (PreferenceScreen) preference; Window window= screen.getDialog().getWindow(); window.setWindowAnimations(R.anim.push_left_in); but it has no effect in 1.5.. Any help will be appreciated. -

[android-developers] Re: ListView/Adapter IllegalStateException

2010-03-31 Thread ionel
I am calling notifyDataSetChanged() in update method On Mar 30, 11:36 pm, social hub wrote: > 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 >

[android-developers] Re: Writing Current Time

2010-03-31 Thread grace
ya u can use the calendar for that On Mar 31, 11:45 am, perumal316 wrote: > 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 = >

Re: [android-developers] Re: Integrate IPhone Safari like view in Android?

2010-03-31 Thread Sean Hodges
On Wed, Mar 31, 2010 at 8:22 AM, javame_android wrote: > I have been able to minimize the View using animation. I have set the > animation for 500 duration, so the animation disappear after that > period. > > Can someone let me know is it possible to have that shrunken view > permanently till some

[android-developers] onkey automation tool script help documentation

2010-03-31 Thread md zafar ziya
Hi, To automate system application testing, trying to use android monkey tool.But monkey tool use only default setting for testing particular application. Is there any documentation or help to write user own android monkey tool script to automate monkey tool for application testing. Any suggesti

[android-developers] Monkey automation script documentation for user own monkey script

2010-03-31 Thread md zafar ziya
Hi, To automate system application testing, trying to use android monkey tool.But monkey tool use only default setting for testing particular application. Is there any documentation or help to write user own android monkey tool script to automate monkey tool for application testing. Any suggesti

[android-developers] Re: Deploying shared resources

2010-03-31 Thread Jargon
On Mar 24, 7:03 pm, Mark Murphy wrote: > Jargon wrote: > > We are investigating the possibilities to package & deploy platform UI > > extensions which can contain both Java code andresources- which then > > can be (re-)used by applications using tag in the > > AndroidManifest.xml. > > You and me

[android-developers] Re: Integrate IPhone Safari like view in Android?

2010-03-31 Thread javame_android
Hi, I have been able to minimize the View using animation. I have set the animation for 500 duration, so the animation disappear after that period. Can someone let me know is it possible to have that shrunken view permanently till someone clicks on it? Please reply so that I can sort this User I

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

2010-03-31 Thread Dianne Hackborn
I suggest you don't use singleTask. And very strongly suggest you don't use singleInstance. These are for very specialized cases, and at the very least if your app isn't being launched from other apps it makes little sense to use them and is likely to cause you trouble. On Tue, Mar 30, 2010 at 1

[android-developers] Monkey automation script documentation

2010-03-31 Thread md zafar ziya
Hi, To automate system application testing, trying to use android monkey tool.But monkey tool use only default setting for testing particular application. Is there any documentation or help to write user own android monkey tool script to automate monkey tool for application testing. Any suggesti

[android-developers] Monkey automation script documentation

2010-03-31 Thread md zafar ziya
Hi, To automate system application testing, trying to use android monkey tool.But monkey tool use only default setting for testing particular application. Is there any documentation or help to write user own android monkey tool script to automate monkey tool for application testing. Any suggesti

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

2010-03-31 Thread Dianne Hackborn
Btw, we very strongly avoid looking at widgets as "mini applications" which is where people often are coming from when they ask these questions. That is not what they are for. If you want to do something highly interactive with the user, you should be doing it in your own activity. You could hav

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

2010-03-31 Thread Dianne Hackborn
You can't. The closest you can come is rendering into an off-screen bitmap and updating the widget with that. Of course you need to be very careful about the size of the bitmap and update rate. On Wed, Mar 31, 2010 at 12:09 AM, Musafir wrote: > > hi , > > ok but let me know how can i put 3d dr

Re: [android-developers] Re: Application as root

2010-03-31 Thread Dianne Hackborn
SystemServer does not run as root. On Tue, Mar 30, 2010 at 11:51 PM, manjunath wrote: > 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 >

Re: [android-developers] Re: Application as root

2010-03-31 Thread Dianne Hackborn
On Mon, Mar 29, 2010 at 3:46 AM, a2ronus wrote: > Hello Dianne, I have a question related to this. Is it possible to use > sharedUserId=android.uid.system in combination with (re-)signing a > (newly) built Android and the app with the same key to achieve having > more permissions for an app? > N

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

2010-03-31 Thread Musafir
hi , ok but let me know how can i put 3d drawings using opengl in an app widget. if GLSurfaceView is not supported then its impossible to do? am right? thanks for ur reply:) -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this

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

2010-03-31 Thread Dan Sherman
Downloads, installs, and runs on USA's Sprint HTC Hero as well. - Dan On Wed, Mar 31, 2010 at 12:58 AM, ko5tik wrote: > 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

<    1   2