[android-developers] What is the differences between FBO and SurfaceTexture

2012-01-17 Thread Roger.Yi
What is the differences between FBO (frame buffer object) and SurfaceTexture? Seems that they can both support off-sceen OpenGL rendering, is the differences are SurfaceTexture support shared between different threads/processes? -- You received this message because you are subscribed to the

[android-developers] Re: Hardware accleration slow down every Canvas app. Why?

2012-01-17 Thread Roger.Yi
Some benchmark data in Galaxy Tab 10.1 and Nexus S, source code: https://github.com/rogeryi/0xbench_2d_hw (modified from 0xlab's benchmark app). Samsung Galaxy Tab 10.1 (3.2)Draw Canvas (texture/gradient/color) Draw Circle2 (texture/gradient/color)Draw Rect (texture/gradient/color)

[android-developers] Sync Data between Android application and Desktop application

2012-01-17 Thread azad
Hi, I am new to Android development, I want to develop a application in android. Let me explain the application. The application has two side, desktop application and android mobile application. I want to sync data between Android application and Desktop application. How can I sync database of

[android-developers] Question about DDMS

2012-01-17 Thread mishundare
Dear Sirs: I have a question about debug Tool - DDMS. As you know, the command ADB push could copy file from PC to phone, and the file explore in DDMS also have the same function. For some special reason,in some developer 's ubuntu pc, I need to disable the function of ADB Push and the file

[android-developers] IOException while creating Socket when phones Portable Wi-Fi Hotspot is turn on

2012-01-17 Thread jachac
After turning on the phones Portable Wi-Fi hotspot and knowing the ip of the connected client, i tried to create java.net.Socket for connecting to that client. But its throwing IOException. When tried to ping to the connected client, its returning 1. SO my doubt is whether its possible to create

[android-developers] Failed to fetch URL https://dl-ssl.google.com/android/repository/repository-5.xml, reason: https://dl-ssl.google.com/android/repository/addons_list.xml

2012-01-17 Thread Starter trouble
All efforts in vain. Win 7, R16.exe Panda AV(disabled) Avira AV(disabled) Firewall Disabled Uninstalled and reinstalled SDK SDK Manager - Run as administrator Checked and Unchecked Force Https Able to open the the mentioned location through browser. Still getting the same error : Fetching

[android-developers] Video volume not loud enough

2012-01-17 Thread Allyson
Hello! I'm having an app developed on both Android and iPhone platforms that contains both video and audio files. The audio sounds great on both platforms, but the video sound quality on Android (compared to the iPhone) is really sub-optimal. The volume is very low and when I have to have the

[android-developers] Failed to install:timeout

