[android-developers] Dual Pane Layout with ViewPager

2011-12-26 Thread Kevin
I'm making an app that uses a dual pane layout when in landscape orientation, much like the example in the fragment api blog. I also have two different lists, each would have their own details pane. I want to use a ViewPager to switch between the lists, but I'm unsure how best to approach it. I

[android-developers] About Contacts sorting problem

2011-12-26 Thread chenyu xu
Hello All: My company's tester report a bug that the user create a new contact item whose 1st name is in Chinese , last name is in English, for example: First Name: 元璋 Last Name: Zhu. Then this item is sorted outside the A-Z order, after the Z group( in the case of sorting by first name).

[android-developers] Regarding android browser webkit layouttest automated test document

2011-12-26 Thread Sagar
Hi, Can someone help me to get the documentation to run the webkit automated layout tests within android browser. Thanks in advance. Sagar -- 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] OpenGL ES 2.0 for Android

2011-12-26 Thread bob
What is the best way to learn OpenGL ES 2.0 for Android? -- 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: Google Earth for android apps

2011-12-26 Thread Ali Chousein
Yep, I'm not aware of Google Eart API either. Try integrating Google Maps instead. You can start from here: http://developer.android.com/resources/tutorials/views/hello-mapview.html - Ali Chousein Weather-Buddy http://weatherbuddy.blogspot.com |

[android-developers] Button lick problem

