Re: [android-developers] 500-600 Thousand Words Dict Search Speed

2011-12-21 Thread Kristopher Micinski
On Thu, Dec 22, 2011 at 1:57 AM, Christopher Van Kirk wrote: > I didn't get a second request, and if you check out the date, looks like you > didn't either. That mail is 3 days old. > So we didn't get a second request, but we *did* answer it already, according to calendar time, and google groups.

Re: [android-developers] Re: Help on Image Zoom and Rotate

2011-12-21 Thread chowdary nani
On Fri, Dec 16, 2011 at 8:29 PM, skink wrote: > > > chowdary nani wrote: > > Hi All, > > I need help on Image rotate in android for the image which is selected > in the gallery is displayed on the imageview but while i am trying to > rotate the image it is rotating all the image with back ground

[android-developers] Re: problems getting an app to work and avd won't show up with "adb devices" listed command

2011-12-21 Thread Heiko
Update: Well it seems, that the problem itsself is the adb server. The adb server won't update the device list when starting new avd (adb server already running). Is there an option that I don't have to kill adb server and restart it to update the manged device list? I didn't had this issue one mon

Re: [android-developers] How to Implement button like this?

2011-12-21 Thread android developer
ha ha On Thu, Dec 22, 2011 at 12:32 PM, Christopher Van Kirk < christopher.vank...@gmail.com> wrote: > I would start by sending your resume to Google. > > > On 12/22/2011 2:43 PM, android developer wrote: > > [image: googelsearch.png] > > > How to Implement button like this? > -- > You receiv

Re: [android-developers] How to Implement button like this?

2011-12-21 Thread Christopher Van Kirk
I would start by sending your resume to Google. On 12/22/2011 2:43 PM, android developer wrote: googelsearch.png How to Implement button like this? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to andr

[android-developers] Audio jack for other functions

2011-12-21 Thread PhotoSteve
How would you get access to the audio jack to perform other functions(aka the Square Up CC reader)? -- 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

Re: [android-developers] 500-600 Thousand Words Dict Search Speed

2011-12-21 Thread Christopher Van Kirk
I didn't get a second request, and if you check out the date, looks like you didn't either. That mail is 3 days old. On 12/22/2011 11:42 AM, Kristopher Micinski wrote: Wait, didn't we answer this already? Try a database first and profile it, if you can't use that, then use a Trie. kris On Mo

[android-developers] Re: Right click on browser doesnot respond

2011-12-21 Thread adip
On right click, I am not expecting any sub-menu but generally, it does to a previous web page. This works normally but sometimes, the browser just stops responding other then zoom in and out. On Dec 19, 7:47 am, androidicus wrote: > Rightmouseclickwasn't supported in Android until ICS. > > On De

[android-developers] Regarding audio issue

2011-12-21 Thread kumar varma
Hi, In My App My Requirement is: 1. The First issue is: Once I click on a button, the button should get disabled and it should play three different audio files which run one after the other. After playing three different audio files it should enable the button. . 2. The Second issue is: How to f

[android-developers] How to pair two devices to transfer file over Bluetooth using NFC

2011-12-21 Thread tarun sablok
I am trying to pair two devices One is Google Nexus S which has the applicaion running which reads the mac address written over the tag which is stuck on the other phone which is not Android one . Now i am trying to pair the devices as i tap on the other phone , my application reads the MAC add

[android-developers] Re: 4.0 Action Bar - remove app title.

2011-12-21 Thread Nathan
On Dec 19, 11:02 am, Andrew wrote: > hmm, can't you just do SetTitle("") on theActionBar? > setTitle(""); just leaves the title blank. BUT setDisplayShowTitleEnabled(false); also just leaves the title blank. But neither of them give any more room for actions. Half of the Actionbar is still se

Re: [android-developers] Re: How to replace GLSurfaceView with TextureView in Android Ice Cream Sandwich?

2011-12-21 Thread william lester
Wireli maybe work On Thursday, December 22, 2011, Romain Guy wrote: > There's no need to get the camera preview out of SurfaceTexture. The whole point of SurfaceTexture is to let a producer like the camera render into an OpenGL texture. Just use SurfaceTexture. > > To draw on top of TextureVi

Re: [android-developers] 500-600 Thousand Words Dict Search Speed

