[android-developers] Re: API to delete SIM contacts Messages AND erasing the SD card contents

2009-04-30 Thread Surendra Reddy T
Hi Schimmel, Thanks for yous advice and suggestions. What about SIM card tool kit? I read in the cupcake feature list on android web page. But now in 1.5 SDK I didnt find any SIM related API. If any one want to contribute to this, I am ready with my team to develop the SIM tool kit. I read in

[android-developers] Re: MediaPlayer State

2009-04-30 Thread westmeadboy
Do you know why the State is not exposed? If there is no good reason, then what are the steps to request that it is exposed in some future SDK release? One reason not to rely on these, and not to expose them so that people don't try to rely on them, is that the states are inherently

[android-developers] Re: creating custom intent

2009-04-30 Thread Bob
Thanks for your help. I believe I have resolved the problem and it was that I didn't have the line category android:name=android.intent.category.DEFAULT / following intent-filter action android:name=com.example.Intent1 / Thanks Again, Bob On Apr 30, 1:09 am, Jeff Sharkey

[android-developers] Re: Missing avds

2009-04-30 Thread swarup
Before I had a 1, 2, and 3 that I could see by typing android list avds on the command line but now they are gone. do you mean your targets ('android list targets')got deleted? did you delete SDK_HOME/platforms, SDK_HOME/add-ons by chance? If so, copy back these 2 folders and you would be able

[android-developers] Re: SDK-1.5 Emulator does not find skin

2009-04-30 Thread swarup
I am copying the BILGICIFTLIGI-LAYOUT-P folder inside D:\android\tools\lib\images\skins (please note my system is on D:\...) this is not going to work for SDK 1.5 try copying your skin folder to SDK_HOME\platforms\android-1.5\skins, SDK_HOME\platforms\android-1.1\skins, depending upon your AVD

[android-developers] Re: Emulator does not find new skins (1.5)

2009-04-30 Thread swarup
http://groups.google.com/group/android-developers/browse_thread/thread/b262a07c808e619e# On Apr 29, 8:12 pm, chevdor chev...@gmail.com wrote: Hello, I hope I won't post twice but it seems my first message did not go thru. Screens beeing always too small :) I am trying to use a skin without

[android-developers] Re: Creation of XML

2009-04-30 Thread Sam
hi, i am usig jaxp external jar for validating with schema but the problem is that the android do have classes which are already there is the jaxp jar so i am not able to compile the code i was using JDOM initially but during schema validation i get java.rmi.RemoteException is there

[android-developers] WebView get position within page

2009-04-30 Thread rukiman
After I have loaded WebView with a html page, is it possible to get the position of the region that is currently being displayed within the WebView widget? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: SlidingDrawer throws RuntimeException in onMeasure

2009-04-30 Thread allstars
i forgot to mention that i take the reference code from Launcher however i didnt find SlidingDrawer doesnt call any makeMeasureSpec so neither did i but i encountered RuntimeException in my case so am i doing some wrong with SlidingDrawer? thanks On Apr 30, 3:43 pm, allstars

[android-developers] Re: Basic HTTP authentication

2009-04-30 Thread Wouter
I have tried to do it with the normal HttpClient and now I have done it with the apache commons HttpClient: On Apr 30, 6:25 am, Jon Colverson jjc1...@gmail.com wrote: On Apr 29, 6:06 pm, Wouter wouterg...@gmail.com wrote: I cannot access my page! How can I do this? Can you post your code?

[android-developers] Re: Basic HTTP authentication

2009-04-30 Thread Wouter
On Apr 30, 6:25 am, Jon Colverson jjc1...@gmail.com wrote: On Apr 29, 6:06 pm, Wouter wouterg...@gmail.com wrote: I cannot access my page! How can I do this? Can you post your code? -- Jon I have tried to do it with the normal HttpClient and now I have done it with the apache commons

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

2009-04-30 Thread WampBier
Hi all, I have the same problem. Call to the SENSOR_SERVICE hang in 1.5 emulator. Let's hope that it'll work with real hardware ... On 29 Apr., 14:48, blindfold seeingwithso...@gmail.com wrote: Yes, I see the same problem: only with the1.5emulator, my ADP with Cupcake works fine with this.

