[android-developers] Re: How add view in new layer?

2009-04-14 Thread Raphael
On Tue, Apr 14, 2009 at 2:58 AM, alexander.ku...@gmail.com wrote: > > I need show ads in application. Ads in my custom view must move from > bottom of screen with animation. How can I add my view in bottom of > screen as new layer or help me find other method? Check the various Layout classes to

[android-developers] Re: How to built a resident app ??

2009-04-14 Thread Raphael
On Mon, Apr 13, 2009 at 11:22 PM, QQ wrote: > > I have to built a resident application, but I have no idea to do > that Look for "services" here: http://developer.android.com/guide/topics/fundamentals.html R/ --~--~-~--~~~---~--~~ You received this message b

[android-developers] Re: Related about progrssbar

2009-04-14 Thread Jeffrey Sharkey
Take a peek at how the default progress bar drawable is defined in XML: http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/res/res/drawable/progress_horizontal.xml;hb=cupcake Make your own drawable with custom colors, then reference it using android:progressDrawable. j

[android-developers] Re: SDK 1.5, Unable to load XML wizard

2009-04-14 Thread Raphael
Which version of Eclipse are you using? Could you check the workspace/.metadata/.log for any detailed error and post them or send privately? R/ On Tue, Apr 14, 2009 at 6:43 AM, Al wrote: > > I'm trying to make a new XML file and have selected New->Android XML > File, but each time I get this me

[android-developers] Re: Use SDK 1.5 features while maintaining SDK 1.0,1.1 backward compatibility

2009-04-14 Thread Tom Gibara
A more straightforward approach that should work is to isolate the affected code behind an interface, with separate implementations for 1.1 and 1.5. A factory method can be used to opaquely return the correct instance based on the build's sdk version. This has the advantage that you can usually hol

[android-developers] Re: set activity label in activity code

2009-04-14 Thread Raphael
On Tue, Apr 14, 2009 at 7:54 AM, zeeshan wrote: > > Hi Experts, > > i need to change activity label on the title bar in my code. Activity.setTitle() R/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Devel

[android-developers] What the difference of "this" pointer?

2009-04-14 Thread Bin Chen
I see some of the examples contain such code to refer to "this" pointer: mProgressDialog = new ProgressDialog(AlertDialogSamples.this); So this usage has some special meaning other than the standalone "this"? Thanks. Bin --~--~-~--~~~---~--~~ You received this me

[android-developers] Re: how on earth do you access command line?

2009-04-14 Thread Raphael
That error may mean two things: 1- Do you have Java installed? You probably got one for Eclipse. If not, get the latest from java.sun.com. 2- If you have java installed, it's not in the path by default. To fix #2: - open Control Panel > System, - Advanced tab - Environment Variables button at t

[android-developers] Related about progrssbar

2009-04-14 Thread Rahul
Hi Android developer My Question is related about progressbar(Horizantal) . i have created a progressbar using XMl Code but i want to change the Progress Color(yello) .plz tel me how to change the progress Color from Yellow to Blue thank you --~--~-~--~~~---~--~

[android-developers] Re: Use SDK 1.5 features while maintaining SDK 1.0,1.1 backward compatibility

2009-04-14 Thread Pieter
If the amount of "1.5" code is small, you can use reflection to make the calls in order to fool the verifier. This quickly becomes a pain in the butt when you have to call more than a few 1.5 methods or work with multiple 1.5 objects though. --~--~-~--~~~---~--~~ Yo

[android-developers] HttpsURLConnection

2009-04-14 Thread DaRolla
Hi, I need to open a HttpsURLConnection with my own certificate. I've found this for Java (not Android) on http://forums.sun.com/thread.jspa?threadID=411937&messageID=1886339 public static Stri

[android-developers] Re: Android XMLRPC client

2009-04-14 Thread Saravanan.K
Hey thanks for the reply. Do you mean that WSDL files need to be parsed only using a SOAP library and not the XML RPC library? Is this XML RPC client to parse just pure XML files? On Apr 8, 4:02 pm, skink wrote: > Sandy wrote: > > seems there has some bugs when parsering struct data. >

[android-developers] Re: multiple successive queries to a database

2009-04-14 Thread Raphael
Please look at the "adb logcat" error message (also Eclipse > DDMS perspective > logcat). R/ On Tue, Apr 14, 2009 at 10:38 PM, iki wrote: > > The application has stopped unexpectedly. > Please try again. > > One query always works. > Two consecutive queries works about 75% of the time. > Three