2012-01-17 Thread j...@jimmateer.com
I had this problem as well, and after searching the discussion groups, I saw several people had the same issue. Trying to launch an application to a device, you get a message like: [2012-01-16 13:07:21 - IdleTime] Performing Mateer.com.IdleTime.IdleTime activity launch [2012-01-16 13:07:23 -

[android-developers] api for hdmi-out refresh rate? (3.x, 4.x)

2012-01-17 Thread Frantisek Dufka
Hello, is there any API or system wide setting in Honeycomb or ICS to select refresh rate for HDMI-out? I have Asus Transformer and it looks like the default hdmi video mode is 720p60. I'd like to switch it to 50/30/25/24 Hz to have better video playback. Thanks, Frantisek -- You received

Re: [android-developers] Re: Power harvesting in Accessory mode

2012-01-17 Thread Pankaj Chawla
Hi Alex, I am not an expert here but starting 3.1 onwards android devices can act as USB host. So essentially your device can act as the USB device and can also get powered from the Android phone/tablet. This though has implications on battery of your android device but in case your USB device

[android-developers] Performing read or write operations on a xml file in Internal Storage

2012-01-17 Thread Raneez
My application needs to write and read data from a xml file which is stored in Internal Storage. I wrote some data to xml by using FileOutputStream. FileOutputStream fout=openFileOutput(user.xml,MODE_WORLD_READABLE); OutputStreamWriter out=new OutputStreamWriter(fout); out.write(xml_content);

[android-developers] Re: No Video but audio present when using MediaPlayer on the emulator

2012-01-17 Thread rperi...@yahoo.com
Does anyone have any sample code for playing video. Although it could be emulator using the debugger it seems like the window is not even being created even when the Mediaplayer is turned off. I'm using a class I extended from VideoView. The surfaceCreated method does not ever get called. I'm

[android-developers] Re: Want to increase frame rate(fps), How???

2012-01-17 Thread sparky
Before we even consider code optimizations, look at the amount of work you are doing. Do you really want to expand every preview frame into a JPEG? Let's do the math: Suppose every JPEG frame is 100 KB. 100x1000x8x15 = 12 Mbps. Can you sustain that kind of transfer? Maybe you should

[android-developers] Re: android:screenOrientation not allowed in a style?

2012-01-17 Thread sparky
What is your goal? Are you trying to force the screen into landscape, or are you trying to change the style based on screen orientation? (I hope the latter, because it's not recommended to override the user's preferred screen orientation.) -- You received this message because you are

[android-developers] File encryption using AES

2012-01-17 Thread chander
Hi all, I am making a File encryption application,i am using AES encryption for doing this. In this, i listed all files stored on the SD card and then i gave a checkbox infront of files. 1- User can select multiple files and on clicking ENCRYPT, these files will be encrypted in .enc format, i am

[android-developers] Re: contact database structure

2012-01-17 Thread sparky
Android already does this out of the box. What do you need that the base system doesn't provide? -- 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

[android-developers] android take the phone number

2012-01-17 Thread Live Happy
want to take the phone number from the phone dialer to use it in my application for that i used this code in the manifest file uses-permission android:name=android.permission.READ_PHONE_STATE / intent-filter action android:name=android.intent.action.CALL /

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

2012-01-17 Thread Chander mourya
Try using http instead of https. may be it will work. On 1/17/12, Starter trouble mvikramme...@gmail.com wrote: All efforts in vain. Win 7, R16.exe Panda AV(disabled) Avira AV(disabled) Firewall Disabled Uninstalled and reinstalled SDK SDK Manager - Run as administrator Checked and

[android-developers] Lock baloon in Mapview?

2012-01-17 Thread Duygu Kahraman
Hi All; I have problem about google map.When i touch the screen i am adding pin in google map.and When i touch the pin baloon is opening.Everything is ok from now..My question is when i click the baloon adding pin also.I dont want to do it.How can i lock this situation? This is screenshot:

RE: [android-developers] Re: Want to increase frame rate(fps), How???

2012-01-17 Thread Muhammad UMER
Thanks for your reply, yup i want to expand every preview frame to jpeg because on server side i want to make a video file with these jpeg's images. Is there any other solution for this to increase the frame rate. for example if i'll send the raw data, but how can i convert it to video file??

[android-developers] load local js file with each page loaded in HTML..

2012-01-17 Thread Ujjwal13
Hi, I am developing some web app in which I have written one js file having some functions and kept it in app's asset folder. My app loads some html page located at some remote server and calls the function defined in local js file of app. I use loadUrl function of webview to load local js files

[android-developers] Re: Access to USB Device

2012-01-17 Thread Nico Guth
Hello Frank, thanks for your reply! The GPS receiver plays the role of the USB device and the tab is the host. They are connected by an OTG cable which seems to work. I have tried an active USB hub now, but the result is the same. When I connect a mouse to the tab or the hub, a cursor appears

Re: [android-developers] Lock baloon in Mapview?

2012-01-17 Thread Ratheesh Valamchuzhy
paste the 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@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For

[android-developers] Re: How to check for GPS

2012-01-17 Thread Sumedh
Thnx for reply Kris my apllication does contain the method LoactionListener of LocationManager I want to check that if the device itself is GPS enabled or not is it possible ? Sumedh On Jan 17, 12:51 pm, Kristopher Micinski krismicin...@gmail.com wrote: Try to listen for a gps update and see

Re: [android-developers] Re: How to check for GPS

2012-01-17 Thread Kristopher Micinski
Yes, as I mentioned in my previous post, you can use getGpsStatus to check the status... kris On Tue, Jan 17, 2012 at 4:08 AM, Sumedh sumedhjos...@gmail.com wrote: Thnx for reply Kris my apllication does contain the method LoactionListener of LocationManager I want to check that if the

[android-developers] Re: WebView ignore Javascript that invokes PUT/DELETE Http method

2012-01-17 Thread Ori Harel
I just tested on ICS emulator and it works there. why is it not working on earlier versions? -- 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

[android-developers] Re: How to Printf in Android development ??

2012-01-17 Thread Indicator Veritatis
What 'Console'? Are you referring to DBMS output? In that case, as others have alreeady answered, use android.util.Log, either Log.d or Log.w methods. There is no 'console' on the device itself, output should instead go to a View. On Jan 13, 1:19 pm, Haider Ali haideralichoudh...@gmail.com wrote:

Re: [android-developers] Re: How to Printf in Android development ??

2012-01-17 Thread unicus unicus
Use System.Out.println.. -- More info, http://androidbasic-answer.blogspot.com/ On Tue, Jan 17, 2012 at 3:05 PM, Indicator Veritatis mej1...@yahoo.comwrote: What 'Console'? Are you referring to DBMS output? In that case, as others have alreeady answered, use android.util.Log, either Log.d or

Re: [android-developers] Re: How to Printf in Android development ??

2012-01-17 Thread Marcelo Henrique
Use log ! 2012/1/17 unicus unicus unicus...@gmail.com Use System.Out.println.. -- More info, http://androidbasic-answer.blogspot.com/ On Tue, Jan 17, 2012 at 3:05 PM, Indicator Veritatis mej1...@yahoo.comwrote: What 'Console'? Are you referring to DBMS output? In that case, as others

[android-developers] Re: Performing read or write operations on a xml file in Internal Storage

2012-01-17 Thread Raneez
The path of xml file is /data/data/com.examples.LoginXml/files/ user.xml InputStream in = null; try { FileInputStream fis = openFileInput(user.xml); in=new BufferedInputStream(fis); } catch(Exception e) {} Is there anything wrong? still i cant get an input stream to the file -- You received

[android-developers] Re: WebView ignore Javascript that invokes PUT/DELETE Http method

2012-01-17 Thread Ori Harel
Also, here's the JS code inside the WebView: var req = new Backbone.Model(auth); $.ajax({ type: PUT, url: 'some_url', data: JSON.stringify(req) }); -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Android 2.3.3 Pad Block Corrupted

2012-01-17 Thread chander
Hi all, I am making an File encryption application, in this while decrypting multiple selected files my program giving java.io.IOException Pad Block Corrupted exception. and on the other part if i am selecting a single file then decryption algorithm works great. Please suggest me the way how i

[android-developers] Re: Create conference with BTHeadset

2012-01-17 Thread Wuffy
Another way to ask for the solution is: Is there a way to create a conference session with one active call AND one call on hold - WITHOUT user interaction on the phone but WITH user interaction on a bluetooth headset? I don't have a btheadset here otherwise I'd test it myself Any hint is

[android-developers] Missing entry of openssl file in Android Code base.

2012-01-17 Thread mayur
Hi , I have an App which uses openSSL of Android Code base via libxmlSecurity . Running this App gives me an RSA exception . On comparing the openSSL provided in Android Code base with the openSSL available on the net [openssl-1.0.0f.tar.gz from http://www.openssl.org/source/ ] , we found that

[android-developers] app engine debugging

2012-01-17 Thread John Goche
Hello, I would like to know what the best way is to debug an app engine application. The problem I am experiencing is that I cannot step through the code in Jetty nor can I find a log where I can see what exceptions are thrown. Any ideas on how to proceed would be very appreciated. John Goche

[android-developers] retrieve phone number

2012-01-17 Thread Live Happy
i want to take the phone number from the phone dialer to use it in my application for that i used this code in the manifest file uses-permission android:name=android.permission.READ_PHONE_STATE / intent-filter action android:name=android.intent.action.CALL /

Re: [android-developers] retrieve phone number

2012-01-17 Thread Donal Rafferty
Afraid not, its dependent on the carrier whether the MSISDN (Phone number) is visible, so on some SIM cards your code will actually work but on most it probably won't. On Tue, Jan 17, 2012 at 11:23 AM, Live Happy livehap...@gmail.com wrote: i want to take the phone number from the phone dialer

[android-developers] How to secure my web service?

2012-01-17 Thread Eyal Berman
my android app is using a small php web-service. how can i secure it so that just my app could get the data? Eyal -- 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] retrieve phone number

2012-01-17 Thread Live Happy
but how the other application as viber and skype can take it and use it with VoIP call ,should there a method who can retrieve it !!! On Tue, Jan 17, 2012 at 1:27 PM, Donal Rafferty draf...@gmail.com wrote: Afraid not, its dependent on the carrier whether the MSISDN (Phone number) is visible,

Re: [android-developers] Re: No Video but audio present when using MediaPlayer on the emulator

2012-01-17 Thread Mark Murphy
On Tue, Jan 17, 2012 at 3:32 AM, rperi...@yahoo.com rperi...@yahoo.com wrote: Does anyone have any sample code for playing video. https://github.com/commonsguy/cw-advandroid/tree/master/Media/Video As a sidenote I have a 3.6GHz Quadcore PC. Does the emulator make use of the multiple cores?

Re: [android-developers] Wifi is currently being used.

2012-01-17 Thread Mark Murphy
On Tue, Jan 17, 2012 at 12:25 AM, Putti Me putt...@gmail.com wrote: getTotalRxBytes() + getTotalTxBytes() gives me the total bytes transferred. Does this include all data i.e. mobile wifi bluetooth anything else I suspect that it does not include Bluetooth. I would expect that it only

Re: [android-developers] Re: WebView ignore Javascript that invokes PUT/DELETE Http method

2012-01-17 Thread Mark Murphy
AFAIK, $.ajax is not part of Android. It is part of some JavaScript library that you are using (e.g., jQuery). Please ask the authors of that library what the requirements are of the browser to support PUT/DELETE operations. On Tue, Jan 17, 2012 at 5:12 AM, Ori Harel ori.ha...@gmail.com wrote:

Re: [android-developers] Question about DDMS

2012-01-17 Thread Mark Murphy
AFAIK, DDMS uses adb for the push and pull operations. That being said, if the developer in question is not savvy enough to remove your hacked adb and replace it with the real one, you have bigger problems than whatever behavior you are trying to prevent. On Mon, Jan 16, 2012 at 11:11 PM,

[android-developers] Re: How to add third party jar in compile time but not runtime

2012-01-17 Thread Jelly Chen
I found the solution. 1. Android.mk replace LOCAL_STATIC_JAVA_LIBRARIES := thirdparty_jelly with LOCAL_JAVA_LIBRARIES := thirdparty_jelly 2. Eclipse Use SDK addon. copy an existing addon, replace the .jar, modify manifest.ini and source.properties a little. -- You received this message

Re: [android-developers] Sync Data between Android application and Desktop application

2012-01-17 Thread Mark Murphy
On Tue, Jan 17, 2012 at 1:57 AM, azad azadabu...@gmail.com wrote: How can I sync database of Android mobile application and Desktop application database using USB cable? You don't. You sync both sides to and from a server. Whether that is a server on the Internet or a server daemon on the

[android-developers] How to save Logcat information from a device which is not rooted

2012-01-17 Thread B.Arunkumar
Hi, Could somebody let me know how to save the debugging information in my application to a file in the SDCard? Please assume that the device is not rooted to a computer to check for debugging information in Logcat of Eclipse IDE. Thank you, B.Arunkumar -- You received this message because

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

2012-01-17 Thread Vikram Menon
That dint work.. Have already tried that, also installed java requisites. Okay help On Jan 17, 2012 2:25 PM, Chander mourya mohan.c...@gmail.com wrote: Try using http instead of https. may be it will work. On 1/17/12, Starter trouble mvikramme...@gmail.com wrote: All efforts in vain.

Re: [android-developers] Re: Hardware accleration slow down every Canvas app. Why?

2012-01-17 Thread Jim Graham
On Mon, Jan 16, 2012 at 11:16:20PM -0800, Zsolt Vasvari wrote: Once again, I was just trying to illustrate that you can bring the fastest system to its knees by doing stupid things. Ah, ok. I didn't read it that way, obviously. :-) But then, I've seen so many absurd claims in this thread by

Re: [android-developers] How to secure my web service?

2012-01-17 Thread James Black
You may want to ask this on stackoverflow as it isn't an Android question as much as a websetbice security one. On Jan 17, 2012 6:27 AM, Eyal Berman bermane...@gmail.com wrote: my android app is using a small php web-service. how can i secure it so that just my app could get the data? Eyal

[android-developers] Re: Interactive ebook reader

2012-01-17 Thread sumit garg
We are trying to develop this project to implement it in schools where each child will be having his own tablet to study. There will be restricted internet access to avoid distraction.These interactive books will be downloaded from the internet from our website and then you can use them for

[android-developers] remove logs after market

2012-01-17 Thread booooooooooooo
HI All i want to know how to remove logs before release in to the market please any body help on this Thanksregards vinod -- 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] Is there a way to change GridView zigzag direction and enforce column or row move?

