[android-developers] Logcat on DDMS

2009-10-11 Thread Chang
Hello. Group Members. I have one question. For viewing log, I used DDMS provided with eclipse. I think the communication between logcat and emulator is done by tcp. therefore, using capture program(ex. wireshark..), I think I can capture the packet about log. I tried . but I could not see

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

2009-10-11 Thread pawpaw17
Anyone getting a java illegalStateException when running your 1.5 built app on 1.6? Everything has worked fine with my code for months. Get message the content of the adapter has chagned but Listview did not receive a notification. Make sure the content of your adapter is not modified from a

[android-developers] Re: OpenGL on 1.6

2009-10-11 Thread Lance Nanek
Seems OK on mine, ~59fps for Use VBO Extension with 10 sprites screenshot: http://imgur.com/N1kNt.png I'm using a T-Mobile G1 running the official OTA 1.6 firmware. I did wipe it recently, so that might be a difference. Not much installed that could be running in the background. Have you tried

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

2009-10-11 Thread Romain Guy
It's not a bug, it's a message that was added to notify app developers of applications that are doing the wrong thing. I'm sure my adapter mods are not in the UI thread. Which is exactly the problem. -- Romain Guy Android framework engineer romain...@android.com Note: please don't send

[android-developers] Re: OpenGL on 1.6

2009-10-11 Thread Dan Sherman
Interesting... Tried a reboot, didn't change anything (if it had, I would have kicked myself) :) I'll try a clean reformat tomorrow, and see if I can't pinpoint whats causing it, top doesn't show anything out of the oridinary... Thanks for letting me know its on my end and not a 1.6 issue :) -

[android-developers] Re: How to register for multiple sensors

2009-10-11 Thread DD
YeahI realized this right after I sent out this posthere is what I did: mSensorManager.registerListener(this, mSensorManager.getDefaultSensor(Sensor.TYPE_ORIENTATION), SensorManager.SENSOR_DELAY_FASTEST);

[android-developers] Re: Multiple screens in one activity (like home screen)

2009-10-11 Thread Taf
Here's an example of how to do a horizontal slide animation with ViewFlipper, http://www.inter-fuser.com/2009/07/android-transistions-slide-in-and-slide.html it doesn't use swipe gestures, but that's something that can be added. On Oct 9, 4:29 pm, Marc Reichelt mcreich...@googlemail.com wrote:

[android-developers] Re: Relation between Google GeoPoint instances