[android-developers] Change to signature for Camera.setPreviewDisplay() in 1.5

2009-04-14 Thread Tom Gibara
Camera.setPreviewDisplay() now throws an IOException. Is there a reason this had to be a checked exception (looking at the source code I can't an see an immediate one)? Or is it just an oversight that will be fixed before releasing the final SDK? The consequence is that one cannot have code that wi

[android-developers] Re: Place to feedback to Android Engineers?

2009-04-14 Thread Al Sutton
There is an indication that after cupcake goes gold the open repository may be the centre of development [1]. This should mean that once a fix is in you can roll your own SDK if you need it, or make use of one of the nightly builds that Mark Murphy is trying to organise [2]. Al. [1] http://grou

[android-developers] Re: multiple successive queries to a database

2009-04-14 Thread Marco Nelissen
What's the error message in the system log? On Tue, Apr 14, 2009 at 10:38 PM, iki wrote: > > The application has stopped unexpectedly. > Please try again. > > One query always works. > Two consecutive queries works about 75% of the time. > Three consecutive queries works about a third. > Four c

[android-developers] broadcasts as communication path between custom views and activity

2009-04-14 Thread skink
hi, i have custom view and once some action occur in it (say touch/key event) i'd like to call some code in my activity. my question is if broadcasts (intent filters/broadcast receivers) are good communication mechanism for such thing? if not, what is normal/android preffered way to do it? tha

[android-developers] Re: Early Look Android 1.5 SDK

2009-04-14 Thread Nithin
Thanks a lot guys... thousands of heartiest appreciation to all Android Engineers.. Nithin On Apr 15, 2:56 am, clark wrote: > I recently flashed my phone with the firmware found on the upcoming > HTC Saphire, which says it is version 1.5.  Does anyone know if I will > be able to try out the fe

[android-developers] How to Test service (started/stoped) in ActivityUnitTestCase

2009-04-14 Thread zlu
Take LocalServiceController (which extends Activity) from the SDK api demo for example. How do you test when the start button clicks, the service is started? I don't see any methods in ActivityUnitTestCase can be used for this. --~--~-~--~~~---~--~~ You received t

[android-developers] Re: Place to feedback to Android Engineers?

2009-04-14 Thread Dianne Hackborn
Many of the engineers participate here, and of course there is android-platform and the other groups for people working on the platform. On Tue, Apr 14, 2009 at 7:56 PM, Zi Yong Chua wrote: > > Hi people, > > I was looking at how iPhone 3.0 beta is doing and I was pleasantly > surprise how fast

[android-developers] receiving broadcast intent, while appl is closed.

2009-04-14 Thread jj
If appl is closed, in which there is broadcast receiver, after receiving it appl perform some activity. This intent is broadcast by other appl but the receiving appl is closed will it receive the broadcast intent. --~--~-~--~~~---~--~~ You received this message b

[android-developers] Re: multiple successive queries to a database

2009-04-14 Thread iki
The application has stopped unexpectedly. Please try again. One query always works. Two consecutive queries works about 75% of the time. Three consecutive queries works about a third. Four consecutive queries works about 10% Five doesn't seem to work at all (it worked once out of many tries). On

[android-developers] Re: Android doesn't support ICC Profile related API?

2009-04-14 Thread Dianne Hackborn
No, and no. On Tue, Apr 14, 2009 at 8:51 PM, freeanderson wrote: > > Android doesn't support ICC(INTERNATIONAL COLOR CONSORTIUM) profile > related API? > > Does Google have a plan? > > > > > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private ques

[android-developers] Re: com.android.layoutlib.bridge.BridgeCanvas has a bug when drawing a round rect

2009-04-14 Thread Xavier Ducrohet
Thank you, I'll make sure this gets fixed. Xav 2009/4/14 Susan : > > com.android.layoutlib.bridge.BridgeCanvas类(in layoutlib.lib) > a) line 635: > g.fillRoundRect((int)rect.left, (int)rect.right, (int) > rect.width(), (int)rect.height(), arcWidth, arcHeight); > is wrong,

[android-developers] Re: Re-installation failed due to different application signatures

2009-04-14 Thread Marco Nelissen
The system partition is mounted read-only for security/robustness. 2009/4/14 dycl3 : > > hello: > > Thank you attention, in fact, now the question is solve , > adb remount > adb shell > rm system/app/Music.apk > then run the project with eclipse , it works good. > > but i don't know why i must

[android-developers] Android doesn't support ICC Profile related API?

2009-04-14 Thread freeanderson
Android doesn't support ICC(INTERNATIONAL COLOR CONSORTIUM) profile related API? Does Google have a plan? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email

[android-developers] com.android.layoutlib.bridge.BridgeCanvas has a bug when drawing a round rect

2009-04-14 Thread Susan
com.android.layoutlib.bridge.BridgeCanvas类(in layoutlib.lib) a) line 635: g.fillRoundRect((int)rect.left, (int)rect.right, (int) rect.width(), (int)rect.height(), arcWidth, arcHeight); is wrong,should be: g.fillRoundRect((int)rect.left, (int)rect.top, (int) re

[android-developers] android:style/Theme.Translucent stumped

2009-04-14 Thread William
OK I am trying to overload the android:style/Theme.Translucent theme but when I do so the background becomes black, not translucent. styles.xml has this. simple enough right? when my AndroidManifest.xml has this using the system translucent it works fine > BUT when

[android-developers] Re: Context Menu calling Activity.onMenuItemSelected() instead of Activity.onContextMenuItemSelected()

2009-04-14 Thread Jason Parekh
The onMenuItemSelected dispatches to either onOptionsItemSelected or onContextItemSelected. If your onMenuItemSelected is overridden, could you ensure you're calling through to the super.onMenuItemSelected(...) implementation? jason On Tue, Apr 14, 2009 at 3:32 PM, Jack C. Holt wrote: > > I ha

[android-developers] Re: Permissions to install other apps...

2009-04-14 Thread Birjodh Tiwana
good enough! thanks a lot for clearing it up.. that answers my speculations about security.. On Tue, Apr 14, 2009 at 10:37 PM, Dianne Hackborn wrote: > Correct. The user needs to be involved in installing apps by confirming it > in the UI (you can invoke this UI if you want). In cupcake you ca

[android-developers] Place to feedback to Android Engineers?

2009-04-14 Thread Zi Yong Chua
Hi people, I was looking at how iPhone 3.0 beta is doing and I was pleasantly surprise how fast Apple is able to push out bug fixes and UI changes that matters within the short time span (i think they already had 2 beta updates). Taking off from that, I am wondering is there a streamlined channe

[android-developers] Re: Permissions to install other apps...

2009-04-14 Thread Dianne Hackborn
Correct. The user needs to be involved in installing apps by confirming it in the UI (you can invoke this UI if you want). In cupcake you can load arbitrary Dalvik code in to your process, though you need to be aware that the code will be running as your own app. On Tue, Apr 14, 2009 at 7:06 PM,

[android-developers] Re: how to re-draw the listview ?

2009-04-14 Thread James ZH
thanks for your reply, but my proble is introduced by a simple error, in the step 4: 4. so I changed the visibility in BaseAdapter::getView(int position, View convertView, ViewGroup parent): CheckBox itemChkBx = ( CheckBox ) mActivityContext.findViewById ( R.id.checkbox1 ); itemChkBx.setVisibility

[android-developers] Re: Permissions to install other apps...

2009-04-14 Thread tiwana
I am sorry i am not sure if i get it . So are you tryin to say that one third party app would not be able to install another app which will run as a separate app but it can add classes to the existing process On Apr 14, 8:39 pm, Dianne Hackborn wrote: > This is exactly as I have already said

[android-developers] Re: Re-installation failed due to different application signatures

2009-04-14 Thread dycl3
hello: Thank you attention, in fact, now the question is solve , adb remount adb shell rm system/app/Music.apk then run the project with eclipse , it works good. but i don't know why i must adt remount firs, otheriwse i couldn't delete system/app/Music.apk, it's say it read only. thanks. On

[android-developers] Re: using touch screen to draw a straight line

2009-04-14 Thread gandor
Thanks guys. Yes now it works. Had to use event.getAction and draw method. package <>.DrawPoints; import android.app.Activity; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.os.Bundle; import android.ut

[android-developers] Re: Parcelables / project.aidl in SDK 1.5

2009-04-14 Thread Xavier Ducrohet
I have just realized something. If you create/edit parcelable type aidl files, this does not trigger a recompilation of the interface aidl files that depends on it. In fact, aidl files are only recompiled when the aidl file is touched. We'll do a quick fix for the final ADT 0.9 (which will most

[android-developers] Elan sues Apple for multitouch patent infringment... and guess what....

2009-04-14 Thread Streets Of Boston
... It seems Elan had it running on Android before the iPhone. :=) http://www.phonesreview.co.uk/2009/04/13/video-multi-touch-on-android-from-elan-microelectronics/ Is there any truth in this? --~--~-~--~~~---~--~~ You received this message because you are subscr

