[android-developers] Can't query contacts in Android 2.0 emulator?

2009-10-28 Thread Yao
Hi guys, I can't get contacts via content provider in Android 2.0 emulator. The test code is pasted. When I click Account in the menu, it shows Force close. Thanks a lot in advance for your help! Cursor cursor = getContentResolver().query(Contacts.People.CONTENT_URI, new String[] {_id}, null,

[android-developers] Can't query contacts in Android 2.0 emulator?

2009-10-28 Thread Yao
Hi guys, I can't get contacts via content provider in Android 2.0 emulator. The test code is pasted. When I click Account in the menu, it shows Force close. Thanks a lot in advance for your help! Cursor cursor = getContentResolver().query(Contacts.People.CONTENT_URI, new String[] {_id}, null,

[android-developers] Re: Unable to chmod sdcard: Read-only file system

2009-10-28 Thread Nima
I have tried this option also.But there is no hope. On Oct 27, 6:59 pm, Pierre Henry phper...@gmail.com wrote: Nima, Try a *chmod 0777 sdcard* instead... -- Pierre --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: Android 2.0 SDK is here!

2009-10-28 Thread Dexter#39;s Brain
Hi, I am all excited with the new release. I can't wait for the documentation to be released. I am having problems with the Maps API. Thanks and Regards, Dexter http://tech-droid.blogspot.com --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Detecting a Tidal Wave of Android Apps

2009-10-28 Thread Peter Farago
Hi all, Flurry, as you may know from previous emails, has been supporting Android since we launched our mobile application analytics service this January. This month, we measured the most significant spike to date of android developer activity within our system. We're very excited about the

[android-developers] Re: Can't query contacts in Android 2.0 emulator?

2009-10-28 Thread Dexter#39;s Brain
Hi, In the emulator, When I open the Contact application and click on Accounts, it Force Closes, I dont know why. The LogCat says, Activity not found android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.settings.SYNC_SETTINGS (has extras) I guess, this

[android-developers] Re: ADC2.0

2009-10-28 Thread Dexter#39;s Brain
Hey, I guess there is no need to panic. Though the SDK is released, I don't think they would be testing your apps on SKD 2.0 devices. And also, the 2nd phase of judging will be getting over soon. But, yes, it's extra work for the developers, for we have to maintain different versions of our

[android-developers] Android RSS Reader, Please Help

2009-10-28 Thread GreenRiver
Hix, I tried following the tutorial below: ( RSS Reader Tutorial) http://www.helloandroid.com/node/110#comment-6819 Because of the differences between the version of SDK that tutorial using (M3 - I dont' know this version, maybe too old ) and of mine ( android-sdk-windows-1.5_r2), so it appeared

[android-developers] Re: Android RSS Reader, Please Help

2009-10-28 Thread GreenRiver
If someone has any ideas, please discuss via comments or contact me view email ( thong.dom...@gmail.com ) . Thanks in advance :) if you finish the tutorial http://www.helloandroid.com/node/110#comment-6819 , please contact me :) --~--~-~--~~~---~--~~ You received

[android-developers] Re: Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml

2009-10-28 Thread Philip
Okay, setting - select force https:// to http://;. On 10月28日, 上午11时08分, Philip phwang...@gmail.com wrote: I have the same problem on ubuntu. I create the file ~/.android/ androidtool.cfg but it fails. On 10月28日, 上午7时31分, Xavier Ducrohet x...@android.com wrote: ok this is weird. Someone

[android-developers] Re: Unable to chmod sdcard: Read-only file system

2009-10-28 Thread nagaraj attimani
Try to launch emulator with sdcard and avd.. ex: emulator -avd avd_name -sdcard sdcardname On Wed, Oct 28, 2009 at 11:44 AM, Nima sayikuma...@gmail.com wrote: I have tried this option also.But there is no hope. On Oct 27, 6:59 pm, Pierre Henry phper...@gmail.com wrote: Nima, Try a

[android-developers] Re: Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml

2009-10-28 Thread chandu
This error can be resolve by setting proper proxy. check the proxy settings. With Regards, Chandrakant H 2009/10/28 Philip phwang...@gmail.com Okay, setting - select force https:// to http://;. On 10月28日, 上午11时08分, Philip phwang...@gmail.com wrote: I have the same problem on ubuntu. I

[android-developers] Re: NEEDED: Apps to feature on Sprint Microsite