[android-developers] Re: Eclipse + cupcake + other android projects in build path = VerifyError

2009-04-30 Thread Handtwerk
The problem here is that the ADT plugin tries to upload the referenced android projects in build path as separate APKs instead of mixing the code like in previous SDK releases. Even if several APKs are uploaded, there is no link between them on the device and so the VerifyError occurs when

[android-developers] Re: Using DNS Lookup

2009-04-30 Thread alan
If you really need to you can use InetAddress but most of the network apis will accept a host name and do the dns lookup for you On Apr 29, 9:13 pm, Breno breno.min...@gmail.com wrote:   Hi,              Is there any API to use dns lookup in android? my app connect to a server, and to final

[android-developers] Re: Date in sms

2009-04-30 Thread swarup
try using android.text.format.DateUtils.formatDateTime(Context context, long millis, int flags) also look at /packages/apps/Mms/src/com/android/mms/ui/ MessageUtils.java : formatTimeStampString() On Apr 30, 1:03 pm, yves...@gmail.com yves...@gmail.com wrote: I am using contentProvider to

[android-developers] Re: Missing avds

2009-04-30 Thread Eric Chen
It is right. if you delete one of sdk or add-on ,you will only find 2 target on the list Best Regards Eric Chen On Thu, Apr 30, 2009 at 2:50 PM, swarup me.s...@gmail.com wrote: Before I had a 1, 2, and 3 that I could see by typing android list avds on the command line but now they are

[android-developers] does media provider have private media file?

2009-04-30 Thread jj
hello folk system media provider is global db, anybody can access file from it and delete too, i want add image in it, with private mode, public static final String insertImage(ContentResolver cr, Bitmap source, String title, String description) is it possible, to have private media file

[android-developers] Video play error

2009-04-30 Thread N V
Hi to all I am playing 2 videos(.mpg4) at time... Some times its works fine, But some times give error like Cannot Play the Video Can any One tell me Why its Happens...? Thank You Nithin N V --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Basic HTTP authentication

2009-04-30 Thread Mark Murphy
Wouter wrote: On Apr 30, 6:25 am, Jon Colverson jjc1...@gmail.com wrote: On Apr 29, 6:06 pm, Wouter wouterg...@gmail.com wrote: I cannot access my page! How can I do this? Can you post your code? -- Jon I have tried to do it with the normal HttpClient and now I have done it with

[android-developers] using internal media provider

2009-04-30 Thread jj
hello folk Is it possible to use internal media provider to store application's media file, if sdcard is not present on device. what is max size the of this internal provider .I mean what max data appl can store in this internal provider. Thank you

[android-developers] Re: GridView and BaseAdapter position bug

2009-04-30 Thread Illidane
mGameModel.getCount() - it's number of Grid elements) On 30 апр, 13:07, Illidane illid...@gmail.com wrote: I did that ( write somewhere in getView ) : if(position == mGameModel.getCount() - 1) (new Timer(false)).schedule(new AnimationTimer(), 10); AnimationTimer()

[android-developers] Cupcake's bug ? Caused by: android.content.res.Resources

2009-04-30 Thread Karima
Hi, My application works fine but in adb logcat, I see a bug in your lib. Is it my fault ? Thanks, bye. I/ActivityManager( 568): Start proc com.orange.bagua for activity com.example/.ExampleActivity: pid=884 uid=10019 gids={} W/WindowManager( 568): Exception when adding starting window

[android-developers] Re: rtsp/http Streaming

2009-04-30 Thread Zhubham
Hi Experts, Can you please give a quick reply to my queries. Thanks for ur time. Regards, Zhubham On Apr 29, 8:30 pm, Zhubham sahilz...@gmail.com wrote: Hi People, I need your help regarding streaming in android. I read some of the previous discussions but I have a few doubts which i

[android-developers] Re: Possible IMF issue for existing applications

