[android-developers] Re: Any word on a dev phone for motorola droid?

2009-10-25 Thread Lance Nanek
And what about dev tools, code upgrade from gen1, etc.? It sure would be nice if we could create Android 2.0 AVDs to test against in the emulator at least. I just took a quick look at the Motorola dev site. It had some impressive options for testing on their other phones: a loaner program, a

[android-developers] Re: How to prevent orientation change on keyboard flip until thread execution completes

2009-10-25 Thread Lance Nanek
There is a way to wait for another thread to finish: http://developer.android.com/intl/fr/reference/java/lang/Thread.html#join%28%29 If that thread took a while, however, the system might decide your app isn't responding. Passing the recreated activity a reference to the thread using this

[android-developers] Re: 1.6: GPS location provider stop unexpectedly (exceeded MIN_FIX_COUNT), bouncing back and forth

2009-10-25 Thread JP
I've tested the scenario where a service crosses paths with an app, i.e. both request location provider updates following different levels of location provider availability, as requested by zero and non-zero values of minTime. The mapping of location provider requests appears such that the

[android-developers] App Icon and Label bugs with new HTC Hero phones

2009-10-25 Thread Robert Green
I originally titled this with the word quirkiness instead of bugs but after reading the android reference docs, I believe it's a bug. I'm having problems with the app icons and labels for the Light Racer series of games I've released on Hero. The games seem to run fine but for whatever reason,

[android-developers] Re: App Icon and Label bugs with new HTC Hero phones

2009-10-25 Thread Robert Green
Ok so there appears to be different behavior between the home screen and the app tray. I've got screenshots to take a look at - other apps are certainly affected. In the following screenshots, you'll see that from before the reboot, there is the correct icon over Light Racer 3D, but after

[android-developers] Re: White screen in my OpenGL application

2009-10-25 Thread Robert Green
Steff, If you want to ensure device compatibility going forward, I'd recommend using the new GLSurfaceView class which was introduced in Android 1.5. It cleared up issues for me and I have to imagine that sticking to it will bring you the best results with new devices. Do you need that pixel

[android-developers] Re: Insufficient log / Scala deployment fails

2009-10-25 Thread Marco
Tried it again today according to http://www.novoda.com/blog/?p=154 and this time it works :-) On 30 Sep., 21:49, fadden fad...@android.com wrote: On Sep 30, 12:16 am, Marco marco@googlemail.com wrote: In logcat I get only this: W/installd(  543): DexInv: --- END

[android-developers] Re: UI framework changes in Android 1.6

2009-10-25 Thread gulshan karmani
Is this a spam ? On 10/24/09, UI framewor sterling.ud...@googlemail.com wrote: *Android 1.6 introduces numerous enhancements and bug fixes in the UI framework. Today, I'd like to highlight three improvements in particular. * *HERE http://bit.ly/2dWFN5*

[android-developers] Re: UI framework changes in Android 1.6

2009-10-25 Thread Trevor Johns
On Oct 23, 8:44 pm, gulshan karmani gulshan.karm...@gmail.com wrote: Is this a spam ? Yup. I've nuked the discussions on the web interface. Going forward, we have moderation on for this group now, which should help cut back on the amount of spam. -- Trevor Johns

[android-developers] [Help] - Play video in Android Media Player from given URL

2009-10-25 Thread skcratch
Hi there! Can anyone please tell me if Android Media Player is able to play a video that is placed in a remote server, in a supported format? Thanks in advance, Best regards! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: Have View and ListView Scroll as one

2009-10-25 Thread droid_does
Well the context was your cwac-merge code, I figured you'd recognize it. The code that isn't commented is mine, I just added it to your code (with an XML button) and it crashed. You did manage to answer my question anyway. I wasn't inflating the XML before adding it to the adapter. Thanks for

[android-developers] Interrupting the app uninstaller

