[android-developers] minSdkVersion and real devices

2009-06-21 Thread BlackLight
Hello. I have a game that uses simple gui. I can lunch it on any emulator and on my device. I'm setting minSdkVersion in xml to 1. If I will publish my paid app on market, will devices with ver1.5 be able to download and lunch my app? Emulators work fine, game doesn't use any system features.

[android-developers] How to listen for 'Enter Key is press' Event

2009-06-21 Thread n179911
Hi, I have a view and setOnClickListener to be my code. My code get invoked when I move my mouse to the view and click. But how what do i need to register so that it will invoke my code when I navigate the focus (using up/down keys) and it has orange foreground and press ENTER key? Thank you.

[android-developers] Sad day with SQLiteDatabase.rawQuery

2009-06-21 Thread Hamy
Could someone please help me spot the bug here? Mainly, I can never seem to find a value once it has been stored in the database (I am 100% positive that the value is there). I can store it the first time, but the cursor in my findVenue() method (see below) never has any data. :-( If I do not

[android-developers] Re: Any way to get current time or time zone from Address or long/lat pair?

2009-06-21 Thread Maps.Huge.Info (Maps API Guru)
I believe you can get time zone info using the coordinate from geonames.org. Check their site to be sure. -John Coryat --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: minSdkVersion and real devices

2009-06-21 Thread Raphael
On Sat, Jun 20, 2009 at 11:12 PM, BlackLightblacklight1...@gmail.com wrote: Hello. I have a game that uses simple gui. I can lunch it on any emulator and on my device. I'm setting minSdkVersion in xml to 1. If I will publish my paid app on market, will devices with ver1.5 be able to

[android-developers] Re: minSdkVersion and real devices

2009-06-21 Thread BlackLight
Thanks. I'm using 1.5_r2. It allows to select only between 1.1 and 1.5. Before 1.5_r2 I used 1.0_r1 (updated several weeks ago) and I have phone with os 1.0. Yes they will. But if you put version=1 then please be sure to use the SDK for 1.0. In other words: please put minSdkVersion to the

[android-developers] Re: CameraPreview: Out of memory

2009-06-21 Thread Shirish
This is because of its trying to attach the camera client with camera service with out deatching the previous one. If you know the scenario when this exception occur then I can help you more. Thanks, -Shirish On Jun 17, 6:23 pm, Boshik bos...@gmail.com wrote: Hi, After a few weeks on market

[android-developers] Re: A2DP bluetooth e riproduzione a scatti (music cut)

2009-06-21 Thread azanutta
what's that link? the bug reporting page of android? i've registered this new bug long ago, but noone seems interested in fixing it... (-.-;) On 15 Giu, 00:03, Marco Nelissen marc...@android.com wrote: On Sat, Jun 13, 2009 at 6:35 AM, azanuttaazanu...@gmail.com wrote:  anA2DPbug of managing

[android-developers] Re: CameraPreview: Out of memory

2009-06-21 Thread Shirish
If you put the system.gc() every place then your system performance will degrade. On Jun 17, 8:32 pm, Sahil Arora sahilz...@gmail.com wrote: Hi, I had an application where i would navigate from step1: camera preview step2: to an activity step3: and again back to camera preview. on

[android-developers] Re: Permissions for Android Dev Phone 1

2009-06-21 Thread Delta Foxtrot
2009/6/20 Andrew andrewr...@gmail.com As far as I know the ADP and the retail G1/G2/... behave the same way if there is anything in the manifest which is a security risk or else the application will just install without any questions. Even if an app doesn't ask for any permissions a dialog

[android-developers] Re: Application (.apk) Size

2009-06-21 Thread Delta Foxtrot
2009/6/20 Streets Of Boston flyingdutc...@gmail.com It wil be smaller than the heap size limit per apps Not true. :=) I could imagine creating an app of 50MBytes. 2MBytes worth of code and 48MBytes worth of resources (images/assets/etc.). And if these resources are not loaded all at once, it

[android-developers] Re: new dev device

