[android-developers] Re: How to parse html with saxparser (or other solution)

2010-01-04 Thread tlegras
Now nekohtml is working very fine for me so i probably won't change :) But thank you for the link, it is a goldmine :) I found the documentation miss such snippets. On 2 jan, 23:03, jwei512 jwei...@gmail.com wrote: Another one you could try is HTML Cleaner (http://

[android-developers] Re: Conventions about using SD card

2010-01-04 Thread Andriy Zakharchuk
Thank you! I didn't know about two cards in Samsung. -- Best regards, Andriy. -- 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 from this group, send

[android-developers] Re: moved Code: managedQuery() / getContentResolver() NullPointerException

2010-01-04 Thread Flo
Oh, now I see what you meant by passing the parent activity.. no idea, why I didn't understand it first, guess I shouldn't program more than 6h without a break :D However, if anyone comes across the same problem as I did, just pass the activity to the class constructor like this: public class

[android-developers] Regarding port re-directions on the android emulator.

2010-01-04 Thread Android Development
Hello devs, I had the following query: The IP address of my development machine is 192.168.128.10. This machine is connected to a LAN. I wish to redirect all incoming packets on IP 192.168.128.10 and port 5060 to the emulator instance that runs on 10.0.2.15 For doing so, I have issued the

[android-developers] Re: com.android.camera replaced by com.motorola.camera

2010-01-04 Thread arnouf
Thanks to all for this discussion :) And happy new year ! On 1 jan, 20:23, jotobjects jotobje...@gmail.com wrote: Thanks very much.  This best practice outline is worthy of an official Android blog. Otherwise developers are going to come up with their own misunderstandings (like assuming

Re: [android-developers] Regarding port re-directions on the android emulator.

2010-01-04 Thread Upendra Chintala
Yes, that should be enough. Make sure that your doing this redirection on the correct emulator instance when you are running multiple emulator instances. Thanks, Upendra On Mon, Jan 4, 2010 at 2:20 PM, Android Development indodr...@gmail.comwrote: Hello devs, I had the following query: The

[android-developers] How to load compiled kernel into emulator?

2010-01-04 Thread Thisara Rupasinghe
Hi all, This is basic kind of question, Can we load our own compiled kernel into the emulator? If there is guide or steps for that please give me those links. Thanks for your help. -- Thanks Regards, Thisara. -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Regarding port re-directions on the android emulator.

2010-01-04 Thread Android Development
Thank you Upendra for the prompt reply. I will test this out now. Best Regards On Mon, Jan 4, 2010 at 2:30 PM, Upendra Chintala upendra.chint...@gmail.com wrote: Yes, that should be enough. Make sure that your doing this redirection on the correct emulator instance when you are running

Re: [android-developers] Conventions about using SD card

2010-01-04 Thread Dianne Hackborn
On Sun, Jan 3, 2010 at 11:11 PM, Alessandro Pellizzari a...@amiran.itwrote: Please also consider devices with more than one SD card, like the Samsung Galaxy (/sdcard is the internal 6.5 GB flash, /sdcard/sd is the external removable SD card). In theory, your app should do nothing special

[android-developers] What's the difference between these two urls

2010-01-04 Thread Yang Zhou
Could someone tell the difference between content://sms/inbox and content://sms/conversation? Thanx a lot!! -- 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] Need some advises about what if want to copy messages to sd card

2010-01-04 Thread Yang Zhou
I have read lots of threads about sms, but still have no idear what i should do if i want to copy messages to sd car. Could someone help? Thanks in advance! -- 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: How to load compiled kernel into emulator?

2010-01-04 Thread David Turner
yes, use the -kernel file option to do that. of course, the custom kernel should match the emulated hardware provided by the emulator (i.e. the virtual ARM platform goldfish). See external/qemu/docs/ANDROID-KERNEL.TXT for details On Mon, Jan 4, 2010 at 1:02 AM, Thisara Rupasinghe

[android-developers] Query in Google Map

2010-01-04 Thread Nish
I'm trying to run some apps using GoogleMaps. When I run app it's showing the message on the LogCat of the Eclipse's DDMS: Failed to find provider info for com.google.settings. I have set the two permissions in AndroidManifest also. 1. android.permission.INTERNET 2.

[android-developers] Re: passing paramters using ksoap2 to .net web service, always passes nulls (empty) values

2010-01-04 Thread tharindu
Hi, Im having the same problem as yours. You have mentioned using http://tempuri.org is wrong. Can you please explain what u did to solve the problem. What is the correct namespace then?? Please help me on this. Im stucked on this. :( Thanx in advance.. On Dec 20 2009, 10:59 pm, fadi wedyan

[android-developers] Re: Obtaining video frames for processing

2010-01-04 Thread mohan
Hi, Any experienced developers to help me how to decode a video frame-by- frame. Is it possible through the MediaPlayer framework? Regards, Mohan On Dec 31 2009, 1:08 pm, mohan krk.mo...@gmail.com wrote: Hello, I am trying to decode and  obtain all frames in a video stream, each of which

[android-developers] [Solved] SDK and Linux 64 bits

2010-01-04 Thread Nanard
Hi, I have installed Mandriva 2010 32 bits :-) Unfortunately 'adb' still had a problem but, it gave me some error messages this time. (all was OK on Mandriva 2009 !) So, I had to manually setup this file : /etc/udev/rules.d/50- android.rules SUBSYSTEM==usb|usb_device,