[android-developers] Re: Updating TextView Values

2009-04-14 Thread TrojanSnake12
Ya, I originally updating the values in onSensorChanged() was not working, but I did manage to get this to work in the end. Thanks very much for your response. On Apr 10, 10:04 am, "ellipsoidmob...@googlemail.com" wrote: > Hi > > You can only modify views from the UI thread - as per the docs: >

[android-developers] Re: Business search using Android GeoCoder APIs

2009-04-14 Thread JP
I put this on the backburner... can't give you any pointers. On Apr 14, 10:58 am, Android_Learner wrote: > Hi, > Is there any chance to use Google APIs( Http Based) instead of Android > APIs for doing business search? > or any other 3rd party Http based APIs(Web service) for business > search

[android-developers] How to turn on the title back after it is turned off

2009-04-14 Thread Anshul
Hi, After I have turned off the title using the following code is there any way to turn the title on? requestWindowFeature(Window.FEATURE_NO_TITLE) Thanks, -Anshul --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "A

[android-developers] Re: Permissions to install other apps...

2009-04-14 Thread Dianne Hackborn
This is exactly as I have already said: this API is not available to third party apps, and cupcake will not change this. Addressing the original poster, there is a new API in cupcake to be able to dynamically load classes with Dalvik. On Tue, Apr 14, 2009 at 1:13 AM, tiwana wrote: > > So i down