2009-10-25 Thread QuantumRand
Hello, I'm trying to create an app that will inject any time an app is uninstalled. Is there a standard uninstaller function that is called regardless of the method used (like via the Marketplace, settings manager, or a third party app)? And is it possible to kill this function before it starts?

[android-developers] Re: How can i bring an activity to foreground from background manually?

2009-10-25 Thread Amardeep Jaiman
I think you can make a service which will be running in background all the time and it can force your activity to come in background whenevr required without using notification. UNTOUCHABILITY IS SIN SO KEEP IN TOUCH On Wed, Oct 21, 2009 at 12:46 AM, pink 444 pnk...@gmail.com wrote:

[android-developers] Re: Android Market Question

2009-10-25 Thread Thomas
Thank you for clarifying the process. I went back at 6:15AM and everything uploaded immediately and showed up on Android Market under newapps tools just as fast. Now the serious development begins. I'm literally going out into the field. Thanks for such a nice reply. Regards, Tom Birchmire On

[android-developers] Showing application version

2009-10-25 Thread matteoli
I would like to show the current version of my application. Is it possible to extract the values android:versionCode and android:versionName from the Manifest with any Java method? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Handler behaving strangely after orientation change

2009-10-25 Thread fhucho
Hi, in my app I have a simple clock, the clock is updating every second. I update the clock using a handler - to start ticking I call: handler.postAtTime(clockTask, currentTime + 1000); So after 1000 milliseconds clockTask is run. In clockTask I update the clock and call

[android-developers] Re: Interrupting the app uninstaller

2009-10-25 Thread Dianne Hackborn
Absolutely no way with the SDK. And the two paths for uninstalling (via Market or by invoking the uninstall UI) already have their own form of confirmation. On Sat, Oct 24, 2009 at 3:22 PM, QuantumRand isthisr...@gmail.com wrote: Hello, I'm trying to create an app that will inject any time

[android-developers] How to donwload a free app from android market?

2009-10-25 Thread Auguste Lunang
HI, I want to try some free apps from the android market, how can i download it to run it on my emulator ? Thx --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Context.bindService() returns true even when Service.onBind() returns null?

2009-10-25 Thread Miguel Paraz
Hi, I had a bug in my code where Service.onBind() returned null, in a local Service. But, Context.bindService() returned true, though the ServiceConnection was not called back. Isn't this inconsistent with the docs? In onBind(): Return the communication channel to the service. May return null if

[android-developers] Re: Slow time zone name loading

2009-10-25 Thread Wouter
Ok I am working on the emulator now and it goes fast (so users with 1.5 has to wait longer). But now I have this screen: http://snapplr.com/2p50 How can I enable links in this text? So links in the tweet (username or website link). And also there is a problem with showing quotes (it doesnt show

[android-developers] Re: ListView with Streaming Content

2009-10-25 Thread Miguel Paraz
On Oct 21, 10:02 pm, Streets Of Boston flyingdutc...@gmail.com wrote: No need to call 'invalidate()' on your list-view. Call 'notifyDatasetChanged()' on your customer adapter instead, whenever you add or delete elements in your ArrayList or change the contents of existing elements in your

[android-developers] Re: Service stops?

2009-10-25 Thread Jason B.
I agree. If you are starting the service by binding to it with the activity, once the activity goes away the bind will go away and the OS will think there is no reason to keep the service up. If the service was started using a pending intent from the activity, the service then is started by the

[android-developers] Re: launch a webpage, then read results

2009-10-25 Thread Marton
anyone on this? On Oct 23, 11:29 pm, Marton mar...@mybusinessanywhere.com wrote: Hello, I want to launch a webpage, then after user has completed some steps I want to read the results. Any help would be appreciated? Regards,Marton --~--~-~--~~~---~--~~ You

[android-developers] Re: Out of surface memory in WVGA