Re: [android-developers] onContextMenuClosed() not called under 2.x?

2010-01-04 Thread Jonas Petersson
Hi again, For the record of anyone else running into this, I've found a somewhat useful workaround: Just before calling openContextMenu() I now call closeContextMenu() - this seems to restore sanity. When things work as expected it has no effect at all (as expected), but when the user has

Re: [android-developers] Re: blocking UI thread when Yes/No AlertDialog is displayed

2010-01-04 Thread swapnil kamble
Thanks Dianne for your nice explanation. I have used synchronization point between two threads with a timeout value. Its smoothly working for me. Thanks Romain for pointing me to CounterDownLatch. On Sat, Jan 2, 2010 at 2:14 AM, Dianne Hackborn hack...@android.com wrote: On Thu, Dec 31, 2009

[android-developers] يسعدنى ويشرفنى ا ن تنضم لأسرة منتدى اجدع اصحاب

2010-01-04 Thread alagmy
يسعدنى ويشرفنى ان تنضم لأسرة منتدى اجدع اصحاب السلام عليكم يسعدنى ويشرفنى ان تنضم لأسرة منتدى اجدع اصحاب لتشارك معنا بالمواضيع والردود والمنتدى به افضل البرامج والألعاب ومواضيع واخرى كثيره منوعه المنتدى انشىء من اجلكم ونتمنى ان تكونوا متفاعلين معنا http://agd3as7ab.eb2a.com/vb -- You

Re: [android-developers] Avoiding String allocation in TextView.setText()

2010-01-04 Thread Olivier Guilyardi
On 12/28/2009 07:09 PM, Olivier Guilyardi wrote: on Android 1.5, using the Allocation Tracker I see that every time I call TextView.setText() with a StringBuilder as first argument, a String gets allocated from the following call stack (first line is last call):

[android-developers] Socket is leak when use server socket

2010-01-04 Thread Whino
Dear all, I create a server to listen request from peer. When client socket is connected, it will be leak after close socket. The fd will increase and finally the process may be killed due to too many fd. Does anyone know how to safely close the socket? The sample code is below.

[android-developers] create app that comes with a widget and the program

2010-01-04 Thread Albert
Hi there! I am trying to find a way to create a widget and the program on the same app so that i can give the user the choice to add to the home screen either the dynamic widget or the normal program, same functionality for both except that the widget would run a service to update every x hours

[android-developers] Initiating a GPRS connection

2010-01-04 Thread Android Development
Hello, If I wish to initiate a GPRS data connection programatically through a configured access point on the device, how do I go about it ? Any ideas are appreciated. Thanks in advance Indodroid. -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Menu Item Name