2012-01-17 Thread Dave
http://developer.android.com/reference/android/widget/GridView.html The default way the elements of the array is put in a GridView is zigzagging left-right-down. e.g. array {1,2,3,4,5,6,7,8,9,10} becomes by default (with columns fixed to 3) 1,2,3 4,5,6 7,8,9 10 Is there a way to get to zigzag

Re: [android-developers] Is there a way to change GridView zigzag direction and enforce column or row move?

2012-01-17 Thread Mark Murphy
On Tue, Jan 17, 2012 at 7:31 AM, Dave dave.mahabiers...@hotmail.com wrote: http://developer.android.com/reference/android/widget/GridView.html The default way the elements of the array is put in a GridView is zigzagging left-right-down. e.g. array {1,2,3,4,5,6,7,8,9,10} becomes by default

[android-developers] Re: Is there a way to change GridView zigzag direction and enforce column or row move?

2012-01-17 Thread Dave
Okay thanks On 17 jan, 13:41, Mark Murphy mmur...@commonsware.com wrote: On Tue, Jan 17, 2012 at 7:31 AM, Dave dave.mahabiers...@hotmail.com wrote: http://developer.android.com/reference/android/widget/GridView.html The default way the elements of the array is put in a GridView is

[android-developers] Re: WebView ignore Javascript that invokes PUT/DELETE Http method