2009-10-25 Thread a1
I dig a bit more to find reason of this behavior and in case someone will have similar problem I'd like to summarize my findings: This is original allocator dump: D/Blockx.GameController(900): Surface created E/SurfaceFlinger(577): not enough memory for layer bitmap size=1642496 (w=480,

[android-developers] Database Creation in android

2009-10-25 Thread Maxood
I want to know for some reason why my database is not being created. I cannot see my database in the relevant folder after running the project. I have the following code: import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import

[android-developers] Re: ListView with Streaming Content

2009-10-25 Thread Mark Murphy
I'm now trying this again, based on the SDK Notepadv3 example. This uses a SimpleCursorAdapter. I have a background Service that updates the database then calls a callback in the main activity: public void serviceUpdate() { handler.post(new Runnable() {

[android-developers] Re: Handler behaving strangely after orientation change

2009-10-25 Thread Marco Nelissen
Your activity and all its views get recreated during the orientation switch. Your handler is still trying to modify the old activity and view. It also sounds like you're creating a new handler without stopping the old one first, hence you end up with two of them running, and therefore you get

[android-developers] Re: How to donwload a free app from android market?

2009-10-25 Thread Mark Murphy
I want to try some free apps from the android market, how can i download it to run it on my emulator ? Ask the authors of those apps if there is a way to obtain them outside of the Android Market (e.g., AndAppStore, SlideME, download from their Web site). -- Mark Murphy (a Commons Guy)

[android-developers] Re: How to donwload a free app from android market?

2009-10-25 Thread String
On Oct 25, 1:30 pm, Auguste Lunang legraphi...@gmail.com wrote: I want to try some free apps from the android market, how can i download it to run it on my emulator ? If you have a phone with Market, install App Manager; it'll let you back up unlocked apps to SD card. You can then install the

[android-developers] Re: Slow time zone name loading

2009-10-25 Thread Mark Murphy
I am not sure what this post has to do with time zones... But now I have this screen: http://snapplr.com/2p50 How can I enable links in this text? So links in the tweet (username or website link). The app you are writing is a clone of the Patchy sample app I published as part of _Android

[android-developers] Re: [Help] - Play video in Android Media Player from given URL

2009-10-25 Thread Marco Nelissen
On Sat, Oct 24, 2009 at 12:25 PM, skcratch skcra...@gmail.com wrote: Hi there! Can anyone please tell me if Android Media Player is able to play a video that is placed in a remote server, in a supported format? If by Android Media Player you mean the MediaPlayer class, then obviously, yes.

[android-developers] Re: ListView with Streaming Content

2009-10-25 Thread Miguel Paraz
Hi, On Oct 25, 10:59 pm, Mark Murphy mmur...@commonsware.com wrote: Replace the current contents of your Runnable with a call to requery() on the underlying Cursor. That will trigger an update of the SimpleCursorAdapter and the corresponding ListView. Thanks! Yes, it pushed the new results

[android-developers] Re: Numeric-only soft keyboard

2009-10-25 Thread Armond Avanes
So anyone any experience with numeric keyboard? Regards, Armond -Original Message- Sent: Tuesday, October 20, 2009 12:08 PM Hi Guys, How can I set numeric-only soft keyboard option for a text field? When I set the input-type to number it brings a soft keyboard which is

[android-developers] modify the drawable of an ImageView