2010-01-04 Thread Sasikumar.S
Hi, I added 2 menus. menu.add(0, 1, 0, Start); menu.add(0, 2, 0, Stop); public boolean onOptionsItemSelected(MenuItem item) { switch (item.getItemId()) { case 1: if(item.getTitle().equals(Start)) { item.setTitle(Pause);

[android-developers] يسعدنى ويشرفنى ا ن تنضم لأسرة منتدى اجدع اصحاب

2010-01-04 Thread love_ram2...@yahoo.com
يسعدنى ويشرفنى ان تنضم لأسرة منتدى اجدع اصحاب السلام عليكم يسعدنى ويشرفنى ان تنضم لأسرة منتدى اجدع اصحاب لتشارك معنا بالمواضيع والردود والمنتدى به افضل البرامج والألعاب ومواضيع واخرى كثيره منوعه المنتدى انشىء من اجلكم ونتمنى ان تكونوا متفاعلين معنا http://agd3as7ab.eb2a.com/vb -- You

[android-developers] AudioRecord callbacks

2010-01-04 Thread kk_Kiran
Hi, I am trying to develop an app which will consume data from mic. I have used AudioRecord for the same. To read the data from mic I am usingh a separate thread. I want to change this. Is there any way to register the callback to AudioRecord object so as to get notification when data has started

Re: [android-developers] create app that comes with a widget and the program

2010-01-04 Thread Mark Murphy
I am trying to find a way to create a widget and the program on the same app so that i can give the user the choice to add to the home screen either the dynamic widget or the normal program, same functionality for both except that the widget would run a service to update every x hours and the

Re: [android-developers] Menu Item Name

2010-01-04 Thread Mark Murphy
I added 2 menus. menu.add(0, 1, 0, Start); menu.add(0, 2, 0, Stop); public boolean onOptionsItemSelected(MenuItem item) { switch (item.getItemId()) { case 1: if(item.getTitle().equals(Start)) {

[android-developers] Re: ERROR: Application requires API version 6. Device API version is 5 (Android 2.0)

2010-01-04 Thread Stefan Klumpp
I've a similar problem: [2010-01-04 13:44:18 - Tato]ERROR: Application requires API version 4. Device API version is 3 (Android 1.5). [2010-01-04 13:44:18 - Tato]Launch canceled! I started my application with API version 4, but then changed it to API version 3 (via project properties - Android).

[android-developers] get the currently displayed activity's name using service

2010-01-04 Thread Niraj
Hi, Is it possible to have the currently displayed activity's name and to access the resources the activity is using? I am trying to write the service that will display the name of the current activity and the resources it is using. Thanks in advance, Niraj -- You received this message

[android-developers] Re: exclusion filter not being respected - resources are being included in apk

2010-01-04 Thread guiha...@gmail.com
I've opened a bug report. guich -- 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 from this group, send email to

[android-developers] Re: Logs from framework.jar

2010-01-04 Thread Michael Scott
Yes, that did it! Thank you! What(where) sets classes to log to the radio buffer? /MS On Jan 2, 7:28 pm, jotobjects jotobje...@gmail.com wrote: try -      logcat -b radio See adb settings here -      http://developer.android.com/guide/developing/tools/adb.html#logcat On Jan 2, 10:24 am,

[android-developers] [Donut-1.6] Two onCreate (and onDestroy) invocations on orientation chage

2010-01-04 Thread Pawel Kapala
Hello. With following simple code (on clean, new android project): public class RotationTest extends Activity { private static final String LOGTAG = RotationTest; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);

Re: [android-developers] Blank screen displayed after downloading from Android Browser.

2010-01-04 Thread Farida Khan
Does anyone have the solution for this? Regards Farida Khan On Wed, Dec 16, 2009 at 8:24 PM, Binu Geevarghese jackgeo...@gmail.comwrote: Hi all, We are developing an application that requires a download of a music file (mp3). We are using the Browser Activity for the same. The Browser

Re: [android-developers] Blank screen displayed after downloading from Android Browser.

2010-01-04 Thread Ederson Ferreira
Why don't you try to download the music file by yourself? I mean, starting a thread and opening a HTTP connection to the music URL. In this way, your application will take control over the entire operation. Regards, Éderson On Mon, Jan 4, 2010 at 11:44 AM, Farida Khan

[android-developers] Re: ERROR: Application requires API version 6. Device API version is 5 (Android 2.0)

2010-01-04 Thread Lance Nanek
Is there anything else where I have to make the change API 4 - 3 other than the project properties? Yes, the uses-sdk element in AndroidManifest.xml: http://developer.android.com/intl/zh-TW/guide/topics/manifest/uses-sdk-element.html Changing the build target in the project properties doesn't

[android-developers] Re: Question concerning List view's getCheckedItemPositions() method

2010-01-04 Thread reyden
I just bumped into this problem myself. Looks like a bug, but maybe it's just undocumented and work as intended. Hopefully someone can clarify this... On Dec 9 2009, 10:23 am, cire pv.ra...@gmail.com wrote: Hi guys, I had the following scenario: -I'm using a list view in multiple  choice mode

[android-developers] Re: Update Tab-Content when clicking Tab

2010-01-04 Thread VBMichi
Hi again, nobody has an idea? :( Regards On Jan 3, 4:02 pm, VBMichi michael.ka...@googlemail.com wrote: Hi, I've three Tabs: mTabHost = getTabHost(); mTabHost.addTab(mTabHost.newTabSpec(tab_1).setIndicator (Name1).setContent(R.id.tab1));

Re: [android-developers] Re: Update Tab-Content when clicking Tab

2010-01-04 Thread Mark Murphy
Hi again, nobody has an idea? :( See setOnTabChangedListener() on TabHost. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: New in android developement

2010-01-04 Thread ROHIT
On Jan 3, 10:54 pm, Neilz neilhorn...@googlemail.com wrote: Dear Rohit. When you have found your answers, please come back here and post them so we can all share in your new found knowledge. Thanx in advance... ;-) Q. Handler and Looper? Handler The most flexible means of making an

[android-developers] Problem in accessing ConnectionManager.getAllNetworkInfo()

2010-01-04 Thread Namrata
Hi guys, I am writing 1 application which has one service class. This service class uses ConnectionManager.getAllNetworkInfo() api to access network related info. But if I use this api i get error like 01-04 20:05:58.243: WARN/System.err(711): java.lang.SecurityException: ConnectivityService:

Re: [android-developers] Problem in accessing ConnectionManager.getAllNetworkInfo()

2010-01-04 Thread Mark Murphy
I am writing 1 application which has one service class. This service class uses ConnectionManager.getAllNetworkInfo() api to access network related info. But if I use this api i get error like 01-04 20:05:58.243: WARN/System.err(711): java.lang.SecurityException: ConnectivityService: Neither

[android-developers] Problem in accessing ConnectionManager.getAllNetworkInfo()

2010-01-04 Thread Namrata
I am writing 1 application which has one service class. This service class uses ConnectionManager.getAllNetworkInfo() api to access network related info. But if I use this api i get error like 01-04 20:05:58.243: WARN/System.err(711): java.lang.SecurityException: ConnectivityService: Neither user

[android-developers] Re: Problem in accessing ConnectionManager.getAllNetworkInfo()

2010-01-04 Thread Namrata
@Mark, it worked..thanks a lot..it was just a typo which i overlooked.. On Jan 4, 8:07 pm, Namrata puranik.namr...@gmail.com wrote: I am writing 1 application which has one service class. This service class uses ConnectionManager.getAllNetworkInfo() api to access network related info. But if

[android-developers] Re: ERROR: Application requires API version 6. Device API version is 5 (Android 2.0)

2010-01-04 Thread Stefan Klumpp
Thanks. That helped. On Jan 4, 3:07 pm, Lance Nanek lna...@gmail.com wrote: Is there anything else where I have to make the change API 4 - 3 other than the project properties? Yes, the uses-sdk element in

[android-developers] Re: Android and VOIP

2010-01-04 Thread JP
On Jan 3, 10:12 pm, Android Development indodr...@gmail.com wrote: For SIP/VoIP, playing from a static resource on the device is hardly a requirement. Clarification: Static in the sense that it points to only a single provider. -- You received this message because you are subscribed to the

[android-developers] Re: pass checkbox status between activities

2010-01-04 Thread Abhi
Hi Mark, Can you give me an example? I have been looking for a sample app for better understanding. First Activity: send_to.java Second Activity: contact_list.java Step #1: In send_to.java, on Button Press, Intent newIntent = new Intent(v, contact_list.class);

[android-developers] Re: Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml

2010-01-04 Thread teryz
I have a problem using Android SDK Updater (revision 4). For the record I'm under win xp 32-bits, jdk 1.6. I set up the Force https://... sources to be fetched using http:// This seemed to work fine but as I am behing a (corporate) proxy I also filled the proxy server and port settings,

Re: [android-developers] Re: pass checkbox status between activities

2010-01-04 Thread Mark Murphy
Step #2: In contact_list.java class, ListView items with checkboxes, and two buttons OK and CANCEL. When OK button is pressed, pass the names of ListView items that are checked, to the first activity (send_to.java) setResult(RESULT_OK, Intent data); How do I bundle the

Re: [android-developers] regex error with splitting strings

2010-01-04 Thread Dan Sherman
Two things: 1) Not positive, but you might be missing delimiters, which would turn that into .split(/+/), which would still be wrong 2) + is a regex special character, meaning 1 or more, you want to escape it as a literal: .split(/\+/) Again, not sure if you need the delimiters... - Dan On

Re: [android-developers] No Adobe Flash support for Eclair!?!

2010-01-04 Thread chris harper
Thank you Dianne Thanks for the information on Flash. It gave me the direction I needed and it is good to know where Flash and Android stand. In another year or two who knows right? I been studying the Lunar Lander example as far as the graphics and it looks like a good way to go and I started a

[android-developers] Re: Earnings For u!!! Gifted

2010-01-04 Thread jayakumaran . b
Wanted Internet job workers. You can earn $750- $1000 daily. These are genuine Internet jobs. Only serious enquires please. For more details visit : https://time2rich.com/jayavithya -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: AudioTrack - Clicking Sound

2010-01-04 Thread Business Talk
After, repeated effort at sound synthesis I have decided to go back to pre=generated sounds. It's much too computationally expensive. My question is; does AudioTrack use pure pcm of it uses wave. I have this clicking sound and I think it's because I am using wave and the wave is pcm plus same

[android-developers] setFocusableInTouchMode(false) AND Keyboard ??

2010-01-04 Thread guruk
Hi, I use: webview.setFocusableInTouchMode(false); for my WebView to avoid that Orange Border when I click a Link. But now when I click into a Formfield the virtual Keyboard does not open :( So how can I avoid that Orange Border around Links while clicking on them and at the same Time the

[android-developers] Create an .apk progamatically

2010-01-04 Thread tsimmi
Hi! The problem is this: I make an internet connection to some url and receive an HttpResponse with an app_example.apk. Then I want to create a file (an .apk) in the sdcard with this data so that this downloaded application can be installed later. How can I convert the HttpResponse to an .apk

[android-developers] Re: Two onCreate (and onDestroy) invocations on orientation chage

2010-01-04 Thread Business Talk
It's not just 1.6. the higher versions do the same. It looks like rotation does more than just updetes the UI. I also failed to find any reference to this problem. On Jan 4, 8:16 am, Pawel Kapala pawel.kap...@googlemail.com wrote: Hello. With following simple code (on clean, new android

[android-developers] Re: create app that comes with a widget and the program

2010-01-04 Thread Albert
Thanks Mark for your answer, maybe I didn't make myself very clear, the widget is the application, when added to home screen it launches a configuration activity to let the user set his/her preferences, after that's done it will run a service updating the widget. If you click the widget you will

[android-developers] Re: Loading entire Asset folder

2010-01-04 Thread Andrew Huff
No one has any ideas about this? On Jan 2, 10:50 am, Andrew Huff 702reco...@gmail.com wrote: Also I've been thinking something like ContentProvider or PackageManager would be useful for doing this but I'm not exactly sure the best way to implement this On Jan 2, 10:48 am, Andrew Huff

[android-developers] Re: Can someone with a Motorola Droid call AccountManager.getAccounts() please?

2010-01-04 Thread Mariano Kamp
Any update on this one? Does it work again? How do you it fails? I think I am in a similar situation. I get back an auth token, but when using it accessing the Google Reader API it is not accepted. On Jan 4, 12:10 am, polyclefsoftware dja...@gmail.com wrote: I'm about to tear my hair out. The

[android-developers] Re: Android Dev Phone with Verizon?

2010-01-04 Thread schwiz
I remember reading a hack somewhere a long time ago to enable the phones on verizon, but honestly if you are going to spend that much money on buying a dev phone, might as well save up an extra 100 bucks and buy yourself a droid if you are going with verizon. On Jan 4, 1:07 pm, to...@webpro.com

RE: [android-developers] Re: Android Dev Phone with Verizon?

2010-01-04 Thread Tommy Hartz
Ok, how would I be able to install my apps on the non dev phone? Is there a crack kind of like jail breaking and iPhone or would I need to upload it to the android market place and install it that way? Respectfully, Tommy Hartz | DBA WEBPRO   the web people ™ Savannah GA. -

[android-developers] how can i save my overlays?

2010-01-04 Thread Stefan
Hello, I have following problem with my application: in my main activity, i listen for gps points and show them on my map. if i want to describe a important point, i open a second activity with a EditText and i can save the description and finish this second activity (to write text, i change to

[android-developers] Re: Android Dev Phone with Verizon?

2010-01-04 Thread Mark
Any phone can work as a dev phone. It doesn't need to be unlocked or rooted or anything. You just have to enable a few things in the phone settings. There is nothing special about the Google dev phones, they are just phones you can buy directly from Google if you don't feel like buying one from

[android-developers] Re: Android Dev Phone with Verizon?

2010-01-04 Thread Vladimir
You wiil be able to install your apps on non dev phone OTA or over USB without issues. On Jan 4, 9:35 pm, Tommy Hartz to...@webpro.com wrote: Ok, how would I be able to install my apps on the non dev phone? Is there a crack kind of like jail breaking and iPhone or would I need to upload it to

RE: [android-developers] Re: Android Dev Phone with Verizon?

2010-01-04 Thread Tommy Hartz
Thank you for you advice. I'll just go with Verizon for the company dev phone. Respectfully, Tommy Hartz | DBA WEBPRO   the web people ™ Savannah GA. - 912.988.3065 | Charlotte NC. - 704.814.7277  | Toll 888.999.4887

RE: [android-developers] Re: Android Dev Phone with Verizon?

2010-01-04 Thread Tommy Hartz
Wonderful, I'll look around in the help files online and figure out settings need to be adjusted. Thanks again for the help Respectfully, Tommy Hartz | DBA WEBPRO   the web people ™ Savannah GA. - 912.988.3065 | Charlotte NC. - 704.814.7277  | Toll 888.999.4887

[android-developers] Re: Java Question about reflection

2010-01-04 Thread jotobjects
On Jan 2, 5:02 pm, Frank Weiss fewe...@gmail.com wrote: For your first issue, can you refactor to use singleton Factory instead and make the factory methods non-static? Example: MyFactory factory = MySubclassedFactory.getInstance(); MyWidget = factory.createMyWidget(); This and the Builder

[android-developers] About Monkey Scripting option

2010-01-04 Thread pradeep
Hi I would like to tell every body that it is possible to simulate a sequence of events on emulator using monkey scripting option -f . It is successful on android 2.0 sdk Regards, Pradeep -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Re: Does Android support IPv6 now?

2010-01-04 Thread Steinar H. Gunderson
On 31 Des 2009, 05:46, mundou wentaosh...@gmail.com wrote: I don't know if real Android system can support IPv6 protocol stack. I compiled my own kernel with IPv6 configured as build-in and then tested it under the emulator in SDK, and it could not get an IPv6 address. I got No IPv6 router

[android-developers] How use speex or jspeex in android

2010-01-04 Thread Petr Vytlačil
Hi, please can anybody help me how use speex or jspeex in android? I need stream voice from MIC on server and use this codec. THX Petr -- 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: Emulator error after upgrade to win7

2010-01-04 Thread Tim Ellison
I have the same issue Mark. Did you figure out a solution? On Dec 9 2009, 8:23 pm, mh haye...@gmail.com wrote: After reinstalling Eclipse and the Android development components I am getting the following error upon running the emulator on a virtual device: qemu: fatal: exponent 255 too big

[android-developers] Android development with PHP

2010-01-04 Thread androidbeginner
Is it possible create android applications using PHP? can we port php code in to the android applications? -- 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] Audio Playback Error

2010-01-04 Thread sparky
I've written an app. that uses the MediaPlayer, but every so often I see this error: ERROR/AudioMIO(3733): latency could NOT be set !! set it later When it happens, the audio goes silent and the only way to get the audio back is to stop and restart (release and create a new MediaPlayer

[android-developers] Reliable GPS location

2010-01-04 Thread nr1
Hi, i know how to get the calculated GPS position via getLastKnownLocation (). As tests show, this function really always returns the last known location, so it doesn't matter if there is a gps fix available. How can i check if the returned location is reliable? I tried it with getAccurracy(),

[android-developers] scrollview resize when childview is scaled with animation

2010-01-04 Thread mj
hi android-devs, here what iam trying to do in my android 1.6 app. 1. have a view (e.g. imageview) in a (horizontal)scrollview because my image is big. 2. adapted a zoombuttoncontroller to the scrollview to be able to zoom in and out using the zoomcontrol view capabilities. 3. to zoom the child

[android-developers] Debugging the framework

2010-01-04 Thread Matan
Hi, I did the following: Modified frameworks/base/services/java/com/android/server/ KeyInputQueue.java and flashed it to my G1. Rebuilt Deployed to the G1 Created a demo test app Started debugging the demo app from Eclipse with one breakpoint in a central location in KeyInputQueue.java and

[android-developers] Problem using org.apache.commons.net with Android

2010-01-04 Thread rackham
Hello all. I have been successfully using the org.apache.commons.net.telnet package with my android app, but i have run into a problem. I have an instance of TelnetClient, which works fine, but when i call TelnetClient.disconnect it just hangs and nothing happens at all. A small test

[android-developers] Upgrade to 1.0

2010-01-04 Thread Oliver
Have an issue where I've tried to update to the paid version, before removing the beta. Beta pops up asking to update as it has expired but links to a 404 error. Market asks if I want to install 1.0 and does, but beta still shows up with it's Error. I've uninstalled 1.0, had to refund to do it,

[android-developers] Problems with the JavaBinder (!!! FAILED BINDER TRANSACTION!!!)

2010-01-04 Thread Moritzz
Hello, I currently have a lot of problems with this error. I programmed a widget and a service that runs in the background. This service is updating the widget on different occasions (position changed, screen turned on, timer based...) with images and text it's loading from a server. After a

Re: [android-developers] Re: Launch navigation app with an Intent - [DS]

2010-01-04 Thread Declan Shanaghy
This code will work on any SDK. What matters here is the version of google maps that is on the device. The navigation features were added in google maps version 3.2.1 as far as i know. On Sun, Jan 3, 2010 at 9:28 AM, kautilya imtheno...@gmail.com wrote: Hi Declan , Thanks for your code .

[android-developers] Re: Problems with the JavaBinder (!!! FAILED BINDER TRANSACTION!!!)

2010-01-04 Thread Moritzz
I forgot to add that after this message, the widget is not updated anymore. It stays the way it looks like in the moment the message appears and even when I force another update, it's not changed anymore. If I remove and add it again, it works for a while, until the message appears again. On Jan

[android-developers] Why is my eclipse up to date with 2.0.1 but no android tools appear in the UI?

2010-01-04 Thread ClarkBattle
I was completely set up with android 2.0 and eclipse. Everything worked fine. Then I tried to upgrade to 2.0.1 and now eclipse wont show any of the android plug in stuff. There is nothing in the IDE relating to android anymore. No AVD, no android projects, nothing. If I go to Help - Install

[android-developers] Re: Reliable GPS location

2010-01-04 Thread Lance Nanek
You can call Location#getTime to see when the fix returned by LocationManager#getLastKnownLocation was taken. The getLastKnownLocation method doesn't start the GPS, so the fix may be from a long time ago, and not be a good indicator of the current location. The accuracy of the fix refers to the

[android-developers] Re: Why is my eclipse up to date with 2.0.1 but no android tools appear in the UI?

2010-01-04 Thread ClarkBattle
I am installing on Windows 7. Window Preferences... Android is not there, even though the tools are installed. Reinstalling Eclipse does not fix the problem. On Jan 4, 1:10 pm, ClarkBattle clarkbat...@gmail.com wrote: I was completely set up with android 2.0 and eclipse.  Everything worked

[android-developers] Re: Android Dev Phone with Verizon?

2010-01-04 Thread JP
On Jan 4, 11:44 am, Mark mark.r.ba...@gmail.com wrote: Any phone can work as a dev phone.   Some are better suited than others however. There's a least one consumer level device (I cannot remember which) that didn't dump logs. Then there might be driver issues. -- You received this message

[android-developers] Re: Update Tab-Content when clicking Tab

2010-01-04 Thread VBMichi
Thx!! On Jan 4, 3:46 pm, Mark Murphy mmur...@commonsware.com wrote: Hi again, nobody has an idea? :( See setOnTabChangedListener() on TabHost. -- Mark Murphy (a Commons Guy)http://commonsware.com Android App Developer Books:http://commonsware.com/books.html -- You received this

Re: [android-developers] Android development with PHP

2010-01-04 Thread Miguel Morales
You can write an applications backend in php, but why would you want to use php to write for the phone? The main language is java though apps can be written in c/perl/python/lua, but no php yet afaik. On Jan 4, 2010 12:13 PM, androidbeginner sahayamj.m...@gmail.com wrote: Is it possible create

[android-developers] Contacts: annot find symbol for getContentResolver().query ???

2010-01-04 Thread James
OK, I know this must be really simple but I must be continually overlooking the obvious. I'm trying to compile the code below and javac keeps saying: [javac] Compiling 3 source files to /usr/home/jim/src/2android/ ExcuseMe/bin/classes [javac]

[android-developers] URLSpan string problem

2010-01-04 Thread SimV01
... URLSpan([123]); ... - when being displayed in my TextView only changes the color of [123 and only makes [123 clickable. If I retrieve the URL with getURL it returns [123] as expected - why does the defined URLSpan in the TextView not include all of the colors? Is there a way to correct this?

[android-developers] ListActivity not updating on Database update.

2010-01-04 Thread mac-systems
Hello, i update a value in my Database in a Listview using a Context Menu. The code so far seems to be ok. But everything i try to make the update visible in the View failed. Anyone can point me whats wrong there ? I use a ViewBinder to map the Layout for each row. Row Layout: ?xml version=1.0

[android-developers] ServiceConnectionLeaked warning

2010-01-04 Thread Mike Collins
I'm getting a ServiceConnectionLeaked message that I don't understand. There are 3 activities and a remote service, all the activities use the same remote service. The main window, activity 1, starts up, auto-starts the service and binds to it. The user then starts activity 2 to do something.

Re: [android-developers] Contacts: annot find symbol for getContentResolver().query ???

2010-01-04 Thread Frank Weiss
Which class are you expecting to have implemented the getContentResolver method? On Mon, Jan 4, 2010 at 4:01 PM, James tc4...@gmail.com wrote: OK, I know this must be really simple but I must be continually overlooking the obvious. I'm trying to compile the code below and javac keeps saying:

[android-developers] Re: Android Dev Phone with Verizon?

2010-01-04 Thread Matt Kanninen
The Droid, and HTC's main line being G1 MyTouch and Hero are all popular handsets that work fine as dev phones. It doesn't seem like the other Android handsets are seeing much usage right now, based on the analytics I've seen. But I would choose carefully in picking which phones to develop on,

[android-developers] Re: URLSpan string problem

2010-01-04 Thread SimV01
--got it, my code error in start, end of setSpan... On Jan 4, 7:23 pm, SimV01 lr...@cox.net wrote: ... URLSpan([123]); ...  - when being displayed in my TextView only changes the color of [123 and only makes [123 clickable. If I retrieve the URL with getURL it returns [123] as expected -

[android-developers] How to perform the animation in viewgroup

2010-01-04 Thread Luke
Hi all I am trying to perform the animation on widget in my program. (Use Layout A) My widget has at least one viewgroup(Layout B) and imageview (View C). --- Layout B Layout A ---| (Layout A = Widget (Layout B , ImageView))

[android-developers] Re: EditText hint shows extra spaces when inputType=textpassword

2010-01-04 Thread csyperski
I am seeing the same behavior, did you find any fix for this? On Dec 23 2009, 7:22 am, GDroid baron...@gmail.com wrote: Hi, Just wondered, am I the only one to encounter this strange behavior. When placing an EditText inside my activity and setting its inputType=textPassword  as follow:

[android-developers] can't write to sdcard anymore

2010-01-04 Thread BiiG
I've been developing this one app for a few months now with eclipse. I've had no problem writing to the sdcard in the past. Now it just creates an empty file when the following code is used: try { FileWriter fw = new FileWriter(/sdcard/shootme.txt); BufferedWriter out = new BufferedWriter(fw);

Re: [android-developers] can't write to sdcard anymore

2010-01-04 Thread Mark Murphy
I've been developing this one app for a few months now with eclipse. I've had no problem writing to the sdcard in the past. Now it just creates an empty file when the following code is used: try { FileWriter fw = new FileWriter(/sdcard/shootme.txt); BufferedWriter out = new

[android-developers] Re: can't write to sdcard anymore

2010-01-04 Thread BiiG
1. I've seen that and will try it. But everything was fine until one day, it just stopped working 2. yes, i have the propper permissions. 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] adp1 seeing adhoc networks

2010-01-04 Thread Ron
I'm trying to set up my adp1 to see a device on an adhoc network. I'm largely using the procedure outlined in: http://forum.xda-developers.com/showthread.php?t=444004page=2 The problem is that not only is the phone not connecting to the adhoc network, it appears to not even see it. When

  1   2   >