[android-developers] Re: alphabetic scrollview navigator

2010-02-03 Thread Bob Kerns
I didn't see a redirect bug -- but gmail failed to include the final ')' in the link, so the anchor survived, but failed. So what is it with these redirects, anyway? It's always sending me to some random locale -- fr one day, de today. Fortunately -- they're all in English. I'm using Chrome, on

[android-developers] Re: TabActivity with scroll

2010-02-03 Thread priyanka
Thanks very much for your ideas folks. Hc - its a cool tabhost you've made! :) Thanks a lot, and I'm sure it will be very useful for a requirement of always fitting in within the screen. Unfortunately, my requirement is such that I do not want to reduce the width of each tab as the number of tabs

[android-developers] Re: TabActivity with scroll

2010-02-03 Thread priyanka
Thanks very much for your ideas folks. Hc - its a cool tabhost you've made! :) Thanks a lot, and I'm sure it will be very useful for a requirement of always fitting in within the screen. Unfortunately, my requirement is such that I do not want to reduce the width of each tab as the number of tabs

[android-developers] Re: Vertex arrays vs. VBOs

2010-02-03 Thread Lance Nanek
Robert Green has mentioned VBOs being fast for his uses a couple times on this list, I think. Might be worth searching those posts out. Not actual usage, but I saw them mentioned in some docs recently. It's for a newer version of OpenGL ES, but this ImgTec document recommends VBOs, for example:

[android-developers] Re: How to Generate Android Testing Report in HTML Automatically

2010-02-03 Thread ko5tik
I do not like android instrumentation framework, and switched to mocking everything android. JMockIt seems to be a right tool ( jmock has problems with finals and concrete classes) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: Suspicious TCP RST packets while device is sleeping.

2010-02-03 Thread Bob Kerns
Well, I don't grok NAT enough to conclude that it's wrong. But I don't see why they'd do it -- unless they're trying to minimize traffic. Seems kinda trivial -- and likely more than offset by the later attempted transmit. I'm not sure what problem you're trying to solve. It can certainly happen

Re: [android-developers] Re: Forcibly using 3G or CDMA network even though wi-fi is available.

2010-02-03 Thread Anonymous Anonymous
-- MMS cannot be sent over wi-fi.Carriers network is mandatory to send/recv. The MMSC need to identify from/to the message coming going and it wont be possible while using wi-fi. So its required to switch to 3g or CDMA even if wi-fi is available. 2010/2/3 Dongjoon

[android-developers] Why are my SharedPreferences suddenly deleted, after I updated my game in the Market?

2010-02-03 Thread Martin
Hi! Why are my SharedPreferences suddenly deleted, after I updated my game in the Market? Here is the logcat: W/ApplicationContext( 1465): Attempt to read preferences file /data/ data/digle.de.LeonardFrog/shared_prefs/Highscore.xml without permission E/ApplicationContext( 1465): Couldn't rename

[android-developers] Cant find the solution for this GLSurfaceView error

