[android-developers] Re: environment set-up confusing, instructions unclear

2009-10-11 Thread Raphael
Well, maps.jar is *only* available when using the Google addon. Don't build using the regular 1.5 if you want maps. Why do you want to do that? Also consider posting your errors. R/ On Oct 8, 2009 6:24 AM, "ian" wrote: I;ve had no end of build path problems and I am still having them. One pro

[android-developers] How to caculator the time?

2009-10-11 Thread Sansiro
long startTime=System.currentTimeMillis(); // do something long endTime=System.currentTimeMillis(); long spentTime=(endTime-startTime)/1000; but if I change the system time in "//do something" , how to caculator the spentTime? the CPU running time? --~--~-~--~~~---~--

[android-developers] How to caculator the time?

2009-10-11 Thread Sansiro
long startTime=System.currentTimeMillis(); // do something long endTime=System.currentTimeMillis(); long spentTime=(endTime-startTime)/1000; but if I change the system time in "//do something" , how to caculator the spentTime? the CPU running time? --~--~-~--~~~---~--

[android-developers] Re: Tut (SDK 1.5) Get google account of user

2009-10-11 Thread kostmo
It seems tantalizingly close, but I still can't get the GoogleLoginService method to work with Google App Engine (GAE). I'll start with a review of the method that currently works for me. Let's say that "" is my GAE application name and "" is the 203-character string I get from ClientLogin. Afte

[android-developers] Official Widget Design Guidelines outdated for SDK 1.6

2009-10-11 Thread Asad Zia
Hi, I'll like to point out that Widget Design Guidelines lists standard cell sizes in pixels. However, in launcher source code in Donut branch (SDK 1.6) cell sizes are in dip. This results in different pixel values on different density screens. I'll suggest documentation should be updated with

[android-developers] Open-source thesaurus for Android

2009-10-11 Thread iDeveloper
Hi Are there any open-source thesaurus available for the Android phone? Thanks. --~--~-~--~~~---~--~~ 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@

[android-developers] Re: HttpURLConnection - getResponseCode() Hangs

2009-10-11 Thread Alex Tang
What do you mean "hangs in step 5"? NoResponseException or other cases? On Oct 9, 6:32 am, Iroid wrote: > Hello Everyone, > > I am trying one scenario as follows: > 1. Make the phone to Airplane mode > 2. Remove from the Airplane mode > 3. Receive Intent of dataconnection availblity > 4. Issue a

[android-developers] Geocoder.getFromLocationName() has bad javadocs

2009-10-11 Thread Walles
There is a Geocoder.getFromLocationName(name, max, lat, lon, lat, lon) method. The documentation says it should search inside the (lat, lon, lat, lon) bounding box: http://developer.android.com/reference/android/location/Geocoder.html#getFromLocationName(java.lang.String, int, double, double, dou

[android-developers] How to get unique handset device id?

2009-10-11 Thread Agus
How to get unique handset device id? --~--~-~--~~~---~--~~ 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,

[android-developers] Re: Chat Application