2011-12-21 Thread Jim Graham
On Thu, Dec 22, 2011 at 01:07:23AM -0500, william lester wrote: > Skyfire try it. Welcome to /dev/null -- 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

Re: [android-developers] Issue with SDK installation

2011-12-21 Thread Michael Leung
1.6 is too old, please try to install the latest one. On Thu, Dec 22, 2011 at 5:48 AM, Jagadeesh Koganti < jagadeesh.koga...@gmail.com> wrote: > Hello, > > I have observed that this is a known issue. But still trying to resolve > it. I have successfully installed Andriod SDK 1.6 and also plugged i

Re: [android-developers] 500-600 Thousand Words Dict Search Speed

2011-12-21 Thread william lester
Skyfire try it. On Thursday, December 22, 2011, Jim Graham wrote: > On Wed, Dec 21, 2011 at 10:42:42PM -0500, Kristopher Micinski wrote: >> Wait, didn't we answer this already? > > I thought we did > > Later, > --jim > > -- > THE SCORE: ME: 2 CANCER: 0 > 73 DE N5IAL (/4)MiSTie #

Re: [android-developers]

2011-12-21 Thread william lester
No samer see I miss spell it to let you know I.m wise to pc and apps I will mater it to. On Thursday, December 22, 2011, Jim Graham wrote: > On Thu, Dec 22, 2011 at 12:48:49AM -0500, william lester wrote: >> Flash lite is a flash or flex look them over billy. Orcale try them if I >> spelled it ri

Re: [android-developers]

2011-12-21 Thread william lester
To to map then try to find a load for it On Thursday, December 22, 2011, nisha paghadaL wrote: > > > On Thu, Dec 22, 2011 at 9:41 AM, Jim Graham wrote: >> >> On Wed, Dec 21, 2011 at 12:28:56PM +0530, thangaraj raj wrote: >> > Hai,I want to know how to get current city name using android >> > api

Re: [android-developers]

2011-12-21 Thread Jim Graham
On Thu, Dec 22, 2011 at 12:48:49AM -0500, william lester wrote: > Flash lite is a flash or flex look them over billy. Orcale try them if I > spelled it right pcworld to. Oh, ok, I seethis is a spammer. I should have realized earlier. Only spammers use random word gibberish like this. -- TH

Re: [android-developers] Difference between in simple_list_item_1 and simple_list_item_2

2011-12-21 Thread william lester
Right I know you have to but there not makeing the sdks need to run. To sql. What are you trying to build On Thursday, December 22, 2011, J Handal wrote: > > simple_list_item_1 is build into the OS source code. > > http://www.devdaily.com/java/jwarehouse/android-examples/platforms/android-2/dat

[android-developers]

2011-12-21 Thread william lester
Got a resent on that phone use it then go back where you payed for the maps that are the same get your money back there more I know to -- 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: [android-developers] Difference between in simple_list_item_1 and simple_list_item_2

2011-12-21 Thread J Handal
simple_list_item_1 is build into the OS source code. http://www.devdaily.com/java/jwarehouse/android-examples/platforms/android-2/data/res/layout/simple_list_item_1.xml.shtml simple_list_item_2 you have to build it. -- You received this message because you are subscribed to the Google Group

[android-developers]

2011-12-21 Thread william lester
Flash lite is a flash or flex look them over billy. Orcale try them if I spelled it right pcworld to. -- 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 fr

Re: [android-developers] tablet

2011-12-21 Thread Jim Graham
On Wed, Dec 21, 2011 at 06:19:21PM -0800, billy lester wrote: > They nee a flash player that will run any tablet made Android. And. Wrong group. You need to send this to whoever "they" are. > Let me in to use apps I can. > this a pandigital what is wrong I am not buying other phone you smart >

[android-developers] Difference between in simple_list_item_1 and simple_list_item_2

2011-12-21 Thread android developer
Difference between in simple_list_item_1 and simple_list_item_2. I am trying for simple_list_item_2, but my emulator is crashing. let me know -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-d

[android-developers] Two projects use one library, one fails with "Couldn't get connection factory client"

2011-12-21 Thread James Black
I am confused, as I have two projects using the same library, and that library has the key for the maps api, so both projects use the exact same key every time. The free version of my application has this error, so it can't create the map overlay, whereas the pay version works properly. I copied

Re: [android-developers]

