[android-developers] Android camera orientation problem

2012-10-22 Thread Haris
Hi all For my application I am using android native camera and previewing the image using surface view. But everything is working except the camera orientation. When I open the camera by setting screenOrientation=landscape on manifest file I am getting the preview without any problem in

[android-developers] java.lang.NullPointerException and Unknown Source

2012-10-22 Thread thejaswi s
In my code I am getting this error. I pasted full log cat java.lang.RuntimeException: Unable to start activity java.lang.RuntimeException: Unable to start activity ComponentInfo{ sa.app.activity.EmailRegistartionhttp://sa.appoptix.com/sa.appoptix.com.activity.EmailRegistartion}:

[android-developers] Sending file between 2 instances of emulator

2012-10-22 Thread Archana
Hi, I want to send a text between 2 android emulator instances(by hard-coding the port numbers) using HTTP. I want a single apk file for this(so that it can run on 'n' instances later). Please let me know how to implement this? Thanks in advance! -- You received this message because you are

[android-developers] Re: Java SE

2012-10-22 Thread al
http://www.oracle.com/technetwork/java/javase/downloads/jdk7u9-downloads-1859576.html Am Donnerstag, 18. Oktober 2012 16:36:34 UTC+2 schrieb Alana Weaver: Hi I've downloaded Android SDK but the Java jdk wasn't apart of Android SDK download? Where can I find Java SE that's compatible windows

Re: [android-developers] To ContentProvide Sqlite DB or Not

2012-10-22 Thread Piren
Why do you prefer ASyncTasks to Loaders? Since they are handicapped in ICS, isn't it better to stop using them? On Sunday, October 21, 2012 11:36:10 PM UTC+2, Mark Murphy (a Commons Guy) wrote: On Fri, Oct 19, 2012 at 8:13 PM, ncdroid jbl...@gmail.com javascript: wrote: Can someone

Re: [android-developers] Transferring VBO's through constructors?

2012-10-22 Thread Fabien R
On 21/10/2012 19:19, Braindrool wrote: I'm one of those people that think it's best to do something right the first time, as well as take advantage of Java's class system. Have a look on the VBO section of this site http://www.learnopengles.com - Fabien -- You received this message

[android-developers] Problems with the Power/Lock button after 4.1.2 update (Samsung Nexus S)

2012-10-22 Thread VladP
Hi I'm facing some problems with the power button of my Nexus S after installing the 4.1.2 JellyBean update. The thing is that after two days of using the new update the screen became to turn itself on like i would press the power button and on saturday evening the button stopped to respond

[android-developers] Re: Strange behaviour with mediaplayer and seekTo (on start-up)

2012-10-22 Thread Vrashabh Irde
Did you solve this problem? I ve modified videoview to implement the onSeekCompleteListener but this still occurs On Wednesday, 16 June 2010 10:23:49 UTC+5:30, Mathias Lin wrote: I'm implementing a custom video player because I need custom video controls. I have an app with only one

[android-developers] AVD error Eclipse Juno under Fedora 17

2012-10-22 Thread Herli Joaquim de Menezes
I get this error message: [2012-10-21 20:59:45 - SDK Manager] Failed to create sdcard in the AVD folder. [2012-10-21 20:59:52 - SDK Manager] Failed to create the SD card. I tried to solve this running Eclipse Juno Android Device Manager and examined the ~/.android/avd it is empty. Any hint?

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

2012-10-22 Thread Saintago M
the same problem Windows XP Fetched Add-ons List successfully Fetching URL: https://dl-ssl.google.com/android/repository/repository-7.xml Done loading packages. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] How reset the connection - PDP Session

2012-10-22 Thread Sergio Andueza
Hi Team, I'm doing some networking test so I want close and start a new PDP session each time I run a connectivity test such as send data over a TCP connection or UDP also. I saw ConnectivityManager just provide information but not allow reset the connection. How should be the best way to

Re: [android-developers] TextureView canvas drawing problems

2012-10-22 Thread zhu hui
Hi All: I have tried this sample, it works great. But when I change lockCanvas(null) into lockCanvas(new Rect(x, y, x+20, y+20)), the example starts to flicker. It seems 'lockCanvas(Rect)' can not work well for TextureView or any other reasons? I am using Motorola XOOM with android 4.0.3.

[android-developers] How to delete videos from youtube

2012-10-22 Thread varsha pelliti
Hi everyone I had implemented uploading videos to youtube from android programatically using *YouTube Direct App for Android http://code.google.com/p/ytd-android/*. What i need is to delete the video which i had uploaded. http://code.google.com/p/ytd-android/Can anyone help? Thanks Varsha

[android-developers] Somebody help me :)