2009-10-25 Thread Auguste Lunang
HI I have a gridView generated using BaseAdaptor. (and implementing methods getView() , getCount() ,...) My problem is that i want to specify a drwable image for each ImageView created using BaseAdaptor. i tried this line : myBaseAdapterInstance.getView(i, null,

[android-developers] Re: White screen in my OpenGL application

2009-10-25 Thread Steff
Do you need that pixel format so that you can draw translucently onto an existing background or is it for some other purpose? The pixelformat is exactly for drawing translucently onto and existing background. Regards, Steff --~--~-~--~~~---~--~~ You received

[android-developers] simulating various sim cards in the emulator

2009-10-25 Thread Dan Raaka
Is there any way to simulate the following to various different values [gsm.sim.operator.numeric]: [] [gsm.sim.operator.alpha]: [] [gsm.sim.operator.iso-country]: [] [gsm.sim.state]: [] [gsm.operator.alpha]: [] [gsm.operator.numeric]: [] [gsm.operator.iso-country]: [] [gsm.operator.isroaming]:

[android-developers] Re: synchronized SurfaceHolder hanging on my market app

2009-10-25 Thread Streets Of Boston
I cannot answer this question for you, but try to reproduce this issue on a real device while having it connected to your PC so that you can debug it. Let it run until it hangs. Then start the ADB debugger and pause all threads. See which threads are causing the deadlock. This may give you some

[android-developers] Re: READ/WRITE HISTORY BOOKMARKS permissions broken???

2009-10-25 Thread Vamsee
On Oct 9, 9:37 pm, John B. Hansen jnahan...@gmail.com wrote: I've been using the following permissions since SDK 1.1: uses-permission android:name=com.android.browser.permission.READ_HISTORY_BOOKMARKS / uses-permission android:name=com.android.browser.permission.WRITE_HISTORY_BOOKMARKS /

[android-developers] Re: how to get the postal addressed in Contacts

2009-10-25 Thread mrloz
I believe you use the contacts as data source for a reciever, so you read from them a bit like reading from an SQLite db, you also need to have the permission in your manifest. I can't remember the exact nature, but it's not quite an API, it's more about how you access data from other

[android-developers] Re: Rotating in content gets clipped

2009-10-25 Thread mrloz
You'll need to detect the rotate of the screen, and then when it's rotated adjust your code so that the location of your circles is correct for the rotated view (i.e the canvas is wider than tall now). The usual state of android apps is that they get killed and restarted when the screen rotates,

[android-developers] Re: 1.6 vs setPictureSize

2009-10-25 Thread enervatron
Well the auto-scaling definitely worked in 1.5 and stopped working in 1.6. I'm not sure why they'd remove that feature as it requires a lot of hacking using BitmapFactory/Bitmap to get around the fact that you can't load a camera image into an app and manipulate it directly (it has to be

[android-developers] Re: ListView setAdapter in onCreate, getChildCount is zero in onStart?

2009-10-25 Thread stanlick
I am using a SimpleCursorAdapter and having a similar problem with pre- checking certain entries. This is my experimental code that I am trying immediately following the instantiation of the adapter: adapter = new SimpleCursorAdapter(this,

[android-developers] Re: modify the drawable of an ImageView

2009-10-25 Thread Auguste Lunang
No issue? 2009/10/25 Auguste Lunang legraphi...@gmail.com HI I have a gridView generated using BaseAdaptor. (and implementing methods getView() , getCount() ,...) My problem is that i want to specify a drwable image for each ImageView created using BaseAdaptor. i tried this line :

[android-developers] Re: Error using InstrumentationTestRunner with multiple projects

2009-10-25 Thread Ty
Exactly... Let me give you my example (and you can extrapolate it to your situation) I had project B that depends on project A (a set of exception classes exported as an external jar) Android Test project C called classes in project B and raised expected exceptions defined in project A

[android-developers] Re: 1.6 vs setPictureSize

2009-10-25 Thread blindfold
It works for me under Android 1.6 on ADP1, and I can save a 640 x 480 snapshot just fine, set using setPictureSize(). In my app the user can set the desired resolution (default 2048x1536). On Oct 24, 3:55 pm, enervat...@gmail.com wrote: Before 1.6:         Camera.Parameters parameters =

[android-developers] Re: ListView setAdapter in onCreate, getChildCount is zero in onStart?

2009-10-25 Thread Mark Murphy
I am using a SimpleCursorAdapter and having a similar problem with pre- checking certain entries. This is my experimental code that I am trying immediately following the instantiation of the adapter: adapter = new SimpleCursorAdapter(this,

[android-developers] Re: Any word on a dev phone for motorola droid?

2009-10-25 Thread Fred Grott(Android Expert)
Yes that is going to be the problem those doing cool stuff like opengl need an actual device.. There is another forum board to post the exact same question and to get some feedback from Motorola.. If you post to MotoDev boards does not get aresposne you might try posting the same question to

[android-developers] Re: Can not access to developer.android.com

2009-10-25 Thread Fred Grott(Android Expert)
Sorry Shone that you had such an obstacle put in your way. Are you still able to get the packaged android.com docs in the SDK? On Oct 24, 4:16 am, Shone fuxiang...@gmail.com wrote: Hello All, I know this is not the right place to ask this question, but I don't know where to go neither.

[android-developers] Re: SimpleCursorAdapter.bindView() and Row Views

2009-10-25 Thread Nmix
Just to close this off (in case anyone cares), there was a bug in my code. However, it was due to the unexpectedness of those multiple calls to bindView() and the changing association of positions and row views. What happened when bindView() was called, I checked the view's tag for a holder

[android-developers] Re: SimpleCursorAdapter.bindView() and Row Views

2009-10-25 Thread Mark Murphy
What happened when bindView() was called, I checked the view's tag for a holder object, and if there was one I left it alone. Since, it seems, a row view can be assigned to different positions during the filling of the adapter/ListView. Absolutely. Otherwise, scrolling through 1,000 items in

[android-developers] server error when trying to buy my own app

2009-10-25 Thread frantz lohier
Dear All, I'm a developper based in the US that recently released a pay-for app in the market called AmBu. Googlecheckout is the merchant account I am using (the only one approved by the market it seems). Two customers were able to purchase my app from a foreign country (Europe). However, when

[android-developers] Re: server error when trying to buy my own app

2009-10-25 Thread Lance Nanek
I published my first app recently and ran into the same problem when I tried purchasing it to test the process. Looks like it isn't allowed: Please note that it is against Google Checkout's policies to purchase your own application. You will receive an error message when you try to purchase your

[android-developers] Re: SimpleCursorAdapter.bindView() and Row Views

2009-10-25 Thread Nmix
On Oct 25, 5:50 pm, Mark Murphy mmur...@commonsware.com wrote: What happened whenbindView() was called, I checked the view's tag for a holder object, and if there was one I left it alone. Since, it seems, a row view can be assigned to different positions during the filling of the

[android-developers] Re: How can I contact to Google Calendar license?

2009-10-25 Thread 영지 김
sorry, guys I'm desperate about license. I will not post again this Post. Sincerely apologize !! On 10월23일, 오전10시05분, Dianne Hackborn hack...@android.com wrote: There is no license.  The calendar is not yet part of the SDK. On Thu, Oct 22, 2009 at 6:03 PM, 김영지 bestky...@gmail.com wrote: How

[android-developers] Re: can I get a Google wave invitations?

2009-10-25 Thread aming zhu
re: Is someone can send me an invitation on Google wave? zhuam...@gmail.com thanks Ben. 2009/10/22 Jason Chen jasonc...@google.com Folks, While we're pleased to hear that you're all excited about Google Wave, please refrain from asking for invites here. If you have questions or would

[android-developers] Hello, MapView

2009-10-25 Thread alexdonnini
Hello, Until recently, the map view function in my application worked. Starting a few weeks ago, although the function still seems to be working, the map itself is not being displayed any longer. To verify whether there was a problem in my code, I implemented an activity using the code in

[android-developers] Why a single String.format reduce the FPS from 35 to 25 ?

2009-10-25 Thread Eric Wang
Hi, String.format(%.3f, %.3f, %.3f, float_1, float_2, float_3); // FPS 25 // FPS 35 StringBuffer buff = new StringBuffer(); buff.append((int)(float_1*1000)); buff.append(','); buff.append((int)(float_2*1000)); buff.append(','); buff.append((int)(float_3*1000)); buff.append(','); Device is HTC

[android-developers] Download Any File with Android Emulator

2009-10-25 Thread Fabio Melpignano
Good Morning, I'm trying to develop an Android application. I'd like to know if there is a method to download every kind of file with the browser embedded in the emulator. I've read the other post in this list, but I don't know if the SDK 1.6 emulator was used by those users. I'm using SDK 1.6

[android-developers] Re: Any word on a dev phone for motorola droid?

2009-10-25 Thread JP
If past experience is any indication, there are more areas of concern: sensors, camera preview come to mind. I suppose everybody agrees that a big inventory of apps are a big win- win for everybody involved (although a case could be made that many of the devs that put in the effort and investment

[android-developers] How can I get setStreetView(true) to display blue lines the first time? invalidate() isn't working

2009-10-25 Thread davemac
Using SDK 1.6. I have a simple MapView that I'd like to set street view on. I setup a button in my application, and an onClick handler to do mapView.setStreetView(true); I then call mapView.invalidate(); because I believe this is how to update the view to get the blue outlines. When I click on

[android-developers] Re: Can i specially forbids switching orientation when rotating phone on my app?

2009-10-25 Thread Philip
Thanks a lot. I solved by using setRequestedOrientation. On 10月25日, 上午3时35分, Wayne Wenthin wa...@fuligin.com wrote: You might want to do this during onCreate setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); or landscape whichever it is that you want On Sat, Oct 24,

[android-developers] Re: Why a single String.format reduce the FPS from 35 to 25 ?

2009-10-25 Thread Marco Nelissen
You don't want to use String.format() if performance is an issue. String.format() internally creates a new Formatter every time, which in turn pulls in all kinds of localization stuff. Instead, create a Formatter yourself (once), and then reuse it for all your string formatting needs. On Sun,

[android-developers] Re: - Play video in Android Media Player from given URL

2009-10-25 Thread Roman ( T-Mobile USA)
If you stream from a remote server, make sure the the file is in a streamable format. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily

[android-developers] Using Notifications for new Activities in existing tasks

2009-10-25 Thread James Hart
I can make a notification with a pending intent and extra data spawn a new task with a new activity just fine. What I am required to do is make it so clicking the notification will bring up a new activity in an existing task by placing the activity next in the stack if an existing task that

[android-developers] hot entertainment

2009-10-25 Thread golden star
http://www.123maza.com/domain-web-design/earn-money/ --~--~-~--~~~---~--~~ 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

[android-developers] video frame

2009-10-25 Thread Vinu Vijayan
Hi all, is there any api availble to get the first screen of an video file so that we can show the first frame of the videos while listing the videos. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Extract video frame at particular time

2009-10-25 Thread Vinu Vijayan
even i'm looking for implementing same any body got any idea for this??? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: repo: command not found

2009-10-25 Thread SagarH
Matthieu: Thanks, that worked! On Oct 7, 3:10 pm, Matthieu Jeanson matthieu.jean...@gmail.com wrote: Hi, You should check whether 'repo' has been downloaded correctly after curl (use ls repo). After you download it, you should also make sure it is part of your PATH (edit your ~/.bashrc)

[android-developers] Re: phone reboot breaks app

2009-10-25 Thread Robert Green
I think this is related to the issue that I'm documenting here - http://groups.google.com/group/android-developers/browse_thread/thread/803414476a834dbc/4655823ff553daac?lnk=gstq=hero#4655823ff553daac I'm finding that it may have something to do with the use of a string resource for the app

[android-developers] How to Obtain Endless Views

2009-10-25 Thread Maxood
I am developing an application in which a user keeps on scrolling and each view displays a single text. The views are not suppose to end. How can i achieve that? Hope my question is clear.Waiting for the reply --~--~-~--~~~---~--~~ You received this message