2011-12-21 Thread nisha paghadaL
On Thu, Dec 22, 2011 at 9:41 AM, Jim Graham wrote: > On Wed, Dec 21, 2011 at 12:28:56PM +0530, thangaraj raj wrote: > > Hai,I want to know how to get current city name using android > > api.Please help me. > > Start with the developers guide. You'll find lots of good information > there. Search

Re: [android-developers] App to help developers

2011-12-21 Thread TreKing
On Wed, Dec 21, 2011 at 9:49 AM, Rafael Freitas wrote: > Thats the idea of the app. With the package name, the app knows which one > is your app, and do the job for you. Yes, I got it now - this was just not clear to me from the original post or description of the app.

Re: [android-developers]

2011-12-21 Thread Jim Graham
On Wed, Dec 21, 2011 at 12:28:56PM +0530, thangaraj raj wrote: > Hai,I want to know how to get current city name using android > api.Please help me. Start with the developers guide. You'll find lots of good information there. Search for GPS and related topics. Later, --jim -- THE SCORE: M

Re: [android-developers] 500-600 Thousand Words Dict Search Speed

2011-12-21 Thread Jim Graham
On Wed, Dec 21, 2011 at 10:42:42PM -0500, Kristopher Micinski wrote: > Wait, didn't we answer this already? I thought we did Later, --jim -- THE SCORE: ME: 2 CANCER: 0 73 DE N5IAL (/4)MiSTie #49997 < Running FreeBSD 7.0 > spooky1...@gmail.com ICBM/Hurricane: 30.44406N 86.599

Re: [android-developers] 500-600 Thousand Words Dict Search Speed

2011-12-21 Thread Kristopher Micinski
Wait, didn't we answer this already? Try a database first and profile it, if you can't use that, then use a Trie. kris On Mon, Dec 19, 2011 at 11:27 PM, tomyth wrote: > Hi! > I'm working on a dict app on android, > I need to search a list of words(about 500-600 thousand words) in file > to find

Re: [android-developers] Re: How to replace GLSurfaceView with TextureView in Android Ice Cream Sandwich?

2011-12-21 Thread Romain Guy
There's no need to get the camera preview out of SurfaceTexture. The whole point of SurfaceTexture is to let a producer like the camera render into an OpenGL texture. Just use SurfaceTexture. To draw on top of TextureView, just add another view on top of it. On Dec 21, 2011 9:35 PM, "Brad Grimm"

Re: [android-developers] Accessing to Canvas's parent

2011-12-21 Thread Romain Guy
a All views in a same window share a single Canvas. There's no such thing as a parent Canvas. On Dec 21, 2011 9:37 PM, "Gilberto Cuba R" wrote: > Hello colleagues, > > I'm trying to simulate the HTML5 Canvas behaviour on Android. In > order to achieve this, I have created several classes that inh

[android-developers] MediaPlayer setLooping audio gap bug

2011-12-21 Thread csyperski
I am having many users report that the there are gaps in the MediaPlayer's setLooping function where the loop isn't seamless. There is an example and details to the issues here: http://code.google.com/p/android/issues/detail?id=18756 Does anyone know of a work around that doesn't require writing

[android-developers] Accessing to Canvas's parent

2011-12-21 Thread Gilberto Cuba R
Hello colleagues, I'm trying to simulate the HTML5 Canvas behaviour on Android. In order to achieve this, I have created several classes that inheritate from View, and therefore have "THEIR OWN" canvas, wich is not shared, (and please correct me if I'm wrong) that is, that all my inherited View cl

[android-developers] Add target similar to otapackage

2011-12-21 Thread 卞磊
Hi ALL, The otapackage only contains boot.img and system, but i need to build a package including boot-loader, recovery.img and etc. How can i build this package? Or is there a guide for how to add a target similar to otapackage? Thanks. BRs, Lei Bian -- You received this message because you

[android-developers] Android - Apache commons libraries & Exchange Web Service Managed API

2011-12-21 Thread Absenth
I am already trying the exchange web service in JAVA. It's running good. It has send email or get emails correctly. My java code looks like this : public static void main(String[] args) { try { Locale.setDefault(Locale.ENGLISH); ExchangeService service = new ExchangeService();

[android-developers] Issue with SDK installation