2010-02-03 Thread satish bhoyar
Hi all, I have a code for GLSurfaceView which runs fine with sdk 1.5. I am trying to use it in the sdk 2.0 I am getting following error - *Application called a GL11 Pointer method with an Indirect Buffer* This is the line at which the error is coming, *gl.glVertexPointer(3, GL10.GL_FLOAT, 0,

[android-developers] Re: Regarding Tv out in Android

2010-02-03 Thread raghavendra k
Hi, Is this possible in Android? Can anyone help me? I need it. Thanks Regards, Raghavendra K. On Feb 2, 2:53 pm, Dilip Dilip dileep2m...@gmail.com wrote: Hi All,   Is there any TV out feature in Android. Is anyone working on it ? Thanks and Regards,  Dileep -- You

[android-developers] How to get a remote logcat on error?

2010-02-03 Thread Martin
Hi! I have a game in the market and with flurry analytics, I receive all my errors. Here are some of them: 01/31/10 01:47:39 PM PST0 class java.lang.IllegalArgumentException parameter must be a descendant of this view 02/02/10 12:40:41 PM PST0 class

[android-developers] Re: Why are my SharedPreferences suddenly deleted, after I updated my game in the Market?

2010-02-03 Thread Lance Nanek
Did you change/add a sharedUserId in your manifest? On Feb 3, 3:40 am, Martin google-gro...@digle.de wrote: Hi! Why are my SharedPreferences suddenly deleted, after I updated my game in the Market? Here is the logcat: W/ApplicationContext( 1465): Attempt to read preferences file /data/

[android-developers] Re: Cant find the solution for this GLSurfaceView error

2010-02-03 Thread Lance Nanek
The buffer needs to be direct so that it isn't moved around in memory. You can do this by creating it using ByteBuffer.allocateDirect. You can see examples in demos: http://developer.android.com/intl/de/resources/samples/ApiDemos/src/com/example/android/apis/graphics/TriangleRenderer.html On Feb

[android-developers] Re: Help needed with parsing some XML data !

2010-02-03 Thread MobDev
Actually this is the code for the second approach : /* Create a URL we want to load some xml-data from. */ URL url = new URL(http://www.myserver.com/xmlstream;); /* Get a SAXParser from the SAXPArserFactory. */ SAXParserFactory spf = SAXParserFactory.newInstance(); SAXParser sp =

[android-developers] Re: Bug? Invalidate causing unnecessary redraws.

2010-02-03 Thread Keean Schupke
It seems that adding a 1 pixel (1px) view stops this happening. On Feb 2, 11:55 pm, Romain Guy romain...@android.com wrote: Note that the bug is not due to an overlap of theinvalidateregion, it looks like the entire parent redraws in certain conditions. On Tue, Feb 2, 2010 at 3:45 PM,

[android-developers] Re: reg AttributeSet

2010-02-03 Thread priyanka
Figured out there is an internal implementation of XmlResourceParser. It works for compiled resources only. Are there any plans in the roadmap of coming up with an AttributeSet implementation for non-compiled files as well ? On Feb 2, 7:02 pm, priyanka 2priya...@gmail.com wrote: Hello, I'd

[android-developers] Re: Using WifiManager to connect to a network

2010-02-03 Thread Neil
I can't help with your protocol question, but the reason why specifying the SSID isn't working is because it needs to be a quoted value, e.g. wifiConfig.SSID = \test\; Neil On Feb 2, 8:30 pm, Daniel Rolph d...@rolph.com wrote: After digging around a little, I was able to put together the code

[android-developers] Re: Why are my SharedPreferences suddenly deleted, after I updated my game in the Market?

2010-02-03 Thread Martin
No, I even don't know how to use sharedUserId's. Here is my Manifest: ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=digle.de.LeonardFrog android:versionCode=4 android:versionName=1.3 (beta) application

[android-developers] How to change language settings

2010-02-03 Thread saikiran n
Hi We can change language options manually,But How to change the language settings on android phone through application Can u give me sample code -- 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: RssFeed Update

2010-02-03 Thread raghavendra k
Hi, Have you used partial wake lock? I got the similar problem in my app. I fixed it by using wake lock. Following is my code snippet. May be this will help you. PowerManager.WakeLock wl; try { PowerManager pm = (PowerManager) context

[android-developers] Re: getting the serial number

2010-02-03 Thread guich
Hey, thanks Worked fine on G2. This is the code i used: #include sys/system_properties.h char buf[32]; buf[0] = 0; __system_property_get(ro.serialno,buf); Interestingly enough, i also tried this: char buf[2048]; if ((in = open(/proc/cpuinfo, O_RDONLY)) 0)

[android-developers] Re: How to get a remote logcat on error?

2010-02-03 Thread Martin
Or is there another possibility to debug my game, while it is in the market? How can I intercept all the errors in my code to find out how I can solve them? If nobody has an answer to this, I have to put a try { ... } catch (Exception e) { /* send this exception and line number over internet to

[android-developers] answer call using acceptCall() of Phone.java

2010-02-03 Thread saru
Hey i got a function acceptCall() by which android receive call. the path is android.internal.telephony.Phone.java. Now you gays please tell me can i use it answer a call programmetically. Please you got any idea about it then share with me . or if you have any other idea about answering auto

[android-developers] concept of user name

2010-02-03 Thread guich
Hi, Is there a concept of user name in Android? Windows Mobile lets you enter a description of the owner of the phone; Palm OS has the concept of user name. But i couldn't find anything about this in Android. best, guich -- You received this message because you are subscribed to the

Re: [android-developers] Re: Cant find the solution for this GLSurfaceView error

2010-02-03 Thread satish bhoyar
Oh thanks .. got it On Wed, Feb 3, 2010 at 3:13 PM, Lance Nanek lna...@gmail.com wrote: The buffer needs to be direct so that it isn't moved around in memory. You can do this by creating it using ByteBuffer.allocateDirect. You can see examples in demos:

[android-developers] Re: VerifyError - how can I solve this error?

2010-02-03 Thread Martin
On my mobile, I do NOT have the VerifyError! This is strange. I just get the Error-Messages from Flurry-Analytics from people, who downloaded my game in the market, so I think that these error-messages come from a specific Android OS? What does it mean that some part of a class failed

[android-developers] Re: TableLayout, Rotating

2010-02-03 Thread Holger
While I am at it: How can I enforce equal width on table columns? Is there a way to do in in layout/*.xml or do I have to render the content of my table programatically (getting screen dimensions, and creating the content of the table calls with computed width) Regards, Holger -- You

[android-developers] Re: Help needed with parsing some XML data !

2010-02-03 Thread MobDev
Btw I also have tried this instead : try { URL url = new URL(http://www.myserver.com/xmlstream;); URLConnection conn = url.openConnection(); InputStream is = conn.getInputStream(); Xml.parse(is, Xml.Encoding.ISO_8859_1, new ExampleHandler

[android-developers] Showing List of image in AbsoluteLayout

2010-02-03 Thread pankaj
Hi, I have to display 10 images(which will be taken form url) and related Text Both imageUrl and text will come from XML parsing. My Question is how we can display image into scrollable format -- You received this message because you are subscribed to the Google Groups

[android-developers] Showing List of image in AbsoluteLayout

2010-02-03 Thread pankaj
Hi, I have to display 10 images and related Text i want to display into AbsoluteLayout and all 10 image should be in scrollable format as ListView. My Question is How we can Display all the image in ListView format.is there any way to put listView into

[android-developers] Re: Splitting connections?

2010-02-03 Thread Bob Kerns
Well, you' have to modify your routing tables. I see there's /system/ bin/route, and it worked to add a default gateway, running as root. You WILL have to be root; if you haven't rooted your phone, you will need to. /system/bin/route seems to lack many of the normal features -- the BusyBox one

[android-developers] NullPoinerException in XML

2010-02-03 Thread Chirayu Dalwadi
Hi all, In the below XML, I'm getting NullPointerException. What is the reason behind that? I also want scroll bars in th same XML. How to do that? ? xml version=*1.0* encoding=*utf-8*? ? xml version=*1.0* encoding=*utf-8*? TabHost

Re: [android-developers] concept of user name

2010-02-03 Thread Mark Murphy
Is there a concept of user name in Android? Windows Mobile lets you enter a description of the owner of the phone; Palm OS has the concept of user name. But i couldn't find anything about this in Android. The device itself does not really track this anywhere. -- Mark Murphy (a Commons Guy)

[android-developers] how to identify the views part of the current screen

2010-02-03 Thread pradeep
Hi All, Can anyone give an idea how to identify the views part of the active screen[i.e current running activity on the phone]. E.g after launching uiEditContactActivity,how can I identify the views [ several fields, buttons etc] part of that screen. I am trying to modify monkey, such that for

Re: [android-developers] Re: Cant find the solution for this GLSurfaceView error

2010-02-03 Thread satish bhoyar
hi lance, please can u suggest me some good links or books regarding drawing cylinder some polygons. thanks, satish On Wed, Feb 3, 2010 at 3:13 PM, Lance Nanek lna...@gmail.com wrote: The buffer needs to be direct so that it isn't moved around in memory. You can do this by creating it using

[android-developers] Re: Help needed with parsing some XML data !

2010-02-03 Thread Bob Kerns
Well, you found one way to get the encoding in there. A few more: InputSource.setEncoding(iso-8859-1) new InputStreamReader(stream, iso-8859-1); I'd argue that it should have gotten it from the ?xml... encoding=iso-8859-1? -- I'm a bit surprised it didn't. But it's something I'd never rely on if

[android-developers] GUI/CUI FTP Client

2010-02-03 Thread Ryu
If you like a file manager-type GUI with console based CUI terminal, Runftp is what you want to have. You can type and test any basic FTP commands in the terminal, and viewing through the files and directories in a two-pane tree-style graphical navigation at the same time. -- You received this

[android-developers] Re: Emulating a Droid

2010-02-03 Thread Neilz
On Feb 1, 11:13 pm, fadden fad...@android.com wrote: Are you looking for: http://developer.android.com/guide/developing/tools/avd.html ? Thanks for the sarcasm. No, the docs don't say how to do this. On Feb 2, 7:48 am, String sterling.ud...@googlemail.com wrote: Click on Window | Android

[android-developers] Re: Unable to set Camera Picture Size on Samsung Galaxy

2010-02-03 Thread eni
I believe it's a Samsung Galaxy problem, as it works on both G1 and Hero. I'm setting PictureSize, but the change doesn't seem to be registered by the device. Creating a Bitmap from the full-size image unfortunately throws an OutOfMemoryException, and I'm unfortunately unable to guarantee enough

Re: [android-developers] Re: Using WifiManager to connect to a network

2010-02-03 Thread Daniel Rolph
Neil, Thanks for the catch on the SSID. Actually, I find that I can only connect when I do not specify the SSID. Documentation on wifi management is a little hard to come by. I am learning the wifi packages and device/driver functionality through trial and error, logging, and network

[android-developers] Re: listview is getting me mad plase help

2010-02-03 Thread David Fire
i didnt do it yet. but you can get a sample from here, i am folowing this book http://apress.com/book/downloadfile/4433 there is a zip file, extract it and navigate to FancyLists\RateList\. there you have a full and working example. please send the question to the list wo everyone can get the

[android-developers] Why setting TextView.Ellipsize as Marquee cause its sibling view in linearlayout redraw

2010-02-03 Thread James Wang
Hi We are using TextView's Ellipsize function to scrolling text in it and there many other controls in our window. We noticed CPU would go up to 50% if text started scrolling. After digging deeper, we found all controls in our layout kept drawing when texts scrolling. We wonder why? And how to

[android-developers] Re: Help needed with parsing some XML data !

2010-02-03 Thread MobDev
well to begin with : thx for the expalanation :D I was wondering about your statement : Try logging to a file. Or better yet, create test cases, and verify the correct operation of your code via test suite, rather than via log statements. I already tried in a test case, which was to write the

[android-developers] VBO and DrawTex support

2010-02-03 Thread Richard
I know VBO's and DrawTex extensions are not a requirement for all devices to have, but does anyone have a list of what devices don't actually support them? I haven't actually come across any yet... Thanks! -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Help needed with parsing some XML data !

2010-02-03 Thread MobDev
well to begin with : thx for the expalanation :D I was wondering about your statement : Try logging to a file. Or better yet, create test cases, and verify the correct operation of your code via test suite, rather than via log statements. I already tried in a test case, which was to write the

[android-developers] Canvas drawing

2010-02-03 Thread Neilz
Hi all. When overiding onDraw() in my View, is it possible to say Don't draw anything new, just keep what was there the last time? In my app, I only want to draw when I get a sensor change. These changes come intermittently. However the draw() routine is being called continuously, many times per

[android-developers] Re: Canvas drawing

2010-02-03 Thread schwiz
your draw routine should only be called if you call invalidate on your view or its parent view. On Feb 3, 7:46 am, Neilz neilhorn...@googlemail.com wrote: Hi all. When overiding onDraw() in my View, is it possible to say Don't draw anything new, just keep what was there the last time? In my

[android-developers] Re: how to use MediaRecorder to record highest quality video?

2010-02-03 Thread Abhi
Isn't there anyone out there who can tell me not to pursue this with a good reason? I am spending too much of my time figuring this out and if there is some knowledgeable person out there who can give me a straight answer, I would really appreciate it. Thanks, Abhi On Feb 1, 9:12 am, Abhi

[android-developers] what are the possible connections?

2010-02-03 Thread guich
Hi, What kind of connections can we open on Android? Which of the following is possible? - USB - Serial port - Infrared I know that Bluetooth is possible, but are the other ones too? And if yes, which classes i have to use? thanks for the feedback guich -- You received this message

[android-developers] Re: Canvas drawing

2010-02-03 Thread Neilz
It is being called... between 5-10 times a second. I just set up a routine to check. And I'm most definitely not calling invalidate() on these occasions. On Feb 3, 2:04 pm, schwiz sch...@gmail.com wrote: your draw routine should only be called if you call invalidate on your view or its parent

[android-developers] Including virtual keyboard widget in layout

2010-02-03 Thread swapnil kamble
I want to include virtual keyboard in my layout file.I am using foll. code. Is there anything I am missing ? android.inputmethodservice.KeyboardView android:id=@android:id/keyboardView android:background=@android:color/transparent

[android-developers] Re: concept of user name

2010-02-03 Thread JP
Looking at Google Experience devices; they are activates with the users Google Account. Using AccountManager and associated classes (starting 2.0), you can pull this activation user name and other attributes. On Feb 3, 4:03 am, Mark Murphy mmur...@commonsware.com wrote: Is there a concept of

[android-developers] Re: XmlPullParserException: expected: START_TAG

2010-02-03 Thread Galeol
Hi Pankaj! Have you checked if your xml file is well-formed? On 2 feb, 09:57, Pankaj Deshpande pcdeshpande...@gmail.com wrote: Hi all, I am developing an application which uses KSOAP2 with Android 2.0. But I am getting error org.xmlpull.v1.XmlPullParserException: expected: START_TAG can

[android-developers] New TypeName for NetworkInfo

2010-02-03 Thread Kenny
Has anyone notice that Android 2.1 (or may be even earlier) has additional Network Type? Namely: ConnectivityManager.MOBILE_MMS 2 ConnectivityManager.MOBILE_SUPL 3 ConnectivityManager.MOBILE_DUN 4 ConnectivityManager.MOBILE_HIPRI 5 In addition to the original types in the document. MOBILE 0

[android-developers] Re: Help needed with parsing some XML data !

2010-02-03 Thread MobDev
well to begin with : thx for the expalanation :D I was wondering about your statement : Try logging to a file. Or better yet, create test cases, and verify the correct operation of your code via test suite, rather than via log statements. I already tried in a test case, which was to write the

[android-developers] Re: Why are my SharedPreferences suddenly deleted, after I updated my game in the Market?

2010-02-03 Thread JP
There used to be an old old bug where shared preferences would sporadically just disappear. Your post inspired me to do some research and find out if that ever got fixed... En route I found this for you:

[android-developers] Re: DNS Query

2010-02-03 Thread Lewske Wada
Hi Radhika, radhika wrote: Hi All, Am a beginner in this area. I am trying to find out how a DNS query is sent from the android device. Am unable to locate the code. Can someone help me by showing me the code where a DNS query is sent. For example, may be from some application like

[android-developers] loading files(images) from sdcard in webView

2010-02-03 Thread Yaya
Hi, i am trying to load an html file which refers an image stored in the sdcard. Actualy the html is provided by a local servlet. in the html, i have this line img id=toto src=file:///sdcard/path/path/ toto.png/br. When i used that, i had this error : Not allowed to load local resource: file://.

[android-developers] Re: ANDROID_ID always null on devices

2010-02-03 Thread Gregg Reno
How about using the WIFI MAC address in cases where the ANDROID_ID is null? I believe it should be unique for each device: WifiManager manager = (WifiManager) getSystemService (Context.WIFI_SERVICE); WifiInfo wifiInfo = manager.getConnectionInfo(); String MACAddress =

Re: [android-developers] Re: DNS Query

2010-02-03 Thread Android Development
What if the application requires to send a query to a DNS server installed at a particular IP address. how do i configure my DNS server in *hosts/**resolv**.**conf from the application ?* *** * On Wed, Feb 3, 2010 at 8:40 PM, Lewske Wada r...@run.sh wrote: Hi Radhika, radhika wrote: Hi

Re: [android-developers] Re: Writing files SDCard on Emulator

2010-02-03 Thread Ace
Mahendra/String, Thank You for your reply on this. The problem was with the following code as pointed correctly by you folks String state = Environment.getExternalStorageState(); if(state != Environment.MEDIA_MOUNTED) { Log.d(DEBUG, The Card is Not Mounted + state +--);

[android-developers] Re: Emulating a Droid

2010-02-03 Thread Nathan
On Feb 2, 10:49 pm, Anthoni anthoni.gard...@gmail.com wrote: Hello, Just to add, it would be useful if there was a listing somewhere that showed all the different AVD settings for each phone supported by Android. Agreed - that would be useful. Nathan -- You received this message because

[android-developers] sticky client IP address?

2010-02-03 Thread Vertifi
Hello, I have an app which performs some online functions to a web server farm we operate using URLConnection. I'm finding that the client IP address of the phone seems to change after a fairly brief period of inactivity. For example, please see these timestamps and the corresponding client IP

[android-developers] Re: VerifyError - how can I solve this error?

2010-02-03 Thread Streets Of Boston
To help you, you need to post the log (form LogCat) showing the stack- trace of the VerifyError. As an example, VerifyErrors can occur when you load a class compiled in Android 1.6 and using/calling 1.6 specific fields/methods and then the class is run in a Android 1.5 environment. I had one

[android-developers] bug in Spinner.setSelection when called twice?

2010-02-03 Thread Thierry Legras
Hi, I saw several people reporting an issue with Spinner.setSelection that does not seem to work as expected on the second call: the item selection is correctly updated in the list subframe, but not in the text displayed when the spinner is closed Anbody knows a workarround? Thierry. On 4

Re: [android-developers] Re: Writing files SDCard on Emulator

2010-02-03 Thread Mark Murphy
After hardcoding the path as per the code below (pointed by Mahendra) I'm able to write the file onto the SD Card and see the same in DDMS /sdcard/somefilename Do not hardcode /sdcard. Use Environment.getExternalStoragePath() to get the path to the SD card. 2. Would the path name like

Re: [android-developers] Re: Writing files SDCard on Emulator

2010-02-03 Thread Ace
Thank you Mark for your reply. Reg: Do not hardcode /sdcard. Use Environment. getExternalStoragePath() to get the path to the SD card. 1. When I use the above method, I end up with the problem of device not mounted, how can I overcome this on an Emulator. 2. On the actual device, how can I

Re: [android-developers] Re: XML Parsing

2010-02-03 Thread Frank Weiss
Add a boolean variable that is set on segfirstroute startElement and cleared on segfirstroute endElement. Us it to ignore the date element. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: Writing files SDCard on Emulator

2010-02-03 Thread Mark Murphy
Thank you Mark for your reply. Reg: Do not hardcode /sdcard. Use Environment. getExternalStoragePath() to get the path to the SD card. 1. When I use the above method, I end up with the problem of device not mounted, how can I overcome this on an Emulator. That method works perfectly

Re: [android-developers] Re: DNS Query

2010-02-03 Thread Lewske Wada
You probably are not basically able to change it to your own server. Chances are you can connect to your internal WiFi network and get the automatic DNS settings from dhcpd or whatever. I can dynamically connect through my own rooter (Linux) and pass that beyond to the internet by IP masquerading.

Re: [android-developers] AlertDialog in Android 1.5 and 2.0 / 2.0.1

2010-02-03 Thread TreKing
I've never had an issue with AlertDialogs in the emulator under any version. Post the code you're using, you're probably just doing something wrong. - TreKing - Chicago transit tracking app for

Re: [android-developers] Re: Help needed with parsing some XML data !

2010-02-03 Thread Frank Weiss
Found attribute : Albanië instead of Albanié This suggests you are displaying UTF-8 text (which is was logcat does) as Latin-1. To wit: ë = 0xC3 0xAB which are UTF-8 for Latin1 0xEB. However, é is 0xEB, not 0xAB, so there's something else afoot. Also note that when you see the rectangle with

[android-developers] Re: How to get a remote logcat on error?

2010-02-03 Thread Streets Of Boston
This is not necessary, to catch every line of code. Register an uncaught-exception-handler (Thread.setDefaultUncaughtExceptionHandler). Before you set it, get the current one. You may need to call it from your own uncaught- exception-handler. In this handler, print out the stack-trace (and some

[android-developers] Re: Android 2.0.1 SocketTimeoutException received with FTP Data channel

2010-02-03 Thread mericksonj
The TCP port is entered correctly as 2121 when I connect to FTP, the FTP cpntrol session is started properly according to the server logs. I am not using SFTP since I have disabled the sub-system on my SSH server. I am trying to use SSH TCP forwarding alone to establish and maintain the ftp

[android-developers] Re: Dynamic TableLayout problem

2010-02-03 Thread David Arm
Ok, solved y just have to use final on the tablelayout statement. If someone wants the code ill post it. Thanks for your reply Beth. On 2 feb, 18:13, Beth emez...@gmail.com wrote: David, The output shows you have a null pointer at line 93 of your activity. Look there for a solution. Also, I

[android-developers] Re: Wakelock and phone restarts

2010-02-03 Thread himanshu jain
I had the same problem i used wake lock but still i think before i acquire wakelock wifi goes in sleep mode . On Feb 2, 11:45 am, nikhil nik...@gmail.com wrote: It seems there is a conflict between call forwarding and wakelock... Can someone test this out please? If you have a service which

[android-developers] Re: How to get a remote logcat on error?

2010-02-03 Thread Emmanuel
Note that I made a blog entry to explain how I made a crash reporter using email on my blog, there : http://androidblogger.blogspot.com/2009/12/how-to-improve-your-application-crash.html It's a very effective way to catch the bugs, and to find how they happen. The fact that it is send by mail (

[android-developers] Vertical scrollview disappears on vertical and horizontal scrollview scheme

2010-02-03 Thread David Arm
Hi! I´m just trying to have both vertical and horizontal scrollviews but the vertical one disappears just 1 second after the app launch and I cant scroll down on my results. Here are the codes: XML: ?xml version=1.0 encoding=utf-8? ScrollView android:id=@+id/ScrollView

[android-developers] Re: Android 2.0.1 SocketTimeoutException received with FTP Data channel

2010-02-03 Thread mericksonj
Ryu, Sorry, forgot to address your iptables question. I am not using iptables on either my emulator or Droid. My firewall only needs the one SSH port open in order to connect, and then with the port forwarding through SSH additional firewall ports are uneccessary. I am not running a

[android-developers] Re: DNS Query

2010-02-03 Thread Bob Kerns
Then you are doing something VERY strange. DNS is a service provided to hosts (systems, i.e. your phone) by the network. It is not something that is under the control of the application. Generally, a DHCP server (or the wireless carrier) will supply you with your IP address, default router, DNS

[android-developers] Is passing AMR_NB into AudioTrack and AudioRecord valid?

2010-02-03 Thread draf...@gmail.com
I currently use AudioTrack and AudioRecord to create a looping sound program and I was using raw PCM audio but I want to use AMR_NB audio so I set up the code as follows arec = new AudioRecord(MediaRecorder.AudioSource.MIC, 11025,

[android-developers] Re: DNS Query

2010-02-03 Thread Bob Kerns
I didn't mean that to be harsh, BTW. Knowing that an approach is out in left field, and why, is useful information. Some of the most useful information you can get, as a beginner, since it narrows the focus of what you have to learn, a lot! On Feb 3, 9:21 am, Bob Kerns r...@acm.org wrote: Then

Re: [android-developers] Re: XML Parsing

2010-02-03 Thread Kevin Duffey
If you're using xml pull.. just go until you find the start_tag + the name of the node you need, then exit out of the while loops. On Wed, Feb 3, 2010 at 8:18 AM, Frank Weiss fewe...@gmail.com wrote: Add a boolean variable that is set on segfirstroute startElement and cleared on segfirstroute

[android-developers] Educational Resources

2010-02-03 Thread Bob Kerns
We have a lot of questions here of a fairly basic, non-Android- specific nature. I think it would be helpful to compile a list of resources on various topics, that we could refer people to (and try to get them to look at before asking here -- yeah, I know...) Areas I see: * TCP/IP and

[android-developers] Re: NullPoinerException in XML

2010-02-03 Thread Chirayu Dalwadi
Guys please help me out On Wed, Feb 3, 2010 at 5:26 PM, Chirayu Dalwadi chirayu.dalw...@gmail.comwrote: Hi all, In the below XML, I'm getting NullPointerException. What is the reason behind that? I also want scroll bars in th same XML. How to do that? ? xml version=*1.0*

[android-developers] Re: TableLayout, Rotating

2010-02-03 Thread Edward Falk
I don't think the Android API lets you do what you want. I wound up writing my own gridbox layout widget which I use in several of my apps. It's similar to the old Java gridbag layout and HTML tables. It does everything I need. Unfortunately, it's not generic enough for me to publish yet. --

RE: [android-developers] Re: XML Parsing

2010-02-03 Thread Tommy
This is how I have done it. When there are no more entries it exists try{ try{ String stationfeed = urls; url = new URL(stationfeed); ((xmlName)this.getApplication()).setXMLName(urls);

[android-developers] Re: Android 2.0.1 SocketTimeoutException received with FTP Data channel

2010-02-03 Thread Lewske Wada
Hi James, mericksonj wrote: The TCP port is entered correctly as 2121 when I connect to FTP, the FTP cpntrol session is started properly according to the server logs. I am not using SFTP since I have disabled the sub-system on my SSH server. I am trying to use SSH TCP forwarding alone to

[android-developers] Re: Coloring Default Buttons - color filter only on unfocused state

2010-02-03 Thread RLo
I see a similar solution on stackoverflow: http://stackoverflow.com/questions/2065430/fixed-android-detecting-focus-pressed-color/2189757#2189757 but I have some concerns with that solution, mainly what if the OS changes the graphic of the default button? Since the normal unfocused/ unpressed

[android-developers] Re: Android 2.0.1 SocketTimeoutException received with FTP Data channel

2010-02-03 Thread Lewske Wada
It also has SFTP capability to some extent, but actually depends on a third-party library (Jsch) and I suspect the performance is not so good. I'm talking about Runftp. Ryu Lewske Wada wrote: Hi James, mericksonj wrote: The TCP port is entered correctly as 2121 when I connect to FTP,

[android-developers] Re: Help needed with parsing some XML data !

2010-02-03 Thread Bob Kerns
Yeah, that's not what I mean by a test case. See http://junit.org as a starting point. (The Android SDK includes some limited version of JUnit I don't recognize. It's adequate for this purpose, but the full, modern version is better. For non-device testing, you're not restricted to the supplied

[android-developers] Re: Wakelock and phone restarts

2010-02-03 Thread nikhil
I dont have any issues with wifi after holding on to wakelock...but yeah when I try to forward calls the phone starts rebooting itself ...I have to kill the service to stop it from rebooting again and again... I have no clue why that happens.. On Feb 3, 11:04 am, himanshu jain

[android-developers] Re: concept of user name

2010-02-03 Thread guich
Yep, good idea, thanks. 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

Re: [android-developers] Re: Suspicious TCP RST packets while device is sleeping.

2010-02-03 Thread Dan Sherman
Is it the delay in discovering the disconnect that's the issue? Exactly... The connection stays open to accept data from the server. There are definitely points in time when this wouldn't happen for a few minutes, and if the connection dropped, that wouldn't be a problem if the client noticed

[android-developers] Re: StackOverflow, Threads and Stack Sizes

2010-02-03 Thread Rich
Quietly bumping.. R On Feb 2, 11:14 pm, Rich miser...@gmail.com wrote: Because hey, why the hell not. What about the stacksize argument to the Tread constructor? Is it always 8k, not matter is sent? R On Feb 2, 6:34 pm, Michael MacDonald googlec...@antlersoft.com wrote: Rich wrote:

[android-developers] Re: Android 2.0.1 SocketTimeoutException received with FTP Data channel

2010-02-03 Thread Bob Kerns
You're reinventing the wheel here, back before they invented circles. SFTP uses the same port as SSH (22 is the standard, but you can substitute if you want to throw off port-scanners) -- you would not be opening another port. FTP is *extremely* problematic in the modern world. Originally, it

[android-developers] Re: Android 2.0.1 SocketTimeoutException received with FTP Data channel

2010-02-03 Thread Bob Kerns
This is the standard result when trying to do active FTP and the server cannot connect to the random port the client is listening on. Yes, in standard FTP, the client must act as a server. On Feb 3, 9:15 am, mericksonj mericks...@gmail.com wrote: This works just fine on the Droid, and I am

[android-developers] Re: XML Parsing

2010-02-03 Thread Brion Emde
He wants to use SAX. On Feb 3, 10:44 am, Tommy droi...@gmail.com wrote: This is how I have done it. When there are no more entries it exists try{             try{             String stationfeed = urls;             url = new URL(stationfeed);            

[android-developers] Re: XML Parsing

2010-02-03 Thread Brion Emde
I sent you a program last Friday that showed how to do this. You replied then, saying you would look at my example on Monday and reply to me then. You never did. On Feb 3, 12:02 am, Sasikumar.S sasikumar.it1...@gmail.com wrote: Hi, I'm having a XML file like *sample.xml* * * *maintag*

[android-developers] bind to a remore service

2010-02-03 Thread dane131
Hallo, i have made an application that is consisted of an activity and a service.The service has an interface (created by an aidl file) including methods implemented in the service.My activity binds to the service and calls some methods of the service.All good till now.My problem is when i want

  1   2   3   >