2009-06-21 Thread Delta Foxtrot
2009/6/20 Andrei gml...@gmail.com When can we expect new unlocked dev device for developers? Anybody? May be Magic The Roger's magic can be rooted and unlocked etc :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: Is running applications from shell disabled?

2009-06-21 Thread Delta Foxtrot
2009/6/20 Lewis Z. lzh...@gmail.com Yes, I did. Make sure you aren't trying to run it on a partition that is flagged not to execute. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: lock data usage to email

2009-06-21 Thread Delta Foxtrot
2009/6/20 canistel canis...@gmail.com Is it possible to lock down the phone so that the only data usage is email? I don't even mind if the email has to be manually send / received; due to the small amount of data I have on my plan, I just don't ever want to use edge / 3g for anything other

[android-developers] Live traffic events as icons on a map

2009-06-21 Thread Lex
Hi everyone, I am developing a prototype application which features basic navigation (updating of own location on the map) and displays live traffic events as traffic sign icons on the map. The traffic events will be fetched from a server over a UDP connection. (I haven't implemented this as I

[android-developers] Change SeekBar Thumb image after onCreate

2009-06-21 Thread Protocol-X
I am having some difficulty changing the image for the SeekBar Thumb after it has been created. I want the SeekBar to have a different Thumb image at 25, 50, 75, but when i try to change it via setThumb() it disappears. I tried to Override the drawableStateChanged verifyDrawable but run into

[android-developers] Re: Help: canvas.drawLine(p1.x, p1.y, p2.x, p2.y, paint);

2009-06-21 Thread mnish
I have initialized paint now. The nullpointerexception is solved by this. But i still can't see any line on the map. As you said I have to attach the canvas to the view or so. I have read the links you supplied. But I dont understand it. I need to use the MapView and draw lines on it. How can i

[android-developers] A simple application which sends location to server.

2009-06-21 Thread c6bro
Hi ALL, I’m developing a Fleet Management application in PHP which tracks location of all cars and shows up in a web browser. I have also developed a little app for the android which will send the location / time to the server when I press the button ??? I need to be able to do the following

[android-developers] Re: Retrieving Records from a created Database and put it in a SPINNER

2009-06-21 Thread Georgy
Thanks Hamy,, but when I try to chmod the device's database, I am getting operation not permitted. I tried several ways, I am having permission problems. anything I could do from the device itself? On Jun 20, 12:18 pm, Hamy hamilt...@gmail.com wrote: Typically, to get a database on your

[android-developers] Re: Sad day with SQLiteDatabase.rawQuery

2009-06-21 Thread Mark Murphy
Hamy wrote: Could someone please help me spot the bug here? Mainly, I can never seem to find a value once it has been stored in the database (I am 100% positive that the value is there). I can store it the first time, but the cursor in my findVenue() method (see below) never has any data.

[android-developers] How to develop a tiny background application with no UI

2009-06-21 Thread GAYET Thierry
Hi, i am asking about the development of an Android application that must work in backgroup (so no user interface). Usually my application extend to the activity class that manage all the application process. Maybe i can avoid any setContentView() that won't display anything but i don't want

[android-developers] How to customize the setting menu and my own items

2009-06-21 Thread GAYET Thierry
Hi, for personal purpose i am looking for the way to customize tht setting menu by adding my own items on it ? How to do it ? Is it possible without changing any security options ? Cordialement Thierry GAYET NextInnovation.org +33(0)663.849.589

[android-developers] Change drawing order of children

2009-06-21 Thread Deren
Why isn't is possible to manually set the drawing order of views? It seems like a pretty big restriction. Is there any thought behind this or is it just not implemented yet? (to set the FLAG_USE_CHILD_DRAWING_ORDER). Not being able to set the drawing order is too bad when it comes to animations

[android-developers] listview click problem

2009-06-21 Thread tstanly
hi all, i have a listview as bellow, --- Google --- Yahoo! -- if i want to go to the Google, just click the Google of the list, but it just active when i click on the word Google because i wish can click anywhere if it's click on the same raw of

[android-developers] Re: A simple application which sends location to server.

2009-06-21 Thread Delta Foxtrot
2009/6/21 c6bro ch...@upload.co.uk Website URL field: e.g http://www..co.uk/logtracking.php Frequency field:e.g 6 (Seconds) Start/Stop button Any particular reason for 6s intervals? The app will be able to be closed and run in the background until you click the stop button. You

[android-developers] Re: How to develop a tiny background application with no UI

2009-06-21 Thread Delta Foxtrot
2009/6/21 GAYET Thierry thierry_ga...@yahoo.fr Hi, i am asking about the development of an Android application that must work in backgroup (so no user interface). Usually my application extend to the activity class that manage all the application process. You don't want to use Activity,

[android-developers] Re: Catching AudioRecord exception when not processing fast enough

2009-06-21 Thread Keith Wiley
bump On Jun 19, 10:08 am, Keith Wiley kbwi...@gmail.com wrote: In the Eclipse log I can clearly see a warning pop up (something about buffer overflow) every time I don't read from the AudioRecord buffer fast enough and consequently miss a chunk of audio samples.  Is there any way I can

[android-developers] Re: Android 1.5 SDK, Release 2 -- TelephonyManager

2009-06-21 Thread alexdonnini
Hi Liam, You need to have Android libraries in your project's Libraries build path (this means that you need to have the Android project source accessible from your IDE (e.g. Eclipse), and then make sure that the Android libraries precede the Android SDK library in the build order. I hope this

[android-developers] How to add dependencies with Android packet

2009-06-21 Thread GAYET Thierry
Hi, if i have well remember among my previous reading, one package may contain only one application. I would like to know if it is possible to add dependencies between package. I would like to make a package that include an application but this package use a service that i have written

[android-developers] sensor event and augmented reality

2009-06-21 Thread RS
Could somebody (Mathias Agopian alias pixelflinger perhaps) please tell me how to use information from sensor for augmented reality stuff. Sorry am not much into graphics stuff but I did try my part to figure stuff out with help of documentation. Didn't miss the note: Note: It is preferable to

[android-developers] Re: ExifInterface and libexif

2009-06-21 Thread Augustin.CL
Does anyone have any ideas? On Jun 19, 8:24 pm, Augustin.CL iamaugus...@gmail.com wrote: Dear All,         Currently, I want to fix the camera apk to make the image attached the GPS information. But I find there are some problems.         1. First, we can't change the exif information.

[android-developers] Re: CameraPreview: Out of memory

2009-06-21 Thread Timothy F
Are you calling the release method on the camera? On Jun 21, 5:10 am, Shirish ashir...@gmail.com wrote: If you put the system.gc() every place then your system performance will degrade. On Jun 17, 8:32 pm, Sahil Arora sahilz...@gmail.com wrote: Hi, I had an application where i would

[android-developers] Re: Help: canvas.drawLine(p1.x, p1.y, p2.x, p2.y, paint);

2009-06-21 Thread Marco Nelissen
You can't attach your own Canvas to the view, you need to draw in to the view's existing canvas. You'd normally do that by deriving from the class and implementing onDraw().You could also try drawing in to a transparent view on top of the MapView, though I'm not sure how that would work with touch

[android-developers] Re: How to add dependencies with Android packet

2009-06-21 Thread Mark Murphy
GAYET Thierry wrote: Hi, if i have well remember among my previous reading, one package may contain only one application. I would like to know if it is possible to add dependencies between package. Oh, how I wish we could. I can display a message to the user that inform to install the

[android-developers] Populating a Spinner from another Spinner Dynamically

2009-06-21 Thread Georgy
Hello, I am trying to populate a spinner depending on another spinner's selected item, my code is the following: @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); setContentView(R.layout.main); final Dbadapter db = new Dbadapter(this);

[android-developers] Re: Copy SQL lite Database to Device (and not emulator)

2009-06-21 Thread Georgy
my only way to do it was to dump the database and get the code and insert it in the database to build it on the fly just like Burton Miller suggested. I think this is not the best approach and could slow things down tremendously On Jun 20, 4:51 pm, burton miller burton.mil...@gmail.com wrote:

[android-developers] running an native app as root

2009-06-21 Thread Simon
I was trying to run an added native application inside the framework, which should be executed by a JNI impl which I included to libandroid_runtime. So far so bad. I used servial approches to run a command: - ret=execl(myapp, myapp , NULL); - property_set(ctl.start,myapp) I copied myapp to

[android-developers] How to trap search button in emulator?

2009-06-21 Thread Casper Bang
In creating a HTC Magic skin for the Android emulator, I am unable to map the search button in a layout file. It does not appear to be possible, the KeyInfo constants inside skin_file.c contains all other control buttons such as home, back and menu (soft-left). I'm tempted to file a bug report,

[android-developers] Re: Emulator Camera Issues in 1.5

2009-06-21 Thread Scott
I too had this problem, but I found a work around by toggling off the Orientation setting under Sound display. My assumption was that the SensorManager is conflicting with the Camera's desire to be in Landscape mode, just a guess, but the with that setting off I was able to test my apps using

[android-developers] Re: Attempt to include a core VM class in something other...

2009-06-21 Thread SPD
newbie here, but I'm getting this error and I still don't have a solution. This snippy little note from Google is NOT useful. Especially since eclipse (the standard, advertised, google method for developing apps) does not allow you to add --core-library to the build line. Anyways, enough

[android-developers] No ringtones in the emulator?

2009-06-21 Thread Lukas Zapletal
Hello, I want to test ringtones of my application if it works in the emulator but it seems the emulator has no ringtones provided. I am unable to select one - the list in the setting is empty. Whats wrong? --~--~-~--~~~---~--~~ You received this message because

[android-developers] Earn Money With Cashmails Without Invest

2009-06-21 Thread Ashraful Islam
Hello, I want to tell you about a great site I found. They pay you to read e-mail, visit web sites and much more. It's free to join and easy to sign up! CLICK THIS LINK TO VISIT: *http://cashmails.org/pages/index.php?refid=ashrafulislam * Thank you.

[android-developers] Re: fullscreen doesn't hide Status Bar in Android SDK 1.5 R2

2009-06-21 Thread vinc...@eklaireur.com
Ok Guys, I did have the same issue i found out my mistake, you have to define the thme within the activity tag android:theme=@android:style/Theme.NoTitleBar.Fullscreen V On 11 juin, 14:00, Mark Murphy mmur...@commonsware.com wrote: Shyam Dasgupta wrote: can somebody atleast confirm

[android-developers] Re: How do you handle orientation change for a Cupcake widget?

2009-06-21 Thread 2hill
I believe you add a folder into your res called layout-land and include your layout as you wish the landscape to be. hope that helps! On Jun 19, 9:35 am, Blake B. bbuckle...@yahoo.com wrote: Hi,     Maybe I'm missing something obvious, but how do you handle orientation changes for a Cupcake

[android-developers] webkit.plugin samples

2009-06-21 Thread amir
hello i am tring to develop a plugin for the android browser. can any one provide a link for examples about that. Thank you very much --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Flow or Multiline layout?

2009-06-21 Thread Sebastian
Is there a way to do a linear layout with multiple lines? I want to lay out a variable set of buttons with variable labels, so I'd like to use a layout that works as a simple horizontal LinearLayout, but with multiple lines, so the buttons spill into a second (or third) line if they don't fit on

[android-developers] SOAP envelop not being created for response from seam server

2009-06-21 Thread Charlie
Hi Guys, I am trying to connect to webservices in jboss(using seam) from a google android phone. So far, I implemented all the necessary beans and android classes. Unfortunately, I am getting an exception on the server side after the request is dispatched from the android emulator,

[android-developers] Multi View

2009-06-21 Thread Hendrawan
Please some one can help me, where i can get example code for multi view programming in android. 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] Trying to receive the ACTION_PROVIDER_CHANGED intent from the gmail app