2011-12-21 Thread Jagadeesh Koganti
Hello, I have observed that this is a known issue. But still trying to resolve it. I have successfully installed Andriod SDK 1.6 and also plugged in the required software ito my compatible eclipse. But still I am getting an issue saying " SDK Platform Tools component is missing. Please use the SDK

[android-developers] forcing Nexus Prime ICS 4.0 device to download phone APK

2011-12-21 Thread Steve
Is there a way to force the Android Market to recognize the new Verizon Nexus Prime ICS device as a *phone* rather than a tablet? It keeps downloading the tablet APK instead of the phone APK on that one phone. How should the manifests look between the phone and tablet APK to get the Nexus Prime to

[android-developers] Re: Accessing to Canvas's parent

2011-12-21 Thread Gilberto Cuba Ricardo
Please, helpme or post some tips!! 2011/12/21, Gilberto Cuba R : > Hello colleagues, > > I'm trying to simulate the HTML5 Canvas behaviour on Android. In > order to achieve this, I have created several classes that inheritate > from View, and therefore have "THEIR OWN" canvas, wich is not shared,

[android-developers] Android ScrollView cuts inside layout at top and gives strange margin on bottom

2011-12-21 Thread Szymon Dudziak
0 down vote favorite share [fb] share [tw] For first I would like to apologize for my language ignorance. I'm working on it. I'm developing an simple app. In its simple catalog view (listed below) ScrollView cuts an linearview on top and gives some strange margin on bottom. The problem is differ

Re: [android-developers] App to help developers

2011-12-21 Thread Rafael Freitas
Hi there, great app.. using it for my apps.. TreKing, on the Android Market you can search without entering a package name, that's true, but your search result will contain ALL apps with the given keyword, so, how do you know in which page a user will find your app? You'll need to change pages an

[android-developers] Android - Apache commons libraries & Exchange Web Service Managed API

2011-12-21 Thread Absenth
I am already trying the exchange web service in JAVA. It's running good. It has send email or get emails correctly. My java code looks like this : public static void main(String[] args) { try { Locale.setDefault(Locale.ENGLISH); ExchangeService service = new ExchangeService();

[android-developers] To detect when my tablet (XOOM) with android 3.1 is connected to a laptop using USB

2011-12-21 Thread Yatendra Khandelwal
With introduction of new USB host and accessory modes, ums_connected broadcasts do not work anymore. I tried using accessory mode. My app runs in the background and it starts on bootup. I have a broadcastreceiver that I need to be called when the tablet is connected to a laptop. My AndroidManifest.

[android-developers] forcing Nexus Prime ICS 4.0 device to download phone APK

2011-12-21 Thread Steve
Is there a way to force the Android Market to recognize the new Verizon Nexus Prime ICS device as a *phone* rather than a tablet? It keeps downloading the tablet APK instead of the phone APK on that one phone. How should the manifests look between the phone and tablet APK to get the Nexus Prime to

[android-developers] tablet

2011-12-21 Thread billy lester
They nee a flash player that will run any tablet made Android. And. Why can.t I use market site this is a phone to in away Android. Let me in to use apps I can.t ever use them this a pandigital what is wrong I am not buying other phone you smart one.s seem dum when you don.t make things simple los

[android-developers] Help clarifying Android Market Developer Program Policies > Spam and Placement

2011-12-21 Thread John Moses
I just got an email with the subject 7-Day Notificati**on of Android Market Developer Term Violation noting the spam and placement section. I have an app that is a ListView of each state that links to a WebView for a form hosted by state government. I listed out the name of each state in my d

[android-developers] How to merge all sms from a sender into one list item in my ListView with a CursorAdapter?

2011-12-21 Thread Abdulsamet KARAKUS
I have a ListView which uses a CursorAdapter to populate datas in it. My ListView shows all sms inbox, but they are not filtered, each message is shown. I want to merge all messages considering the sender's phone number. How can I do it? I managed to do it with an ArrayAdapter but when there is a l

[android-developers] Native SIP Supported on all ICS Devices?

2011-12-21 Thread Shaun
>From what I understand ICS is supposed to bring devices up to more or less equal standards, does this include the native SIP library, i.e. as soon as my Galaxy S II gets ICS will I be able to use the native SIP client on it and any other ICS device? Thanks! Shaun -- You received this message be

[android-developers] Merging two activities that is SMS and LBS