[android-developers] Re: onscreen keypad interactions

2009-04-14 Thread Dianne Hackborn
There will be a blog post soon about updating an application to work better with an IME, which will address your first issue. For the second, the IME gets to decide what mode to use, and the standard one is basically always fullscreen when in landscape, though there is an option you can use to hav

[android-developers] Re: Sorry if I've missed this somewhere, but what is the default thread stack size in Android...

2009-04-14 Thread fadden
On Apr 14, 6:57 am, Hans wrote: > I have found some extraneous information that suggests that 8kb is the > default thread stack size. The information, while extraneous, is correct. :-) --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-developers] Re: Is this a bug in dvmTrackExternalAllocation()?

2009-04-14 Thread fadden
On Apr 14, 12:46 am, Liangtao wrote: > The function doesn't try to do GC whenever "externalAllocPossible(hs, > n)" returns false. How about simply moving this call to the beginning > of function "static bool externalAlloc(HeapSource *hs, size_t n, bool > grow)"? (From http://code.google.com/p/an

[android-developers] Re: Use SDK 1.5 features while maintaining SDK 1.0,1.1 backward compatibility

2009-04-14 Thread blindfold
Thanks, good to know. Still I now find that if I compile my app for SDK 1.5 but without using any 1.5 features, I can next run my app on my DP1.1 (SDK 1.1), but just having code with 1.5 features in a branch that is never reached causes a java.lang.VerifyError when trying to run on my DP1.1. So th

[android-developers] Re: Picture Taking application

2009-04-14 Thread dsurround
Thanks Mark. Yes, was trying to get the media scanner to work, but gave up after numerous tries. Last attempt had me trying to debug the lack of connection to the media connection. I spent so long on it, I decided to hold that off til the next release and build the power off / power on into the

[android-developers] Re: One line causing lots of garbage collection. String.format with float. Help?

2009-04-14 Thread DavidG
Thanks for the suggestions, I'll work with that a little more. I actually found another solution that seems to work well for me. Instead of using Formatter, I used NumberFormat: private static final NumberFormat nf = NumberFormat.getCurrencyInstance (); Then I just call nf.format(price) and it

[android-developers] Re: Does cupcake support Webview with Gears ?

2009-04-14 Thread Grace Kloba
Still only for browser. Grace On Monday, April 13, 2009, Kumaravel Kandasami wrote: > Does  anyone know whether Android 1.5 SDK supports Gears supported Apps ? > > Currently release 1.1, supports Gears only on the browser application and we > are not able to implement Gears application on WebV

[android-developers] Can android take picture in portrait style

2009-04-14 Thread cindy
I am uisng 1.1. I found that I can only take picture in landscape mode. Has someone using landscape mode? Thanks! Cindy --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this grou

[android-developers] Re: Use SDK 1.5 features while maintaining SDK 1.0,1.1 backward compatibility