2009-04-30 Thread Tom Gibara
The problem is that android:inputType was introduced in 1.5 and is off-limits for application that need to retain compatibility with 1.1 during transition in the existing user base. My workaround was to attach the digits listener in code and not through the XML, like so: mPin.setKeyListener(new

[android-developers] Re: Eclipse + cupcake + other android projects in build path = VerifyError

2009-04-30 Thread Guillaume Perrot
Eric Chen, what is that build.xml file ? And what exaclty did you modify in the .classpath and the manifest files ? Handtwerk, I don't know if the problem also affects the Ant tool chain or just the Eclipse one, someone should test that. (When I say switching to J2SE projects, it only affects the

[android-developers] Emulator Problem

2009-04-30 Thread Mr.No
Hello, im using SDK version 1.5 and testing my app on a real g1(1.5 version), its working. but if im using the emulator the application cause a error. adding a home screen applikation on the emulator works. can somebody help? thx in advance. --~--~-~--~~~---~--~~

[android-developers] G1

2009-04-30 Thread petunio
Hi I am trying to test my app on a G1 (it works on the emulator), but it crashes straight away I am trying to debug it, but all I see on the G1 screen is a message saying Waiting For Debugger, and it takes forever... I also put: android:debuggable=true on the xml, and still not working... any

[android-developers] how to implement tween animation with AppWidget using RemoteViews?

2009-04-30 Thread shleeforandroid
Hi, guys I'm testing AppWidget to play animation on the homescreen. This is my testing source using Service and RemoteViews. I confirmed the modification of the image of layout's ImageView. I thought it possible to implement the animation using RemoteViews or AppWidgetHostView ... But I

[android-developers] Re: GridView and BaseAdapter position bug

2009-04-30 Thread Illidane
I did that ( write somewhere in getView ) : if(position == mGameModel.getCount() - 1) (new Timer(false)).schedule(new AnimationTimer(), 10); AnimationTimer() just run my animation. Without this timer when I was trying to write if(position == mGameModel.getCount() - 1) my

[android-developers] Problem when changing the default colors and drawables of Android

2009-04-30 Thread guna
Hi all, After a very long time i am posting question here... I tried to change the default colors and drawable of android, (eg: Instead of orange color drawable, while on focus, i want to use my own color and in pressing of buttons or lists, i want to show my own color, drawable and style)... I

[android-developers] Re: Maps Intent in CupCake

2009-04-30 Thread agirardello
I have the same problem!!! Any help? On Apr 29, 6:55 pm, khose marcos.hdez@gmail.com wrote: Hello! I'm migrating my app from 1.1 to 1.5. It works right but i get a problem thowing a new intent which used to open a Geo URI in google Maps. I think that it must be related with the fact of

[android-developers] Re: App widgets and remote views

2009-04-30 Thread shleeforandroid
Hi Tom I have some questions about the RemoteViews functionality. I want to know that it is possible to implement animation effect with AppWidget using RemoteViews object. On the Service routine, I've created RemoteViews object but I can't find any method to relate animation. I doubt some way

[android-developers] Re: Tabhost Disappearing List view

2009-04-30 Thread Mark Murphy
cre wrote: Ran hierarchyviewer and all is as expected. The Listview is (visible) when its supposed to be and (gone) when it supposed to be. I thought you said you didn't want it to be gone. What does when it supposed to be mean? The Listviews are setup once in OnCreate and never modified,

[android-developers] Re: SurfaceFlinger and permitions

2009-04-30 Thread Guian
The error is a little bit different since I moved from OpenGL ES 1.1 to OpenGL ES 1.0, but still here on the GPU surface request : E/SurfaceFlinger( 65): HW3D_REVOKE_GPU failed (Invalid argument), mFD=146, base=0x499f8000 but only on the G1, it works fine on the emulator On 27 avr,

[android-developers] Re: Porting 1.0 to 1.5, getSystemService(SENSOR_SERVICE)

2009-04-30 Thread JP
Thanks snctl - I see something different (stuck call), but I suppose it goes back to the same root cause. I guess I'll wait and see how it comes out on the device (I am running with the crowd: G1/carrier OTA's and stay on the regular-user experience side of the fence). As far as the Zilog Z80

[android-developers] Re: Missing avds

2009-04-30 Thread StevePotell
I had created three avds and was testing them out. When I was done I deleted them one by one. When I deleted the third one, all avds were gone including the default ones. I have tried blowing away the sdk and reinstalling. I have uninstalled the Androird plugins in Eclipse. I have blow every

