[android-developers] Re: TextToSpeech synthesizeToFile() problem

2010-02-23 Thread Dimitry Hristov
Greg, thank you for the answer, now I know the problem is on my side. Yes I was able to write a file with OutputStreamWriter. Did it to / data/data/[my_package_name]/files not to the /sdcard though. The strange thing is that synthesizeToFile returns TextToSpeech.SUCCESS, while LogCat reports an

[android-developers] Re: What does the prefix 'm' stand for ?

2010-02-23 Thread Kaj Bjurman
I don't buy that argument since since all of the core classes in Java are written without prefixes of any kind, and many of the classes were implemented before IDEs became popular. I do also think that the convention would have been added to the Code Conventions for the Java Programming Language

[android-developers] Re: Is there a normal human way to copy image from one folder to another?

2010-02-23 Thread benderillo
Thanks Anton. It sounds like too much extra work for so simple and basic operation. But, I guess this is only approach which would work for android. Slightly disappointing though... __ Alex On Feb 19, 4:23 am, Streets Of Boston flyingdutc...@gmail.com wrote: No. You have to do this all

Re: [android-developers] question about handle and runnables

2010-02-23 Thread Néstor Pavón Puro
Maybe because the second option is not to much time displayed? Put more time between the second and the third option. --- El mar, 23/2/10, Michael Lam mmingfei...@gmail.com escribió: De: Michael Lam mmingfei...@gmail.com Asunto: [android-developers] question about handle and runnables Para:

[android-developers] Dragging a particular view in a viewgroup

2010-02-23 Thread mmkr
Hi, I want to create a custom layout(View group) in which dragging of a particular view is possible like that in home screen.I tried by creating custom layout in which I added views but i'm not able to drag views.So if any one knows the solution please suggest me. thanks in advance -- You

[android-developers] Re: Petition: Google, please improve the Android Market.

2010-02-23 Thread Rob Irondad
Thanks for the feedback. I didn't know about the carrier's cut, this is interesting. I still want to remind readers that the service is not free because I think it is an important 'detail', but I'll rephrase this sentence to make it more accurate / fair to Google. -- Rob On Feb 23, 3:16 am,

[android-developers] Re: Display a picture for few seconds before running into the main stream

2010-02-23 Thread Carl Whalley
This should give you some pointers: http://www.androidacademy.com/3-tutorials/43-hands-on/167-coolsplash-an-interactive-splash-toy-for-android-apps On Feb 22, 10:06 am, CMF manf...@gmail.com wrote: Hi all, I would like to display a picture for 2secons before running into the main stream of the

[android-developers] Re: question about handle and runnables

2010-02-23 Thread Kaj Bjurman
No, that isn't the problem. On 23 Feb, 09:24, Néstor Pavón Puro nespap...@yahoo.es wrote: Maybe because the second option is not to much time displayed? Put more time between the second and the third option. --- El mar, 23/2/10, Michael Lam mmingfei...@gmail.com escribió: De: Michael Lam

[android-developers] Re: Folder Chooser?

2010-02-23 Thread skink
On Feb 22, 10:36 pm, Robert Green rbgrn@gmail.com wrote: Hey guys, I'm wondering if anyone has a lead on some nice code to do a Folder Chooser / Directory Picker?  I know they wrote one at OpenIntents but I don't want to package the whole OI thing with my app - it'll make it bigger than

[android-developers] Re: Storing image in phone memory - exception

2010-02-23 Thread A R
Hello Venkat, Thanks for responding. What is the difference between /data/data(app.memory) and own package application memory? I thought they both are same. Thanks for the code, I am already able to write directly but I don't want to do that because I want my image to be listed in Gallery on

[android-developers] Re: TextToSpeech synthesizeToFile() problem

2010-02-23 Thread Dimitry Hristov
Indeed it works now. After removing my old AVD and creating a new one. On Feb 23, 10:05 am, Dimitry Hristov dima.hris...@gmail.com wrote: Greg, thank you for the answer, now I know the problem is on my side. Yes I was able to write a file with OutputStreamWriter. Did it to /

[android-developers] Re: Storing image in phone memory - exception

2010-02-23 Thread A R
Hello Venkat, Thanks for responding. What is the difference between /data/data(app.memory) and own package application memory? I thought they both are same. Thanks for the code, I am already able to write directly but I don't want to do that because I want my image to be listed in Gallery on

[android-developers] About intercept sms