2012-01-17 Thread Ori Harel
Those are not part of Android, but the problem exist only in Android WebView. Anyway, I solved it by forcing the WebView to ignore the cache by: $.ajax({ type: methode, url: 'some_url?d' + new Date().getTime(), data: JSON.stringify(req),

Re: [android-developers] Re: WebView ignore Javascript that invokes PUT/DELETE Http method

2012-01-17 Thread Mark Murphy
You might look at setCacheMode() on WebSettings, if caching seems to be your issue. On Tue, Jan 17, 2012 at 8:35 AM, Ori Harel ori.ha...@gmail.com wrote: Those are not part of Android, but the problem exist only in Android WebView. Anyway, I solved it by forcing the WebView to ignore the cache

[android-developers] Is there any way to install/convert android code to java

2012-01-17 Thread Dhaval Varia
Hello I have made application in which 1. It run in background 2. When sms received,and its body contain specific code like *123# then it play one Audio file. I wanted to install this app on java supported mobile. But the prpblem is i dnt know any thing about j2me. Is there any way/tool to

Re: [android-developers] Re: WebView ignore Javascript that invokes PUT/DELETE Http method

2012-01-17 Thread Daniel Drozdzewski
...or look at cash control on the server side: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9 On 17 January 2012 13:38, Mark Murphy mmur...@commonsware.com wrote: You might look at setCacheMode() on WebSettings, if caching seems to be your issue. On Tue, Jan 17, 2012 at

[android-developers] Re: Creating step-by-step tutorial in app

2012-01-17 Thread Kookamonga
Yes, I also wanted a first-start-tour-of-the-app. A custom dialog is an interesting idea as well. By making it transparent, I can get the overlay effect I'm thinking about. Thanks for the tip. On Jan 17, 12:27 am, Stephan Wiesner testexpe...@googlemail.com wrote: What I do in one of my apps (see

[android-developers] TableLayout onMeasure onLayout

2012-01-17 Thread meshgraphics
I have a TableLayout in xml which I want to respond to different screen sizes and real time changes in the view. Ive extended tablelayout onMeasure to get the container width. I make a calculation to get the cell size. In the cells (LinearLayout) onMeasure, I set the new width with

[android-developers] Want to increase frame rate(fps), How???‏

2012-01-17 Thread muhammad.ume...@hotmail.com
hi, I am getting frames from onPreviewFrame, compress to jpeg image with YUV and send over the network, but the problem is, i want to increase the frame rate. Now it is 4fps but i want 15fps and my image size is 4- 6 kb what can i do to increase frame rate, here is my code public void

Re: [android-developers] How to save Logcat information from a device which is not rooted

2012-01-17 Thread tarun sablok
You can simply run this command in the command prompt (provided you have set the path of your environment variable in the environment variable) adb shell logcat after that run this command adb shell logcat filename.txt and a log file is generated in the desired location and which you

[android-developers] ClassCastException Problem with custom ListView in a ListFragment

2012-01-17 Thread Spiral123
Hi All... as part of updating my app I've decided to drag it into the 21st century and implement Drag and Drop on my ListView Fragment. Noodling around for an easy way to do it I came across Mark Murphy's super handy TouchListView library as adapted from TouchInterceptor from the stock Music

Re: [android-developers] ClassCastException Problem with custom ListView in a ListFragment

2012-01-17 Thread Mark Murphy
On Tue, Jan 17, 2012 at 12:03 PM, Spiral123 cumis...@gmail.com wrote: as part of updating my app I've decided to drag it into the 21st century and implement Drag and Drop on my ListView Fragment. I'm not convinced that drag-and-drop is necessarily tied to being part of the 21st century. :-)

Re: [android-developers] What is the differences between FBO and SurfaceTexture

2012-01-17 Thread Romain Guy
SurfaceTexture can be shared between processes indeed. SurfaceTexture also provides the producer with an API that has nothing to do with OpenGL. You can use a SurfaceTexture and draw into it using the 2D Canvas API for instance. Or you can use MediaPlayer to stream video. On Mon, Jan 16, 2012 at

[android-developers] Re: ClassCastException Problem with custom ListView in a ListFragment

2012-01-17 Thread Spiral123
Hi Mark... I can see the problem both with the compatibility library (I use a customized ActionBarSherlock version so that was my initial suspect) and with native fragments. You can easily see the behavior with native fragments if you add the TouchListView library to the APIDemos project and

Re: [android-developers] Re: ClassCastException Problem with custom ListView in a ListFragment

2012-01-17 Thread Mark Murphy
On Tue, Jan 17, 2012 at 12:31 PM, Spiral123 cumis...@gmail.com wrote: You can easily see the behavior with native fragments if you add the TouchListView library to the APIDemos project and just add a couple of lines to the FragmentListArray.java class: I realize now that I misread your

Re: [android-developers] Missing entry of openssl file in Android Code base.

2012-01-17 Thread Kristopher Micinski
This belongs on android-kernel, or perhaps android-platform. I suspect that there is a reason, I have also dealt with ssl differences between Android and typical openssl, but I don't know as much about it as somebody on those lists will.. kris On Tue, Jan 17, 2012 at 6:04 AM, mayur

Re: [android-developers] remove logs after market

2012-01-17 Thread TreKing
On Tue, Jan 17, 2012 at 6:29 AM, bo yada...@gmail.com wrote: i want to know how to remove logs before release in to the market please any body help on this Comment them out. - TreKing

[android-developers] Re: ClassCastException Problem with custom ListView in a ListFragment

2012-01-17 Thread Spiral123
wow. creating the View in the OnCreateView() before using it - how smart is that? works great Mark, thanks! Nick On Jan 17, 12:42 pm, Mark Murphy mmur...@commonsware.com wrote: On Tue, Jan 17, 2012 at 12:31 PM, Spiral123 cumis...@gmail.com wrote: You can easily see the behavior with native

Re: [android-developers] app engine debugging

2012-01-17 Thread TreKing
On Tue, Jan 17, 2012 at 5:08 AM, John Goche johngoch...@googlemail.comwrote: I would like to know what the best way is to debug an app engine application. App Engine has it's own dedicated mailing list.

Re: [android-developers] get sd card files in to expandablelistview

2012-01-17 Thread TreKing
On Mon, Jan 16, 2012 at 10:50 AM, venkat subbu@gmail.com wrote: I want to fetch the sdcard files like .mp3 and .3gp files and one textfile which is stored in databse all these combinely want to display into a expandablelistview. i am trying from 2weeks but am not able to get this. please

Re: [android-developers] Adding pin wrong place in mapview?

2012-01-17 Thread TreKing
On Mon, Jan 16, 2012 at 9:20 AM, Duygu Kahraman duygu.kahram...@gmail.comwrote: I am working with Google Map. My problem is when i touch the screen mapview is not adding pin exactly right place.Adding nearly Ycoordinate-50. What values do you get for the motion event? Are those correct?

[android-developers] Re: Creating step-by-step tutorial in app

2012-01-17 Thread Alex Curran
Having a look at the rest of the responses, this looks like it is probably a ViewPager with lots of ImageViews of screenshots. The ViewPager is found in the Android support libraries and there's plenty of source on the Android Developers website. The little circular things at the bottom can be

Re: [android-developers] Is there any way to install/convert android code to java

2012-01-17 Thread James Black
No, as j2me is different from standard Java. There are too many differences, if we ignore the android libraries even. On Jan 17, 2012 8:41 AM, Dhaval Varia dhavalkva...@gmail.com wrote: Hello I have made application in which 1. It run in background 2. When sms received,and its body contain

[android-developers] Re: Hardware accleration slow down every Canvas app. Why?

2012-01-17 Thread Doug
You realize that going from 10 fps to 30 ftp is an INCREASE in performance, right? How are you measuring that? Have you instrumented your code with timing information? On Jan 16, 10:41 am, sblantipodi perini.dav...@dpsoftware.org wrote: Just to add some more data. This simple app can render

Re: [android-developers] Re: Creating step-by-step tutorial in app

2012-01-17 Thread Kristopher Micinski
Cool, thanks! kris On Tue, Jan 17, 2012 at 2:12 PM, Alex Curran aml.cur...@gmail.com wrote: Having a look at the rest of the responses, this looks like it is probably a ViewPager with lots of ImageViews of screenshots. The ViewPager is found in the Android support libraries and there's plenty

Re: [android-developers] Is there any way to install/convert android code to java

2012-01-17 Thread Kristopher Micinski
Nod..., Android and j2me are completely separate, the apis for reading texts, etc... kris On Tue, Jan 17, 2012 at 2:17 PM, James Black planiturth...@gmail.com wrote: No, as j2me is different from standard Java. There are too many differences, if we ignore the android libraries even. On Jan

[android-developers] Re: Creating step-by-step tutorial in app

2012-01-17 Thread Kookamonga
Alex, Thanks a lot... The ViewPagerIndicator project was easy enough to find! On Jan 17, 2:12 pm, Alex Curran aml.cur...@gmail.com wrote: Having a look at the rest of the responses, this looks like it is probably a ViewPager with lots of ImageViews of screenshots. The ViewPager is found in

[android-developers] Google Code Project

2012-01-17 Thread 7600onair
What is the easiest way to upload Source code files to a Google Code Project so they are editable? Thanks, N -- 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] Loading textures in native code using only C++