[android-developers] Re: Adding security to application

2009-04-30 Thread qvark
We at BioWallet (www.biowallet.net) are developing a voice authentication mechanism to add it to the iris and handwritten signature recognition currently available. The application will provide security services like authentication, encryption, digital signature, etc. to other Android

[android-developers] Suggestion to Document Eclipse Launcher Differences

2009-04-30 Thread Brian
When an app is launched from Eclipse, the Activity Life Cycle is different than when launched from the Launcher. I'm just throwing out there that it'd be nice if this difference is documented (if it hasn't been already, though I couldn't find it) perhaps right on the Activity Life Cycle page:

[android-developers] How to use AudioRecord and AudioTrack

2009-04-30 Thread Thomson
Hi, I want to use AudioRecord and AudioTrack classes(in SDK 1.5) in my program. Where can I find how to use it. Is there any API demo program for this?. If not it is greatly appreciated if someone can post a sample code in this forum Thanks

[android-developers] Re: Missing avds

2009-04-30 Thread Peli
 When I deleted the third one, all avds were gone including the default ones. There are no default avds. After a clean install, you don't have any. You have 3 default targets. Peli --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-developers] Re: Possible IMF issue for existing applications

2009-04-30 Thread Peli
I achieved backward compatibility with the following attribute: android:numeric=integer The soft keyboard opens just fine, with the digits in the top row. Peli www.openintents.org On Apr 30, 12:47 pm, Tom Gibara m...@tomgibara.com wrote: The problem is that android:inputType was introduced in

[android-developers] Re: Restarting a service.