2009-10-28 Thread Lance Nanek
Sprint's web site following your post and do not find any evidence there's even a phase 1 Maybe they are going to enhance that flying cloud of Android app screenshots shortly into the flash movie on the site the OP linked: http://now.sprint.com/android/ It seems like useless eye candy at the

[android-developers] Re: ADC2.0

2009-10-28 Thread CraigsRace
My ADC2 entry broke with 2.0 as well. I also got an e-mail from Google strongly encouraging me to fix the errors in my non-ADC2 apps before next week. So one might think Android 2.0 is coming sooner rather then later. And also, the 2nd phase of judging will be getting over soon. To my

[android-developers] Re: Unable to chmod sdcard: Read-only file system

2009-10-28 Thread chandu
chmod 755 /sdcard Try above solution. With Regards, Chandrakant H On Wed, Oct 28, 2009 at 3:13 AM, nagaraj attimani nagaraj.attim...@gmail.com wrote: Try to launch emulator with sdcard and avd.. ex: emulator -avd avd_name -sdcard sdcardname On Wed, Oct 28, 2009 at 11:44 AM, Nima

[android-developers] Re: Unable to chmod sdcard: Read-only file system

2009-10-28 Thread chandrakant.honak...@gmail.com
chmod 755 /sdcard Try this solution WIth Regards, Chandrakant H On Oct 28, 3:13 am, nagaraj attimani nagaraj.attim...@gmail.com wrote: Try to launch emulator with sdcard and avd.. ex: emulator -avd avd_name -sdcard sdcardname On Wed, Oct 28, 2009 at 11:44 AM, Nima sayikuma...@gmail.com

[android-developers] Re: ADC2.0

2009-10-28 Thread CraigsRace
I should also mention that Google were very helpful in tracking down the reason that Android 2.0 broke my apps. Thanks Google! :) On Oct 28, 6:17 pm, CraigsRace craig...@gmail.com wrote: My ADC2 entry broke with 2.0 as well. I also got an e-mail from Google strongly encouraging me to fix

[android-developers] How to hide activity on BACK key without onDestroy?

2009-10-28 Thread tomei.ninge...@gmail.com
When user presses BACK key, my activity's onDestroy is called and then it is killed. Is there a way (by overridding Activity.onKeyDown??) to simply put the activity into background without killing it? I want the BACK key to act like the HOME key (which doesn't kill my app), except I want to show

[android-developers] Re: How to hide activity on BACK key without onDestroy?

2009-10-28 Thread RichardC
You need to re-read the life-cycle documentation. After pressing [home] your app may be killed at any time, it just hasn't been killed yet. If you need a background process read up on services. -- RichardC On Oct 28, 7:26 am, tomei.ninge...@gmail.com tomei.ninge...@gmail.com wrote: When user

[android-developers] Re: how to read the app package under /data/app

2009-10-28 Thread Zhihong GUO
Can you give some example code on how to get the file name of the current wallpaper? Thanks 2009/10/27 vovkab vov...@gmail.com Yes you can. Just read it with File apkfile = new File(/data/app/com.package.name); On 27 окт, 11:43, Zhihong GUO gzhh...@gmail.com wrote: Hi All, I want

[android-developers] Re: How to hide activity on BACK key without onDestroy?

2009-10-28 Thread tomei.ninge...@gmail.com
I can handle may be killed. I just don't want killed for sure. Anyone got an answer for this? On Oct 28, 12:37 am, RichardC richard.crit...@googlemail.com wrote: You need to re-read the life-cycle documentation.  After pressing [home] your app may be killed at any time, it just hasn't been

[android-developers] Re: Android 2.0 SDK is here!

2009-10-28 Thread biAji
On Oct 28, 9:40 am, mingkg21 mingkg21 mingk...@gmail.com wrote: http://androidappdocs.appspot.com/sdk/android-2.0.html 在中国用这个访问吧。 nice tips...lol --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: How to hide activity on BACK key without onDestroy?

2009-10-28 Thread Piotr
If you think how to get around application lifecycle, then you project design is TOTALLY BAD. Really. Redesign project. On 28 Paź, 08:26, tomei.ninge...@gmail.com tomei.ninge...@gmail.com wrote: When user presses BACK key, my activity's onDestroy is called and then it is killed. Is there a

[android-developers] Can anybody share an unofficial download link of android SDK 2.0 eclair?

2009-10-28 Thread Hugh
As some of you may know, URL developers.android.com has been blocked in China, thus I am unable to download the newest SDK. Would anybody kindly upload the SDK to a server and let me know the address for downloading. Highly appreciated your help. Thanks, Regards, Hugh

