[android-developers] migrating BOOT_COMPLETED ALARM Service to 9.0 HELP!!!!

2008-09-01 Thread E.D.I
i hade a service that i signed on an alarm on BOOT_COMPLETED to run every 3 minutes for update location but now i cant find a parallel solution solution in the new 0.9 SDK if anyone can guide me it will be very helpfull for me in my migrating processof my app from m15 to 0.9

[android-developers] Re: Where does the emulator look for the SD Card Image File ?

2008-09-01 Thread Guillaume Perrot
Hi, Graeme In run configurations I put this in additional emulator command line options the following line: -sdcard /home/gperrot/.android/sdcard (this is the path of the sdcard I created, this is neither a default directory nor a default file). On Aug 29, 4:55 pm, Bertl [EMAIL PROTECTED] wrote:

[android-developers] Re: Where to download icons?

2008-09-01 Thread Guillaume Perrot
Number of icons (mostly under creative commons license) are hosted at http://www.iconspedia.com/ On Sep 1, 9:38 am, code_android_festival_way [EMAIL PROTECTED] wrote: You can look at: http://www.maxpower.ca/free-icons/2006/03/05/ At this page you will find a summary of icon sets including

[android-developers] Re: Where to download icons?

2008-09-01 Thread code_android_festival_way
Is it possible to use GPL licensed icons in proprietary projects? On 1 Sep., 10:09, Guillaume Perrot [EMAIL PROTECTED] wrote: Number of icons (mostly under creative commons license) are hosted athttp://www.iconspedia.com/ On Sep 1, 9:38 am, code_android_festival_way [EMAIL PROTECTED]

[android-developers] Re: Where does the emulator look for the SD Card Image File ?

2008-09-01 Thread Graeme
Hi Guillaume, Bertl Thanks for clarifying this, the comment in the Android docs about 'using relative paths' seems to be a bit misleading, I will use absolute paths as you both recommend. rgds Graeme On Sep 1, 9:00 am, Guillaume Perrot [EMAIL PROTECTED] wrote: Hi, Graeme In run

[android-developers] NMaps2 for SDK 0.9

2008-09-01 Thread nader
Based on many request and as I promised, here is the NMaps2 application (Android Maps) for the latest version 0.9 beta: http://nader.shalabi.googlepages.com/androidapplications Note that NMapActivity replaces MapActivity, and this activity is no longer abstract, it is a concrete class now (or

[android-developers] How to create a folder in android file system

2008-09-01 Thread sudheer
I just migrated to the latest beta version of android and is having a problem. I could create a tmp folder in the android file system in the m5 version and was using that folder. In the latest version of Android SDK, I am not able to create a tmp folder in android file system. Could you please

[android-developers] Re: Where to download icons?

2008-09-01 Thread Guillaume Perrot
I am not sure but you can use GPL in commercial projects, provided you redistribute source code and tools to rebuild application from source. On Sep 1, 10:26 am, code_android_festival_way [EMAIL PROTECTED] wrote: Is it possible to use GPL licensed icons in proprietary projects? On 1 Sep.,

[android-developers] Re: Acessing web services with ksoap

2008-09-01 Thread cbraun75
Have you solved it? I have the same problem. Thanx Christian On 21 Aug., 07:16, Luciano [EMAIL PROTECTED] wrote: Hi all I'm usingksoaplibrary modified by Jorge at Tuxpan (http:// groups.google.com/group/android-developers/msg/4e86059309d7b10f) for acessing web services. But now with the

[android-developers] bulkInsert() function in SyncableContentProvider cause NullPointerException

2008-09-01 Thread Alan
I am using my own content provider extends from SyncableContentProvider, and I found that the function bulkInsert is FINAL, why? Besides, following code using my own content provider always get NullPointerException. It even doesn't go into insertInternal( ) of my own content provider

[android-developers] Bug in Bitmap.compress when used on JPEGs?