2009-04-14 Thread Xavier Le Vourch
blindfold wrote: > Hi, > > I want to avoid the SDK 1.0 and 1.1 workaround for playing synthesized > audio as of SDK1.5, but for older phones or firmware (SDK 1.0 and 1.1 > based) I want to maintain backward compatibility and first write audio > to flash memory in order to play the resulting audio

[android-developers] Re: Early Look Android 1.5 SDK

2009-04-14 Thread clark
I recently flashed my phone with the firmware found on the upcoming HTC Saphire, which says it is version 1.5. Does anyone know if I will be able to try out the features from the 1.5 SDK with this phone? It would be great to test directly on the hardware rather than use an emulator. Also, I am

[android-developers] Re: One line causing lots of garbage collection. String.format with float. Help?

2009-04-14 Thread Marco Nelissen
I don't know then. I don't think that Formatter.format() should create that many temporary objects. Have you tried formatting the number differently, like as an integer? (note also that if this is a sqlite based cursor, I think you can just getFloat() the column, so you don't have to parse a strin

[android-developers] onscreen keypad interactions

2009-04-14 Thread jseghers
I've seen with the onscreen keypad, the application does not seem to be notified that the OSK has been brought in front of it. I would like to be able to change the layout of my screen so that relevant information is visible when the keypad is brought to the fore. I have information onscreen tha

[android-developers] Re: Picture Taking application

2009-04-14 Thread Mark Anacker
Tell me about it. I have a camera app (LokPixLite) that's dead solid on both the ADP1 and Emulator. Never crashes, no matter what I throw at it. So I release it into the wild, and people start complaining that they're getting Force Closed a lot. So the G1 is definitely doing something differen

[android-developers] Re: One line causing lots of garbage collection. String.format with float. Help?

2009-04-14 Thread Mattaku Betsujin
How long is your list? And how often does the list items themselves change? Instead of reformatting the same numbers again and again every time the list is repainted, how about formatting them once into a list of Strings, and reuse these strings? On Tue, Apr 14, 2009 at 2:29 PM, DavidG wrote: >

[android-developers] Re: Audio streaming/progressive download over HTTP

2009-04-14 Thread Dave Sparks
We don't have an API for progressive download yet. Technically, the website should say "progressive streaming", but from a file authoring perspective there is no distinction between the two. RTSP support is only available for MPEG-4 file formats. There is no support for raw AMR, AAC, or MP3 strea

[android-developers] Re: How the use same instances when launching application twice

2009-04-14 Thread Sarnoth
Haven't we been over this before? http://groups.google.com/group/android-developers/browse_thread/thread/bd020f8b809a6e56/e8b9520e43410abd On Apr 14, 2:53 am, Neo wrote: > My app has 4 activities on the stack A->B->C->D (top) > > If you press home and re-enter the application, another instance

[android-developers] LTTng on Android

2009-04-14 Thread Ravi Ramachandra
All, Has anyone been able to successfully use LTTng (Linux Trace Tool Next generation) on android? Is there any profiling tool that can give us "call trace" ? regards, Ravi --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gr

[android-developers] Use SDK 1.5 features while maintaining SDK 1.0,1.1 backward compatibility

2009-04-14 Thread blindfold
Hi, I want to avoid the SDK 1.0 and 1.1 workaround for playing synthesized audio as of SDK1.5, but for older phones or firmware (SDK 1.0 and 1.1 based) I want to maintain backward compatibility and first write audio to flash memory in order to play the resulting audio file from there. That is in

[android-developers] Re: One line causing lots of garbage collection. String.format with float. Help?

2009-04-14 Thread DavidG
That's right, with the code above, it still GCs about 13000 every 2 seconds (as long as I'm scrolling the list quickly back and forth). If I comment out the formatter line (price = mFormatter.format("%.2f", args).toString();) it doesn't do the GCs anymore, but I of course lose my formatting. On A

[android-developers] Re: TDD with Android 1.5

2009-04-14 Thread z
Thanks for the info and I get it to work. I also documented it here and hopefully others may find it helpful: http://luzhao.wordpress.com/2009/04/14/running-apidemos-tests-in-android-sdk-15pre/ On Apr 14, 11:52 am, Xavier Ducrohet wrote: > I'm not sure when this error is given. > > Let me give

[android-developers] Re: Parcelables / project.aidl in SDK 1.5

2009-04-14 Thread Xavier Ducrohet
I just did a quick test following the information in the link I posted above and it is working for me. Make sure your aidl file declares the package it's in (like any java class). Xav On Tue, Apr 14, 2009 at 1:05 PM, Xavier Ducrohet wrote: > oh I missed this message :( > > Let me do a quick te