2011-12-26 Thread B.Arunkumar
Hi, I have a problem with button click. This is what I have written in a sample Activity: button1 = (Button) findViewById (R.id.button1); button2 = (Button) findViewById (R.id.button2); button1.setOnClickListener(new OnClickListener(){ @Override

[android-developers] Problem in getting Android source code from Google repo

2011-12-26 Thread srinivasan shanmugam
Hi, When i was getting android source code by executing the following commands: $ curl http://android.git.kernel.org/repo ./repo $ chmod a+x ./repo $ ./repo init -u git://android.git.kernel.org/platform/manifest.git -b gingerbread I was facing the below errors could any body

Re: [android-developers] Button lick problem

2011-12-26 Thread Mukesh Srivastav
Arun, I am not sure what is the purpose of going to sleep mode, and secondly you put a logs on the other abstract methods of your activity class. I would suggest read the Android life cycle as well. Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Mon, Dec 26,

Re: [android-developers] Problem in getting Android source code from Google repo

2011-12-26 Thread Yang Bo
Try android.googlesource.com. 在 2011-12-26 下午6:48,srinivasan shanmugam srinivasan@gmail.com写道: Hi, When i was getting android source code by executing the following commands: $ curl http://android.git.kernel.org/repo ./repo $ chmod a+x ./repo $ ./repo init -u

[android-developers] Adding AVRCP Plugin in Android GB

2011-12-26 Thread suci
Hi, This mail is for all who are trying to use AVRCP profile in GB. GB has A2DP and AVRCP tightly coupled under audio. With this only AVRCP cant be used. control.c in external/bluetooth/bluez/control.c has the avrcp implementation part. Therez no support in the framework to call these

[android-developers] Re: problem parsing the package

2011-12-26 Thread rachana govilkar
Hello, I am in a problem related with ListView. I attach my List of users to the ListView and i also have a button. On click of which i need to pass the whole user object of that user to next file. userFriendInfoVO = mainFriendList.get(position); see here i get whole object but no matter

[android-developers] runtime error: com.android.internal.os.LoggingPrintStream.println

2011-12-26 Thread John Goche
Hello, I have run across the following strange error message. From within an button's on click listener I call System.out.println(Foo.bar) so as to debug my program and get the following error message: D/AndroidRuntime( 2313): Shutting down VM W/dalvikvm( 2313): threadid=1: thread exiting with

Re: [android-developers] runtime error: com.android.internal.os.LoggingPrintStream.println

2011-12-26 Thread Albert Rosa
It could be due to println not exististing in the packages included with android. I would suggest using Log.w(), Log.e() or Log.n() for logging and viewing points. Not entirely sure why the println doesn't work. Sent via Mobile device... mind the spelling errors I might have rushed! On Dec 26,

[android-developers] Handling system events: LunarLander vs Jetboy vs Snake

2011-12-26 Thread Peter Webb
Both LunarLander and JetBoy in the SDK demos have the bug that they don't handle you pressing the home button in the app - when you restart the application, it says application stopped unexpectedly. These both run render/update in a separate thread, which appears to not be terminated. Snake

[android-developers] no audio from bluetooth sco earpiece

2011-12-26 Thread the_edge123
Hello, I want to play a sample file to test the bluetooth sco connection on Android 2.2. The device is an earpiece (Nokia BH-701). The problem is that I can hear and see that the SCO connection is Ok but I can not hear the sample audio (mono,8kHz, 16 bits). The connection seems to be established

[android-developers] Re: OpenGL ES 2.0 for Android

2011-12-26 Thread the_edge123
On Dec 26, 11:05 am, bob b...@coolfone.comze.com wrote: What is the best way to learn OpenGL ES 2.0 for Android? What kind of tutorial are you looking for ? are you a beginner ? What did you already find ? -- You received this message because you are subscribed to the Google Groups Android

[android-developers] OpenGL ES Question

2011-12-26 Thread bob
Is there a google group like this for OpenGL ES? I'm trying to figure out if I can take any OpenGL Fragment shader and use it with OpenGL ES? Or are there differences in the shading language between regular and ES? -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] OpenGL ES 2.0 for Android

2011-12-26 Thread TreKing
On Mon, Dec 26, 2011 at 4:05 AM, bob b...@coolfone.comze.com wrote: What is the best way to learn OpenGL ES 2.0 for Android? Best way to learn is subjective. So figure what is the best way for *you* to learn, then do that with OpenGL ES 2.0.

Re: [android-developers] OpenGL ES Question

2011-12-26 Thread TreKing
On Mon, Dec 26, 2011 at 11:12 AM, bob b...@coolfone.comze.com wrote: Is there a google group like this for OpenGL ES? Probably. Did you try looking? - TreKing

Re: [android-developers] Re: problem parsing the package

2011-12-26 Thread Jim Graham
On Mon, Dec 26, 2011 at 05:19:17AM -0800, rachana govilkar wrote: Hello, I am in a problem related with ListView. I attach my List of users to the ListView and i also have a button. On click of which i need to pass the whole user object of that user to next file. First of all, what package

[android-developers] NFC Secure element in SIM vs internal!

2011-12-26 Thread jesquinas
I work at RENFE,the national railways company.We have developping NFC projects.Here,in Spain,the main NFC model is SIM-centric.There are only a few NFC models available.Our project is developed with Vodafone and all our mobiles are with a NFC SIM.The main argument who mobile operators say is that

[android-developers] No rule to make target make error on Froyo 2.2.1 (korg/froyo)

2011-12-26 Thread Giorgio Andronico
Hello to all,I'm source-building CyanogenMod 6 for a device called LG- P500 (ARMv6/MDPI). CyanogenMod or not,this doesn't really matter,because I'm getting this on AOSP Froyo too. Well,when starting it builds for 10-15 seconds (on a Core i7 featuring 6GB of RAM BTW) then stops at: make: *** No

[android-developers] problem while getting md5 key

2011-12-26 Thread enes
I' m tring to get md5 code but the cms show me sha1. the following output generate when I run command c:\Program Files\Java\jre7\binkeytool.exe -list -alias androiddebugkey -keystor e C:\debug.keystore -storepass android -keypass android androiddebugkey, 16.Eki.2011, PrivateKeyEntry, Certificate

[android-developers] About adding the custom headers...

2011-12-26 Thread psk
Hi friend, i am working on one application. i want to add some custom headers with each request. so can any body guide me how to add custom headers. -- 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] Setting windowIsFloating programmatically

2011-12-26 Thread Haisoo Shin
Hi, I am trying to use the same activity, but use it as a dialog under some conditions and as a regular activity under others. I tried calling setTheme to setting it to Theme.Dialog style, but the previous activity is blocked by black background. So I think I figured out so far that it's

[android-developers] Writing to the phone outgoing audio stream

2011-12-26 Thread Vadim
Does not seem possible from I've been able to gather. Seems like I can only stream out to the speaker, headphone, or bluetooth. Or am I overlooking something obvious? Thanks in advance Vadim -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] When should I have more than one fragment implement LoaderManager.LoaderCallbacksCursor?

2011-12-26 Thread Alex Lockwood
I am having a difficult time figuring out which fragments in my application should and should not be implementing LoaderManager.LoaderCallbacksCursor. Under what circumstances should I have a fragment implement these callback methods, as opposed to, for example, simply fetching data with a

[android-developers] Bottom bar gets pushed upwards for second level childactivity.

2011-12-26 Thread Avinazz
I have a borrowed code of TabGroupActivity through which i call child activities within Tabactivity. My problem arises when i have a Edittext which when clicked shows softkeyboard pushing the bottom bar upward. This happens only for activities called from childactivity itself. It means, once the

Re: [android-developers] SyncAdapter - error SettingNotFoundException: roaming_auto_sync_enabled

2011-12-26 Thread pravin kadam
Hi, Thank you very much for your reply. i will search on this. if in future if you got solution please let me know. it would be a great help from you... Have nice Christmas and happy new year With Regards, pravin. On Fri, Dec 23, 2011 at 3:32 PM, Fugee hannes.wij...@bps-software.dewrote:

[android-developers] Doubt

2011-12-26 Thread chari
Hi.. In my project ,i need to get the previous activity name,, in present activity plz help me.. -- 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] android.hardware.sensor.pressure required -- No compatible devices