2008-09-01 Thread snowcrash
Hi there, I experience strange things when using the compress method from Bitmap. I'm useing the code at the bottom to download JPEGs from a server. Out of all images downloaded, ~10% fail to be written with a NullpointerException and a preceding message from something called 'skia'. Each image

[android-developers] Re: How to create a folder in android file system

2008-09-01 Thread Mark Murphy
sudheer wrote: I just migrated to the latest beta version of android and is having a problem. I could create a tmp folder in the android file system in the m5 version and was using that folder. In the latest version of Android SDK, I am not able to create a tmp folder in android file system.

[android-developers] Re: Where to download icons?

2008-09-01 Thread code_android_festival_way
Yeah. But Icons are no code and so I'm not pretty sure about that point. On 1 Sep., 12:08, Guillaume Perrot [EMAIL PROTECTED] wrote: I am not sure but you can use GPL in commercial projects, provided you redistribute source code and tools to rebuild application from source. On Sep 1, 10:26 

[android-developers] Re: Simple Mock Location Provider

2008-09-01 Thread Guillaume Perrot
setTestProviderLocation(gps, location) doesn't wake up my LocationListener (minDistance 0, minTime 0 when requesting updates). I am forced to use geo fix via telnet On 27 août, 10:27, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Here is what i have done: private void setTestLocation(double

[android-developers] Replacement for MapView's OnLongPressListener

2008-09-01 Thread plusminus
What is the common replacement MapView's OnLongPressListener ? OnLongClick does not provide the screencoordinates and adding an Overlay just to get the coordinates is not the way its meant to be... Thx in advance --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: Simple Mock Location Provider

2008-09-01 Thread Stefan Handschuh
Don' forget to set the current time to the location! location.setTime(System.currentTimeMillis()); setTestProviderLocation(gps, location) doesn't wake up my LocationListener (minDistance 0, minTime 0 when requesting updates). I am forced to use geo fix via telnet On 27 août, 10:27,

[android-developers] Re: GPS LocationProvider journey simulation

2008-09-01 Thread handschuh
Did you get the journey working with this one? On Aug 28, 9:50 pm, munzelmann [EMAIL PROTECTED] wrote: For those who are still struggling with ddms and location updates: I got this issue solved by moving my development tools from a German Windows XP to Debian Linux with an English locale.

[android-developers] Re: GPS LocationProvider journey simulation

2008-09-01 Thread Guillaume Perrot
Hi, none of the solutions described above worked for me. The only thing working for me is the geo command via telnet... On 30 août, 16:16, drew [EMAIL PROTECTED] wrote: I have exactly the same problem. The provided LocationProvider gps that is supposed to simulate a journey between two

[android-developers] Re: GPS LocationProvider journey simulation

2008-09-01 Thread Guillaume Perrot
Hi, none of the solutions described above worked for me. The only thing working for me is the geo command via telnet... On 30 août, 16:16, drew [EMAIL PROTECTED] wrote: I have exactly the same problem. The provided LocationProvider gps that is supposed to simulate a journey between two

[android-developers] Re: location is always latitude 0 longitude 0 altitude 10 in v0.9

2008-09-01 Thread Guillaume Perrot
munzelmann, I tried with Ubuntu 8.04 LTS, locale US, it doesn't work better... On 30 août, 10:06, Olexiy K. [EMAIL PROTECTED] wrote: So there are many people suffering from this, not only me )) I am using Windows XP, Eclipse 3.3. Happily it works with telnet, thank you guys for advice. On

[android-developers] Re: location is always latitude 0 longitude 0 altitude 10 in v0.9

2008-09-01 Thread Guillaume Perrot
munzelmann, I tried with Ubuntu 8.04 LTS, locale US, it doesn't work better... On 30 août, 10:06, Olexiy K. [EMAIL PROTECTED] wrote: So there are many people suffering from this, not only me )) I am using Windows XP, Eclipse 3.3. Happily it works with telnet, thank you guys for advice. On

[android-developers] Re: GPS LocationProvider journey simulation