2010-02-23 Thread nigel
Hi,all I have a requirement as follow: 1.When receive a short message,I hope my app can intercept it. 2.At the same time I can get its content to a custom table,and system cannot send a notification to user. 3.The new short message's notification is sent by my app. Now I already finish this

[android-developers] Re: java.security.NoSuchAlgorithmException: SSLContext SSL implementation not found

2010-02-23 Thread Android-kums
Please help for my issue. On Feb 22, 11:13 am, Android-kums kumareshnkl1...@gmail.com wrote: If anybody know about this issue,give me a solution. Thanks,kums. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Impossible to test contact groups in Android 2.0 with-out a physical phone?

2010-02-23 Thread pistol
My app (first written for Android 1.6) reads groups and contacts but I have so far only been able to write code for 2.0 that compiles but I have never executed. Since the Contacts API and particularly the way groups work has changed substantially in ways that I haven't quite been able to find out

[android-developers] Remote Test your apps on real phones with Sony Ericsson Perfecto Mobile

2010-02-23 Thread SonyEricsson DeveloperWorld
Perfecto mobile is a remote device testing from Sony Ericsson that enables you to be sure that your application works on a real device even though you don’t have it in your hand. The Perfecto Mobile service enables you to * Test on a range of real Sony Ericsson handsets via the Internet

[android-developers] Remote Test your apps on real phones with Sony Ericsson Perfecto Mobile

2010-02-23 Thread SonyEricsson DeveloperWorld
Perfecto mobile is a remote device testing from Sony Ericsson that enables you to be sure that your application works on a real device even though you don’t have it in your hand. The Perfecto Mobile service enables you to * Test on a range of real Sony Ericsson handsets via the Internet

Re: [android-developers] Re: eclipse linkedResources - linked layout xml is neither included in the apk nor generated

2010-02-23 Thread Adrian Vintu
Hi Bob, Thank you for your input. I think they are all interesting ideas. I have decided to use another approach though. So here is how we are standing: Project A (Java) is the common base and holds the layout xmls. Projects B, C, etc (Android) are the regular applications. I will make Eclipse

[android-developers] how to get user info

2010-02-23 Thread Narendra Bagade
Hi all, Is there any way to get user info like email ID,phone number,country through our application. I mean ,Is there any api that will read this information of mobile user. Please help me on this requirement.. -- Regards, Narendra B 9632382960, Bangalore. -- You received this message

Re: [android-developers] Re: help me

2010-02-23 Thread dillirao malipeddi
please write these lines inside button click listener code *not in onCreate()* username = name.getText().toString(); password = pass.getText().toString(); On Fri, Feb 19, 2010 at 2:47 PM, SREEHARI sreehari.madhusooda...@wipro.comwrote: As Darshana said u dint say what is the exact problem.

[android-developers] Re: Singleton Service ???