[android-developers] Re: Permissions to install other apps...

2009-04-14 Thread tiwana
Ok so has anybody tried to do this with the unofficial release of cupcake and has been successful? Yes actually it can lead to alternative marketplaces.. On Apr 14, 4:29 am, "admin.androidsl...@googlemail.com" wrote: > I don't know the answer to this but it got me thinking that it would > not b

[android-developers] Re: Developing absolute layout - no drag drop click drag in eclipse ??

2009-04-14 Thread Xavier Ducrohet
Not at this time. The layout editor is a work in progress. In 0.9, we added basic drag'n'drop support but we haven't added support for manipulating views in the layout directly yet. Xav On Thu, Mar 26, 2009 at 12:21 AM, quakeboy wrote: > > Hi I am developing an application which uses absolute

[android-developers] onTouchEvent(MotionEvent me) not called initially

2009-04-14 Thread mcmc
My onTouchEvent(MotionEvent me) does not get called until after I slide my phone open. Also, after I slide it open, when I close it again, it works fine too... Can anyone help me? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goo

[android-developers] Re: SDK 1.5 released - A Couple Questions

2009-04-14 Thread droozen
Thanks! On Apr 14, 3:06 pm, Dianne Hackborn wrote: > On Tue, Apr 14, 2009 at 12:58 PM, droozen wrote: > > Does the onscreen keyboard pop-up automatically when the user enters a > > text field? Or is that something we'll have to add in our code to > > enable? > > You don't need to do anything sp

[android-developers] Audio streaming/progressive download over HTTP

2009-04-14 Thread Alexander
Hi All, I have a couple questions regarding audio streaming/progressive download over HTTP. Could you please help me? 1. MediaPlayer supports progressive download according to the developer guide from this link http://developer.android.com/guide/topics/media/index.html ("If you're passing a URL

[android-developers] Re: SDK 1.5 released - A Couple Questions

2009-04-14 Thread Dianne Hackborn
On Tue, Apr 14, 2009 at 12:58 PM, droozen wrote: > Does the onscreen keyboard pop-up automatically when the user enters a > text field? Or is that something we'll have to add in our code to > enable? You don't need to do anything special, though there are things you should to do improve the use

[android-developers] Re: Early Look Android 1.5 SDK

2009-04-14 Thread Stoyan Damov
On Tue, Apr 14, 2009 at 9:28 AM, Al Sutton wrote: > > To Xav, Dave, JBQ, Dianne, Romain, and anyone else involved in getting this > out there. > > THANK YOU. > > You may not literally get a thousand thank yous in your mail box, but it'll > probably be said a thousand times in various ways by deve

[android-developers] Re: Parcelables / project.aidl in SDK 1.5