2008-09-01 Thread Guillaume Perrot
Hi, none of the solutions described above worked for me. The only thing working for me is the geo command via telnet... On 30 août, 16:16, drew [EMAIL PROTECTED] wrote: I have exactly the same problem. The provided LocationProvider gps that is supposed to simulate a journey between two

[android-developers] Re: Where to download icons?

2008-09-01 Thread Guillaume Perrot
According to my boss, GPL applies not only to source code but to every resource. On 1 sep, 15:02, code_android_festival_way [EMAIL PROTECTED] wrote: Yeah. But Icons are no code and so I'm not pretty sure about that point. On 1 Sep., 12:08, Guillaume Perrot [EMAIL PROTECTED] wrote: I am

[android-developers] Easter eggs

2008-09-01 Thread Guillaume Perrot
When taking a picture with the camera, the resulting image is a guy at the coffee machine (surely a google employee). Have you seen other easter eggs in v0.9 ? There is a Malmo in the clock, this is a town which has a clock tower... In the APIDemos, many images show the same dog, will it soon

[android-developers] v0.9, TabActivity, communicate between tabs with intents.

2008-09-01 Thread Guillaume Perrot
Hi, I want to use TabActivity, What I want to do is to launch a command from a tab to another tab. I use startActivity and my activities are flagged singleTop in the manifest file. Unfortunately, instead of focusing the tab, a new activity, taking the whole screen is launched... What am I missing

[android-developers] Re: Developing a 2D game on Android

2008-09-01 Thread crayon-
Thanks for the help folks. Just one more thing, I can't seem to find this on the site, but do you know if there is a Color Key (or whatever it's called on this) in Android? As in, an RGB color that you can set to be transparent, so that say ... for the character in your game you can set the

[android-developers] Re: bulkInsert() function in SyncableContentProvider cause NullPointerException

2008-09-01 Thread Jeff Hamilton
It's hard to tell exactly what's going wrong without more information, but it looks like you're probably overriding onCreate() and not calling super.onCreate(). -Jeff On Mon, Sep 1, 2008 at 3:50 AM, Alan [EMAIL PROTECTED] wrote: I am using my own content provider extends from

[android-developers] Custom animation doesn't invalidate the area correctly

2008-09-01 Thread Erik Calissendorff
I'm creating a custom animation which extends Animation and overrides applyTransformation(float interpolatedTime, Transformation t) I'm also overriding getChildStaticTransformation(View child, Transformation t) in a rootView which I use for drag'n'drop. When I move a view outside of the drop

[android-developers] RelativeLayout in ListView item