[android-developers] Re: Android 2.0 SDK is here!

2009-10-28 Thread Neelam Ara
hi.i am new to this group..kindly tell me about Android. On Oct 28, 9:34 am, James W jpbwebs...@gmail.com wrote: A question about the Bluetooth functionality... it says that Bluetooth 2.1 is supported, and particularly the OPP (Object Push Profile). Specifically, does this mean that we will

[android-developers] Streaming problems with Android 2.0

2009-10-28 Thread moju
Hi ! I'm creating an app to stream video and audio files. It was quite fine with Android 1.5 and 1.6, but with 2.0 none of my files want to stream. For videos I get the PVMFErrCorrupt error, whereas it was working with 1.6. The audio codec is WMA9.2 (12 Kbps, 16kHz mono 1-pass CBR) and the

[android-developers] Java Date Objects slow to instantiate in Android 1.6?

2009-10-28 Thread Greg Marra
Hey everyone, Java Date object creation seems much slower in Android 1.6/2.0 than in Android 1.5. My application experienced about two orders of magnitude of slowdown for certain Date intense operations. I have reduced the number of Date and Calendar object instances required to do this math,

[android-developers] how to get sdk version in program

2009-10-28 Thread 李一罡
hi , how can i get sdk version in my code? For example ,i need to know the sdk verison is 1.5 or 1.6 -- Best Regard! 李一罡 E-mail: hit.liyig...@gmail.com Tel: +86-010-82173659 QQ: 270518794 MSN: hyliyig...@hotmail.com Gtalk:

[android-developers] GSM emulation problem

2009-10-28 Thread Andre
Did you find a solution? I have the same problem, but on x32 ubuntu 9.04 and sdk 1.5... Best 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] Will android work on samsung jet?

2009-10-28 Thread rachit.sp...@googlemail.com
hi everyone.. i tried installing android os over samsung Proprietary o.s but whenever i am trying ti execute the android installer file but phone hangs for couple of mins and then reboot. so any opinions where i am going wrong? --~--~-~--~~~---~--~~ You

[android-developers] Re: Android RSS Reader, Please Help

2009-10-28 Thread Michael Liao
hi i have finished an rss reader by myself. but the source code is not check in to google-code svn yet. if you have interest, i can mail to you. regards, Michael Liao On Oct 28, 2:47 pm, GreenRiver thong.dom...@gmail.com wrote: If someone has any ideas, please discuss via comments or

[android-developers] Re: Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml

2009-10-28 Thread orange80
I'm still jammed on this. I'm having the same problem as Philip but on Mac OS X. I have ~/.andriod/androidtool.cfg showing what you put sdkman.force.http=true Not sure what to do!!! Can't wait to get my hands on 2.0 :) On Oct 27, 10:08 pm, Philip phwang...@gmail.com wrote: I have the same

[android-developers] how to invalidate the textview

2009-10-28 Thread pp
i meet a issue on Android , i can't set the background color , can anyone help me? thanks in advance. set a string to the textview, and use setOnTouchListener to capture touch event, when receive MotionEvent.ACTION_UP event. set the background color to 0x(red), when receive

[android-developers] Re: How do I build Android project

2009-10-28 Thread Vijay Ganti
thanks miguel. I will post the same on the android platform group. On Tue, Oct 27, 2009 at 3:19 PM, Miguel Paraz mpa...@gmail.com wrote: On Oct 26, 3:15 pm, braid_pitt ganti.vi...@gmail.com wrote: I am trying to build android source code (specifically the applications such as the alarm

[android-developers] Is source code of Android 2.0 ready to download?

2009-10-28 Thread bluestar
I know Android SDK 2.0 was already ready. Does it mean the source code of Android 2.0 is ready to download? Could I repo the entire platform(include kernel) from Google? (repo init -u git://android.git.kernel.org/platform/manifest.git) Thanks for your answer!!! Best Regards, Alan

[android-developers] Re: Android 2.0

2009-10-28 Thread MrChaz
For what it's worth, I believe the biggest causes of apps breaking on the newer devices are them having trouble with the new screen densities / sizes, and them using private APIs.  We got the screen support out earlier in 1.6 and have been trying to beat that drum to get people to start to

[android-developers] Re: Android WebView and HTML5

2009-10-28 Thread Miguel Paraz
Hi, On Oct 9, 6:37 pm, Anton Pirker an...@ignaz.at wrote: Hey fellow Androids! I am experimenting with Androids WebView[1] and itsHTML5features. I have written a little webpage with does the features detection like described here:http://diveintohtml5.org/detect.html And now I see (I am on

[android-developers] Re: Android RSS Reader, Please Help

2009-10-28 Thread GreenRiver
Thanks Liao :) , but i still need more answers :) Please show your ideas? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: Android 2.0