2009-04-14 Thread Xavier Ducrohet
oh I missed this message :( Let me do a quick test... On Tue, Apr 14, 2009 at 11:18 AM, Zach Hobbs wrote: > > Some more info: > > - I tried creating an aidl file with the same name as the Parcelable > class, and I get an error in the console like: / > .aidl:1 interface . should be declared in a

[android-developers] Re: Parcelables / project.aidl in SDK 1.5

2009-04-14 Thread Xavier Ducrohet
Hello, sorry we forgot to mention this change in the release notes. The old mechanism in ADT 0.8 that made you create a project.aidl (which contained the list of your parcelable classes) is gone. While it worked, it was not compatible with build with Ant as it prevented you from creating .aild

[android-developers] Re: emulator speed

2009-04-14 Thread Dianne Hackborn
Basically, no. There is a simulator, but it is very poorly supported, has no integration with eclipse, and has pretty poor fidelity with the behavior of a real system since it does things like run the entire system and applications in a single process. Also the emulator should run with at least t

[android-developers] SDK 1.5 released - A Couple Questions

2009-04-14 Thread droozen
For those of you who have had a chance to look at the new SDK on the emulator, I was wondering: Does the onscreen keyboard pop-up automatically when the user enters a text field? Or is that something we'll have to add in our code to enable? Does an onscreen numpad pop-up when entering a numerica

[android-developers] Re: Early Look Android 1.5 SDK

2009-04-14 Thread Dianne Hackborn
Use android:minSdkVersion="3" in your manifest to say you require Cupcake features. I can't help with uploading different versions of an app to market. On Tue, Apr 14, 2009 at 4:51 AM, Lorents wrote: > > Great news :) Thanks a lot! > > If I make a new app that use some of the new features in 1.

[android-developers] ScaleAnimation problem

2009-04-14 Thread ellipsoidmob...@googlemail.com
Hi I have an application which is based on the AnimateDrawables sample, but which uses ScaleAnimation rather than TranslateAnimation The problem I have is that my image scales in the way I expect - but it also moves! For example, if my image starts half way down the screen on the left and I use

[android-developers] Most wanted features after 1.5

2009-04-14 Thread blues
As a user: Install apps on the SD cards. The current internal memory is really not enough. As a developer: 1. A real working mechanism to protect the priced app. Currently, the apk file can be copied from the "rooted" phone and publised to anywhere. 2. Native SDK or just a JNI interface firstly.

[android-developers] Re: Custom android ANT tasks

2009-04-14 Thread Xavier Ducrohet
hmm oops. Just copy the one from 1.5 into 1.1/templates. they should be identical anyway. Xav On Tue, Apr 14, 2009 at 12:37 PM, Xavier Le Vourch wrote: > > Xavier Ducrohet wrote: >> Hello, >> >> The new SDK include multiple versions of the Android platforms. >> Because newer versions could have

[android-developers] Re: Early Look Android 1.5 SDK

2009-04-14 Thread MrChaz
Great news, It's good to be able to see what's coming before it gets to the consumers but damn, it looks like this is not going to upgrade smoothly. hey ho. On Apr 14, 12:30 am, Xavier Ducrohet wrote: > Hello developers! > > I'm pleased to announce the release of an early look of the Android 1.

[android-developers] Re: Custom android ANT tasks

2009-04-14 Thread Xavier Le Vourch
Xavier Ducrohet wrote: > Hello, > > The new SDK include multiple versions of the Android platforms. > Because newer versions could have slightly different build steps, we > have decide to keep most of the build logic inside the platforms > themselves. > > Thus, the new build.xml imports a file c

[android-developers] Context Menu calling Activity.onMenuItemSelected() instead of Activity.onContextMenuItemSelected()

2009-04-14 Thread Jack C. Holt
I have a ListActivity that I have registered a context menu for by calling registerForContextMenu(getListView()). I have also overridden onCreateContextMenu() as follows: public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) { super.onCreateContextMenu(menu,

[android-developers] Re: Custom android ANT tasks

2009-04-14 Thread Xavier Ducrohet
Hello, The new SDK include multiple versions of the Android platforms. Because newer versions could have slightly different build steps, we have decide to keep most of the build logic inside the platforms themselves. Thus, the new build.xml imports a file called android_rules.xml located inside

[android-developers] App widgets and remote views

2009-04-14 Thread tomgibara
I've just spent the last few hours nosing around to see what's new in this 1.5 pre-release. I decided to implement an app widget to try out the new package. From the provider end it's very straightforward, but I'm not certain about the performance implications. Specifically, I decided to implemen

[android-developers] Re: TDD with Android 1.5

2009-04-14 Thread Xavier Ducrohet
I'm not sure when this error is given. Let me give you some information about how the sample works: The ApiDemos sample has 2 projects. One for the app and one for the tests/instrumentation. The instrumentation project declares an tag in the manifest with targetPackage containing the app packa

[android-developers] Re: inject long home key press

2009-04-14 Thread Dan Raaka
I am using this a work-around for the non-working home key in the 1.0 or 1.1 emulator. If there is fix for it. That would work for me as well. On Apr 14, 11:23 am, Dan Raaka wrote: > Is there a keycode to inject long home key press into a device via adb > like below ? > > $ adb shell input keyev

[android-developers] Re: Re-installation failed due to different application signatures

2009-04-14 Thread Marco Nelissen
You can't replace or uninstall the sytem apps, so if you want to create a music player based on the Android one, you'll have to put in in a different package. On Tue, Apr 14, 2009 at 3:07 AM, dycl3 wrote: > > hello: > > > out put by eclipse: > > [2009-04-14 17:55:39 - MusicBrowserActivity] Upl

[android-developers] Re: How to use headset button to pick up/hang up a call?

2009-04-14 Thread Marco Nelissen
The headset button already answers an incoming call, but once you're in the call, it mutes/unmutes. If you want it to hang up the call instead, you'll need to modify the Phone application. On Tue, Apr 14, 2009 at 2:44 AM, sein wrote: > > When I'm testing the functionality of the  headset button

[android-developers] inject long home key press

2009-04-14 Thread Dan Raaka
Is there a keycode to inject long home key press into a device via adb like below ? $ adb shell input keyevent 7# for key '0' -Dan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To po

[android-developers] Re: create aidl preprocess file for parcelable

2009-04-14 Thread Zach Hobbs
I'm having the same problem :( http://groups.google.com/group/android-developers/browse_thread/thread/3f0117114ee7c0f8# -Zach On Apr 14, 3:20 am, "benjamin.lehej...@googlemail.com" wrote: > Hello android developers, > > yesterday the early look Android SDK 1.5 has released and i tried to > im

[android-developers] Re: Parcelables / project.aidl in SDK 1.5

2009-04-14 Thread Zach Hobbs
Some more info: - I tried creating an aidl file with the same name as the Parcelable class, and I get an error in the console like: / .aidl:1 interface . should be declared in a file called com.aidl. I tried declaring the Parcelable in com.aidl and that didn't work either. - The documentation in

[android-developers] Re: How compile the apk file?

2009-04-14 Thread a druid
On Apr 9, 10:21 am, "kimura...@gmail.com" wrote: > How can i building my application alone, generate the apk file?? > > My source path look like this: >   /packages/inputmethod/pinyinIME/src/***.java >   /packages/inputmethod/pinyinIME/res/ >   /packages/inputmethod/pinyinIME/lib/ >   /packages

[android-developers] Re: using touch screen to draw a straight line

2009-04-14 Thread Per Sandström
Here is another bug in the code: if(i == 0) { static_x = event.getX(); static_y = event.getY(); i = 1; } else { static_x1 = event.getX(); static_y1 = event.getY();

[android-developers] Black Screen problem with graphics update using unlockCanvasAndPost()

2009-04-14 Thread Warren
I am working on a game for Android. I'm following the general program layout of Lunar Lander, where a SurfaceView has a worker thread that runs the main game loop. That loop updates the physics and redraws the screen by creating and drawing to a canvas. >From the thread class: public void ru

[android-developers] Re: emulator speed

2009-04-14 Thread a druid
Hi, Just a small newbie question: I understand, that the Android emulator is by definition and scope slower than an I-phone simulator. However: There are apps, which have to run on an emulator in order to emulate hte entire HW. However for a lot of algorithmic / GUI stuff a simulator would be m

[android-developers] Re: run app after installation using PACKAGE_ADDED or other mechanism?

2009-04-14 Thread M. Dodd
All nice and well - if the API for AlarmManager supported persistent alarms. Currently, if you update an application your alarms will go bye bye until the phone reboots - no? Requiring a reboot just to reset a few silly alarms seems quite excessive to me - and definitely prevents us from "taking

[android-developers] get indication

2009-04-14 Thread Michel
Is possible get indication by mapView component? thanks Michel --~--~-~--~~~---~--~~ 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 u

[android-developers] Re-installation failed due to different application signatures

2009-04-14 Thread dycl3
hello: out put by eclipse: [2009-04-14 17:55:39 - MusicBrowserActivity] Uploading MusicBrowserActivity.apk onto device 'emulator-5554' [2009-04-14 17:55:48 - MusicBrowserActivity] Installing MusicBrowserActivity.apk... [2009-04-14 17:56:11 - MusicBrowserActivity] Application already exists. Att

[android-developers] 4 Track Recorder and Video Player...

2009-04-14 Thread xgilx
These are two things I would love to see on the G1. Anybody on here working on either? This is my first post and first day on here. Graphic designer and all around computer head in Corpus Christi, TX. I play music and think a portable music recorder for the G1 would be amazing. I know the IPhon

[android-developers] Does getFromLocationName (with bounding box) works on 1.0?

2009-04-14 Thread prabansal
Hi I am doing the following: addressList = gCoder.getFromLocationName(“Idaho”, 5, 39.42, -118.71, 46.81, -111.681); This always returns empty list. While when I try: addressList = gCoder.getFromLocationName(“Idaho”, 5); It works well. Please suggest if there is still a bug with 1.0, and if y

[android-developers] getFromLocationName (with bounding box) not working on Android 1.0

2009-04-14 Thread prabansal
I am doing the following: addressList = gCoder.getFromLocationName(“Idaho”, 5, 39.42, -118.71, 46.81, -111.681); This always returns empty list. While when I try: addressList = gCoder.getFromLocationName(“Idaho”, 5); It works well. Please suggest if there is still a bug with 1.0, and if ye

  1   2   >