2009-04-30 Thread Todd Sjolander
As I understand it, if your Service (or Activity, for that matter), dies due to the system reclaiming resources or a crash, the OS will restart it for you automatically. That means if you were to configure it to start upon boot (using android.permission.RECEIVE_BOOT_COMPLETED and implementing a

[android-developers] 'Non-applicative' ANR when performing extensive GUI operations within application

2009-04-30 Thread GiladH
Hi guys, I'm raising this issue again because it has become crucial to the behavior of my app. This weird ANR happens after user performs multiple fast and consecutive GUI operations (monkey test) on the application. I used the term Non- applicative because its stack trace (see below) does no

[android-developers] Optional and Manditory attributes or how say global defaults

2009-04-30 Thread Raja Nagendra Kumar
Hi, From the sdk documentation, is there a way to find out which of the Widget XML attributes are mandatory and which are optional. ScrollView xmlns:android=http://schemas.android.com/apk/res/android; android:id=@+id/add_relations android:layout_width=fill_parent

[android-developers] Preventing ACTION_NEW_OUTGOING_CALL from looping?

2009-04-30 Thread Ray Bellis
I have a BroadcastReceiver catching ACTION_NEW_OUTGOING_CALL events. In the onReceive() method I'm sending the supplied number to a new ListActivity, where the user gets to choose various new destination numbers from a list. When the user selects a new number from the list I'm then starting a

[android-developers] Limits on google map service in MapView?

2009-04-30 Thread gmb
Hi all, I have a question about MapView usage... If my application uses MapView, how many users could I expect to use the same map api key without getting into trouble? 1.000? 5.000? 200.000? The terms of service by Google reserves the right to limit the use, but there is no indication on

[android-developers] Is there a way to define default attributes of a Widget as applicable the application in context

2009-04-30 Thread Raja Nagendra Kumar
Hi, Is there a way define widget default values in the context of an application. Does Theme and Style do the same thing..Any good starters document on Theme support. Are there any good IDE's which help in building themes. Also are there any 3 rd party Themes available for purchase. Regards,

[android-developers] Re: OutOfMemoryError from BitmapFactory

2009-04-30 Thread Ward Willats
Okay, a nice OOM crash during inflation to start the morning. VM won't let us allocate 67600 bytes Caused by: java.lang.OutOfMemoryError: bitmap size exceeds VM budget at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method) at

[android-developers] Re: GridView and BaseAdapter position bug

2009-04-30 Thread Romain Guy
Why don't you just use a LayoutAnimation? That's what it's for. 2009/4/30 Illidane illid...@gmail.com: I did that ( write somewhere in getView ) : if(position == mGameModel.getCount() - 1)                        (new Timer(false)).schedule(new AnimationTimer(), 10); AnimationTimer() just

[android-developers] Re: Tabhost Disappearing List view

2009-04-30 Thread cre
Mark, Gone means that only the selected tab's ListView's visiblility is set to visible. The other 2 are set to gone. When you select a different tab the states change. Since a cannot replicate the error at will I cannot see if visibility is not set properly when the ListView should be visible

[android-developers] Re: MediaPlayer State

2009-04-30 Thread Marco Nelissen
On Wed, Apr 29, 2009 at 11:18 PM, westmeadboy mjc1...@googlemail.comwrote: Do you know why the State is not exposed? If there is no good reason, then what are the steps to request that it is exposed in some future SDK release? One reason not to rely on these, and not to expose them

[android-developers] Re: MediaPlayer State

2009-04-30 Thread westmeadboy
OK, so you said one reason the State is not exposed is because you don't want client code relying on these States because they are inherently transient. However, the alternative is for the client code to keep track of this State, which is no better in this regard. Is there another reason not to

[android-developers] NEW Gesture Recognition Application!

2009-04-30 Thread Henry
http://android-wydiwyg.blogspot.com/ Me and some of my friends have made a gesture recognition application for android. It allows you to customize gestures that will call, text, or email one of your contacts or launch an application. Please check out our blog and demonstration video and

[android-developers] Re: Missing avds

2009-04-30 Thread StevePotell
Peli, That is right, after a clean install I still have no default avds. If I run android list avds the list is empty. Steve On Apr 30, 10:28 am, Peli peli0...@googlemail.com wrote:  When I deleted the third one, all avds were gone including the default ones. There are no default avds.

[android-developers] Re: Tabhost Disappearing List view

2009-04-30 Thread Mark Murphy
How are bugs reported to Google? http://b.android.com. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-developers] Re: Missing avds

2009-04-30 Thread Brian Conrad
When I installed 1.5 pre there were no default avds and there were instructions on how to create them. You most likely have to do that again with the 1.5 release but to date I haven't seen any special instruction for moving from 1.5 pre to 1.5 release despite my question and someone else's

[android-developers] Re: MediaPlayer State

2009-04-30 Thread Marco Nelissen
On Thu, Apr 30, 2009 at 8:55 AM, westmeadboy mjc1...@googlemail.com wrote: OK, so you said one reason the State is not exposed is because you don't want client code relying on these States because they are inherently transient. However, the alternative is for the client code to keep track

[android-developers] Re: MediaPlayer State

2009-04-30 Thread Tom Gibara
I have to agree with this. The MediaPlayer API is extremely hard work for precisely the reason that it expects client-code to maintain state that it can't reasonably be expected to know. At the crux of the problem is the fact that the API is strict about the valid transitions by throwing

[android-developers] Re: MediaPlayer State

2009-04-30 Thread westmeadboy
On Apr 30, 9:29 pm, Marco Nelissen marc...@android.com wrote: No, the fact that a getState() method would be unreliable is reason enough not to have one. Its no less reliable then any other call to any non-synchronized getter method and there are plenty of those in the Android SDK. An

[android-developers] Re: MediaPlayer State

2009-04-30 Thread Marco Nelissen
On Thu, Apr 30, 2009 at 9:33 AM, Tom Gibara m...@tomgibara.com wrote: I have to agree with this. The MediaPlayer API is extremely hard work for precisely the reason that it expects client-code to maintain state that it can't reasonably be expected to know. At the crux of the problem is the

[android-developers] Re: Possible IMF issue for existing applications

2009-04-30 Thread Tom Gibara
Thanks for that tip, the android:numeric attribute must have just passed me by. I much prefer defining input constraints declaratively where I can. Tom. 2009/4/30 Peli peli0...@googlemail.com I achieved backward compatibility with the following attribute: android:numeric=integer The soft

[android-developers] Re: Eclipse + cupcake + other android projects in build path = VerifyError

2009-04-30 Thread JMoger
I've got a working solution to this similar to your hint about J2SE projects. Assuming your lib project is an android project, modify the .project file to remove all Android builders and Android natures. I removed the resourcemanagerbuilder, precompilerbuilder, apkbuilder, and androidnature. My

[android-developers] compiling application with full android source code

2009-04-30 Thread ravi
Hi All, I want to compile my application with full android source code. Its because If I compile it alone then I need different library with it and so .apk size will increase. So please tell me in which make file or configuration file should I do the change. I have placed my application inside

[android-developers] Web Search Problem

2009-04-30 Thread balark
I have a question. Now I want to add a new search toolbar in Gphone. What I want to do is when one input some thing in the EditText and then click the button search, lancer the browser automatically happens and in the browser, the search result shows(use yahoo website:

[android-developers] HTTPS connections through the browser, from within applications

2009-04-30 Thread VK
Hi, I am not sure if this is the right forum to be asking this, maybe somebody can help me out here. Is there any overlap in the way HTTPS connections are made from the browser and from within an application (programmatic). In other words, does the browser internally use the same APIs

[android-developers] Re: Android 1.5 SDK now available

2009-04-30 Thread Roderick Kennedy
I tried to upgrade from the 1.5 preview (which worked fine). The new 0.9 ADT and DDMS installed OK, after uninstalling the old ones. But creating an avd fails with a java.lang.NullPointerException. Any suggestions? --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: Problem with giving the SDK path in eclipse for SDK 1.5 pre in windows

2009-04-30 Thread Pete
Give path as android-sdk-windows-1.5_pre\ Cheers Pete --~--~-~--~~~---~--~~ 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] Weired bug when saving picture to file system!?

2009-04-30 Thread L'\tty
Hi! I am developing a photoshop application for the G1 where you can apply different filters to your pictures stored in the pictures folder. So I use a gallery and a cursor to select the picture I want to manipulate, copy the picture to a bitmap so I can perform some filter operations and

[android-developers] Re: Problem with giving the SDK path in eclipse for SDK 1.5 pre in windows

2009-04-30 Thread Pete
provider path till android-sdk-windows-1.5_pre\ Cheers Pete --~--~-~--~~~---~--~~ 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] Handler posts and threads after onDestroy