2009-10-28 Thread Dianne Hackborn
On Wed, Oct 28, 2009 at 2:16 AM, MrChaz mrchazmob...@googlemail.com wrote: Are you allowed to say anything about Droid's openGl version? From looking at all the leaks (or PR if you ask me) it seems to be a 2.0 device like the 3gs or pre but there is nothing in the documentation Hm, well

[android-developers] Re: how to get sdk version in program

2009-10-28 Thread Dianne Hackborn
See android.os.Build for all your version information needs. 2009/10/27 李一罡 hit.liyig...@gmail.com hi , how can i get sdk version in my code? For example ,i need to know the sdk verison is 1.5 or 1.6 -- Best Regard! 李一罡

[android-developers] Re: Load JNI failed at Android 2.0

2009-10-28 Thread Dianne Hackborn
You'll want to post this to android-ndk. On Tue, Oct 27, 2009 at 11:36 PM, Alger, Lin addr...@gmail.com wrote: I write some JNI files for my application, and it works smoothly at Android 1.5, and Android 1.6. However, my application not work on Android 2.0 emulator, because my SO file

[android-developers] Re: ADC2.0

2009-10-28 Thread String
On Oct 28, 7:20 am, CraigsRace craig...@gmail.com wrote: I should also mention that Google were very helpful in tracking down the reason that Android 2.0 broke my apps.  Thanks Google!  :) Lucky you. Mind sharing what the problem was? I've filed a report on one of the regression bugs that

[android-developers] Re: how to read the app package under /data/app

2009-10-28 Thread vovkab
Seems like, you don't know what you need. Use WallpaperManager to get wallpapper. Why you need filename from package o_O? On 28 окт, 10:46, Zhihong GUO gzhh...@gmail.com wrote: Can you give some example code on how to get the file name of the current wallpaper? Thanks 2009/10/27 vovkab

[android-developers] Toggle Button remove light indicator programmatically

2009-10-28 Thread Guillaume
Hi All, I would like to know how to remove the light indicator of a Toggle Button. In the API, there is a variable called Alpha which can be disabledAlpha (XML attributes). According to the API, The alpha to apply to the indicator when disabled. I have searched on the internet, and found no

[android-developers] Re: Android 2.0 Force close in contacts app

2009-10-28 Thread jarkman
Xavier - one of our apps is very dependent on contact data. Right now, running it in the Emulator with a couple contacts added in the Contacts app, it appears to be completely broken. I suspect it is something to do with a change in the behaviour of group memberships. I'd like to port it to 2.0

[android-developers] Re: Android 2.0 Force close in contacts app

2009-10-28 Thread sukumar bhashyam
hi Xav, Andorid 2.0 SDK release page talks more about Contacts Sync Adaptor, which is not supported in Official Android 2.0 SDK. Could you please let me know when it will be supported. Will there be another 2.0 SDK release with Sync Adaptor changes?. Regards, Sukumar. On Wed, Oct 28, 2009 at

[android-developers] make a SurfaceView visible/invisible at runtime

2009-10-28 Thread allstars
hi can i make a SurfaceView visible/invisible at runtime?? i use the GLSurfaceView in ApiDemos as example i use setFormat(PixelFormat.TRANSLUCENT) and setFormat(PixelFormat.OPAQUE) interchangeablelly i found that i only can set it to invisible at first but can not make it visible afterwards,

[android-developers] Can other applications use the share function of Facebook for Android?

2009-10-28 Thread feeling3_4
Hi, guys Facebook for Android is great, but I just wonder that whether my application can use the share function of it. Or, does the Facebook for Android release some apis and let other applications use the built in functions like share or feed? Any advice is greatly appreciated. Thanks.

[android-developers] 1.6 and 2.0 builds ?

2009-10-28 Thread jarkman
We have an app which is very involved with contact data, and will need to be ported to the new contacts APIs to work properly under 2.0. It looks like the change will affect quite a lot of code, so ideally we would fork the project, make the right changes, and then have 1.6 and 2.0 builds in the

[android-developers] Re: Android RSS Reader, Please Help