2012-10-22 Thread Tayip TÜRK
https://lh3.googleusercontent.com/-1fb1NqVc9Lk/UIP3MlWRe4I/AAY/YuKc8nQ6_BI/s1600/img1.png How can I do simple a FlashLigth application like this. this content is five buttons(blue,red...). when I click on a button(ex:blue),screen must be blue. thanks for helps:) -- You received this

[android-developers] Localized Images in Google Play

2012-10-22 Thread Hans Maulwurf
Is it possible to have localized images for an App in Google Play? I need to have a different Icon for Japan and this should be reflected by the icons displayed in Google Play. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] How to delete videos from youtube

2012-10-22 Thread Kiran kumar
Hi I had uploaded video to YouTube from Android device using YouTube Direct App for Android(ytd-android) . I need to know how to delete the video which i had uploaded. Thanks Kiran -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: How to Handle the Duak Sim Settings

2012-10-22 Thread 钟佳兴
We have many China cell phones dual SIM card support, say, aliyun system (according to Android modifications), you can go to research -- 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: GPU Acceleration - still not worth using on 4.1.1?

2012-10-22 Thread Vinicius Maciel
On Android 4.1.1 , i'm still getting this blink when a WebView is Hardware Accelerated. =/ Em quarta-feira, 17 de outubro de 2012 01h46min02s UTC-3, Anthony Prieur escreveu: Is anyone else seeing as much weirdness with GPU accel as I am? I do see troubles too with GPU, especially this

[android-developers] problem solving

2012-10-22 Thread Vinesh Kow
i have a tablet with android OS and i am have a problem to start the apparatus. it start but free and it is not loading my desktop -- 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: It seems easy to get rid of a competitor’s app

2012-10-22 Thread Peter
On 20 October Kristopher Micinski wrote: Is there any possibility that Google would spend enough money for tons of lawyers to protect you on an individual basis? Probably not. But these cases almost never reach a stage where a lawyer is required. Normally neither the developer who

[android-developers] video steaming in android

2012-10-22 Thread Ratheesh Valamchuzhy
Dear All In my Android app i am playing video from a remote server, for that i use video view with the video url. The problem is the video uploaded from my phone to server is not playing in the device. from the server side they are converting and stored into mp4 format. To stream a video from

[android-developers] Re: NDK jni recommend some examples for me

2012-10-22 Thread RichardC
All of the following: android-ndk-r8b\samples On Thursday, October 18, 2012 6:04:54 PM UTC+1, Tony-jiang wrote: NDK jni recommend some examples for me . How to link the .so file? How to write the .mk file? everything about this . My system environment is Ubuntu 12.04 .I set

[android-developers] Android Jelly Bean Container

2012-10-22 Thread Christos Amarandos
Hi, I was wondering if it is possible to obtain the Andoid shaped Google Jelly Bean Container from anywhere. I know that it is a bit random but it is cute. BTW: I am a developer. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] questions about how to get the replied message by utilizing android-serialport-api

2012-10-22 Thread JerrySG
Hi, every friend This is Jerry, and I am now working on a Android project, need to connect my android-based equipment with another equipment via serial port. I downloaded the source code from the famous android-serialport-api:

[android-developers] Weird accelerometer maximum value

2012-10-22 Thread intersum
Hi, When I use function *getMaximumRange()* to get maximum value of accelerometer I get curiously large number: *10320*. The maximum value of which I managed to get is *19.5999*. Can you please tell me what number is this *10320*? It's not maximum value of accelerometer for sure. I only get

[android-developers] Honeymoon vs Gingerbread : accentuated keyboard letters

2012-10-22 Thread contact.houseto...@gmail.com
I have a Honeymoon tablet and I observe that the Android soft keyboard can show various french and foreign accentuated letters (ISO-8859-1) when I touch hold my french keyboard. Is it the same for a Gingerbread mobile (the type with a menu button) ? If not, how do you type accentuated letters -

Re: [android-developers] Honeymoon vs Gingerbread : accentuated keyboard letters

2012-10-22 Thread yogendra G
I think its *Honeycomb *please dont replace the names of android os. Br, Yogi. On Sun, Oct 21, 2012 at 10:41 AM, contact.houseto...@gmail.com contact.houseto...@gmail.com wrote: I have a Honeymoon tablet and I observe that the Android soft keyboard can show various french and foreign

[android-developers] WifiDirect WifiP2pManager.ConnectionInfoListener

2012-10-22 Thread Zach
Hi WifiP2pManager.ConnectionInfoListener has a onConnectionInfoAvailable()http://developer.android.com/reference/android/net/wifi/p2p/WifiP2pManager.ConnectionInfoListener.html#onConnectionInfoAvailable(android.net.wifi.p2p.WifiP2pInfo) call back. I am wondering what info this call back is

Re: [android-developers] Re: Need Help with Android Monkey

2012-10-22 Thread $rik@nth
It seems that the /mnt/sdcard doesn't have rw permissions. Can you check the filesystem permissions for /mnt/sdcard by executing mount from shell.? On Fri, Apr 6, 2012 at 9:51 AM, Diego Torres Milano dtmil...@gmail.comwrote: It seems that monkey tries to log the events to scriptlog.txt in the

Re: [android-developers] Re: How to get a button id from an app(I don't have the source)

2012-10-22 Thread $rik@nth
Thanks Diego, AndroidViewClient was really nice one and worked like a charm.. On Wed, Oct 17, 2012 at 8:30 PM, Diego Torres Milano dtmil...@gmail.comwrote: You mentioned you don't have the source, so we assume it's not your APK, then Instrumentation won't work because both packages must be

[android-developers] Html line(horizontal rule) is not supporting in Android Gmail client

2012-10-22 Thread Ajay Sharma
Hello Everyone, [please find attached image] This is sample image( ) of compose message box of android gmail client , here i have to insert a line (Html line with the help of Hr tag or table) at position (Red mark between that two statements) with the *custom html message* , i try a lot but i

[android-developers] hi, if u know the reason please help me.....:)

2012-10-22 Thread Tom
Hi, I am attached the using code for record and play the audio above. My Problem is.. My audio is save music player after closing the emulator I don't know the reason... But i need the recorded voice immediately play after recording so any know reason or know how to solve the

[android-developers] Re: NDK jni recommend some examples for me

2012-10-22 Thread Juned Khan
There is a sample example as well as Documents which bundled with Android NDK Read the documents and try to compile it. if you face any problem then post it. definitely you will get help. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

Re: [android-developers] Installation requires org.eclipse.wst.sse.core - how to download and install?

2012-10-22 Thread dogulas
Tor, Thanks for the reply. I actually submitted this original post quite some time ago and it just now appeared. I wish I had your answer back then. It would have made my life a lot easier. I stumbled onto a solution myself just by trial and error: After installing Eclipse 4.2 (Juno),

[android-developers] Is it redundant to call invalidate() in the onSizeChanged method?