2010-02-23 Thread MobDev
actually I had a question regarding this... I made a service which plays an MP3, so it uses a single instance (in the whole service) of MediaPlayer.. Still I noticed (by mistake because the Service didn't get closed while exiting my main Activity) that the Service obviously kept running, but when

[android-developers] how to convert mp3to PCM format in android

2010-02-23 Thread kavitha
Hi All, Is there any way to convert mp3 to PCM stream in android? Please help. Thanks Kavitha -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from

[android-developers] Experience with different Android devices and apps shown in Android Market

2010-02-23 Thread androidDeveloper
I am interested in your experience with Android apps. Do you have problems with some devices (errors, crashes...), apps that are not shown on some devices or other problems? If you have some of these problems, is it clear to you where the problem comes from? Greetings Android Developer -- You

[android-developers] PlayDriver

2010-02-23 Thread Pierre Henry
Hi, I'm playing with 'MediaPlayer' class and 'm encoutering a curious message in debug win: __ 02-23 11:34:06.288: ERROR/PlayerDriver(51): Invalid percentage value 82597 __ The message is scrolling with increasing value of the percentage value. The

[android-developers] Re: Singleton Service ???

2010-02-23 Thread MobDev
Lol, I see I actually forgot to place the question in the first part of my previous post :D That is : if a Service already is running, is there some way to bind to it when my app starts up, and/or programmatically check if it's already running ? So that I won't be having 2 separate Service

[android-developers] Re: Pinwheel or progress indicator while loading screen

2010-02-23 Thread javame_android
Hello, Is there anyone who can let me know how to achieve this? I want that once the login button is clicked a ProgressDialog is displayed and it should be dismissed only when the data from the server has been completely loaded. Can anyone guide how to accomplish this? Thanks Regards Sunil

[android-developers] Re: Remote Test your apps on real phones with Sony Ericsson Perfecto Mobile

2010-02-23 Thread Kaj Bjurman
What's the relation to Android? On 23 Feb, 10:47, SonyEricsson DeveloperWorld sonyericssondeveloperwo...@gmail.com wrote: Perfecto mobile is a remote device testing from Sony Ericsson that enables you to be sure that your application works on a real device even though you don’t have it in your

[android-developers] Need Calendar.apk and CalendarProvider.apk

2010-02-23 Thread Piyush
Hello All, I need to install calendar app on emulator. But there is no default calendar app on emulator. I got calendar.apk from some site and successfully installed this file. But when I open calendar application exception sceren comes --- 'The process com.android.calendar has stopped

[android-developers] Re: android.bluetooth.a2dp.intent.action.SINK_STATE_CHANGED

2010-02-23 Thread Dongjoon Lee
yes, i tried that and got the event whenever the bt headset state was changed. On 2월22일, 오후7시42분, Alex Corbi a.co...@gmail.com wrote: btw, have you tried it already? works? On 17 Feb., 09:16, Dongjoon Lee sky...@gmail.com wrote: Hi. If the bluetooth headset is connected, system send

[android-developers] Re: Images from Xml

2010-02-23 Thread Eosproject
Thanks. I need images, so I have problems with array... (images) xml ?xml version=1.0 encoding=utf-8? resources xmlns:android=http://schemas.android.com/apk/res/android; stage id=@drawable/level1 android:drawable=@drawable/level1 android:layout_width=fill_parent / items item id=@drawable/it1

[android-developers] Re: how to convert mp3to PCM format in android

2010-02-23 Thread skink
kavitha wrote: Hi All, Is there any way to convert mp3 to PCM stream in android? Please help. Thanks Kavitha use lame --decode pskink -- 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] Create a log screen with a dialog!

2010-02-23 Thread nep0x
hi people! I m developing an app and a i have a little doubt. It is the following: My app first activity is very simple. it shows two buttons: ENTER EXIT. When the user press the button ENTER the app displays a dialog where the user have to log. I want that the app access to an external

Re: [android-developers] Re: how to convert mp3to PCM format in android

2010-02-23 Thread kavitha
Thanks for reply skink. I downloaded lame.zip,,but totally lost how to use in my android project. Thanks Kavitha On Tue, Feb 23, 2010 at 5:10 PM, skink psk...@gmail.com wrote: kavitha wrote: Hi All, Is there any way to convert mp3 to PCM stream in android? Please help. Thanks

Re: [android-developers] client certificate authentication for ssl/https connection

2010-02-23 Thread saify.zeenwala
hi just create certificate using bouncy castle algo as android supports only BKS certificates only. use below mentioned link to generate client side certificat and store it using keystore. http://crazybob.org/2010/02/android-trusting-ssl-certificates.html regards On Tue, Feb 23, 2010 at

[android-developers] Re: Populated database inside the app package (HOW-TO)?

2010-02-23 Thread Todd S.
I just got this to work yesterday, followed the following post: http://www.reigndesign.com/blog/using-your-own-sqlite-database-in-android-applications/ I was able to write a function that lets me overwrite the existing database used by the app, export the existing database to the SD card and

[android-developers] Re: Populated database inside the app package (HOW-TO)?

2010-02-23 Thread Todd S.
I was able to get this to work by following post: http://www.reigndesign.com/blog/using-your-own-sqlite-database-in-android-applications/ The database gets placed in the assets folder and then during the createDatabase() gets copied into the /data/data/yourpackagename/ databases/ folder.

[android-developers] (Update) Re: Talking to wpa_supplicant for TTLS / PEAP / TLS (Runtime+wpa_cli / JNI / LocalSocket(Unix domain socket) / wpa_supplicant.conf?)