2012-01-17 Thread mighter
I need to load textures for rendering objects in native part of Android app. For now there's combination of Java/C++ implementation, where bitmap data is loaded using Android Bitmap and then this data is accessed by C++ code to get textures. I want to load textures using only C++. Any

Re: [android-developers] Google Code Project

2012-01-17 Thread TreKing
On Tue, Jan 17, 2012 at 3:13 PM, 7600onair 7600on...@gmail.com wrote: What is the easiest way to upload Source code files to a Google Code Project so they are editable? What does this have to do with Android Development?

Re: [android-developers] Loading textures in native code using only C++

2012-01-17 Thread Christopher Van Kirk
This is the wrong list for this kind of question. You should probably post on the NDK list instead. I have only done it the pure C++ way, and whether it was 'ok in terms of performance' is a bit too subjective to be answerable. I load my textures up front, so all the delay is behind a splash

[android-developers] again: App Engine connected *Android* project: someone please help me understand this code

2012-01-17 Thread John Goche
Hello, I would like to discuss the code generated in eclipse when you create an app engine connected android project. First of all, I would like to understand the aspects related to authentication rather than C2DM. In AccountsActivity.java we have methods getAuthToken() and getAuthCookie().

[android-developers] Is it possible to get typed data from a quick search box without reloading the activity ?