2012-10-22 Thread Satya Komatineni
I looked at the setFrame() method of the parent view class. This method calls onSizeChanged() only if there is a change in size of that view. If there is a change in size it also calls invalidate(). So am I right in thinking that it is redundant to call invalidate() in onSizeChanged() method.

[android-developers] Re: Weird accelerometer maximum value

2012-10-22 Thread Chrystian Vieyra
My Asus TF300T also returns an unusually high maximum range value, my other devices return a reasonable range, so I also have been wondering what that value actually is. On Monday, October 22, 2012 3:48:19 AM UTC-5, intersum wrote: Hi, When I use function *getMaximumRange()* to get maximum

[android-developers] Re: If hdpi and xhdpi drawables defined, which drawable is used as base for an mdpi device?

2012-10-22 Thread Streets Of Boston
Wouldn't it be better for mdpi to use xhdpi because wouldn't you get better quality by just halving the xhdpi resolution? Nope, it wouldn't be better. If the images are the same, just scaled versions of one particular base-image, lpdi and mdpi devices scale *down *to the desired size, which

[android-developers] Can't setCurrentItem on orientation change correctly

2012-10-22 Thread Francesco Noya
I've got a ViewPager that should change the page displayed upon orientation change. What I would like to achieve is to restart from the first fragment when i switch from landscape to portrait or vice-versa. I supposed was just necessary to set a mViewPager.setCurrentItem(0, false); in the

[android-developers] ViewPager not updating the current item using setCurrentItem on orientation change.

2012-10-22 Thread Francesco Noya
I've got a ViewPager that should change the page displayed upon orientation change. What I would like to achieve is to restart from the first fragment when i switch from landscape to portrait or vice-versa. I supposed was just necessary to set a mViewPager.setCurrentItem(0, false); in the

[android-developers] Re: Android camera orientation problem

2012-10-22 Thread spartygw
Camera.setDisplayOrientation works for me, I could never seem to get any rotation stuff to work that I tried to set using the Camera.Parameters. -gw On Monday, October 22, 2012 2:23:46 AM UTC-4, Haris wrote: Hi all For my application I am using android native camera and previewing the image

[android-developers] Re: Weird accelerometer maximum value

2012-10-22 Thread bob
Please see this: http://www.specsensors.com/digital_accelerometer.asp?gclid=CNSfw9f3lLMCFXSSPAodhlcAUA g Range *±250 g or ±500 g* * * * * On Monday, October 22, 2012 3:48:19 AM UTC-5, intersum wrote: Hi, When I use function *getMaximumRange()* to get maximum value of accelerometer I get

[android-developers] FTDI 232R and Android 4.0

2012-10-22 Thread Conrad Chapman
Hi all, I have an FTDI 232R chip in my USB peripheral device. I have a Toshiba AT300 USB host (supposedly) tablet. The FTDI website says that I should be able to connect with their new driver package. there is even a test program.

[android-developers] Re: Weird accelerometer maximum value

2012-10-22 Thread bob
BTW, if you drop your phone, you will probably get a huge G force (deceleration) when it hits the ground. The phone will go from X feet/second to 0 feet/second in a time of like .0001 seconds (sort of). accel = deltaV / deltaT accel = 9 / .1 (just say it is going 9

Re: [android-developers] java.lang.NullPointerException and Unknown Source

2012-10-22 Thread TreKing
On Mon, Oct 22, 2012 at 1:25 AM, thejaswi s thejasw...@gmail.com wrote: Help me out where I am going wrong. Thanks for help in advance. What is sa.appoptix.com.activity.EmailRegistartion ? -

Re: [android-developers] How to delete videos from youtube

2012-10-22 Thread TreKing
On Thu, Oct 18, 2012 at 1:11 AM, varsha pelliti varshapell...@gmail.comwrote: What i need is to delete the video which i had uploaded. http://code.google.com/p/ytd-android/Can anyone help? Read the YouTube API.

Re: [android-developers] Somebody help me :)