2011-12-26 Thread Chris
Hello, I created an application that uses the pressure sensor. My manifest contains the following feature requirement: uses-feature android:name=android.hardware.sensor.pressure android:required=true/ My developer console listing shows the following requirements: Features:

[android-developers] Cannot use monkeyrunner while taking screenshots using ddmslib

2011-12-26 Thread ntenisOT
I use ddmslib to take screenshots of my android device every some seconds. While the program is running I tried to randomly click my device using MonkeyRunners but it is not working. Error: java.net.SocketException: Broken pipe Is it because I use ddmslib at the same time and it is listening at

[android-developers] WebView with setSupportZoom(false) still loses quality on touch event

2011-12-26 Thread Eric
I've a WebView with zoom disabled, however when taping or touching it, it still loses quality: images are dithered, texts become aliased, etc. even though a touch/drap/swype no longer does anything. Is there a way to turn off that behavior *without* losing touch events in JavaScript? Or is there

[android-developers] Call Conference with application

2011-12-26 Thread Wuffy
Hi guys, I'm a young Android developer and I started to build an application which is ought to be able to manage Calls, like recognizing incoming calls and accepting them and even create a conference with another incoming call. I've been searching all day for an open source solution for this, but

[android-developers] Web app on home screen (iphone style)?

2011-12-26 Thread burgergetsbored
Just wondering when I had an iphone I was able to create a web app then place some code in it so that when the user pressed add to homescreen an icon would be placed on the home screen and when the user clicked it the web app would run full screen (no web navigation bar) so it just looked like a

回复: [android-developers] Re: The accelerometer reading looks odd

2011-12-26 Thread underalight
好像没有人可以帮你啊 2011-12-23 underalight 发件人:Yang Bo 发送时间:2011-12-23 11:28 主题:[android-developers] Re: The accelerometer reading looks odd 收件人:android-developers@googlegroups.com 抄送: Could anyone help on this ? Thanks 在 2011-12-22 下午5:02,Yang Bo yangbo@gmail.com写道: Hi, I am trying to

[android-developers] Re: How can apps sending and receiving SMSs be visible on the market for the new Galaxy Tablets?

2011-12-26 Thread Terry
Hi, Kostya. Thanks for your response, and for info on your strange experience with WiFi on the Galaxy Tablet. My problem is not to make SMS-functions work on the Galaxy Tab (which they do), but to make SMS apps visisble to devices which support SMS (including the Galaxy Tabs) - and only those.

[android-developers] Re: OpenGL ES 2.0 for Android

2011-12-26 Thread bob
On Dec 26, 8:52 am, the_edge123 theedge...@gmail.com wrote: On Dec 26, 11:05 am, bob b...@coolfone.comze.com wrote: What is the best way to learn OpenGL ES 2.0 for Android? What kind of tutorial are you looking for ? A book hopefully. are you a beginner ? Yes. What did you already

Re: [android-developers] OpenGL ES Question

2011-12-26 Thread Christopher Van Kirk
No, you can't. You can only use OpenGL ES shaders with OpenGL ES. It's not that hard to port a shader between versions..but there are many versions of the Desktop OpenGL, so it'll take a bit of Googling to do it. On 12/27/2011 1:12 AM, bob wrote: Is there a google group like this for OpenGL