2009-10-28 Thread GreenRiver
UP UP UP On Oct 28, 4:34 pm, GreenRiver thong.dom...@gmail.com wrote: Thanks Liao :) , but i still need more answers :) Please show your ideas? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Android 2.0 SDK is here!

2009-10-28 Thread konic
OK, I could not install Android 2.0, API 5, rev1 because of this error: SSL peer shut down incorrectly. What does this mean? Next, download from Eclipse is so slow, is there any way to download standalone redistributable for Android 2.0 and then install it? I mean, like it was for 1.5 and 1.6.

[android-developers] Re: Android tasks and activities

2009-10-28 Thread RichardC
I am sure there is something in here that will help: http://developer.android.com/guide/topics/fundamentals.html#acttask and also here: http://developer.android.com/guide/practices/ui_guidelines/activity_task_design.html (confession - so much information it makes my head hurt) -- RichardC On

[android-developers] Re: 1.6 and 2.0 builds ?

2009-10-28 Thread String
There's also from runtime detection of API version, a la http://groups.google.com/group/android-developers/msg/887fbc62b6367fa9, which you could use to branch your code internally. Not that that's inherently cleaner, but it might work out that way for certain circumstances. String On Oct 28,

[android-developers] Re: Help me: My emulator reported an error that com.android.settings has no certificates at entry AndroidManifest.xml

2009-10-28 Thread yagbu
I verified the signature of my modified settings.apk by jarsigner tool. $jarsigner -verify settings.apk It reported that jar verified. So the signature of settings.apk should be right. But why did it report error of has no certificates at install stage? On 10月23日, 下午10时29分, yagbu

[android-developers] Re: myMap.setData(uri) - KML

2009-10-28 Thread qlimax
sorry is there a way to write a Dom document to an xml file?? in normal java se there is a Transformer class, but in android no. I need that because I have to create the URI with that file. --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Quick Search Box and ActivityGroup

2009-10-28 Thread skyman
Hello, I've just added QuickSearchBox support in my app. Everything is working okay except that when I press search button in by main activity which is extendng ActivityGroup the default QuickSearchBox is displayed with global search suggestions, but when I change activity within group I'm

[android-developers] Re: Help me: My emulator reported an error that com.android.settings has no certificates at entry AndroidManifest.xml

2009-10-28 Thread RichardC
Looks like a question for http://groups.google.com/group/android-platform or http://groups.google.com/group/android-porting If I am right and you are modifying the Android platform code I think it needs to be signed with a key you do not have. -- RichardC On Oct 28, 12:30 pm, yagbu

[android-developers] Re: I can't save a DOM Document into an xml file.

2009-10-28 Thread qlimax
that's S**T because I'm searching for that also! no way? :( On 9 Set, 12:06, Guijoye guij...@gmail.com wrote: Hi all, I'm using org.w3c.dom.Document to create a document and I need now towriteit into a .xmlfile. I saw tutorials refering the javax.xml.transform.Transformer package but this

[android-developers] Re: First QVGA Android Phone — HTC Tattoo™ — on sale October 2009. Is your applicat ion ready?

2009-10-28 Thread htcand...@gmail.com
Thank you for your question. We expect the same look and feel between the QVGA emulator and the device, so if the UI of your application does not have a problem displaying on the emulator, then it should not have a problem on the device. Regarding providing unlocked devices to developers,

[android-developers] emulator: could not find virtual device named...

2009-10-28 Thread westmeadboy
This is a problem where the .android folder is being placed in the wrong location on Vista. When I do this: android create avd -n android1.5 -t 2 the .android folder is placed at d:\.android. This is the same when using the Eclipse ADT plugin. However, the documentation states: By default,

[android-developers] Re: showDialog() fails to show anything

2009-10-28 Thread Greg Donald
On Mon, Oct 26, 2009 at 9:49 PM, Greg Donald gdon...@gmail.com wrote: I'm having problems getting showDialog() to show anything. I have this for my onCreateDialog() callback: private static final int ID_DIALOG_X = 1; protected Dialog onCreateDialog(int id) {  if (id == ID_DIALOG_X) {    

[android-developers] T2S OnUtteranceCompletedListener not working

2009-10-28 Thread Markus Gursch
Hello i have a problem to recognize when speak has finished. here is my code t2s = new TextToSpeech(this, this); int result = t2s.setOnUtteranceCompletedListener(completeListener); result is equal to TextToSpeech.ERROR (-1) - i don't know why. i speak like this but onUtteranceComplete is not

[android-developers] Re: T2S OnUtteranceCompletedListener not working

2009-10-28 Thread blindfold
Perhaps related to http://groups.google.com/group/tts-for-android/browse_frm/thread/6d5feb49a599e9f9 or else ask in that group? On Oct 28, 2:37 pm, Markus Gursch swordia...@gmail.com wrote: Hello i have a problem to recognize when speak has finished. here is my code t2s = new

[android-developers] Re: T2S OnUtteranceCompletedListener not working

2009-10-28 Thread Markus Gursch
Thanks, i saw this entries, but they didnt help me. my problem is at adding the listener. but i dont know what i am doing wrong On 28 Okt., 14:45, blindfold seeingwithso...@gmail.com wrote: Perhaps related tohttp://groups.google.com/group/tts-for-android/browse_frm/thread/6d5f... or else

[android-developers] Re: showDialog() fails to show anything

2009-10-28 Thread qlimax
have you tried Dialog pg=new ProgressDialog(this) then return pg ? just to try it... and UP this thread...:) On 28 Ott, 14:27, Greg Donald gdon...@gmail.com wrote: On Mon, Oct 26, 2009 at 9:49 PM, Greg Donald gdon...@gmail.com wrote: I'm having problems getting showDialog() to show