2012-10-22 Thread TreKing
On Sun, Oct 21, 2012 at 8:23 AM, Tayip TÜRK tayipt...@gmail.com wrote: How can I do simple a FlashLigth application like this. this content is five buttons(blue,red...). when I click on a button(ex:blue),screen must be blue. What specifically do you have a problem with?

[android-developers] dtmf reading

2012-10-22 Thread coder_sym
Is it possible to read DTMF codes using andriod public apis? -- 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] dtmf reading

2012-10-22 Thread Nikolay Elenkov
On Tue, Oct 23, 2012 at 1:18 AM, coder_sym saj...@gmail.com wrote: Is it possible to read DTMF codes using andriod public apis? Since you can't record a conversation, I'd say no. If you are using SIP with out of band DTMF, you should be able get them, but I don't think the native SIP client

Re: [android-developers] dtmf reading

2012-10-22 Thread Kristopher Micinski
no, kris On Mon, Oct 22, 2012 at 12:18 PM, coder_sym saj...@gmail.com wrote: Is it possible to read DTMF codes using andriod public apis? -- 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] dtmf reading

2012-10-22 Thread coder_sym
So its a definite no? On Monday, October 22, 2012 8:42:57 PM UTC+3, Kristopher Micinski wrote: no, kris -- 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] Re: dtmf reading

2012-10-22 Thread bob
I seriously doubt DTMF is used anywhere. When you press a number key, the sound effect is just for fun. On Monday, October 22, 2012 11:18:21 AM UTC-5, coder_sym wrote: Is it possible to read DTMF codes using andriod public apis? -- You received this message because you are subscribed

Re: [android-developers] dtmf reading

2012-10-22 Thread Kristopher Micinski
Yes. You can't read the in call audio stream, ever, for any reason, as Nicolay points out if you are using SIP out of band and don't need access to the in call stream then possibly. But Android has *no interface to the telephony hardware* other than RIL using a simple protocol. kris On Mon,

Re: [android-developers] To ContentProvide Sqlite DB or Not

2012-10-22 Thread Mark Murphy
On Mon, Oct 22, 2012 at 3:48 AM, Piren gpi...@gmail.com wrote: Why do you prefer ASyncTasks to Loaders? Greater flexibility. Since they are handicapped in ICS, isn't it better to stop using them? Since they are not handicapped in ICS, they are perfectly fine to use. In fact, CursorLoader

Re: [android-developers] To ContentProvide Sqlite DB or Not

2012-10-22 Thread Kristopher Micinski
On Mon, Oct 22, 2012 at 3:48 AM, Piren gpi...@gmail.com wrote: Why do you prefer ASyncTasks to Loaders? Since they are handicapped in ICS, isn't it better to stop using them? Why do you think they're handicapped? ... That doesn't make any sense. kris -- You received this message because

[android-developers] foreground hither

2012-10-22 Thread bob
Is there a way to use the Devices window to select an Activity and tell it to come to the foreground? -- 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

Re: [android-developers] Re: the Welcome to Android Development window doesn't appears

2012-10-22 Thread Cristina Blanco
Thank you, Tor, but I did'nt see this window at first time, so I couldn't install the existing SDK on Eclipse, it's that what I'm trying to get. Would you know how can I do it? Thank you! El lunes, 22 de octubre de 2012 05:54:30 UTC+2, Tor Norbye escribió: The Welcome Wizard is only shown the

Re: [android-developers] weak USB juice?

2012-10-22 Thread bob
I think there is something wrong with the Samsung. When I look at the USB settings and compare it with the Nexus, for some reason it is only requiring 96 mA instead of 500.

[android-developers] status bar clock stops updating

2012-10-22 Thread Steve Delaney
Hi all, I ran into a problem testing clock update. I am testing on Beagleboard with Gingerbread 2.3 Using a clock source like 3G modem, the network time can be updated to refresh the status bar clock but sometimes the status bar clock stops updating. the command line 'date' command is