Re: [android-developers] Android onLayout() and AsyncTask() does not work together

2011-12-26 Thread Romain Guy
onPostExecute() is called on the UI thread. On Mon, Dec 26, 2011 at 1:20 AM, Binh Nguyen nguyenthanhbinh1...@gmail.com wrote: Hi experts, I need a scrollable table with fixed header, so I followed this great blog (http://blog.stylingandroid.com/archives/432) and everything is fine. The

Re: [android-developers] NFC Secure element in SIM vs internal!

2011-12-26 Thread Fernando Miguélez
Well, if you work with a SE embedded in a SIM card, if you change your phone you just have to change the SIM that is all. When working with NFC using the SIM approach you have basically two options. On one hand you can create applications that communicate directly with SIM to carry out operations

[android-developers] Android 4.0 sensor emulation setup questions

2011-12-26 Thread Josh Guilfoyle
I believe I have the sensor emulation support working properly (I can connect to port 1968 locally and it appears to be connecting to the phone) but it is unclear to me how to determine if the emulator has also connected on this port, or how to trigger this connection manually? The instructions

[android-developers] Re: Android 4.0 sensor emulation setup questions

2011-12-26 Thread Josh Guilfoyle
I answered my own question a bit. It does appear that the emulator only connects on startup at present, not sure why it didn't work the first time I booted the ics AVD instance. Still, it would be nice to see a controlling application in the emulator that would allow us to view the status

[android-developers] Re: Android onLayout() and AsyncTask() does not work together

2011-12-26 Thread Binh Nguyen
Yeah, I got it from AsyncTask usage, so the onLayout() should work, right. btw, I attach some screenshots on Stack Overflow site, so you can see the problem clearly: http://stackoverflow.com/questions/8613465/android-onlayout-and-asynctask-does-not-work-together Binh Nguyen On Dec 27, 5:35 am,

Re: [android-developers] Web app on home screen (iphone style)?

2011-12-26 Thread TreKing
On Fri, Dec 23, 2011 at 3:43 PM, burgergetsbored adam.burgoyn...@gmail.comwrote: Is there anyway I can do this with android or do I have to code a whole app to do it? I don't know, but there is an entire section in the documentation for web apps. I'd start there.

Re: [android-developers] Web app on home screen (iphone style)?

2011-12-26 Thread James Black
What you are looking at is a special option for Safari. I haven't tried it but you can try the suggestion here: http://stackoverflow.com/questions/4382925/scroll-the-browser-to-make-my-webapp-fullscreen Another option is to require the use of Firefox, and see if this will help you:

[android-developers] Android@Home status

2011-12-26 Thread nemik
I got excited about this supposedly 6LowPAN-powered Android@Home project shown at Google IO and also here http://www.youtube.com/watch?v=AL2AJanKrqg but no new info has come out. The guy presenting it at IO said it would be out by the end of the year but I have looked hard and have yet to find

Re: [android-developers] Doubt

2011-12-26 Thread TreKing
On Fri, Dec 23, 2011 at 5:18 AM, chari veera.dodetipa...@gmail.com wrote: i need to get the previous activity name,, in present activity Pass the name in the intents when you start the second one.

Re: [android-developers] HelloWorld ..stopped unexpectedly

2011-12-26 Thread Narendra Bagade
register your activity in manifest file.. On Mon, Dec 26, 2011 at 6:24 AM, Nathan Harness 7600on...@gmail.com wrote: I followed the instructions on the Android Dev site for Hello World, using the XML version about half way down. Please see attached screen shot. The fatal exception is

[android-developers] File encryption using AES

2011-12-26 Thread chander
hi all, i am trying the File encryption using AES on android but there is a weird exception occured everytime,i am not able to find out the solution for this exception. my code for encryption is: public void encrypt(File file,String aesKey) throws Exception { try

Re: [android-developers] File encryption using AES

2011-12-26 Thread Nikolay Elenkov
On Tue, Dec 27, 2011 at 3:03 PM, chander mohan.c...@gmail.com wrote: hi all, i am trying the File encryption using AES on android but there is a weird exception occured everytime,i am not able to find out the solution for this exception. my code for encryption is: What is the exception

[android-developers] File encryption using AES

2011-12-26 Thread chander
Hi all, I am trying the AES file encryption on android, but at the runtime it is giving one Exception,i am not able to find out any solution for this. My code for encryption is : i have already initialized the file as File file = new File(/mnt/sdcard/a.txt); public void encrypt(File

Re: [android-developers] File encryption using AES

2011-12-26 Thread Chander mourya
No that is not weird i edited my message.will i give you the Logcat messages.? On 12/27/11, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Tue, Dec 27, 2011 at 3:03 PM, chander mohan.c...@gmail.com wrote: hi all, i am trying the File encryption using AES on android but there is a

Re: [android-developers] File encryption using AES

2011-12-26 Thread Nikolay Elenkov
On Tue, Dec 27, 2011 at 3:11 PM, chander mohan.c...@gmail.com wrote: Exception is :    java.security.NoSuchAlgorithmException : SecretKeyFactory AES implementation not found. Please help and rectify the code or if possible give a working code for File encryption using AES. i don't know why

[android-developers] Re: OpenGL ES 2.0 for Android

2011-12-26 Thread bob
On Dec 26, 8:52 am, the_edge123 theedge...@gmail.com wrote: On Dec 26, 11:05 am, bob b...@coolfone.comze.com wrote: What is the best way to learn OpenGL ES 2.0 for Android? What kind of tutorial are you looking for ? are you a beginner ? What did you already find ? This is really good

Re: [android-developers] File encryption using AES

2011-12-26 Thread Chander mourya
Thanks nikoley, i implemented DES algorithm to encrypt a String it worked fine in that but while encrypting a file i have to ask user an Encryption key so at that time i am asking for a key and then i am converting it to byte array. but this SecretFactory not working this time can you explain and

Re: [android-developers] File encryption using AES

2011-12-26 Thread Nikolay Elenkov
On Tue, Dec 27, 2011 at 3:31 PM, Chander mourya mohan.c...@gmail.com wrote: i implemented DES algorithm to encrypt a String it worked fine in that but while encrypting a file i have to ask user an Encryption key so at that time i am asking for a key and then i am converting it to byte array.

[android-developers] Re: OpenGL ES 2.0 for Android

2011-12-26 Thread bob
On Dec 26, 8:52 am, the_edge123 theedge...@gmail.com wrote: On Dec 26, 11:05 am, bob b...@coolfone.comze.com wrote: What is the best way to learn OpenGL ES 2.0 for Android? What kind of tutorial are you looking for ? are you a beginner ? What did you already find ? Also, I like this

Re: [android-developers] File encryption using AES

2011-12-26 Thread Chander mourya
Thanks a lot nikolay, it worked when i used rawkey... Thanks again. On 12/27/11, Chander mourya mohan.c...@gmail.com wrote: Thanks nikoley, i implemented DES algorithm to encrypt a String it worked fine in that but while encrypting a file i have to ask user an Encryption key so at

[android-developers] Re: Android onLayout() and AsyncTask() does not work together

2011-12-26 Thread Zsolt Vasvari
I'd pepper a bunch of Log.v() calls throught the code and see where it goes wrong. On Dec 27, 9:59 am, Binh Nguyen nguyenthanhbinh1...@gmail.com wrote: Yeah, I got it from AsyncTask usage, so the onLayout() should work, right. btw, I attach some screenshots on Stack Overflow site, so you can

[android-developers] Re: Android@Home status

2011-12-26 Thread Zsolt Vasvari
AFAIK, there has been no new official communications from Google related to Android@Home. Maybe it was a cool 20% project and the guy left or whatever... On Dec 27, 12:17 pm, nemik ne...@nemik.net wrote: I got excited about this supposedly 6LowPAN-powered Android@Home project shown at Google

[android-developers] Re: How can apps sending and receiving SMSs be visible on the market for the new Galaxy Tablets?

2011-12-26 Thread Zsolt Vasvari
Just curious, how can a device support SMS but not voice calling? They both require a cellular radio, don't they? On Dec 23, 3:29 pm, Terry terb...@gmail.com wrote: Hi, Kostya. Thanks for your response, and for info on your strange experience with WiFi on the Galaxy Tablet. My problem is not

[android-developers] Re: android.hardware.sensor.pressure required -- No compatible devices

2011-12-26 Thread Zsolt Vasvari
Android Market/Developer Console Bug? Would be the first -- today... On Dec 24, 4:23 am, Chris cwesoftw...@gmail.com wrote: Hello, I created an application that uses the pressure sensor. My manifest contains  the following feature requirement: uses-feature