2010-02-23 Thread a2ronus
(Update: I got a reply from Jouni Malinen on the hostap mailinglist, I tried his approachm but that doesn't seem to work either. I posted the message below on the hostap mailinglist as well, since it seems to be an Android-wpa_supplicant combination problem) Hello Jouni, Thanks for the reply.

[android-developers] Hang up phone call

2010-02-23 Thread Isaac Wagner
I've spend the last couple days looking for a way to hang up a phone cal via the API. I'm guessing for some security reason that Google does not allow this. Not being one to give up yet...is there any undocumented way to hang up a phone call? Of course the real solution would be for Google to

[android-developers] Re: Problem playing audio on android

2010-02-23 Thread Alex Coventry
OldSkoolMark mark at sublimeslime.com writes: Try putting the start() call in onResume(). Thanks for the suggestion. Turned out the mp3 file I was testing with is unplayable on android. Transcoding with ogg and replacing fixed the problem. On the other hand, no other android apps were able to

[android-developers] Re: question about handle and runnables

2010-02-23 Thread niko20
Hi, I'm not seeing any code where you are creating a new handler to use You need a mHandler = new Handler(); in your OnCreate routine BEFORE you use it. -niko On Feb 23, 2:50 am, Kaj Bjurman kaj.bjur...@gmail.com wrote: No, that isn't the problem. On 23 Feb, 09:24, Néstor Pavón Puro

[android-developers] Re: Petition: Google, please improve the Android Market.

2010-02-23 Thread Streets Of Boston
Yep, you're correct. Google gets only a small portion of the 30% to cover the costs of the payment transactions. The bulk of the 30% goes to the carriers. At an Android Dev Lab Google told us Google's share just covers their cost. On Feb 22, 9:16 pm, Maps.Huge.Info (Maps API Guru)

[android-developers] Re: Petition: Google, please improve the Android Market.

2010-02-23 Thread Hekki
Hi, Are you sure about the carrier thing ? I don't see when they are involved : Clients only use the carrier as a dumb pipe here to get internet access, they pay using google checkout which have their credit card information(much like itunes does). So google handle the payment itself. When is

[android-developers] stay inside webview?!

2010-02-23 Thread Marco Alexander Schmitz
dear developer, I need help on the following topic. I just created a webview activity, and I loaded a webside into it. Well, when the user starts to click on some button, my activity is gone and the default webbrowser-activity is opened. In this case my menuitems are lost. Is it possible to

Re: [android-developers] Re: Petition: Google, please improve the Android Market.

2010-02-23 Thread Disconnect
Google has been very vague about where that 30% goes when you're on a nexus, adp, etc. On Tue, Feb 23, 2010 at 10:37 AM, Hekki kaye...@gmail.com wrote: Hi, Are you sure about the carrier thing ? I don't see when they are involved : Clients only use the carrier as a dumb pipe here to get

Re: [android-developers] stay inside webview?!

2010-02-23 Thread Mark Murphy
Marco Alexander Schmitz wrote: dear developer, I need help on the following topic. I just created a webview activity, and I loaded a webside into it. Well, when the user starts to click on some button, my activity is gone and the default webbrowser-activity is opened. In this case my

[android-developers] TabHost issue in 1.5

2010-02-23 Thread Pablo Szyrko
Hi, I have a TabActivity that contains three tabs and the content launch a new activity. The code works for 1.6 and later but doesn't work for 1.5. I found a old thread with the same problem but without answer: http://www.mail-archive.com/android-developers@googlegroups.com/msg35229.html Could

[android-developers] Bring Activity to front

2010-02-23 Thread // C
I am writing a small streaming application with purpose to test send Activity to background and send Activity to foreground functionality. Basically it looks like illustrated below. From the logs you can see that the platform is trying to bring the streaming application to front again, but

[android-developers] exporting widgets in jar file without /res/values/attrs.XML and R.styleable ???

2010-02-23 Thread Houcem Berrayana
Hi all, I was writing a kind of custom views that should be packaged in a jar file to be used in other applications. So I have added some attributes to my custom widgets in order to uses the related values in my widgets constructor. The problem is that in the controller I am executing this king

[android-developers] Re: question about handle and runnables

2010-02-23 Thread Kaj Bjurman
He created them where he declared them. On 23 Feb, 14:34, niko20 nikolatesl...@yahoo.com wrote: Hi, I'm not seeing any code where you are creating a new handler to use You need a mHandler = new Handler(); in your OnCreate routine BEFORE you use it. -niko On Feb 23, 2:50 am, Kaj Bjurman

[android-developers] Re: Multiple development environments on a single machine: Problem changing default 8700 port in ADT/DDMS

2010-02-23 Thread Pawel Kapala
Have anyone experienced similar problem? On Feb 3, 9:15 am, Pawel Kapala ext.pawel.kap...@tieto.com wrote: Hello! I am trying to set up multiple Android development environments on single Linux Debian machine. Everything works fine for one user. But whenever second user on the same machine

[android-developers] Re: Localization in Eclair

2010-02-23 Thread android learner
Thank you Mark. On Feb 22, 6:38 pm, Mark Murphy mmur...@commonsware.com wrote: android learner wrote: Does Android provide any tool(s) that would help developers translate the strings (may be to convert from xml to xliff format or some other format that translators generally use)? No,

[android-developers] Re: converting short array to byte array help

2010-02-23 Thread maxsap
anyone? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options,

[android-developers] Re: MapView

2010-02-23 Thread Aamir Yaseen
Hi everyone, I was able to solve this issue, so thought better update everyone, this might help others. Mistake I was making was: I had to call setState(marker, stateBitset) in the getMarker(int stateBitset) method of OverlayItem., otherwise it does not work. StateListDrawable is mazing way of

Re: [android-developers] exporting widgets in jar file without /res/values/attrs.XML and R.styleable ???

2010-02-23 Thread Mark Murphy
Houcem Berrayana wrote: Is there a way to export R.java and /re/values/attrs.xml Not in a regular JAR, no. If not is there a way to tell java compilator not to look for R.class ??? Not really. You can use getIdentifier() on Resources to look up the IDs you need on the fly, but please cache

[android-developers] Re: exporting widgets in jar file without /res/values/attrs.XML and R.styleable ???

2010-02-23 Thread Houcem Berrayana
Thank you Mark, Actually I will be using this is constructor and I will not have more than 3 instances of my classes. I'll try to use this method I think that may help. Thanks again On 23 fév, 17:52, Mark Murphy mmur...@commonsware.com wrote: Houcem Berrayana wrote: Is there a way to export

[android-developers] Re: Petition: Google, please improve the Android Market.

2010-02-23 Thread Streets Of Boston
Well, This is what Google told us at the Android Developers Lab. The bulk of the 30% goes to the carriers, a fraction of this 30% goes to google to run Google Checkout and the payment processor. I guess the bulk of the 30% that goes to the carrier is an incentive to have Android Market (and not

[android-developers] Re: About XML parising

2010-02-23 Thread CMF
I successfully getting the file I want by XmlResourceParser xpp = mContext.getResources().getXml(R.xml.gamestatus); int eventType = xpp.getEventType(); while (eventType != XmlPullParser.END_DOCUMENT) { if(eventType == XmlPullParser.START_DOCUMENT) {

Re: [android-developers] Re: converting short array to byte array help

2010-02-23 Thread Michael Davey
http://tinyurl.com/yfvzk5r On 23 Feb 2010, at 16:17, maxsap wrote: anyone? -- 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

Re: [android-developers] Re: Petition: Google, please improve the Android Market.

2010-02-23 Thread Mark Murphy
Disconnect wrote: Google has been very vague about where that 30% goes when you're on a nexus, adp, etc. Yes, that's true. Better yet, what about devices that just simply aren't phones? Admittedly, I'm not aware of a non-phone with the Android Market on it yet, but I presume it's only a matter

[android-developers] Re: Pinwheel or progress indicator while loading screen

2010-02-23 Thread Vaikunth
Hi, Use threading concept for that. Regards, Vaikunth On Feb 23, 4:07 pm, javame_android su...@softwebsolutions.com wrote: Hello, Is there anyone who can let me know how to achieve this? I want that once the login button is clicked a ProgressDialog is displayed and it should be dismissed

[android-developers] Re: Petition: Google, please improve the Android Market.

2010-02-23 Thread Ken H
1. A real website God, yes. Why is there not one?? There's Cyrket and AndroLib, but Google should have done this first. 3. A way for developers to reply to comments This is very frustrating to me too, but I think this is a stupid/lazy user issue, not Google's fault. It's just as easy to email

[android-developers] Re: Layout and minsdkversion issue

2010-02-23 Thread nikhil
My problem is the app appears correctly on the simulator but messes up on the phone if I set the minsdkversion to 5. While for 2 it appears correctly on both, can there be any problem with compatibility mode? Will I have to redesign it for minsdkversion 5? If yes, how should I do it ? On Feb 22,

[android-developers] Re: Petition: Google, please improve the Android Market.

2010-02-23 Thread Maps.Huge.Info (Maps API Guru)
When you consider what 30% is of the average app, it amounts to 30 to 60 cents. Credit card processors charge a per transaction fee that even large users are subject to. This varies from 10 to 30 cents. Also, the credit card companies get somewhere between 2.1% and 4% as a transaction fee. Since

[android-developers] Developer Survey on Carrier Network APIs

2010-02-23 Thread Wipro Research
Here’s a chance to tell a major national carrier which APIs (“enablers”) you want to see as a developer. The survey will take about 5 minutes and all participants will have a chance to win one of six Android smart phones. Thanks so much for your help and your feedback! To start the survey, go to

[android-developers] Re: Nexus One: A-GPS and setup w/o carrier

2010-02-23 Thread mah
I have a Nexus One that has never had a SIM installed... I enabled its GPS and took it outside. It took a while to get a location (as is expected without A-GPS), but it was able to get a fix. When I walked within range of a WiFi I attach to, Google Maps then displayed my accurate location on a

[android-developers] android.speech.action.RECOGNIZE_SPEECH activity not found

2010-02-23 Thread Mukesh kumar
when we call Intent intent = new Intent(android.speech.action.RECOGNIZE_SPEECH); startActivityForResult(intent, 0); After that show Exception: Activity not foun exception Exception: android.content.ActivitNotFoundException:No Activity Found to handle

[android-developers] How to correctly use / fill an ImageView?

2010-02-23 Thread Marcus
Hi, I want to show an image file in an ImageView widget. Since iv.setImageURI(Uri.fromFile(new File(filepath...))); does not work (getting INFO/System.out(1624): resolveUri failed on bad bitmap uri: file:///sdcard/test/photos/photo13.jpg) I tried the following: BitmapFactory.Options opts = new

[android-developers] looking for implementation of IAlarmManager

2010-02-23 Thread Matt Calder
Hi, I am interested in the scheduling done by the AlarmManager.setInexactRepeating method and so I started looking for the implementation but I haven't been able to find anything. Internally to AlarmManager, I can see that the actual work is being done by an android.app.IAlarmManager interface.

[android-developers] MMS Not Working

2010-02-23 Thread Ramjee Singh
I am facing some issues while sending mms: Logs says: I/global ( 1223): *** checkClosedAndCreate: bind to if= rmnet0 E/OSNetworkSystem( 1223): *** bindif (rmnet0) failed! errno is 1, Operation not permitted E/global ( 1223): bindInterface failed! -- You received this message because you are

[android-developers] Re: how to convert mp3to PCM format in android

2010-02-23 Thread skink
On Feb 23, 1:13 pm, kavitha kavith...@gmail.com wrote: Thanks for reply skink. I downloaded lame.zip,,but totally lost how to use in my android project. Thanks Kavitha On Tue, Feb 23, 2010 at 5:10 PM, skink psk...@gmail.com wrote: kavitha wrote: Hi All, Is there any way to

[android-developers] Why does my phone show only one Locale in settings / set locale ???

2010-02-23 Thread lordjoe
IN testing internationalization I find my phone - (google dev version of HTC Hero) I see only one local - English when I try to set the locale in the Settings application - How many locales are really available and how do we make them available to settings??? People overseas (i.e. not in the US)

[android-developers] Re: Location.getAccuracy()

2010-02-23 Thread Funksta
I always assumed you just had to take it that the accuracy could be in any direction, including up and down. I often had issues with the vertical accuracy because sometimes it really matters how high you are. -Geoff On Feb 22, 3:28 am, meet shahme...@gmail.com wrote: Hello, Does

Re: [android-developers] Re: MapView

2010-02-23 Thread Fabian Sturm
Hi, Am Dienstag, den 23.02.2010, 07:49 -0800 schrieb Aamir Yaseen: Hi everyone, I was able to solve this issue, so thought better update everyone, this might help others. do you use the focus state to change the icon in your statelistdrawable? I do this and it works but I can't focus, unfocus

[android-developers] ImageView setImageURL(Uri imgUri) does not work with android.resource//... Uri

2010-02-23 Thread qlimax
I'm trying to do the following thing without success: ImageView imgView=(ImageView)findViewById(R.id.imgView); Uri imgUri=Uri.parse(android.resource:// my.package.name/+R.drawable.image); imageView.setImageURI(imgUri) I'm stuck, because the imageView just shows nothing... how I can get an Uri

[android-developers] Re: rotate progress bar

2010-02-23 Thread Vertifi Software
Build a custom widget by modifying the android AbsSeekBar class code, not by extending ProgressBar. The rotate/translate technique in your onDraw is valid. On Feb 15, 4:24 pm, Jonathan jonathanmschm...@gmail.com wrote: HI, I am extending the normal android.widget.ProgressBar. I want to make it

[android-developers] Need help with small animation

2010-02-23 Thread social hub
Hi, |--- TEXT VIEW ---' SLIDE DRAWER image I have a layout like this above textview and an image that slides down after clicking the text view I have loooked at translate animation but the issue is

[android-developers] Re: Eclipse is too slow

2010-02-23 Thread Twisted Ware
Yep, although that does sound a little slower than my 1.9 Ubuntu machine, it's not lightning quick. Plenty fast enough to code in. On Feb 22, 4:55 am, Ferm ras...@gmail.com wrote: Hello I just installed the latest version of Eclipse IDE for Java Developers together with the ADT plugin on my

Re: [android-developers] from webview to activity

2010-02-23 Thread Jason Proctor
all this is very possible. check the documentation for WebView and WebViewClient to find out how. dear developer, is it possible that a user clicks inside a webview on a link like a href.../ and then my activity is opened? I need this for sms, email, telephone and some specials. Lets say

[android-developers] SQLite database question

2010-02-23 Thread Paul
I have a database that works fine to create a new row the first time after I start the application, but subsequent times, data base helper returns the same rowID and does not store a new row. It doesn't help when leaving or returning to an activity or if I stop and start the database. Do I need to

[android-developers] Re: How can I verify android basic API? (e.g. Date and Time API)

2010-02-23 Thread Evans
Hello Bishu You can find cts in http://android.git.kernel.org/?p=platform/cts.git;a=tree;f=tests;h=95461e7438487895c7246645ed7fb9e1d432b03e;hb=refs/heads/eclair-release I don't know where is document in there, but you can find it. You can run CTS with your device also. On Feb 17, 11:25 am, bishu

[android-developers] Re: Persisting alarms

2010-02-23 Thread Ken H
But how can you then set the alarm to fire at a specific time? Every example I've come across has the alarm fire a certain amount of time after reboot. I want to set a specific time used in my app and the onReceive method seems pretty limited in what it will let you do. Ken On Feb 2, 1:26 pm,

Re: [android-developers] Re: Petition: Google, please improve the Android Market.

2010-02-23 Thread Mark Murphy
Hekki wrote: Are you sure about the carrier thing ? Yes. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _Beginning Android_ from Apress Now Available! -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] How to access starred items in Google Maps?

2010-02-23 Thread Andreas Schildbach
Can anyone give an example of how to access starred items (places) in Google Maps from another app? I'd like to pick one of those and then read the postal address of those items (maybe lat/lon as well). If there is an alternative, I'd prefer code that runs under 1.5 as well. Best regards,

[android-developers] general design question

2010-02-23 Thread sdphil
for a particular activity - what is the best way to store data that needs to be displayed. the issue is that when the user changes orientation, you need to be able to re-render your activity -- which means you need to get back at that data that you use to render. i understand the MVC design

[android-developers] Insert symbol in edittext window

2010-02-23 Thread André
Hello, I have an EditText window that I want to insert a symbol in by pressing a button. I have tried edittext.appen(thesymbol); this works. But it only inserts the symbol in the end. I want it to insert the symbol where the marker is. How can I do this in a simple way? André -- You received

Re: [android-developers] Re: Petition: Google, please improve the Android Market.

2010-02-23 Thread Disconnect
What carrier does that go to on nexus and such? Those devices don't have assigned carriers, and the software load is created by google. (That 30% was explained as incentive/payment for shipping the market, passing compatibility tests, etc.) On Tue, Feb 23, 2010 at 11:36 AM, Streets Of Boston

[android-developers] Having content in wallpaper

2010-02-23 Thread Janam
Hi, I'm trying to figure out a way to hold RSS feeds in the wallpaper. How can I have the wallpaper hold/display content and not just an image? Is this even possible? If so, can anyone guide me to appropriate articles/tutorials/apis. Thank You. -- You received this message because you are

[android-developers] Find/Set Value of Spinner

2010-02-23 Thread Nick Owens
Oh Holy Experts: I know this is an easy one to start off the morning. I haven't worked with spinners before and I am trying to set the value of a spinner. The only examples I can find on the first 5 pages of a Google search refer to Spinner.setSelection(). That's great once I find out the

Re: [android-developers] Re: What does the prefix 'm' stand for ?

2010-02-23 Thread Romain Guy
That was a choice made at Sun when they wrote the Java core classes, our choice was to use a prefix. That's all. It's NOT going to change. On Tue, Feb 23, 2010 at 12:07 AM, Kaj Bjurman kaj.bjur...@gmail.com wrote: I don't buy that argument since since all of the core classes in Java are written

Re: [android-developers] Re: Camera on HTC Hero: Calling camera.autoFocus(...) gives a IOException .. ?

2010-02-23 Thread Mark Murphy
Streets Of Boston wrote: The problem is that when i create this sample project, i cannot be sure that it will recreate the problem, since i can't reproduce it.\ Oh, uh, yeah, good point. I'll try to get a sample going (a simple camera app that uses autofocus) and hopefully this will recreate

[android-developers] New Android Project - Create from existing source - Unhandled event loop exception, java.lang.StackOverflowError

2010-02-23 Thread Matt Kanninen
This work flow is causing Eclipse to give me: Unhandled event loop exception java.lang.StackOverflowError Looking at the eclipse log it gives just a bit more information: Unhandled event loop exception java.lang.StackOverflowError org.eclipse.ui I am running: Eclipse IDE for Java Developers

Re: [android-developers] Find/Set Value of Spinner

2010-02-23 Thread TreKing
On Tue, Feb 23, 2010 at 8:30 AM, Nick Owens nicow...@gmail.com wrote: So, the question is how do I get from red to 2?! There must be some setSelectionByValue() or getSelectionIndex() function, right? Documentation is your friend. Spinner inherits from AdapterView, which has the

[android-developers] Re: Petition: Google, please improve the Android Market.

2010-02-23 Thread strazzere
Any android device, phone or not can have the market it on it. People from other countries can also purchase paid applications if their country has not yet been enabled. This was the concept behind the Market Enabler and the research done behind it. It's my understanding that the carrier that the

[android-developers] Re: glDeleteBuffers crashes

2010-02-23 Thread Viktor Linder
I've also experienced this crash whenever calling glDeleteBuffers() on the emulator. On the phone (G1) it works. Since you seem to be doing dynamic geometry creation, it would be interesting to know if you also encounter this issue:

[android-developers] Re: Nexus One: A-GPS and setup w/o carrier

2010-02-23 Thread greg
Thanks. One last question, since you've used the Nexus One outside, how would you describe the visibility of its screen in shade and in direct sunlight? Thanks again, Greg On Feb 23, 11:42 am, mah m...@heilpern.com wrote: I have a Nexus One that has never had a SIM installed... I enabled its

[android-developers] Re: Petition: Google, please improve the Android Market.

2010-02-23 Thread brucko
So throwing a T-Mobile sim card inside the Nexus One will net T-Mobile with those fees. If you load up an Archos and use the Market Enabler, T-Mobile might get those too, depending if you use those tmobile credentials to access the market. The market is filtered by your carrier, then your

Re: [android-developers] A Widget that looks like a launcher icon?

2010-02-23 Thread Mariano Kamp
Thanks guys. The thing is, it shouldn't look like a widget, but like an active shortcut with a badge representing the unread count. My shortcuts to labels in Gmail have the drawback that I always have to open them to see what's in them. It would be great if there were a way to use common

Re: [android-developers] Re: Petition: Google, please improve the Android Market.

2010-02-23 Thread Tim
I know ;) I've done the research and published the work arounds :) -Tim Strazzere On Tue, Feb 23, 2010 at 2:46 PM, brucko geoff.bruck...@gmail.com wrote: So throwing a T-Mobile sim card inside the Nexus One will net T-Mobile with those fees. If you load up an Archos and use the Market

[android-developers] Re: Nexus One: A-GPS and setup w/o carrier

2010-02-23 Thread mah
I haven't used it extensively outside -- I was curious regarding your question and that prompted me to give it a shot ;) That being said, my initial glance at the screen was difficult enough that I had to shade the sun with my hand to view it properly. Hardly a scientific data set, but I

[android-developers] Get file's list

2010-02-23 Thread badzio
Hi all, I need to list all document files (*.doc/pdf/txt/xls) on android. I know that I can list media files (audio, movies, pictures) using embedded android's database (ContentResolver) with some URI, for example content://media/external/audio/media for audio files. Can I get document files

  1   2   >