Re: [android-developers] weak USB juice?

2012-10-22 Thread Kostya Vasilyev
Most tablets need 11-12V to charge, while phones and the Nexus 7 need 5V. Read the fine print on the chargers. USB2 is 5V. -- K 2012/10/22 bob b...@coolfone.comze.com I think there is something wrong with the Samsung. When I look at the USB settings and compare it with the Nexus, for some

Re: [android-developers] weak USB juice?

2012-10-22 Thread bob
The charger for the Samsung Galaxy Tab I have appears to be five volts: https://lh6.googleusercontent.com/-zTCipNJep-M/UIWncXr_fII/AC8/e3kwq8RE6zk/s1600/fivevolts.jpg On Monday, October 22, 2012 2:07:36 PM UTC-5, Kostya Vasilyev wrote: Most tablets need 11-12V to charge, while

Re: [android-developers] To ContentProvide Sqlite DB or Not

2012-10-22 Thread ncdroid
Thanks a lot for your feedback Mark. Do you have a rule of thumb you apply to decide on AsyncTasks vs Loaders? For example, if you expect something to take less than x mins, use AsyncTask, otherwise use a Loader? On Sunday, October 21, 2012 5:36:10 PM UTC-4, Mark Murphy (a Commons Guy)

[android-developers] Re: How to do HTTP post requests from Android on my Mule service bus app.

2012-10-22 Thread bob
You may also want to use java.net.Socket for finer control. On Thursday, October 18, 2012 2:50:29 PM UTC-5, Speedy31 wrote: Hi guys, I'm pretty new to Android software development, but have to say I like it more each day! I would like my android app to contact my servicebus over a

Re: [android-developers] To ContentProvide Sqlite DB or Not

2012-10-22 Thread Mark Murphy
On Mon, Oct 22, 2012 at 4:25 PM, ncdroid jbla...@gmail.com wrote: Thanks a lot for your feedback Mark. Do you have a rule of thumb you apply to decide on AsyncTasks vs Loaders? For example, if you expect something to take less than x mins, use AsyncTask, otherwise use a Loader? CursorLoader

Re: [android-developers] weak USB juice?

2012-10-22 Thread Kostya Vasilyev
Interesting. All my 10.1 tablets (three of them) have chargers that output 10-11 V. But then, the 5V could be wired differently (from USB) at the charger end, or the device could talk to the charger to trigger the actual high current output (safety regulations? marketing?) -- K 2012/10/23 bob

Re: [android-developers] To ContentProvide Sqlite DB or Not

2012-10-22 Thread ncdroid
Thanks again for sharing your experience and guidance on this subject Mark. After getting lost in the documentation for so many hours, nice to have this communicated in such matter of fact language. On Monday, October 22, 2012 4:54:10 PM UTC-4, Mark Murphy (a Commons Guy) wrote: On Mon, Oct

Re: [android-developers] Re: Updating progress bar in Application while downloading file using DownloadManager

2012-10-22 Thread bob
Ok. It will be something like this: // Obtain the Download Manager Service. String serviceString = Context.DOWNLOAD_SERVICE; DownloadManager downloadManager; downloadManager = (DownloadManager)getSystemService(servicestring); // Create a query for paused downloads. Query pausedDownloadQuery =

Re: [android-developers] dtmf reading

2012-10-22 Thread saju Thomas
Its a bit strange :) i had high hopes on andriod ;) On 10/22/12, Kristopher Micinski krismicin...@gmail.com wrote: Yes. You can't read the in call audio stream, ever, for any reason, as Nicolay points out if you are using SIP out of band and don't need access to the in call stream then

[android-developers] How come LinearLayout doesn't seem to measure wrap_content properly