2011-12-21 Thread Mehdi Rizvi
Actually im merging two different activities that is SMS and LBS.. My first Activity is getting latitude and Longitude of a current position of that device My SMS activity should sent that first activity location through sms to the desire number.. in this way we can track the user at any stage thr

[android-developers] Distributing adb

2011-12-21 Thread Brian Rowe
Hi, I'm developing a system for which an Android application is a component. I am considering distributing the adb as part of the system. Does the SDK license allow me to do this? Section 3.1 of the license leads me to believe that (re)distributing the adb binary may not be permitted. Is th

[android-developers] Frontal camera low frame rate recording

2011-12-21 Thread Tiago de Freitas Pereira
Hello everyone I have an app to record videos using the Galaxy SII front camera and i'm using MediaRecorder to this task. A weird thing is happening. I'm using the setVideoFrameRate method to set the frame rate to 25fps but the recorded videos are with 13 or 15 fps. With poor light conditions some

[android-developers] "Call Connected event" and "Vibrate on Call Connected"

2011-12-21 Thread Juanillo
Hi everybody, i've been searching for some way to know if an outgoing call gets connected, but no luck. all that i've read says it's not possible. however, how "Vibrate on Call connected" apps work? is it only a matter of configuration in device? do they set on this feature programmatically or do

[android-developers] Leaking Activity ,Fragment & adapter because of option menu

2011-12-21 Thread santhana
Hi, I am having one avtivity and a ListFagment inside that activity. And i have adapter for that list fragment... I m creating a option menu for that fragment... In oncreateOptionMenu i m inflating the menu item( Search View) from menu.xml file. After come out of the activity because of this sea

Re: [android-developers] Re: Pls send me android souce code....

2011-12-21 Thread Slay3r
On 12/20/2011 12:36 PM, Sangeeth Krishnan wrote: http://source.android.com/source/download.html On Dec 20, 9:00 am, android developer wrote: Hi to all. Pls send me android source code files(Sample Projects) or else send the souce code links... Thanks you all. http://developer.android.com/r

[android-developers] Auth 500 error or not, depending on the version?

2011-12-21 Thread vt
Hello All, Trivial login that used to work on 2.2 and 2.3.x suddenly ceased to work when my Nexus S got the ICS upgrade. Here's the code: HttpWrapper.getInstance().httpClient.getParams().setBooleanParameter(ClientPNames.HANDLE_REDIRECTS, false); URL targetURL = new URL(HttpWra

[android-developers] Using socket in a service communicating with more activities...

2011-12-21 Thread ganesh
Dear All, I have multiple activities in my app that need to send data over a socket.. I figured that service is the best way to handle this.. I tried many different ways to achieve this but with no success.. If anyone can share a simple example of how it can be done.. This is what I am looking for

[android-developers] problems getting an app to work and avd won't show up with "adb devices" listed command

2011-12-21 Thread Heiko
Hello, I've some problems getting an application to run in an avd. I created simple avd named "test", created a hello world android project "test". When I try to start the application the avd emulator starts up but doesn't showed the app. No error Output in eclipse (indigo, java ee) :

[android-developers] Problem with SQLite Insert command

2011-12-21 Thread Gopal
I am new to andriod. I started creating a sample app using Sqlite databse. When i run the app i m getting this error ERROR/AndroidRuntime(878): Caused by: android.database.sqlite.SQLiteException: table employee has 11 columns but 12 values were supplied: , while compiling: INSERT INTO employee VA

Re: [android-developers] Re: NFC Secure Element

2011-12-21 Thread mickae1
Hi, I would like to know if it's possible to wirte data on the card with an android application ? Or is it the problem that you have been talking about a secret key that no one know ? Thx for the answer, -- You received this message because you are subscribed to the Google Groups "Android Dev

[android-developers] How to launch installed application via command line with dalvikvm

2011-12-21 Thread aprel
Hi. I have an Android application that is already installed on Android device. I would like to start it with dalvikvm commando. How can i do that? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-

[android-developers]

2011-12-21 Thread thangaraj raj
Hai,I want to know how to get current city name using android api.Please 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@googlegroups.com To unsubscribe from this group, send

[android-developers] Clicking on an ImageButton error