[android-developers] Re: showDialog() fails to show anything

2009-10-28 Thread Greg Donald
On Wed, Oct 28, 2009 at 9:14 AM, qlimax eneager...@gmail.com wrote: have you tried Dialog pg=new ProgressDialog(this) then return pg ? just to try it... and UP this thread...:) Tried it: protected Dialog onCreateDialog(int id) { if (id == ID_DIALOG_X) {

[android-developers] Re: First QVGA Android Phone — HTC Tattoo™ — on sale October 2009. Is your applicat ion ready?

2009-10-28 Thread JP
I've already tested the Tattoo's (and other) screen sizes; works fine in the emulator... i've built that capability into my products from day one. But that's starter issues; emulator testing only goes only so far. As an example, there is no adequate representation of the camera preview in the

[android-developers] Re: How to hide activity on BACK key without onDestroy?

2009-10-28 Thread Streets Of Boston
I agree with Piotr. Tomei, We may be able to help you with the *how*, if you told us *what* you are trying to accomplish. I am almost 100% it could be done without trying to circumvent Android's lifecycle management. On Oct 28, 4:42 am, Piotr piotr.zag...@gmail.com wrote: If you think how to

[android-developers] how to invoke a APK file

2009-10-28 Thread tstanly
hi guys, if I wnat to invoke b.apk from a.apk (such as click a button on a.apk) and if I don't know the package name and class name(entry point) about b.apk, can it still to do that?? thanks --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: NEEDED: Apps to feature on Sprint Microsite

2009-10-28 Thread Wayne Wenthin
I hope you were not associating me with Sprint. I merely hinted that he may want to put some conditions on what type of apps he was looking to promote. My app is obviously not intended for anyone under 18 and deals with adult subject matter. This is probably the type of information that

[android-developers] getNetworkLocation in 2.0

2009-10-28 Thread Wayne Wenthin
I can't get this to work in the emulator. LocationManager lm = (LocationManager) getSystemService(Context.LOCATION_SERVICE); lm.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 1000L, 500.0f, this); Location loc = lm .getLastKnownLocation(lm.getProviders(true).get(0)); loc always returns

[android-developers] Re: adc 2 Second Round

2009-10-28 Thread jgostylo
If Google tells you that posting about it means instant disqualification then I don't think it would be worth the risk considering only the people moving forward would know. But I see your point. News like that would almost certainly leak if not from the people advancing to the next round and

[android-developers] Preferred way to support multiple Android OS Versions?

2009-10-28 Thread Beowolve
Hi all, I have a few scenarios where I guess I am not alone with. There is no easy solution but this has to be on top of the list I think... 1. Suppose you have an application that is compiled with 1.5 and is working fine even if started on a 1.6 device. But you now want to support other

[android-developers] update a ListView with getView

2009-10-28 Thread jax
Hi I am trying to update a ListView with the following: TextView listItem= (TextView)mAvailableOptionsListView.getAdapter ().getView(1, null, null); listItem.setText(test); The problem is that it does not update in the mAvailableOptionsListView ListView. Why is that?

[android-developers] BluetoothAdapter - ACTION_DISCOVERY_FINISHED

2009-10-28 Thread Ne0
Ok i may be missing something here, but i can't see any documentation on what (if any) data is returned with Intent ACTION_DISCOVERY_FINISHED. I would hope that there is a list of discovered devices, but i cant find any documentation on it plus i don't have an android phone to test this on. Any

[android-developers] cant see my text box while typing on soft keypad

2009-10-28 Thread zeeshan
Hi Dear, i have a relative layout with Edit text fileds and some buttons at bottom. when i try to write anything on edittext field in the middle of screen, it just being hidden by the keypad and buttons layout comes on top. any idea how can i have soft keypad working fine for my edit texts?

[android-developers] Can't Get CameraPreview Example to Work

2009-10-28 Thread polyclefsoftware
I upgraded to the 2.0 SDK yesterday...don't know if that has anything to do with it. I can't get the CameraPreview example from the API Demos to work. I get the same error in both my emulator and on my G1: E/AndroidRuntime( 4758): java.lang.RuntimeException: Fail to connect to camera service

[android-developers] Re: Eclair install choked with errors about locks and died horribly leaving corrupted install

2009-10-28 Thread Armond Avanes
Xavier, I've downloaded the SDK package (v3) and have run both SDK Setup.exe and android.bat (I'm on WinXP). But still the same problem... There are not any open command-lines (but the one running the SDK tool itself) or explorers! Can't it be a bug? Regards, Armond -Original

[android-developers] Re: update a ListView with getView

2009-10-28 Thread jax
ok fixed that, I used this: mAvailableOptionsListView.getChildAt(correctPosition).setAnimation (shake) my next problem is that when I set this animation the view does not seem to set the animation immediately...why is that? Do I have to invalidate anything or manually refresh the display

[android-developers] Re: Preferred way to support multiple Android OS Versions?

2009-10-28 Thread JP
Well it's everybody's guess right now. First, let me interject a remark regarding having to root a device for 1.6: Normally you shouldn't have to do that. See if you can find the installation packages for your device and upgrade manually. As far as the Google Ion is concerned, for instance, HTC

[android-developers] How to capture Soft keyboard key events.

2009-10-28 Thread Gulfam
Hi all group members, I am facing a problem any one can help me regarding this. I have an EditText and a list of contacts. I want to search a contacts on maching with characters entered in EditText field. In my activity I have implemented OnKeyListener . and in onCreat (){ searchField =

[android-developers] Re: update a ListView with getView

2009-10-28 Thread jax
ok, I used invalidateViews() and it seemed to work. This will invalidate all views. Is it better to use a Rect in this case or does it not really matter? On Oct 28, 11:25 pm, jax jackma...@gmail.com wrote: ok fixed that, I used this:

[android-developers] Re: Can anybody share an unofficial download link of android SDK 2.0 eclair?

2009-10-28 Thread Lance Nanek
Do the direct downloads work for you? They are on a different subdomain: http://dl.google.com/android/android-sdk_r3-windows.zip http://dl.google.com/android/android-sdk_r3-mac.zip http://dl.google.com/android/android-sdk_r3-linux.tgz http://dl.google.com/android/ADT-0.9.4.zip I'd mirror them

[android-developers] Re: T2S OnUtteranceCompletedListener not working

2009-10-28 Thread Markus Gursch
other hints i need to know when the speak is over On 28 Okt., 14:52, Markus Gursch swordia...@gmail.com wrote: Thanks, i saw this entries, but they didnt help me. my problem is at adding the listener. but i dont know what i am doing wrong On 28 Okt., 14:45, blindfold

[android-developers] Re: Preferred way to support multiple Android OS Versions?

2009-10-28 Thread Michael MacDonald
I don't think this is as hard as you think. You don't need to have multiple versions of the application. If you want to support different resolutions, just change (or add) the targetSdkVersion attribute in your Android manifest to 4 (which is 1.6). If you don't change the minSdkVersion, it

[android-developers] buttons in list entries

2009-10-28 Thread alexdonnini
Hello, I have an application that generates a list with two buttons for each entry in the list. It's working to a limited extent. I have run into a problem which I have not be able to resolve. Can anyone point me to a tutorial or code sample, or both where I could see a working example of a

[android-developers] Re: adc 2 Second Round

2009-10-28 Thread Maps.Huge.Info (Maps API Guru)
comedy Hey, they haven't contacted me yet and I'm sure at least one of my apps will make it into the next round... /comedy -John Coryat Radar Now! What Zip Code? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: Eclair install choked with errors about locks and died horribly leaving corrupted install

2009-10-28 Thread Streets Of Boston
I had the same problem. I decided to just unzip the contents of the SDK package - tools directory only; you'll find the others are empty - into the the tools directory of the Android SDKs used by Eclipse. This did the trick for Eclipse. Although, i still see that weird message when opening

[android-developers] Re: adc 2 Second Round

2009-10-28 Thread niko20
This is why I didn't bother with ADC2 and also why I'm always wary of any other people that come around these forums proposing to expose our apps to the world. Because it's always just talk, and I have yet to see results from any of them. It's like they all jumped on the android bandwagon but

[android-developers] Re: Orientation Sensors - they don't seem correct?

2009-10-28 Thread Neilz
No ideas? Has no one else experienced this? On Oct 27, 10:06 am, Neilz neilhorn...@googlemail.com wrote: Hi all. I wanted to get to grips with the orientation sensors (using HTC Hero) and have written a simple Spirit Level app which has two bars displayed, one showing the horizontal level,

[android-developers] Re: App Fault [SIGSEGV]

2009-10-28 Thread fadden
On Oct 27, 5:12 am, vovkab vov...@gmail.com wrote: Why this can happen?   950                   DEBUG  I  *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***   950                   DEBUG  I  Build fingerprint: 'generic/sdk/ generic/:1.6/DRC76/13852:eng/test-keys'   950        

[android-developers] Re: T2S OnUtteranceCompletedListener not working

2009-10-28 Thread Lee
I had this problem too. I used tts.isSpeaking() as a workaround. Lee On Oct 28, 5:12 pm, Markus Gursch swordia...@gmail.com wrote: other hints i need to know when the speak is over On 28 Okt., 14:52, Markus Gursch swordia...@gmail.com wrote: Thanks, i saw this entries, but they

[android-developers] Listen for MapView zoom?

2009-10-28 Thread Mark Wyszomierski
Hi, I'm using a MapView, with the default zoom controls. Is there any way to listen for zoom events? I tried this: android.widget.ZoomButtonsController zzz = mMapView.getZoomButtonsController(); but eclipse can't seem to resolve ZoomButtonsController? Thanks

[android-developers] Re: adc 2 Second Round

2009-10-28 Thread maennj
I'm sure they have good reason about it. There are plenty of reasons that can delay the process. Maybe they were trying to find a solution to rectify the damage done by Android 1.6 release. Maybe it's better for us all if they're reviewing all apps, because honestly, end user community is not

[android-developers] Re: Application max heap size

2009-10-28 Thread fadden
On Oct 27, 3:15 pm, String sterling.ud...@googlemail.com wrote: I there an API method to get the value of this max heap size? I haven't looked into that yet. long heapSize = Runtime.getRuntime().maxMemory(); FWIW, this is configured with the dalvik.vm.heapsize system property (default

[android-developers] Re: Android getConnectionInfo() crash

2009-10-28 Thread Khetzal
No, now it work perfectly ! I'm a beginer in android programmation and i didn't know that i've to add permission in manifest.xml, Thanks you very much ! On 26 oct, 23:34, Roman ( T-Mobile USA) roman.baumgaert...@t- mobile.com wrote: The code looks fine to me. Are you using the Access_Wifi_State

[android-developers] Re: Eclair install choked with errors about locks and died horribly leaving corrupted install

2009-10-28 Thread Raphael
On Tue, Oct 27, 2009 at 5:44 PM, Streets Of Boston flyingdutc...@gmail.com wrote: I have the same issue. I started android.bat from the command prompt. Since android.bat is in the directory that is reported to be locked, my command prompt is holding a lock to it when starting

[android-developers] Re: NEEDED: Apps to feature on Sprint Microsite

2009-10-28 Thread JP
That was my impression too. It also links to the thin Android Market web, but that's a different topic... On second thought - that might be what's been referenced to as phase 1. That microsite stuff is nice to look at though. I've seen this first time at Porsche USA on their Panamera campaign.

[android-developers] QSB and Images in suggestion provider

2009-10-28 Thread pperotti
hi Everyone, I was playing with the QSB and content providers and I found a problem at the time of using suggestions providers. What I want to achieve is what the contact app have which is to show an image in a suggestion with the particular need that the image is not a resource, I have them

[android-developers] Re: NEEDED: Apps to feature on Sprint Microsite

2009-10-28 Thread niko20
Hmm well I did send an email to Quentin last night asking about more details, but I haven't heard anything back yet -niko On Oct 28, 1:34 pm, JP joachim.pfeif...@gmail.com wrote: That was my impression too. It also links to the thin Android Market web, but that's a different topic... On

  1   2   >