2012-10-22 Thread Satya Komatineni
I am doing more research to see if this indeed is the case. But here are the symptoms LinearLayoutheight=wrap_conent textviewheight=wrap_content some-custom-circle-viewheight=wrap_content textview ..height=wrap_content /LinearLayout In the custom circleview constructor I set

Re: [android-developers] How come LinearLayout doesn't seem to measure wrap_content properly

2012-10-22 Thread Romain Guy
LinearLayout is doing the right thing. wrap_content results in an AT_MOST MeasureSpec. If you are writing a custom view that extends the base View class you really should override onMeasure(). On Mon, Oct 22, 2012 at 2:33 PM, Satya Komatineni satya.komatin...@gmail.com wrote: I am doing more

[android-developers] Re: Android cuts off HttpURLConnection when screen timeout occurs.

2012-10-22 Thread LouieLiu
I got it. Change WiFi sleep policy to NEVER. Settings.System.putInt(getContentResolver(), android.provider.Settings.System.WIFI_SLEEP_POLICY,android.provider.Settings.System.WIFI_SLEEP_POLICY_NEVER); On Sunday, October 21, 2012 6:20:53 AM UTC-7, LouieLiu wrote: The app I am writing uses a

[android-developers] Re: How to do HTTP post requests from Android on my Mule service bus app.

2012-10-22 Thread bob
Here's some code to get you started: String myFeed = getString(R.strinq.my_feed); try { URL url = new URL(myFeed); // Create a new HTTP URL connection URLConnection connection = url.openConnection(); HttpURLConnection httpConnection =

Re: [android-developers] How come LinearLayout doesn't seem to measure wrap_content properly

2012-10-22 Thread Satya Komatineni
Does wrap_content always result in AT_MOST? If it says 411 pixles at most, I would have thought I will take all of it because I could use that. I would not have thought to give back my content size. Just thinking aloud. what will match_parent do? Does that come in as EXACT, matching the size of

Re: [android-developers] How come LinearLayout doesn't seem to measure wrap_content properly

2012-10-22 Thread Romain Guy
When you receive an AT_MOST mesure spec you can return any size you want as long as it's = to the MeasureSpec's size. match_parent is indeed EXACTLY + size of the parent. On Mon, Oct 22, 2012 at 3:05 PM, Satya Komatineni satya.komatin...@gmail.com wrote: Does wrap_content always result in

Re: [android-developers] dtmf reading

2012-10-22 Thread Kristopher Micinski
People always give these passive aggressive insults to Android here, thinking somehow that people on this list take personal insult to their comments. We don't, I don't write Android, most other people don't either. The ability to intercept this isn't the decision of the Android developers,

Re: [android-developers] dtmf reading

2012-10-22 Thread Kristopher Micinski
someone has implemented this on top of RIL, there is a sendDTMF call in the RIL interface, but you can't touch it from the Android SDK, which is the topic of this list. I'll also note that this has been implemented for Boot2Gecko: https://bugzilla.mozilla.org/show_bug.cgi?id=709565 kris On Mon,

[android-developers] Re: status bar clock stops updating

2012-10-22 Thread Steve Delaney
OK, the problem is in the TI distro status bar stuck clock on TI Beagleboard build is fixed with this patch: http://e2e.ti.com/support/embedded/android/f/509/t/111012.aspx that modifies AlarmManagerService.java On Monday, October 22, 2012 11:57:08 AM UTC-7, Steve Delaney wrote: Hi all,

[android-developers] Re: Difference between Android and Linux Kernel ?

2012-10-22 Thread Ian Ni-Lewis
MIPS rate isn't a particularly helpful measurement, especially if you're just looking at peak MIPS. This is particularly important when comparing two completely different instruction sets, but even on identical instruction sets this is a misleading measurement. The core architecture, cache

[android-developers] overriding button style Widget.Button

2012-10-22 Thread Ubuntu guy
Hello, The button style has gravity specifications like center_vertical| center_horizontal in frameworks/base/core/res/res/values/styles.xml. I'm trying to override this style for a custom view to remove the gravity specifications but unable to do that. The android:gravity item of the new