2009-04-30 Thread Hermes Pique
Hi. My activity has a thread that performs a long-running operation and then notifies the UI thread via the activity handler. When the activity is destroyed (no matter why), I want the thread and its notification to die as quickly as possible. Based on the Handling Expensive Operations in the

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

2009-04-30 Thread piemm...@googlemail.com
I also have this problem with the emulator. As soon as I try to get the sensor service when my app starts, it's gets stuck at the same place. On Apr 30, 9:16 am, WampBier joerg.rodehue...@googlemail.com wrote: Hi all, I have the same problem. Call to the SENSOR_SERVICE hang in 1.5

[android-developers] Re: Android-SDK-1.5-Win-32: network connection beyond firewall

2009-04-30 Thread Xeros
Hello, Mallikarjuna There's many of solution. (insert http_proxy into settings.db, use - http-proxy option etc...) But change the APN is the best practice I've tested. 1. run emulator (either v1.1 or v1.5 OK) 2. go to Settings - Wireless controls - Mobile networks - Access Point Names 3. Choose

[android-developers] Re: How to set my SMS application is default to read sms?

2009-04-30 Thread Alberto M. Scattolo
Hi, I've the need! Since I need to call my app only for some specific sms content, I was thinking about a Service that reads the sms and then decides to run my app or not but of course I need to disable or block the default notification for these sms that I want to read with my app. Can anybody

[android-developers] Modifying the user interface of Android...possible?

2009-04-30 Thread Matt_mh
Hi, I am looking for some answers from some of the experts here. I have a project in mind that I want to start. It is about using HTC's Touch HD phone as a device in a museum with rich media/video about the art and the artists on it. Besides the videos and animation, I also want to show some

[android-developers] Emulator not coming up.

2009-04-30 Thread vinay
Hi, I have built the Android Master source code on Ubuntu 6.06. And the emulator was working fine with all apps. Suddenly the emulator is not booting up at all and gives the following error. *** buffer overflow detected ***: emulator terminated === Backtrace: =

[android-developers] HELP!! GPS wont stop even after I removed listeners or exited app