2009-06-21 Thread Wiebbe
I have been trying to catch the ACTION_PROVIDER_CHANGED intent to use and see how many unread emails there are still left. According to the documentation you can receive the action to these data. Documentation: Broadcast Action: Some content providers have parts of their namespace where they

[android-developers] Re: no classfiles specified and Conversion to Dalvik format failed with error 1

2009-06-21 Thread Jiri Danek
Check this: http://www.anddev.org/viewtopic.php?p=22705 You have to simply reload the project in Eclipse. Click on the project in the Package explorer on the left and press F5(reload) On 15 čvn, 02:12, xerberus bastian.seiff...@gmail.com wrote: Hi Guys, I have a working(Released) project

[android-developers] Parsing SOAP request

2009-06-21 Thread fifi
I would like to parse a soap envelope using KSOAP2 how can Istart I am new and I tried the following code but i couldnot. Also I would like to display the parsed elements on the screen?Thanks package parsingsteps; import java.io.*; import org.ksoap2.SoapEnvelope; import

[android-developers] Parsing SOAP Envelope

2009-06-21 Thread feda al-shahwan
I created small program to parse envelope but I got the following error Error in parsing: name expected (position:START_TAG SOAP-ENV:Envelope xmlns:SOAP-ENV='http://www.w3.org/2001/12/soap- envelope' xmlns:xsi=' http://www.w3.org/2001/XMLSchema-instance' xmlns:xsd='

[android-developers] Android XML-RPC to JBoss Seam Enterprise Application....cannot Create SOAP Envelope Exception

2009-06-21 Thread Charlie
filteHi Guys, I am trying to connect to webservices in jboss(using seam) from a google android phone. So far, I implemented all the necessary beans and android classes. Unfortunately, I am getting an exception on the server side after the request is dispatched from the android emulator,

[android-developers] Re: How to listen for 'Enter Key is press' Event

2009-06-21 Thread 2hill
To get the orange foreground you need to describe the in the xml as focusable. Then add the corresponding focused drawable. when the user runs over it the resources will pull the focused drawable. Hope that helps! On Jun 21, 1:25 am, n179911 n179...@gmail.com wrote: Hi, I have a view and

[android-developers] Re: NP API Plugin

2009-06-21 Thread amir
Did you find a solution for this problem? (adding a plugin to the browser). can any one provide some links for examples on how to build a plugin in android? how to run it with the webkit? On 10 יוני, 14:30, MIND GAME lovekhanna04...@gmail.com wrote: please suggest way to install npapipluginin

[android-developers] Re: Exporting android project as a shared jarfile under Eclipse

2009-06-21 Thread Paul Turchenko
Hi there. I have exactly the same problem. I've tried to ask silimar question here about a month ago, but noone managed to give me a proper answer. It seems like google restricts programmers from creating their own android libraries. On Jun 20, 10:19 am, nick.titatingmembr...@googlemail.com

[android-developers] Re: Copy SQL lite Database to Device (and not emulator)

2009-06-21 Thread Georgy
How can I dump my database to make it build on the fly? BEGIN TRANSACTION; CREATE TABLE android_metadata (locale TEXT); INSERT INTO android_metadata VALUES('en_US'); CREATE TABLE 'olddominionuniversity' (_id integer primary key autoincrement, university text not null, building text not null,

[android-developers] Re: Capture the Android's browser HTTP petitions

2009-06-21 Thread psaltamontes
@Alexey : What's the meaning of git? @ Hamy : ¡ I needed this line :) ! - resp.getEntity().writeTo(bao); I'm sure that the code that you are put help me a lot. @ Raphael : I used Google before put my question here. If you search this --

[android-developers] Re: How to listen for 'Enter Key is press' Event

2009-06-21 Thread n179911
Thanks. I would like to know how to listen for 'Enter Pressed' Key event for my view? On Sun, Jun 21, 2009 at 6:09 AM, 2hilldead2h...@gmail.com wrote: To get the orange foreground you need to describe the in the xml as focusable. Then add the corresponding focused drawable. when the user

[android-developers] AlertDialog not showing with keyboard closed, sensor on, and in landscape mode

2009-06-21 Thread Ty
Hi, I am having an issue with an alert dialog that does not show when I am in landscape mode with the physical keyboard closed. My activity is set to sensor and when I move it to landscape it works great except for when I try to show the dialog. I have walked through all of this and it does the

[android-developers] Re: What SensorManager.getOrientation returns?

2009-06-21 Thread yoshitaka tokusho
Thank you for replying, Serge. I have known exactly what api document says about this method. But after some times of trial to figure out what it means, finally I realized values[] is in radian and this is everything what I needed to know... On Jun 15, 6:01 pm, sm1 sergemas...@gmail.com wrote:

[android-developers] Re: How to listen for 'Enter Key is press' Event

2009-06-21 Thread Ty
Pretty sure you need to override the onKeyDown method Example: @Override public boolean onKeyDown(int keyCode, KeyEvent event) { switch (keyCode) { case KeyEvent.KEYCODE_DEL: case KeyEvent.KEYCODE_ENTER: // do some stuff

[android-developers] Re: Android Support

2009-06-21 Thread Mr.No
thx :) On 19 Jun., 17:12, Mark Murphy mmur...@commonsware.com wrote: how do i get Support from the Android-Team? As an ordinary person, ask questions on these Android Google Groups. The core Android team, and other people in the Android community, try to answer many of them. If you are

[android-developers] Re: Flow or Multiline layout?

2009-06-21 Thread Romain Guy
There's no such layout by default but it's pretty easy to write one. On Sat, Jun 20, 2009 at 4:41 PM, Sebastiansdelm...@gmail.com wrote: Is there a way to do a linear layout with multiple lines? I want to lay out a variable set of buttons with variable labels, so I'd like to use a layout

[android-developers] Re: Exporting android project as a shared jarfile under Eclipse

2009-06-21 Thread Streets Of Boston
You can't create shared libraries like that. You can link your Android's Eclipse project up to 'regular' JARs (Project build path). When deploying, the classes in these jars will be 'dalviked' and these classes will be deployed with your app on the phone. You can link your Android's Eclipse

[android-developers] Intent.FLAG_ACTIVITY_NEW_TASK

2009-06-21 Thread n179911
Hi, What is the meaning of 'addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);' in the following code? Intent intent = new Intent(Intent.ACTION_SENDTO, Uri.parse(url)); intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); context.startActivity(intent); I don't see any difference with or without that line of

[android-developers] ANR related to KeyDispatchingTimedOut while running monkey

2009-06-21 Thread sujoydas1...@gmail.com
Hi All, Can anybody explain to me why do we get ANR with Annotation: KeyDispatchingTimedOut. From the logcat, I can deduce that the WindowsManager is sending the keyevent to a particular view. And I am handling all the potential resource intensive jobs in a child thread. This ANR occurs while I

[android-developers] Re: minSdkVersion and real devices

2009-06-21 Thread Raphael
On Sun, Jun 21, 2009 at 1:51 AM, BlackLightblacklight1...@gmail.com wrote: Thanks. I'm using 1.5_r2. It allows to select only between 1.1 and 1.5. Before 1.5_r2 I used 1.0_r1 (updated several weeks ago) and I have phone with os 1.0. Yes they will. But if you put version=1 then please be

[android-developers] Does anyone make video recording work at Android 1.5?

2009-06-21 Thread cindy
do you have any simple sample code for video recording? Thanks! Cindy --~--~-~--~~~---~--~~ 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] sqlite: no such column name SQLITEexception

2009-06-21 Thread Logik
I went through the notepad tutorial to help understand sqlite a bit better So now I am trying to utilize what has allready been written for this, in my own database I will actually post my code so someone may be able to pick out what is wrong This is the error i get: 06-21 19:57:35.511:

[android-developers] Re: sqlite: no such column name SQLITEexception

2009-06-21 Thread Marco Nelissen
As the error message says: you are trying to get a column called 'name', but there is no such column in your database. On Sun, Jun 21, 2009 at 6:07 PM, Logik yaros...@gmail.com wrote: I went through the notepad tutorial to help understand sqlite a bit better So now I am trying to utilize

[android-developers] Re: Intent.FLAG_ACTIVITY_NEW_TASK

2009-06-21 Thread ylx_presid...@hotmail.com
We can see the use of Intent.FLAG_ACTIVITY_NEW_TASK in intent.java file: If set, this activity will become the start of a new task on this * history stack. A task (from the activity that started it to the * next task activity) defines an atomic group of activities that the * user

[android-developers] HTC Magic DPAD_CENTER is not working

2009-06-21 Thread shotwave
Hi, I have got a bunch of questions why image capture does not work with the trackball click on HTC Magic. Here is the code, which works on G1 phone private FocusCameraListener1 focusCameraListener1 = new FocusCameraListener1(); private FocusCameraListener2 focusCameraListener2 = new

[android-developers] Re: No ringtones in the emulator?

2009-06-21 Thread ylx_presid...@hotmail.com
Start your emulator with -sdcard para, and copy one music to your vitual sd card. In music, open the music, and set it as ringtone. This way can add one music to your phone ringtone list. But I never try add one to Notification Ringtone list. thanks! On 6月20日, 上午5时52分, Lukas Zapletal

[android-developers] Re: override AnalogClock

2009-06-21 Thread sunita
Then how to add the second hand to the existing analog clock??? Also I tried with my drawables but the alignments and position of the minute and hour hand are not proper. On Jun 21, 10:18 am, Jeff Sharkey jshar...@android.com wrote: Is there any way or workaround so that we can add our

[android-developers] Re: HTC Magic DPAD_CENTER is not working

2009-06-21 Thread Marco Nelissen
You didn't say what actually goes wrong. Are you not getting the DPAD_CENTER event at all, is it not repeating the same as on a G1, or something else? One thing that looks a little suspicious is that in onKeyDown when it receives DPAD_CENTER, you set 'inited' to false, which would then prevent you

[android-developers] Wi Fi connection

2009-06-21 Thread kalyan simhan
hi all.. can anyone please tell me as how to connect to a secured wireless network programmatically.. im able to detect and list the available networks but how do i connect to it giving a password.. please help!! Thanks in advance! --~--~-~--~~~---~--~~ You

[android-developers] Re: Parsing SOAP request

2009-06-21 Thread Desu Vinod Kumar
Hi everyone i am looking for soap web services in android. my hand also will help to u actually i need to connect the PHP soap web services in android i need to get the response from the PHP server and should return it in xml format. can any body give me suggestions regarding this i have

[android-developers] Re: Wi Fi connection

2009-06-21 Thread Saurav Mukherjee
try this: Intent i = new Intent(Settings.ACTION_WIFI_SETTINGS); startActivity(i); On Mon, Jun 22, 2009 at 10:39 AM, kalyan simhan kalyansim...@gmail.comwrote: hi all.. can anyone please tell me as how to connect to a secured wireless network programmatically.. im able to detect and

[android-developers] Re: Intent.FLAG_ACTIVITY_NEW_TASK

2009-06-21 Thread Dianne Hackborn
Read here: http://developer.android.com/guide/topics/fundamentals.html#acttask (Actually if you haven't, you should read that entire doc.) On Sun, Jun 21, 2009 at 3:50 PM, n179911 n179...@gmail.com wrote: Hi, What is the meaning of 'addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);' in the

[android-developers] Re: ANR related to KeyDispatchingTimedOut while running monkey

2009-06-21 Thread Dianne Hackborn
You can look at /data/anr/traces.txt to find the stack crawl of you main thread when the ANR happened. On Sun, Jun 21, 2009 at 4:26 PM, sujoydas1...@gmail.com sujoydas1...@gmail.com wrote: Hi All, Can anybody explain to me why exactly do we get ANR with Annotation: KeyDispatchingTimedOut.

[android-developers] Re: running an native app as root

2009-06-21 Thread Dianne Hackborn
You should post such questions on android-porting; this group is for programming with the SDK, (That said, if you are really trying to run as root, it isn't easy -- the system intentionally runs very few things as root. The easiest thing to do is implement your code as a shell comment, and run