2011-12-21 Thread TCS
I'm just learning and I'm trying to click on an ImageButton and load a new activity. I get the menu activity to load on a device just fine but as soon as I click the button I get the following in my debugger window. How do I decipher to find out my problem. Thread [<1> main] (Suspended (exceptio

[android-developers] pagination with numbering

2011-12-21 Thread yogesh...@acusis.com
hello, I am new to android development. now i developnig my application in android version1.6.. i want to do pagination with numbering(dynamically allocating the number of pages) navigate to specific page clicking on number -- You received this message because you are subscribed to the Go

[android-developers] Questions about VpnService

2011-12-21 Thread Lysandus
I have a couple questions about VpnService. Is the VpnService added in 4.0 only for creating a vpn connection for your app, or does it make the vpn for all traffic on the device? If it's all device traffic does that mean your app can analyze things like what websites the user is visiting? Can it

[android-developers] In-App Purchase Problem - Market Version 3.4.4

2011-12-21 Thread Justin
Hey Everybody, Looks like Google has introduced a bug in version 3.4.4 of the Market APK: All in-app purchases fail with the message "Error retrieving information from server." I've tested this with my application, and in the Paradise Island app by attempting to purchase 50,000 "Island Bucks." Bo

[android-developers] Android - Apache commons libraries & Exchange Web Service Managed API

2011-12-21 Thread Absenth
I am already trying the exchange web service in JAVA. It's running good. It has send email or get emails correctly. My java code looks like this : public static void main(String[] args) { try { Locale.setDefault(Locale.ENGLISH); ExchangeService service = new ExchangeService();

[android-developers] sdk 1.6 webview httppost

2011-12-21 Thread xx
hi, all I'm developing a app base on webview. i need post some data, but i use the sdk 1.6. as some gays said, the sdk 1.6 or lower doesn't support the http post. how should i do with sdk 1.6. any advice is welcome. thank you in advance! zghnly -- You received this message because you are s

[android-developers] Android MotionEvent for Touch being held down

2011-12-21 Thread nguyen nguyen
I have just started developing in Android and I am trying to make a very basic game where you have to move a man along the bottom of the screen and catch items while avoiding bombs. The problem I am having is I want the man to move along the bottom of the screen when you hold your finger on the l

[android-developers] Re: How to replace GLSurfaceView with TextureView in Android Ice Cream Sandwich?

2011-12-21 Thread Brad Grimm
This post is extremely helpful, thank you. One question though. I can get the SurfaceTexture by a SurfaceTextureListener. But if I just try to use eglCreateWindowSurface & eglMakeCurrent it fails due to the surface already being connected. 1) Is it possible to draw on this surface at all? Or doe

[android-developers] 500-600 Thousand Words Dict Search Speed

2011-12-21 Thread tomyth
Hi! I'm working on a dict app on android, I need to search a list of words(about 500-600 thousand words) in file to find the word. It took me about 10-20 seconds to search the word. How can I improve the search speed? Thanks to all! tomyth_android -- You received this message because you are s

[android-developers] Re: SDK 4, R15, where is the navigation button?

2011-12-21 Thread Kang Lu
I guess this may solve your problem. https://plus.google.com/109385828142935151413/posts/FqJ5oT2xWjm -- 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 fr

[android-developers] Re: How to replace GLSurfaceView with TextureView in Android Ice Cream Sandwich?

2011-12-21 Thread Brad Grimm
Thanks for the post, it has been really helpful. But say I want to draw on top of a SurfaceTexture that is connected to a Camera via setPreviewTexture. I can get the SurfaceTexture by a SurfaceTextureListener. But if I just try to use eglCreateWindowSurface & eglMakeCurrent it fails due to the sur

[android-developers] About 'libskiagl.so' on Android 3.2

2011-12-21 Thread song xiang
Hi,everyone! My app get a error when run on Android 3.2 and force to clase, I find the reason is no 'libskiagl.so' in System/lib,but this file is exeist in Android 3.0. So, how to deal this problem? Any Help Would Be Great ! -- You received this message because you are subscribed to the Google G

[android-developers] Android Simple File Uploading in Server

2011-12-21 Thread 181
I am new to android and i am trying to develop a application which supports Uploading files to server,, While goggling for a while, i found this set of codes http://reecon.wordpress.com/2010/04/25/uploading-files-to-http-server-using-post-android-sdk/?blogsub=confirming#subscribe-blog and i trie

[android-developers] Programatically deleted files still visible in Windows Explorer

2011-12-21 Thread Acosta Test Account
Hello, I have the following problem when running my application on an Asus eee Pad Tranformer Android 3.0: I delete files from the sdcard programmatically. Then, I connect the device to Windows 7 through USB. The deleted files are still present in the explorer. However through adb shell I can con

[android-developers] Re: Google Account Sync still does not work on 4.0.3 emulator

2011-12-21 Thread tsyj2007
me too, always so. -- 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 mo

[android-developers] Accelerometer Real-Time high frequency sampling

2011-12-21 Thread Yaron
I want to sample the Accelerometer and GPS Sensors as fast as possible. I know GPS maximal frequency is 1 Hz, but the Accelerometer suppose to have much higher frequency. I dont want to wait for event of the Accelerometer- I want to sample it by myself as fast as possible. how can I do it? Setting

[android-developers] Corrupted pictures from camera

2011-12-21 Thread Dmitri Hrapof
Hello! As mentioned here: http://stackoverflow.com/q/8466757/1092612 and here http://stackoverflow.com/q/6967723/1092612 (and I think I've seen this kind of problem on stackoverflow at least once more) there is a problem taking pictures programmatically on some devices. I believe Camera/Picture

[android-developers] Re: application with same size in all the mobile

2011-12-21 Thread Tushar Lal
int dp = 2;final float scale = getResources().getDisplayMetrics().density;int dip = (int) (dp * scale + 0.5f); Use this dip to declare size of your U.I. components & the size of that U.I. components will remain same in all android based phone. eg: Button button = new Button(); button.setWidth(20*

[android-developers] Same problem

2011-12-21 Thread Yaron Recher
Did you find a solution? -- 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

[android-developers] Setting that reboots phone if no activity

2011-12-21 Thread Matt
Hi there, my phone reboots in Recovery mode after about 2 minutes, I was told by the device developer that this is because of a default flag setting. I cannot find any reference to such a setting in the android source code. I'm hoping to get some help as to the setting to set. Thank you -- You re

[android-developers] simulate hte speed for amdroid phones

2011-12-21 Thread Shabnaz
hi Iam trying to develop an app for accident detection and notification system. For tat I need to get the speed and acceleration of the mobile phione equpped with android how do I simulate ht espeed of the phone using the emulator because the mibile phone does not physically change its loca

[android-developers] Re: Android devices supporting OpenGL ES 2.0 (at least through NDK) as of September 2010

2011-12-21 Thread yc
There are surprisingly few benchmarks for recent Android devices -- also, I am surprised that the iPad 2 is the only one with OpenGL 2 benchmark 5 star ratio? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send em

[android-developers] In-app product localization

2011-12-21 Thread dozy
I have localized my in-app product descriptions to Spanish, Portuguese, and English. English is the default language for my application. What determines the language that will show up in the Android market when one of my users goes to purchase something? I am seeing the descriptions in Portuguese d

Re: [android-developers] SoundPool

2011-12-21 Thread Christopher Van Kirk
Is that a joke? On 12/22/2011 10:14 AM, bob wrote: Why would you use SoundPool for an Android game sound effects instead of MediaPlayer? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-develo

[android-developers] SoundPool

2011-12-21 Thread bob
Why would you use SoundPool for an Android game sound effects instead of MediaPlayer? -- 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, s

[android-developers] Trouble dismissing custom dialog

2011-12-21 Thread Alex Oh
I have two buttons in an activity ("Add" and "Edit") that open up a dialog. Initially, the dialog dismisses fine if I open up the dialog using the Add button. However, once I press the edit button (dialog opens up, dismisses fine) and click on the Add button, the dialog no longer closes when the "D

Re: [android-developers] [SOLVED] Real Multi touch in Android - Going Open Source!!!

2011-12-21 Thread lbendlin
he moved it to WP http://asimmittal.net/wp/?page_id=52 -- 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-developer

[android-developers] Re: Edit device owner information programmatically

2011-12-21 Thread j4velin
if someone is interested in the solution: it's not writable as it's in settings.secure, but readable with "Settings.Secure.getString(getActivity().getContentResolver(), Settings.Secure.LOCK_SCREEN_OWNER_INFO);" On 10 Dez., 01:55, j4velin wrote: > As since Honeycomb there is a deviceownerinformati

Re: [android-developers] getLastNonConfigurationInstace returns null if task is launched from a Spinner OnItemSelectedListener

2011-12-21 Thread João Rossa
Well only on task is launched but the spinner option value selected is used as a parameter to the async task On Wed, Dec 21, 2011 at 11:42 PM, Kostya Vasilyev wrote: > To represent multiple tasks, I'd use any suitable data structure (hash > map, sparse array, plain java array, etc.) > > I'd t

Re: [android-developers] Re: Messages between App and Server without C2DM

2011-12-21 Thread Kostya Vasilyev
That depends on the load: for very light or very heavy loads the difference should be quite small. Reconnecting after connectivity changes is expensive, especially over ssl, but that is driven by connectivity manager broadcasts, and so should be more our less in sync even for multiple phone side c

[android-developers] ADT 16.0.1 and library dependencies problems (Conversion to Dalvik format failed with error 1)

2011-12-21 Thread Viktor Bresan
Anyone? The problem is not fixed with the latest ADT release v16.0.1 Viktor. On Dec 14, 5:31 pm, Viktor Bresan wrote: > Anyone? > > The problem is not fixed with the latest ADT release v16.0.0 > > Viktor. -- You received this message because you are subscribed to the Google Groups "Android D

Re: [android-developers] getLastNonConfigurationInstace returns null if task is launched from a Spinner OnItemSelectedListener

2011-12-21 Thread Kostya Vasilyev
To represent multiple tasks, I'd use any suitable data structure (hash map, sparse array, plain java array, etc.) I'd then carry this entire data structure across configuration changes, making sure to get it in onCreate. 22.12.2011 3:35 пользователь "João Rossa" написал: > Ok, so if you had a s

Re: [android-developers] Re: Messages between App and Server without C2DM

2011-12-21 Thread Streets Of Boston
Yes, that basically it. That's what C2DM (and probably UA) does as well. However, if there is only one such pipeline on your phone (e.g. one C2DM service) instead of multiple (one for each app with its own solution), it'll be better for the battery overall. -- You received this message because

Re: [android-developers] getLastNonConfigurationInstace returns null if task is launched from a Spinner OnItemSelectedListener

2011-12-21 Thread João Rossa
Ok, so if you had a spinner where each option would be used as a parameter to an async task but you didnt want to repeat that same async task after rotating what would be best approach? regards, On Wed, Dec 21, 2011 at 11:24 PM, Kostya Vasilyev wrote: > You can launch the task any place you like

Re: [android-developers] Re: Messages between App and Server without C2DM

2011-12-21 Thread Kostya Vasilyev
Not an airship user, but... How about just keeping a network connection to your server open, with the server sending down events as they occur? The device can then avoid polling and go to sleep, and will be waken up when new data arrives. You'd need some sort of keep alive logic, gracefully rest

[android-developers] Re: Messages between App and Server without C2DM

2011-12-21 Thread Streets Of Boston
What I understand from their web-site is that they'll use C2DM when it's available on the device (depending on OS version and C2DM availability on it). For 'basic users' this is the only option, though, it seems. For 'enterprise users' (starting at $199 p/month), they implement their own system

Re: [android-developers] getLastNonConfigurationInstace returns null if task is launched from a Spinner OnItemSelectedListener

2011-12-21 Thread Kostya Vasilyev
You can launch the task any place you like, just don't expect to be able to check if one already exists by calling getLast... (sorry, I'm not typing that again) anywhere but in onCreate. So: call getLast in onCreate, save the value someplace, and then you'll have a way of checking if you need to l

Re: [android-developers] getLastNonConfigurationInstace returns null if task is launched from a Spinner OnItemSelectedListener

2011-12-21 Thread João Rossa
But if i want to launch a task based on the spinner value how do you that without calling the task in the itemlistener? regards, On Wed, Dec 21, 2011 at 10:34 PM, Kostya Vasilyev wrote: > The spinner has nothing to do with this, per se. > > Get your exising task, if any, by calling getLast... *i

Re: [android-developers] Make own voice input method

2011-12-21 Thread Jim Graham
On Wed, Dec 21, 2011 at 02:15:46PM -0800, Zwiebel wrote: > I have decided, that I will try to start to make a new voice input > program, with I can input words in my own language (hungarian). But I > don't know how to start, because I haven't seen anything on the > internet about these things. Cou

  1   2   >