2009-10-11 Thread Roman ( T-Mobile USA)
To be able to implement an IM application you should think first about which signaling protocol you can use You would have the following options: + write your own proprietary signaling protocol + usage of XMPP protocol + usage of SIP + (porting of opensource IM projects or available IM framewor

[android-developers] Re: app gives layout errors only on Sprint HTC Hero devices

2009-10-11 Thread Jayesh Salvi
-- Jayesh On Mon, Oct 12, 2009 at 1:11 AM, Romain Guy wrote: > > Hi, > > The stack trace you showed is not useful. This is the top of the > exception chain, which means this exception was caused by something > else. Please show the "application specific stack frames" you removed. > The complet

[android-developers] Re: app gives layout errors only on Sprint HTC Hero devices

2009-10-11 Thread Jayesh Salvi
-- Jayesh On Mon, Oct 12, 2009 at 1:10 AM, Mark Murphy wrote: > > Jayesh Salvi wrote: > > Hi, > > > > In past couple of days, users of my app have sent crash reports > > indicating errors in layout inflation. > > > > "android.view.InflateException: Binary XML file line #27: Error > > inflating c

[android-developers] Re: end dialer activity

2009-10-11 Thread AJ
You can stop any activity by calling [ finish(); ] Try this, i think this would work. thanks, AJ On Oct 12, 6:53 am, shahzad ahmad wrote: > Hi, >     I have started dialer activity with code > >         Intent myIntent = new Intent(Intent.ACTION_CALL, > Uri.parse(createTelUrl("1234567"))); >  

[android-developers] SQLite - detecting whether LIMIT was hit

2009-10-11 Thread westmeadboy
I have an SQL which uses something like "LIMIT 100". If the cursor returns 100 rows, is there an efficient way of distinguishing between whether the LIMIT caused it or not? Hmm, I suppose I could just call LIMIT 101 instead but I was hoping for a nicer way... --~--~-~--~~

[android-developers] GeoCoder.getFromLocationName return NULL

2009-10-11 Thread tstanly
hi all, I used GeoCoder.getFromLocationName for resoved address to GeoPoint, it will return true in the emulator,but "null" on my machine. the simple code I post bellow.. is anyboy knows about this issue? thanks! == Geocoder mGeocoder = new Geocoder

[android-developers] Re: Using the internal NumberPicker widget

2009-10-11 Thread xiaowei guo
the NumberPicker can be used in Sdk1.5,which do you use now? 2009/10/10 Jonhoo > > Hello all androids! > I am developing an application in which I want the user to input the > duration of a given item, something which the vertical spinners used > for DatePicker and TimePicker would be ideal for

[android-developers] Re: Streetview Intent Format

2009-10-11 Thread ian
ps. Hmm, maybe my lat/long are not specific enough. I entered the coordinates for my house and I know there is a streetview site on the street directly in front..With Google driving directions, it takes you to the nearest road. |i figured streetview worked the same way. But maybe you have to targe

[android-developers] Re: Android 1.6 New OpenCore?

2009-10-11 Thread Moto
Well I guess I found one difference: MediaPlayer fails to report an error when my online server times out after 3 times... Tested using 1.5 and after 3 times it reports an error... Man this really sucks... No wonder I had many users complaining about buffering taking forever! Anyone see any oth

[android-developers] Re: Streetview Intent Format

2009-10-11 Thread ian
Thanks for the snippet, Now I tried to mimic your example with the following code but it still crashes when the button is pressed: button3.setOnClickListener(new View.OnClickListener() { public void onClick(View v) {

[android-developers] Re: about tabhost problem

2009-10-11 Thread estivenrpo
Hi, I am having the same problem. Has someone found a solution for this issue? Best regards, Juan. On Sep 2, 10:37 pm, tstanly wrote: > hi all, > > I have atabhost and three tabs, > each tabs have a own listview, the three listview shows different file > directory in different tabs, > and th

[android-developers] Re: Application Level Object

2009-10-11 Thread Mark Murphy
Shre555 wrote: > Hi, > > I want a application level object in Android.Here is the > scenario... Suppose I want to pass a object from Activity A to > Activity B then to Activity C D. Then I will have to pass > that object from Activity A to B then to C then to D... Passing > the P

[android-developers] end dialer activity

2009-10-11 Thread shahzad ahmad
Hi, I have started dialer activity with code Intent myIntent = new Intent(Intent.ACTION_CALL, Uri.parse(createTelUrl("1234567"))); startActivityForResult(myIntent); Is there a way to stop the dialer activity from same code.? Logically it should be possible as i started it and

[android-developers] Application Level Object

2009-10-11 Thread Shre555
Hi, I want a application level object in Android.Here is the scenario... Suppose I want to pass a object from Activity A to Activity B then to Activity C D. Then I will have to pass that object from Activity A to B then to C then to D... Passing the Parcel Through the Bundle. Is

[android-developers] Re: Is there any method to get one view by name

2009-10-11 Thread Larry.Liu
Thanks :) That's definitely what I need. Regards Larry/Xiangqian.liu On Sun, Oct 11, 2009 at 8:10 PM, Mark Murphy wrote: > > Larry.Liu wrote: >> Is there any method to get one view by name rather than it's ID? >> because we are composing a common lib, and it's not able for us to >> know

[android-developers] why can't I get paid apps

2009-10-11 Thread Shawn Brown
Hi, I have a google IO handset. When I updated to donut, I didn't get paid market apps ./fastboot-mac erase userdata erasing 'userdata'... OKAY $ ./fastboot-mac erase cache erasing 'cache'... OKAY reisMac:donut brownasamoto-brown$ ./fastboot-mac update signed-google_ion-img-14721_system_image.

[android-developers] Re: Streetview Intent Format

2009-10-11 Thread JoaJP
The following code snippet works for me: Intent myIntent = new Intent(Intent.ACTION_VIEW, Uri.parse ("google.streetview:cbll=" + lat + "," + lon + "&cbp=1,180,,0,1.0")); startActivity(myIntent); Note that street views are "narrowly" draw along streets. On Oct

[android-developers] Re: Sometimes the running emulator is not found from within Eclipse?!

2009-10-11 Thread idoun
I have also same problem after upgrading the plugin to 0.9.3 On Oct 10, 10:31 pm, Mariano Kamp wrote: > Hi, > >   when launching my app from within Eclipse, sometimes the running emulator > is found and displayed in the launch dialog, sometimes it isn't?! Killing > adb, the emulator and Ecli

[android-developers] Re: Nesting an ActivityGroup as atTab content

2009-10-11 Thread Dianne Hackborn
I'm not sure exactly what you are trying to do, but you can't use one ActivityGroup inside of another. We currently only support one level of nesting (one top-level activity, usually containing tabs, with each child activity a leaf, not a group). On Sun, Oct 11, 2009 at 1:07 PM, Huebi wrote: > >

[android-developers] Re: Activity, Service, or Thread?

2009-10-11 Thread Neilz
Perfect, thanks. On Oct 11, 9:19 pm, Mark Murphy wrote: > Neilz wrote: > > Hi all, I would value your thoughts on this problem. > > > I have an app which makes an HTTP request, and receives the response > > as a String. I then do some stuff with this data and present it to the > > user. It's all

[android-developers] Streetview Intent Format

2009-10-11 Thread ian
Has anyone built a Sreetview Intent? I tried the following and don;t see what is wrong: String uriString = "google.streetview:cbll=44.640381,-63.575911&cbp=1,90,,0,1.0"; Uri uri = Uri.parse(uriString); startActivity(new Intent (In

[android-developers] Re: HTTP GET and ProgressDialog

2009-10-11 Thread Mark Murphy
Lee Jarvis wrote: > Oh, I don't plan on using half of the dialogs and such I'm using in > that test application. I too prefer to write things in an activity > over a dialog. I just want to get this to work. > > Unfortunately I'm getting confused as hell. I can see how this should > be implemented

[android-developers] Re: HTTP GET and ProgressDialog

2009-10-11 Thread konic
Lee Jarvis, one more thing. You should implement "Cancel" stuff. It's either Cancel button on that progress dialog or back key listener. Otherwise you may just stack. On Oct 11, 6:01 pm, Lee Jarvis wrote: > Oh, I don't plan on using half of the dialogs and such I'm using in > that test applicati

[android-developers] Re: HTTP GET and ProgressDialog

2009-10-11 Thread Lee Jarvis
Oh, I don't plan on using half of the dialogs and such I'm using in that test application. I too prefer to write things in an activity over a dialog. I just want to get this to work. Unfortunately I'm getting confused as hell. I can see how this should be implemented, but I can't get it to do so.

[android-developers] Re: HTTP GET and ProgressDialog

2009-10-11 Thread Mark Murphy
Lee Jarvis wrote: > What's with the (ick)? AlertDialog? Well, in your test app, it's probably fine. I worry about people overusing modal dialogs, doing things in a dialog that ought to be in an activity. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _And

[android-developers] Re: HTTP GET and ProgressDialog

2009-10-11 Thread Lee Jarvis
Thanks, I'll give it a go. What's with the (ick)? AlertDialog? On 11 Oct, 22:08, Mark Murphy wrote: > Lee Jarvis wrote: > > Hi guys, I have a small test application that simply grabs a URL from > > an EditText box, before downloading the page source for the URL, > > prompting the user to ask if

[android-developers] Chat Application

2009-10-11 Thread Silver
Is there an online tutorial for how to write a very mundane chat application on the Android platform, over two or more phones? (doesn't have to be anything special, just be able to send messages from one phone to the other in real time) Thanks --~--~-~--~~~---~--~

[android-developers] Re: HTTP GET and ProgressDialog

2009-10-11 Thread Mark Murphy
Lee Jarvis wrote: > Hi guys, I have a small test application that simply grabs a URL from > an EditText box, before downloading the page source for the URL, > prompting the user to ask if it should display the contents, then > doing so, or returning state. > > I would like to incorporate a Progre

[android-developers] HTTP GET and ProgressDialog

2009-10-11 Thread Lee Jarvis
Hi guys, I have a small test application that simply grabs a URL from an EditText box, before downloading the page source for the URL, prompting the user to ask if it should display the contents, then doing so, or returning state. I would like to incorporate a ProgressDialog to appear whilst the

[android-developers] Re: listview header

2009-10-11 Thread Wouter
When i use this method i have all my headers at the top of my list and i want to show header - list -header- list.. On Oct 11, 11:47 am, Getto wrote: > Did you try addHeaderView method? > > http://developer.android.com/reference/android/widget/ListView.html#a...) > > .g > > On Oct 10, 2:12 pm, W

[android-developers] Re: Using the internal NumberPicker widget

2009-10-11 Thread Paul Turchenko
Just resort to your view, IMHO that's the best you can do. On Oct 10, 7:57 am, Jonhoo wrote: > Hello all androids! > I am developing an application in which I want the user to input the > duration of a given item, something which the vertical spinners used > for DatePicker and TimePicker would b

[android-developers] Re: Activity, Service, or Thread?

2009-10-11 Thread Mark Murphy
Neilz wrote: > Hi all, I would value your thoughts on this problem. > > I have an app which makes an HTTP request, and receives the response > as a String. I then do some stuff with this data and present it to the > user. It's all great on the emulator. > > But on the device, the response is som

[android-developers] Activity, Service, or Thread?

2009-10-11 Thread Neilz
Hi all, I would value your thoughts on this problem. I have an app which makes an HTTP request, and receives the response as a String. I then do some stuff with this data and present it to the user. It's all great on the emulator. But on the device, the response is sometimes too slow, and the ap

[android-developers] Nesting an ActivityGroup as atTab content

2009-10-11 Thread Huebi
Hi, I have a tab bar and within one tab want to implement an activity flow (without leaving the tab screen). I tried to get this up with an ActivityGroup and it partly works, but certain commands like the onCreateOptionsMenu must be dispatched to the ActivityGroup child activity manually. The mai

[android-developers] Re: Sometimes the running emulator is not found from within Eclipse?!

2009-10-11 Thread Paul Turchenko
+1 On Oct 11, 12:31 pm, Engin Arslan wrote: > ı have also same problem. Is  there any suggestions??? > > On Oct 10, 9:36 pm, Mariano Kamp wrote: > > > Regarding the internet connectivity thing: same here. > > > On Sat, Oct 10, 2009 at 4:10 PM, Guru wrote: > > > +1 i have also ecountered this u

[android-developers] Duplicated permissions in Developer Console

2009-10-11 Thread Jonas Alves
In my app's page, it shows: - This apk requests 4 permissions that users will be warned about 'android.permission.INTERNET' 'android.permission.RECORD_AUDIO' android.permission.INTERNET android.permission.RECORD_AUDIO - Is this being show to users when they install the a

[android-developers] Re: Determining the real ROM installed on device

2009-10-11 Thread Paul Turchenko
Hi Dianne. Thanks for your reply. I really meant RAM in my previous post. Anyways, here's the deal: I need to find out the real amount of RAM installed on the device (for instance, G2 specification says it has 192 Mb RAM available, however, proc/meminfo claims that there's only 90Mb of total memor

[android-developers] Odd Behavior with android.media.AsyncPlayer

2009-10-11 Thread newbyca
We just started using AsyncPlayer player with one of our applications to play an "alarm" sound at a specified time. When the alarm sounds, we show the user a Stop and a Snooze button that respectively stops and resets the alarm. tho we can't reproduce it, we've had a user complain that when the al

[android-developers] Re: app gives layout errors only on Sprint HTC Hero devices

2009-10-11 Thread Romain Guy
Hi, The stack trace you showed is not useful. This is the top of the exception chain, which means this exception was caused by something else. Please show the "application specific stack frames" you removed. On Sun, Oct 11, 2009 at 12:34 PM, Jayesh Salvi wrote: > Hi, > In past couple of days, u

[android-developers] Android Market "Locations" missing Brazil

2009-10-11 Thread Jonas Alves
Hello, Why the Android Market Developer Console doesn't show "Brazil" in the Locations list? There's almost one month since the first Android device (Samsung Galaxy) arrived in there... And it has Android Market! --~--~-~--~~~---~--~~ You received this message beca

[android-developers] Re: app gives layout errors only on Sprint HTC Hero devices

2009-10-11 Thread Mark Murphy
Jayesh Salvi wrote: > Hi, > > In past couple of days, users of my app have sent crash reports > indicating errors in layout inflation. > > "android.view.InflateException: Binary XML file line #27: Error > inflating class java.lang.reflect.Constructor" > > After some investigation I found out th

[android-developers] app gives layout errors only on Sprint HTC Hero devices

2009-10-11 Thread Jayesh Salvi
Hi, In past couple of days, users of my app have sent crash reports indicating errors in layout inflation. "android.view.InflateException: Binary XML file line #27: Error inflating class java.lang.reflect.Constructor" After some investigation I found out that all four of them were using the new S

[android-developers] Re: Countries for selling priced applications in Android Market

2009-10-11 Thread vorcigernix
I didn't know (and did't expected to be honest) that Google is slower then Microsoft and Apple in this. Only good in this is that you need market only for paid apps, most android users are techies anyway and they are absolutely able to install package on their own. On other hand, I'll never develo

[android-developers] Re: How to make my application to download Activities on demand?

2009-10-11 Thread RichardC
It's nice to be wrong :) Especially as the Market Applcation intents look to be very useful. I hadn't looked before answering the OP, thanks for the correction. -- RichardC On Oct 11, 8:04 pm, Mark Murphy wrote: > RichardC wrote: > > To find what is currently installed have a read about Pac

[android-developers] Re: ListView/Adapter Crash in 1.6 only: illegalStateException. 1.6 bug?

2009-10-11 Thread ccfrazier2
Romain, Fantastic, thanks for the help! I've had customers contact me over the months about force closes that I can never get to the bottom of. This likely has fixed the lingering issues. Great news! Thanks, pawpaw17 On Oct 11, 2:08 pm, Romain Guy wrote: > > In my background thread if I add <

[android-developers] Re: ListView/Adapter Crash in 1.6 only: illegalStateException. 1.6 bug?

2009-10-11 Thread Romain Guy
> In my background thread if I add < 100 elements to the array, > everything works great. If > I add more than 300 though I get the crash. Is this capacity related. No, this is related to the use of threads. Even adding 1 element could cause the crash. You just cannot really predict the behavior.

[android-developers] Re: How to make my application to download Activities on demand?

2009-10-11 Thread Mark Murphy
RichardC wrote: > To find what is currently installed have a read about PackageManager > > http://developer.android.com/reference/android/content/pm/PackageManager.html > > The market side will be a problem as it does not have a public > interface (as far as I know). Actually, for the specific

[android-developers] Re: ListView/Adapter Crash in 1.6 only: illegalStateException. 1.6 bug?

2009-10-11 Thread Mark Murphy
ccfrazier2 wrote: > Thanks so much for the replies. Maybe I've been doing this wrong all > along, I have > 6 activites that use this same methodology, but YES, I guess this is > the array used by > the adapter (code below shows that is is). > > In my background thread if I add < 100 elements to t

[android-developers] Re: Donut 1.6

2009-10-11 Thread Mark Murphy
Android Rawks wrote: > When will Google launch Donut 1.6 to Singapore users? ? That would be a question for whoever you got your phone from (mobile operator or device manufacturer). -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Need Android talent? Ask o

[android-developers] Re: Accessing the Accelerometer

2009-10-11 Thread Mark Murphy
killa.fr0gg wrote: > I feel as soon as I can set up access, I will be able to easily do > much, but for the life of me I cannot acess it in the first place. If > someone could nudge me in the right direction or simply point me to > working code that does not use deprecated objects, I would be very

[android-developers] Re: How to make my application to download Activities on demand?

2009-10-11 Thread RichardC
To find what is currently installed have a read about PackageManager http://developer.android.com/reference/android/content/pm/PackageManager.html The market side will be a problem as it does not have a public interface (as far as I know). -- RichardC On Oct 11, 7:33 pm, Larry wrote: > I want

[android-developers] Re: Activity blocks till service completes

2009-10-11 Thread Dianne Hackborn
Services don't take focus input focus -- a service doesn't cause the current window to lose input focus, nor the foreground activity to be paused. If you mean the thread of your activity isn't running, then you may just be doing all your work in the service on the main thread. Please note that a s

[android-developers] Re: Countries for selling priced applications in Android Market

2009-10-11 Thread Phred
Still waiting here in Canada as well... and not a PEEP out of Google. Meanwhile iPhone app store and Windows Mobile MarketPlace are both fully working and operational. Gee I wonder who I'm going to write games for!? --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: ListView/Adapter Crash in 1.6 only: illegalStateException. 1.6 bug?

2009-10-11 Thread ccfrazier2
Thanks so much for the replies. Maybe I've been doing this wrong all along, I have 6 activites that use this same methodology, but YES, I guess this is the array used by the adapter (code below shows that is is). In my background thread if I add < 100 elements to the array, everything works great

[android-developers] starting MusicBrowserActivity

2009-10-11 Thread hari
I am doing an application in which I want to start MusicBrowserActivity from my application when some operation is performed and actually MusicBrowserActivity is at com.android.music.MusicBrowserActivity to start it we need to import music package and is their any way to start the Gestures throug

[android-developers] 1.6 VPN Certificate Store

2009-10-11 Thread Dida
I like to setup a VPN/IPSEC connection using the new feature on Android 1.6 (Emulator). When I try to load "user certificate" or "ca certificate" the list doesn't contain any certificate. The certificates are placed on the SD-card in PEM and DER format. Any suggestions to import a certificate?

[android-developers] Internet Permission issue and HTTP Requests

2009-10-11 Thread Lee Jarvis
Hi, I am trying to develop an application that simply downloads a web page, creates a new TextView, and sets the text to the web page's source (or content). I have been playing with apaches HTTP library and have some example code up and running, everything 'should' work, but it doesn't. Every ti

[android-developers] Re: problem in creating table.

2009-10-11 Thread Mark Achée
I was using the NotePad tutorials to get started with this, and because they hardcoded "notes" as the table name in the create statement, I was having this problem. Even after changing the table name in the create statement, I still had the problem because the database was already created. The q

[android-developers] Re: can anybody tell pls......

2009-10-11 Thread Anantha J. S.
I think there API's to check if it is a digit also you could just convert the each value to integer which ever fails you can print that ones On Oct 10, 11:55 am, ragavendran s wrote: > problem in StringTokenizer > > String str="one.1.two.2.three.3" > > Stringtokenizer tok=new Stringtokenizer(str

[android-developers] How to make my application to download Activities on demand?

2009-10-11 Thread Larry
I want to make an application portal 'P' in which users can choose to start one of the activities in {'A', 'B', 'C' ...}. The first time users choose to start an activity 'P' will search locally for it. If the activity is there, 'P' starts it. If not, 'P' goes to Market and tells users to download

[android-developers] Activity blocks till service completes

2009-10-11 Thread abhi
Hi, I am starting a service from an activity. Once the services starts, the calling activity loses focus and blocks till the service is completed. Why is this and is there a way around it to return the control to the calling activity while the service runs in the background? Thanks, --~--~-

[android-developers] Got doubles, want ringtone, how do I do it?

2009-10-11 Thread Jack Twilley
I am writing an app which will generate ringtones. I have an ArrayList containing all the floating point data, but I can't see how to convert it to an Ogg Vorbis file. The Android SDK doesn't have any obvious modules designed to do this sort of thing. Do I need to import some other libraries or

[android-developers] Pls Help!

2009-10-11 Thread Android Rawks
When Will Singapore Users Able To Get The OTA Updates For The Google Donut 1.6 ? --~--~-~--~~~---~--~~ 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@goog

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

2009-10-11 Thread bellnas
Hi,if you are in china, and can't download sdk directly because G-F-W, so visit there: http://news.softpedia.com/news/Android-1-6-SDK-Release-1-Available-for-Download-121759.shtml On Sep 16, 6:22 am, Xavier Ducrohet wrote: > http://android-developers.blogspot.com/2009/09/android-16-sdk-is-here.

[android-developers] GlobalSearch

2009-10-11 Thread Bhavani Prasad
Hi, How to include my file search engine as a default search in GlobalSearch Code. Thanks, Bhavani Prasad --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send ema

[android-developers] custom layout for gridview

2009-10-11 Thread delfick755
Hello, I'm attempting to create a class that extends GridView and has an adapter to provide the information. I believe I've grasped the adapter concept, however I can't work out how to layout the children After spending several hours attempting to make this work, I've got as far as realisi

[android-developers] Using the internal NumberPicker widget

2009-10-11 Thread Jonhoo
Hello all androids! I am developing an application in which I want the user to input the duration of a given item, something which the vertical spinners used for DatePicker and TimePicker would be ideal for. However, after looking into this, it seems that the widget both of these depend on, Number

[android-developers] WebView Load External HTML / Show Local Images

2009-10-11 Thread mroulias
I'm a trying to do the following thing, but can't seem to find any resources on how to do this exact thing or if it's even possible I want to be able to create an app that uses WebView to request a url from an external web application which returns html and css that references images that are

[android-developers] Donut 1.6

2009-10-11 Thread Android Rawks
When will Google launch Donut 1.6 to Singapore users? ? --~--~-~--~~~---~--~~ 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 unsubscri

[android-developers] Accessing the Accelerometer

2009-10-11 Thread killa.fr0gg
Hello, I have been trying to access the accelerometer, and no matter what I find or read or type into the IDE I cannot seem to do so. The online documentation for SensorManager and SensorEventListener are sparse with helpful details, and every single piece of sample code I can find on the 'net us

[android-developers] Re: Intents that used to work stopped working.

2009-10-11 Thread Keith Wiley
I don't understand. The problem is happening before my app is ever triggered so how can any aspect of my code (or my manifest) have any effect? Linda File Manager simply doesn't show my app in its "send to" list. Likewise for GMail attachments by the way. I need to get these *other* apps to sh

[android-developers] Re: ListView/Adapter Crash in 1.6 only: illegalStateException. 1.6 bug?

2009-10-11 Thread Romain Guy
--> myArrayList.add(i, new CalStats(name, extra, calories)); if that's the array list used by your adapter then you are modifying it outside of the UI thread. On Sun, Oct 11, 2009 at 11:07 AM, ccfrazier2 wrote: > > Yeah, it's the main thread of my app, here's the stack: > > myApp [Android Appli

[android-developers] Re: External Database Connectivity

2009-10-11 Thread Wouter
Hey, I want to do the same.. I have an external sqlite database file at the internet and i connect with the database with HttpClient. But how can i save this database (http://... database.db) in the android filesystem and work with this file in my application? Wouter On Oct 3, 5:43 pm, shobhit

[android-developers] Re: ListView/Adapter Crash in 1.6 only: illegalStateException. 1.6 bug?

2009-10-11 Thread ccfrazier2
Yeah, it's the main thread of my app, here's the stack: myApp [Android Application] myApp [Android Application] DalvikVM[localhost:8613] Thread [<3> main] (Suspended (exception IllegalStateException)) Thread [<15> Binder Thread #3] (Running)

[android-developers] Re: Intents that used to work stopped working.

2009-10-11 Thread Dianne Hackborn
Add the debug flag to your intent to get log output about how the intent resolution is happening. On Sun, Oct 11, 2009 at 10:02 AM, Keith Wiley wrote: > > My app used to appear in Linda File Manager's "send to" list. I just > realized this is no longer the case. I didn't update Linda File > Ma

[android-developers] Re: Tut (SDK 1.5) Get google account of user

2009-10-11 Thread Charlie
Hi, I've managed to get this to work for Google App Engine by specifying "ah" for the service parameter, for example : GoogleLoginServiceHelper.getCredentials(this, 54321, null, GoogleLoginServiceConstants.REQUIRE_GOOGLE, "ah",

[android-developers] Intents that used to work stopped working.

2009-10-11 Thread Keith Wiley
My app used to appear in Linda File Manager's "send to" list. I just realized this is no longer the case. I didn't update Linda File Manager. The only thing I can think of is that the phone recently automatically updated to Donut. Does anyone have any other theory why two apps that used to tal

[android-developers] Re: Splintering of the Market

2009-10-11 Thread JoaJP
I expect only a very small fraction of apps to actually target specific carriers. Apps that T-Mobile releases in the Market comes to mind, stuff that targets their own customer base and only theirs. On Oct 11, 5:54 am, MrChaz wrote: > Having just received an e-mail from the Google about up-com

[android-developers] Relaunching an Android App / Stability

2009-10-11 Thread joelt
I have an application that launches a thread for drawing a SurfaceView. If I leave the application using the home or back button, I get an "onPause" event where I put the thread in a wait state. In my "onResume" I wake the thread back up. However, if I "relaunch" the app, I never get an "onResum

[android-developers] OpenGL texture drawing using GL_DECAL don't get right

2009-10-11 Thread jobbysunr...@gmail.com
Hi, I'm developing a 3D game and I've encounter a problem on texture, and I've done a expemeriment using Nehe's Android ports lesson 6, and the probelm is still there: According to the OpenGL ES 1.0 Specification, if you set gltexenv using GL_DECALfor RGB internal format, the result should be( V f

[android-developers] Re: Animation not working as I want

2009-10-11 Thread Mark Murphy
fhucho wrote: > I have a LinearLayout, with a text and a button, which I want to show > and hide (using translate animation) sometimes. As for now I show/hide > it by setVisibility() to View.GONE or View.VISIBLE. To set the > translate animation I do this: > > myLinearLayout.setLayoutAnimation(ne

[android-developers] Re: ListView/Adapter Crash in 1.6 only: illegalStateException. 1.6 bug?

2009-10-11 Thread RichardC
When you get the error, can you see from the traceback which thread you are in? -- RichardC On Oct 11, 4:06 pm, ccfrazier2 wrote: > Romain, > > thanks for confirming that this message is new in 1.6. > > Actually, I mean to write "I'm sure my adapter mods are IN the UI > thread, not the backgrou

[android-developers] https password auth

2009-10-11 Thread Cyryl Płotnicki-Chudyk
I'm having trouble making https connection to the server , with password authentication. What is the simpliest & recommended way to do it ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. T

[android-developers] Animation not working as I want

2009-10-11 Thread fhucho
Hi, I have a LinearLayout, with a text and a button, which I want to show and hide (using translate animation) sometimes. As for now I show/hide it by setVisibility() to View.GONE or View.VISIBLE. To set the translate animation I do this: myLinearLayout.setLayoutAnimation(new LayoutAnimationContr

[android-developers] Re: environment set-up confusing, instructions unclear

2009-10-11 Thread Lance Nanek
Weird how the Maps API docs mention installing several places only to immediately mention it is already installed for you: http://code.google.com/android/add-ons/google-apis/maps-overview.html Cleaning that up could be one specific documentation improvement. The docs seem pretty straight forward

[android-developers] ContentProvider.query() is not being called.

2009-10-11 Thread sdphil
I have been playing around with the SearchableDictionary sample application trying to understand it. I set a breakpoint in DictionaryProvider.query() and verified that it's going in there when I turn on search for this application (settings > search > searchable items > Searchable Dictionary). T

[android-developers] Re: ListView/Adapter Crash in 1.6 only: illegalStateException. 1.6 bug?

2009-10-11 Thread ccfrazier2
Romain, thanks for confirming that this message is new in 1.6. Actually, I mean to write "I'm sure my adapter mods are IN the UI thread, not the background thread". Anything else that can cause this? If I step through the code in the debugger I don't get the exception, but I I run without stepp

[android-developers] Re: R.java not compiling properly? need help :(

2009-10-11 Thread Satish Kota
Hi Jason, 1. run Project->Clean and it will fix most of the errors. 2. Ensure AndroidSDK path is correctly configured in Eclipse. Thanks and Regards Satish N Kota On Fri, Oct 9, 2009 at 9:32 PM, JasonMP wrote: > > Im having an issue with Eclipse where it will suddenly not be able to > read my

[android-developers] Re: How to download a read only sqlite database at runtime

2009-10-11 Thread Wouter
Hey, I am having the same question. I have a .db file on the internet and i can download this file but I want to save it (as a file) so i can work with this sqlite database file! How can i create a file like this? Thanks, Wouter On Aug 14, 2:23 am, yao chen wrote: > On Fri, Aug 14, 2009 at 7

[android-developers] Re: Splintering of the Market

2009-10-11 Thread nEx.Software
I would imagine that there are few developers who will actually choose to limit their applications to specific networks. I agree though, that this will not do much to help the situation in the Market. There is enough fragmentation as it is. And users who cannot get their hands on an app through th

[android-developers] Re: Splintering of the Market

2009-10-11 Thread Mark Murphy
MrChaz wrote: > Having just received an e-mail from the Google about up-coming changes > to the market I was wondering what other people thought of it. > > The bit that I don't like the sound of is: > > "First, we have added the ability to target applications by carrier in > all > countries. Fo

  1   2   >