2009-04-30 Thread Raj
I am pulling my hair out. Please help My app have 1 view, on chekbox it starts gps and on onother check it stops gps to get current location. I have private listener class to listen to location changes. onLocationUpdate it updates couple of static variables. I am explicitly removing the

[android-developers] Re: Scroller widget in a WebView

2009-04-30 Thread ironox
i have the same quesiton,help needed:) thanks; On 3月10日, 上午4时59分, oyobyaw oyob...@gmail.com wrote: Hello, I am trying to implement a custom WebView and override OnTouchEvent() so that a tap near the bottom of the screen would result in the view smoothly scrolling down one 'page' (and a tap

[android-developers] HELP!! GPS wont stop even after I removed listeners or exited app

2009-04-30 Thread Raj
I am pulling my hair out. Please help My app have 1 view, on chekbox it starts gps and on onother check it stops gps to get current location. I have private listener class to listen to location changes. onLocationUpdate it updates couple of static variables. I am explicitly removing the

[android-developers] Paid Android Market - when?

2009-04-30 Thread Donald_W
Hi, When paid Android Market will be available for developers from other countries than US and UK? It's weird that if I come from Poland then currently I'm not able to sell my apps - please at least tell me some roughly estimated date. BR, Tomek

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

2009-04-30 Thread jin.min
hello: Rename package (you cannot replace system app) or create platform image without modified application or i.C:\android-sdk-windows-1.5_r1\toolsadb.exe remount remount succeeded ii.C:\android-sdk-windows-1.5_r1\toolsadb shell iii.# rm system/app/Camera.apk rm system/app/Camera.apk good

[android-developers] Weird bug when saving picture to file system!?

2009-04-30 Thread L'\tty
I am developing a photoshop application for the G1 where you can apply different filters to your pictures stored in the pictures folder. So I use a gallery and a cursor to select the picture I want to manipulate, copy the picture to a bitmap so I can perform some filter operations and afterwards

[android-developers] Android's HttpClient problem with authentication

2009-04-30 Thread Tien Thanh
Recently I am trying to write an Android application which can login to del.icio.us and use provided api by them. I found the following strange problem: + I use the following code which is very common : CredentialsProvider credentialsProvider = httpClient

[android-developers] New to Android

2009-04-30 Thread sreemon
Hello Friends, I am very new to Android. I am having a problem in creating avd. Please see the execption occured D:\Stabilix\Personal\Android\android-sdk-windows-1.5_r1\toolsandroid Exception in thread main java.lang.UnsupportedClassVersionError: com/ android/sdkmanager/Main (Unsupported

[android-developers] Searching maps

2009-04-30 Thread c.a.jeffer...@googlemail.com
Hi, I am writing an application (on v1.0) that needs to search Google maps for the nearest facility to my current location e.g. what are the nearest bike shops. Can anyone give advice on how to do this? I looked at googlenav.Search but this has been deprecated for some reason. I did look at

[android-developers] Problem with extends TabActivity

2009-04-30 Thread rico_1
Hello! I have problem with extends TabActivity. My code is: import android.widget.TabHost; import android.content.Intent; import android.app.TabActivity; import android.app.Activity; import android.os.Bundle; public class MyProgram extends TabActivity { /** Called when the activity is

[android-developers] Re: Continuing topic Bind to a remote service

2009-04-30 Thread Rashmi GP
I am new to android. I am doing something very similar (calling in to a service from an application which is in a different package altogether) and I am running into this issue. What do you mean by I was able to modify the framework by adding a new interface? Can you please elaborate?

[android-developers] How to use a local file which is a database

2009-04-30 Thread Robert
Hi all, I'm a greenhand on android. I analysis some data into a database, and I need to use it in my application. I can't create the database in my applicaiton because it will cost a long time. so I need to push it in. I heard that the database can be put in to asset folder, but it doesn't

[android-developers] Re: MediaPlayer State

2009-04-30 Thread westmeadboy
On Apr 30, 9:48 pm, Marco Nelissen marc...@android.com wrote: The problem with that is that the media engine doesn't run in your main thread. It runs in multiple other threads, in a different process. Synchronizing the two such that your app has completely knowledge and control over the

[android-developers] Re: MediaPlayer State

2009-04-30 Thread Marco Nelissen
On Thu, Apr 30, 2009 at 9:46 AM, westmeadboy mjc1...@googlemail.com wrote: On Apr 30, 9:29 pm, Marco Nelissen marc...@android.com wrote: No, the fact that a getState() method would be unreliable is reason enough not to have one. Its no less reliable then any other call to any

[android-developers] Re: MediaPlayer State

2009-04-30 Thread Marco Nelissen
On Thu, Apr 30, 2009 at 10:06 AM, westmeadboy mjc1...@googlemail.comwrote: On Apr 30, 9:48 pm, Marco Nelissen marc...@android.com wrote: The problem with that is that the media engine doesn't run in your main thread. It runs in multiple other threads, in a different process. Synchronizing

[android-developers] Re: Trouble migrating apps to 1.5

2009-04-30 Thread Teo
Apparently the emulator can't attach itself to the adb tool too... On Apr 30, 4:06 pm, Teo teomina...@gmail.com wrote: Hi, is anyone else having trouble with the new app running 'system'? My emulator just ignores them, can't launch any app. Changed the project build target to 1.5 and made

[android-developers] Re: MediaPlayer State

2009-04-30 Thread westmeadboy
On Apr 30, 10:10 pm, Marco Nelissen marc...@android.com wrote: It might make it easier for you to retrieve an unreliable bit of information, but you would still have to deal with all the same exceptions and other errors that you can run in to now, precisely because the state information is

[android-developers] Re: MediaPlayer State

2009-04-30 Thread Tom Gibara
That's only a cosmetic change though. Instead of calling, say, prepare() and it throwing an exception, you now have it return some token that tells you whether or not it succeeded. That's only a cosmetic change if you think that throwing an exception is a first-class way of returning state;

[android-developers] Re: Eclipse + cupcake + other android projects in build path = VerifyError

2009-04-30 Thread Guillaume Perrot
This sounds like a great workaround, so I'll try that next week. Thanks for the tip. 2009/4/30 JMoger james.mo...@gmail.com I've got a working solution to this similar to your hint about J2SE projects. Assuming your lib project is an android project, modify the .project file to remove all

[android-developers] design Q: persisting activity state

2009-04-30 Thread Eric Hackborn EH
I have a simple app that has three windows, each with a corresponding activity. It's very common to switch back and forth between activities, but of course state gets wiped out of the top-most activity when the user has finished with it, and I want that state to persist. So I have two

[android-developers] Re: OutOfMemoryError from BitmapFactory

2009-04-30 Thread fadden
On Apr 30, 8:23 am, Ward Willats goo...@wardco.com wrote: But lordy, how in the heck does that thing jump from 1 MB to 11 MB and back down again?? I surely don't have anything anywhere near that size that I am aware of! It's possible that it didn't actually jump back down. The event log

[android-developers] Re: MediaPlayer State

2009-04-30 Thread Marco Nelissen
On Thu, Apr 30, 2009 at 10:50 AM, Tom Gibara m...@tomgibara.com wrote: That's only a cosmetic change though. Instead of calling, say, prepare() and it throwing an exception, you now have it return some token that tells you whether or not it succeeded. That's only a cosmetic change if you

[android-developers] Re: App widgets and remote views

2009-04-30 Thread Tom Gibara
There's no way of applying an animation to the views within a remote view because you're constrained to what you can declare in the layout XML and the actions RemoteViews provides for. Neither of these provide for setting animations. AppWidgetHostView, RemoteViews's apply() , reapply() These

[android-developers] Re: Trouble migrating apps to 1.5

2009-04-30 Thread havexz
One small question which platform you running on windows/linux? And by any chance there are two instances of the emulator running? One is visible and other is running in the background. That can also cause this issue. On Apr 30, 12:34 pm, Teo teomina...@gmail.com wrote: Apparently the emulator

[android-developers] Re: Trouble migrating apps to 1.5

2009-04-30 Thread Teo
Hi, thanks for the response - fixed it in the meanwhile. Apparently it was something of this sort, i just tried adb kill-server and everything worked like a charm :) On Thu, Apr 30, 2009 at 9:26 PM, havexz bali.param...@gmail.com wrote: One small question which platform you running on

  1   2   >