2009-10-11 Thread Neilz
I think the great circle thing is a little bit beyond my requirements! (Meaning, I don't understand it ;-) I will stick with the basics. I reckon using the distanceTo() method, I can work out a triangle where I know the length of all sides of a right angled triangle. Then, if only I could

[android-developers] Re: Should I use Canvas or SurfaceView for a chess game?

2009-10-11 Thread String
On Oct 11, 12:26 am, Dan Sherman impact...@gmail.com wrote: For a chess game, you're most likely going to be just fine with Canvas.  You won't really need OpenGL until you have 50-100 sprites on the screen moving quite quickly :) It depends on whether you want to do a 3D chessboard (like

[android-developers] activesync contacts uri

2009-10-11 Thread vorcigernix
Hello, there is well documented provider for standard phone contacts (android.provider.Contacts.People). Is there anyone who knows how to access activesync contacts from HTC? I am creating application which need access to all providers. --~--~-~--~~~---~--~~ You

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

2009-10-11 Thread Engin Arslan
ı have also same problem. Is there any suggestions??? On Oct 10, 9:36 pm, Mariano Kamp mariano.k...@gmail.com wrote: Regarding the internet connectivity thing: same here. On Sat, Oct 10, 2009 at 4:10 PM, Guru gurudut...@gmail.com wrote: +1 i have also ecountered this umpteen times on

[android-developers] Re: Should I use Canvas or SurfaceView for a chess game?

2009-10-11 Thread fhucho
Thanks for replies, I will stick with Canvas. One more question - for the animations should I use the built-in animaton framework or do them manually? Note that I am using one custom View for the whole chessboard. --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: listview header

2009-10-11 Thread Getto
Did you try addHeaderView method? http://developer.android.com/reference/android/widget/ListView.html#addHeaderView(android.view.View) .g On Oct 10, 2:12 pm, Wouter wouterg...@gmail.com wrote: Hey, What is the easiest way to add headers to a listview (and my list has multiple adapters

[android-developers] Re: select pitcure may lead to excced memory and crash?

2009-10-11 Thread huanwu
it works perfect! thank you very much! On Oct 9, 2:08 am, Jarcikon jarci...@gmail.com wrote: Yes, the images from the camera are 2048px by 1536px.  If you convert to a bitmap, thats 2048 x 1536 x 2 = 6291456, or 6MB.  This is right at the allotted space an Activity gets.  If you can live with

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

2009-10-11 Thread n.a
Few minutes ago Multi Bubbles Lite v1.8 (Casual game, one of the ADC2 entries) has been released in the Android Market. Version 1.8 has full support for ldpi, mdpi, and hdpi devices (including HTC Tattoo and the ARCHOS 5 Tablet). Multi Bubbles Lite v1.8 is also backwards compatible with Android

[android-developers] Re: Using drawable resources

2009-10-11 Thread PaulT
On Oct 10, 4:03 pm, Mark Murphy mmur...@commonsware.com wrote: PaulT wrote: I wonder if the R.java generator is becoming confused when a file is missing from one of those directories? I doubt it -- that's part of the resource set system. It's my mistake---I thought I had upgraded to 1.6,

[android-developers] How do I use arcTo right after moveTo?

2009-10-11 Thread Rohit Ghatol
Hi Everyone, I am trying to draw shapes. What I must do is as follows 1. moveTo () a point say 1000,1000 2. then I want to draw an arc whose height width is 400, 400 path.moveTo(1000,1000); path.arcTo(rectF,270,90); However the catch in this is the RectF I pass to above, I have to specify

[android-developers] Re: How do I use arcTo right after moveTo?

2009-10-11 Thread Rohit Ghatol
Basically I want an api as follows path.moveTo(1000,1000); path.arcTo(400 /* width of arc*/, 400 /* height of the arc */,270 /* start angle*/,90/*sweep angle*/); On Oct 11, 4:17 pm, Rohit Ghatol rohitsgha...@gmail.com wrote: Hi Everyone, I am trying to draw shapes. What I must do is as

[android-developers] As I am adding moveTo,lineTo,arcTo,curveTo to the Path, how do i get my current position

2009-10-11 Thread Rohit Ghatol
Hi All, How can I get current position from a Path? I reason I need is because methods like moveTo, lineTo, cubicbezierCurve, quadbeizer curve work in conjunction with last point. However, arcTo needs an explicit bound mentioned. Hence to use arcTo after all the above calls I need to get the

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

2009-10-11 Thread Mark Murphy
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 the Resource ID at this time, So is there any method to get one view by name, not by findViewById? getResources().getIdentifier() can

[android-developers] Re: LinearLayout not filling all screen

2009-10-11 Thread Simon
hi Mark, I had already tried the RelativeLayout, but with no success, then when i looked at my RelativeLayout attempt, i had android:layout_gravity=bottom instead of android:layout_alignParentBottom=true. But sorry to say this has failed to solve the problem. as soon as wrap the RelativeLayout

[android-developers] Re: LinearLayout not filling all screen

2009-10-11 Thread Mark Murphy
Simon wrote: I had already tried the RelativeLayout, but with no success, then when i looked at my RelativeLayout attempt, i had android:layout_gravity=bottom instead of android:layout_alignParentBottom=true. But sorry to say this has failed to solve the problem. as soon as wrap the

[android-developers] diff label for icon and searchable item text.

2009-10-11 Thread sdphil
I want to have a different text string for my icon and the text that appears in Searchable Items (QSB). I have the following lines in my AndroidManifest.xml -- application android:icon=@drawable/icon android:label=@string/IconText And my searchable.xml looks like this --

[android-developers] Splintering of the Market

2009-10-11 Thread MrChaz
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. For example, if you are showing

[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. For

[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

[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 cicikaka2...@gmail.com wrote: On

[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 hyperje...@gmail.com wrote: Im having an issue with Eclipse where it will suddenly not be

[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

[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).

[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] 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

[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. To

[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 georgefraz...@yahoo.com 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,

[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(new

[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

[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 onResume

[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 mrchazmob...@googlemail.com wrote: Having just received an e-mail

[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 talk

[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] 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 kbwi...@gmail.com 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

[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: 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 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 georgefraz...@yahoo.com wrote: Yeah, it's the main thread of my app, here's the stack:

[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

[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

[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

[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

[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

[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,

[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

[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 x...@android.com wrote:

[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] 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 ArrayListDouble 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

[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

[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] 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 sraghav.ra...@gmail.com wrote: problem in StringTokenizer String str=one.1.two.2.three.3 Stringtokenizer tok=new

[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

[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

[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

[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

[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: 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

[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

[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: 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

[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 the

[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 thing

[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: 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 romain...@google.com wrote: In my background

[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 mmur...@commonsware.com wrote: RichardC wrote: To find what is currently installed

[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

[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

[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 that all

[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

[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 jayeshsa...@gmail.com wrote: Hi, In past

[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

[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

[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

[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 enginarsla...@gmail.com wrote: ı have also same problem. Is  there any suggestions??? On Oct 10, 9:36 pm, Mariano Kamp mariano.k...@gmail.com wrote: Regarding the internet connectivity thing: same here. On Sat, Oct 10, 2009 at 4:10 PM, Guru

[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

[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

[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 sometimes

[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 j...@thesquareplanet.com 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

[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 gige...@gmail.com wrote: Did you try addHeaderView method? http://developer.android.com/reference/android/widget/ListView.html#a...) .g On Oct 10,

[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: 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

[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 Lee Jarvis
Thanks, I'll give it a go. What's with the (ick)? AlertDialog? On 11 Oct, 22:08, Mark Murphy mmur...@commonsware.com 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

[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

[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

[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 ljjar...@googlemail.com wrote: Oh, I don't plan on using half of the dialogs and such I'm using 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, but

[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.575911cbp=1,90,,0,1.0; Uri uri = Uri.parse(uriString); startActivity(new Intent

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

2009-10-11 Thread Neilz
Perfect, thanks. On Oct 11, 9:19 pm, Mark Murphy mmur...@commonsware.com 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

[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

[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 mariano.k...@gmail.com 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

[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 11, 3:55 

[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

  1   2   >