2008-09-01 Thread Spencer Riddering
I've been experiencing some problems with the RelativeLayout when it is used within a ListView item. I've created a simple example of the problem below. RelativeLayoutInListItemTest.java public class RelativeLayoutInListItemTest extends ListActivity { protected void onCreate(Bundle

[android-developers] ACTION_PICK_ACTIVITY: anyone have this working?

2008-09-01 Thread Mark Murphy
I'm attempting to use ACTION_PICK_ACTIVITY. According to the docs: Pick an activity given an intent, returning the class selected. So, I've used ACTION_PICK to pick a contact, which I get back in my onActivityResult() as an Intent. What I can't quite figure out is how to construct the

[android-developers] Re: RelativeLayout in ListView item

2008-09-01 Thread Mark Murphy
Spencer Riddering wrote: Notice how only the lower half of Left Center is displayed. Also, notice that Upper is not displayed. Can someone confirm that this is a bug or point out my mistake? I think the point behind RelativeLayout is for you to be placing widgets relative to other widgets.

[android-developers] Re: Simulation of sensor events

2008-09-01 Thread MrSnowflake
It is possible: http://code.google.com/p/openintents/wiki/SensorSimulator On 26 aug, 19:38, Megha Joshi [EMAIL PROTECTED] wrote: its not possible to test any Sensor related code on emulator. 2008/8/26 mihai [EMAIL PROTECTED] How can I simulate inputs from the hardware sensors, so that I

[android-developers] Re: Custom animation doesn't invalidate the area correctly

2008-09-01 Thread Romain Guy
Hi, It's hard to tell what's going on with such a succinct description. Could you show some code if possible? It looks like you are simply not invalidating the drop parent correctly. On Mon, Sep 1, 2008 at 10:37 AM, Erik Calissendorff [EMAIL PROTECTED] wrote: I'm creating a custom animation

[android-developers] Re: Using the ItemizedOverlay and OverlayItem

2008-09-01 Thread marcel-182
Hi everyone, I finally got this thing working. Just set the bounds of the marker to be drawn and that's it! Sample: Drawable defaultMarker = getResources().getDrawable(R.drawable.map_marker_red); defaultMarker.setBounds(0, 0, defaultMarker.getIntrinsicWidth(),

[android-developers] Problems working with Mocked Location providers

2008-09-01 Thread [EMAIL PROTECTED]
Hi all, I am having problems with mocked location providers with Android 0.9. If I understand correctly the only way an application is able to receive location updates is from telnet, using geo commands, right? Is there a way to reading programmatically track data from a kml file as before? I

[android-developers] Jabber / XMPP Room for Android Developers Group

2008-09-01 Thread wei
Hi all, fellow Android developers, i suggest we have Jabber / XMMP room for live discussion about Android. According to Jabber / XMMP it self was being developed for that purposes, advancing forum technique from passive to active discussion. Thank you and fellow developers and group admins might

[android-developers] How to Send SMS?

2008-09-01 Thread Dj
Hi all Any budy know how to send SMS. Plz give any example or link Thanks.. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] maximum version of adb

2008-09-01 Thread [EMAIL PROTECTED]
Hi! I want to go to 0.9_beta, but get the message: Required maximum version of adb: 1.0.18.Current version is 1.0.20 What is the reason? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: Problem with bindService

2008-09-01 Thread TuanTuan
Yes, I also notice this problem. Anyone can help on this? Thanks. On 8月30日, 上午4时44分, marielisacr [EMAIL PROTECTED] wrote: Hi Justin, The problem appears when you try to bind the service in a tabspec, if you do it in an independent activity everything works fine. This used to work in the

[android-developers] Re: Can bind service in a tabspec view activity?

2008-09-01 Thread TuanTuan
I used a workaroud to make my tabspec get the service. I bind the service in tabHost, then put the IBinder in Intent by intent.putExtra(String, IBinder); then tabspec can get the service handler I am not sure if this is the correct method and if is effective. Anyone has experience on this

[android-developers] duplicate entry: classes.dex

2008-09-01 Thread [EMAIL PROTECTED]
Hi! What may be reason of error: Error generating final archive: duplicate entry: classes.dex. In 5-th SDK all was OK. Thank's. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] How to get the location provider's status?

2008-09-01 Thread Ernest
In the new SDK,the api 'LocationManager.getProviderStatus(String provider)' is removed.So how to get the location provider's status? I found that the constants 'AVAILABLE,OUT_OF_SERVICE , TEMPORARILY_UNAVAILABLE ' are still in LocationProvider of new SDK ,but how to use them?Thank you

[android-developers] XSLT on Android

2008-09-01 Thread plumum
Hi,all For this moment, i'm trying to do XSLT on Android but it seems impossible. I ' ve tested Jdom,Xalan and some other XSLT libraries but they don't work because these libraries depend on some J2SE packages which are not included in Android. Is there anybody did XSLT

[android-developers] Re: Socket exception-unknown error from HttpClient execute() method

2008-09-01 Thread Vp
Hi, I tired all above mentioned options of setting http-proxy and adding permissions in AndroidManifest.xml file but still I am not able to clear the proxy as well as I am facing following errors: 09-01 20:13:59.645: ERROR/GpsLocationProvider(54): Could not open GPS configuration file

[android-developers] MediaPlayer Error

2008-09-01 Thread Irfan
Hello All, I am developing a media application using VideoView. When I start playing video file, it gets start playing, but after few seconds I ONLY hear the sound NO VIDEO :(. When I captured the error it returned what = 44, extra = 0, and what = -38 extra = 0 I dont know what does this mean

[android-developers] Re: Custom animation doesn't invalidate the area correctly

2008-09-01 Thread Erik Calissendorff
Hi again Romain and thanks for your quick responses, Let me try to explain the setup further: I have a rootView which contains a few ViewGroups. When an item is dragged it is removed from the ViewGroup which it originally belonged to and added to the rootView instead, the dragged item is then

[android-developers] Custom LayoutParams?

2008-09-01 Thread Erik Calissendorff
Hi, I have created a custom ViewGroup and would like to have a custom LayoutParams together with it so I can assign these to the children through the XML. I have created a custom LayoutParams class and added the following to my attrs.xml: declare-styleable name=LayoutParams attr

[android-developers] Re: MediaPlayer in 0.9?

2008-09-01 Thread David Given
Steve Oldmeadow wrote: Where are you storing the file? There is a change with the MediaPlayer where it can't open files in the application's data area for security reasons. Yes --- that was the problem. I now have it all working. Wonderful! Thanks! (Oddly enough, though, I'm still seeing an

[android-developers] Re: long click on MapView

2008-09-01 Thread Joa
Hmm... setting long clickable explicitly does not make a difference. On Aug 31, 3:21 pm, adamrocker [EMAIL PROTECTED] wrote: Hi. Do you set a long clickable option to true through View#setLongClickable(...) ? 2008/9/1 Joa [EMAIL PROTECTED]: I am trying to capture the fact that a long

[android-developers] Audio cache strategies

2008-09-01 Thread David Given
I'm currently working on a custom audio player app for an online music site. It has the following main requirements: a) I need to be able to play music without waiting for it to download. b) I wish to cache the music locally so that the user's favourite tracks don't need to be downloaded again.

[android-developers] Replacement for MapView's OnLongPressListener

2008-09-01 Thread plusminus
What is the common replacement for MapView's OnLongPressListener (since its gone in 0.9) ? OnLongClick does not provide the Coordinates :( PS: This is my third try to post o_O. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: Custom LayoutParams?

2008-09-01 Thread Romain Guy
It's very simple, override the 3 following methods: @Override public ViewGroup.LayoutParams generateLayoutParams(AttributeSet attrs) { return new CellLayout.LayoutParams(getContext(), attrs); } @Override protected boolean checkLayoutParams(ViewGroup.LayoutParams p) {

[android-developers] Re: Replacement for MapView's OnLongPressListener

2008-09-01 Thread Joa
PS: This is my third try to post o_O. Hey, at least you got onLongClick() to fire. --~--~-~--~~~---~--~~ 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: Replacement for MapView's OnLongPressListener

2008-09-01 Thread plusminus
I did not yet try it, as it does not serve my needs ;) On 1 Sep., 22:47, Joa [EMAIL PROTECTED] wrote: PS: This is my third try to post o_O. Hey, at least you got onLongClick() to fire. --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: Replacement for MapView's OnLongPressListener

2008-09-01 Thread Joa
Oh those servants, can get good one's any more like in the old days (;- ) On Sep 1, 7:55 pm, plusminus [EMAIL PROTECTED] wrote: I did not yet try it, as it does not serve my needs ;) On 1 Sep., 22:47, Joa [EMAIL PROTECTED] wrote: PS: This is my third try to post o_O. Hey, at least you

[android-developers] Re: RelativeLayout in ListView item

2008-09-01 Thread Spencer Riddering
On Sep 2, 1:53 am, Mark Murphy [EMAIL PROTECTED] wrote: Spencer Riddering wrote: Notice how only the lower half of Left Center is displayed. Also, notice that Upper is not displayed. Can someone confirm that this is a bug or point out my mistake? I think the point behind RelativeLayout

[android-developers] Re: Android Standards

2008-09-01 Thread hackbod
This sounds like the same thing the OpenIntents people are wanting to do: http://www.openintents.org/en/ On Sep 1, 8:04 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Bump On Jul 4, 6:53 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Digest:p Android is going to completely change mobile