2012-01-17 Thread Lidia
Hello to all and Happy New 2012 year! I have implemented the android quick search box http://developer.android.com/resources/articles/qsb.html for my mapActivity. Any time the user enters a location, my app have to find this and display on the map. As i see, in order to find out what user typed

Re: [android-developers]

2012-01-17 Thread yash kumar
Unsubscribe On Wed, Jan 4, 2012 at 1:04 AM, i...@mode-x.co.uk i...@mode-x.co.uk wrote: Unsubscribe Sent from Samsung Mobile -- 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: Failed to fetch URL https://dl-ssl.google.com/android/repository/repository-5.xml, reason: https://dl-ssl.google.com/android/repository/addons_list.xml

2012-01-17 Thread Glen Cook
Hi Vikram, I hit this problem a few weeks ago: There are many possible solutions in this thread here: http://code.google.com/p/android/issues/detail?id=21359 The solution that worked for me is covered in comments {27, 45}: But essentially I installed that package using Eclipse running as

[android-developers] How to capture keyPress of the Next button in a WebView

2012-01-17 Thread DoubleCheese
Hi, I have an Html input type=number and when rendered in WebView it seems to convert this into a WebTextView. That overrides the onEditorAction to public void onEditorAction(int actionCode) { switch (actionCode) { case EditorInfo.IME_ACTION_NEXT: if

Re: [android-developers] again: App Engine connected *Android* project: someone please help me understand this code

2012-01-17 Thread Nikolay Elenkov
On Wed, Jan 18, 2012 at 7:00 AM, John Goche johngoch...@googlemail.com wrote: In AccountsActivity.java we have methods getAuthToken() and getAuthCookie(). Basically the AccountManager takes care of storing the token information together with the account and we store the cookie in preferences

[android-developers] Address is not accurate

2012-01-17 Thread Dhaval Varia
Plz let me know why geo coder does not give exact location? Although,if i am sending obtained latitude and longitude on google map,then it provides exact location.. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Google Code Project

2012-01-17 Thread JP
Subversion, Mercurial or Git. Depends which source control system was selected when the project was created. You need to be a project member to be able to access the code with commit level access. On Jan 17, 1:13 pm, 7600onair 7600on...@gmail.com wrote: What is the easiest way to upload Source

[android-developers] How to get LayoutParams after inflating the view

2012-01-17 Thread harvinder
I have following code in my Adapter's getView(...) function http://developer.android.com/reference/android/widget/Adapter.html#getView(int, android.view.View, android.view.ViewGroup)Viewhttp://developer.android.com/reference/android/view/View.html getView(int position,

[android-developers] slotloopAudio

2012-01-17 Thread bob
Working on a slot machine. I have some code like this: static MediaPlayer slotloopAudio; slotloopAudio = MediaPlayer.create(this, R.raw.slotloop); slotloopAudio.seekTo(0); slotloopAudio.setLooping(true); slotloopAudio.start(); Problem is when it goes from the end to the beginning there is

[android-developers] Accessing remote service methods from both binded service

2012-01-17 Thread Brijesh
I have two services A and B. If we want to access some methods of service B in service A we have to create a ServiceConnection class and inside service A we have to create Stub and implements the methods. But I also want to access the methods of service A from service B. For trial I created one

[android-developers] Re: How to get LayoutParams after inflating the view

2012-01-17 Thread Zsolt Vasvari
You don't get LayoutParams until you attach the view to a parent, and you are not doing that. On Jan 18, 11:41 am, harvinder res...@gmail.com wrote: I have following code in my Adapter's getView(...) function http://developer.android.com/reference/android/widget/Adapter.html#ge...,

[android-developers] Re: How to test Activity, which is run in the separate process (android.process=:process in the manifest file)

2012-01-17 Thread Diego Torres Milano
Just remove the process attribute from your manifest while testing and re-enable it when exporting a production APK. Probably you have to remove others as well (i.e. debuggable), so why bother. On Jan 17, 2:03 am, Kristopher Micinski krismicin...@gmail.com wrote: Just out of interest, what do

[android-developers] Lots of Cancelled by Google - Payment declined from one person

2012-01-17 Thread Peter Webb
Three days ago, I had 4 Cancelled by Google - Payment declined messages generated by a single person. So I used email address in the checkout to offer them the app for free if they wanted it that much. No reply. Yesterday I had another 5 Cancelled by Google - Payment declined events from this

[android-developers] Regarding Multicast issue on WifiDirect Interface

2012-01-17 Thread Praveen Thota
Hi All, I am trying to send the multicast packet on the Wifi Direct interface on ICS Platform. The multicast socket joingroup api returns the ENODEV Exception, but the same code works perfectly fine on the Wifi Interface. I am able to successfully send and receive multicast packets over the Wifi

[android-developers] How to achieve google voice search UI?

2012-01-17 Thread cindy
Hi All, In the google voice search UI, when user finishes input, the UI shows progress bar and wave.Which layout can acheve that? how to draw wave in android? Thanks! Cindy -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Errors :Consumer closed input channel or an error occurred. events=0x8 Channel is unrecoverably broken and will be disposed!

2012-01-17 Thread srinivasan shanmugam
Dear All, I'm using the below android application when i run the below sample application when i click the data button after typing the data http://www.ftdichip.com/Drivers/D2XX/D2XXSample/D2XXSample.zip The above android application usage is provided in the TN_134 FTDI Android D2XX Driver

  1   2   >