Re: [android-developers] Digest for android-developers@googlegroups.com - 25 Messages in 24 Topics

2012-10-22 Thread Lew
QD wrote: android-d...@googlegroups.com javascript: wrote: Today's Topic Summary Group: http://groups.google.com/group/android-developers/topics - Honeymoon vs Gingerbread : accentuated keyboard

Re: [android-developers] Re: dtmf reading

2012-10-22 Thread Jim Graham
On Mon, Oct 22, 2012 at 10:44:45AM -0700, bob wrote: I seriously doubt DTMF is used anywhere. It is used for analog (POTS) phones with DTMF (last time I checked, some people still had dial phones, too). But on digital telephony, you're basically right---the tones in the receiver are for the

Re: [android-developers] Re: Android cuts off HttpURLConnection when screen timeout occurs.

2012-10-22 Thread Nikolay Elenkov
On Tue, Oct 23, 2012 at 6:46 AM, LouieLiu ckliu.em...@gmail.com wrote: I got it. Change WiFi sleep policy to NEVER. Settings.System.putInt(getContentResolver(), android.provider.Settings.System.WIFI_SLEEP_POLICY,android.provider.Settings.System.WIFI_SLEEP_POLICY_NEVER); Of course you cannot

[android-developers] Re: Sending file between 2 instances of emulator

2012-10-22 Thread gjs
Hi, Use Socket ServerSocket classes Regards On Monday, October 22, 2012 5:29:16 PM UTC+11, Archana wrote: Hi, I want to send a text between 2 android emulator instances(by hard-coding the port numbers) using HTTP. I want a single apk file for this(so that it can run on 'n' instances

[android-developers] Chennai MRTS @ Google Play - A brand new android app for Chennai people

2012-10-22 Thread kavitha chidambaram
Hi All, We are happy to release our first ANDROID application Chennai MRTS for every Chennai train traveler. Now you can access detailed Chennai sub-urban and MRTS Metro information from your smartphone. Much more than a timetable, 'Chennai MRTS' enables you to plan and re-plan your journey on

[android-developers] Re: Chennai MRTS @ Google Play - A brand new android app for Chennai people

2012-10-22 Thread Chris Sarbora
While there may be someone here interested in using your application, you will much more likely find here hundreds of developers ready and willing to dissect and, possibly, reverse-engineer and duplicate it ;) This forum is for discussion of app development, not really discussion of apps. Not

[android-developers] play Audio one by one automatically

2012-10-22 Thread Sadhna Upadhyay
Hi everybody, I am making an sample in which i have to play multiple audio file one by one when first finish second and so on start automatically without click and the file is store in raw folder ,if any one have any idea please share with me. -- You received this message because you are

[android-developers] Re: Android cuts off HttpURLConnection when screen timeout occurs.

2012-10-22 Thread Chris Sarbora
You may want to rethink your network strategy; unless your app clearly requires constant network activity, you would do well to heed the system's default peripheral-sleep policies. Nothing ticks off users more than apps that kill battery by insisting that they remain active when the phone's not

[android-developers] Re: Android camera orientation problem

2012-10-22 Thread Haris
I don't know why it's not worked with me. If I set orientation as portrait in manifest file I am getting 90 degree rotated image in my preview. But in the case of landscape orientation I am getting normal image in my preview while my phone orientation is portrait I know it is 90 degree rotated

[android-developers] Error 41 while Building ICS android-4.0.1_r1 Using sun-jdk6

2012-10-22 Thread s.rawat
Hi, I am using 64 bit Ubuntu 10.04 Machine for building ICS android-4.0.1_r1 using the Android Source Link - http://source.android.com/source/downloading.html . I am using the sun-java6-jdk instead of Open Jdk, and I think that is the preferrred one.But after hours of building I am getting this