Re: [android-developers] Disaster! - Inexplicable collapse in downloads.

2012-03-04 Thread Kristopher Micinski
Agreed. I don't think anything *happened* to your app. It was probably indexed by a few outside sources, etc..., that made it popular for a while. There's not really anything you could have done wrong after it was released. Are you (instead) if that Market's stats are in some way broken? This

[android-developers] hyper terminal to be opened using python

2012-03-04 Thread Bharath kumar Thota
Hi, As I to run at commands on phone using the hyper-terminal which should accept the commands from python.Is it possible to open the hyper terminal using python.Please give me some idea. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Where did canvas.setViewport(int, int) go since ICS?

2012-03-04 Thread Mathias Lin
Where did method Canvas' method public void setViewport(int width, int height) go since ICS? I used the method before prior to ICS, now when I use it, the method can't be resolved. And it's not mentioned nor marked as deprecated at

[android-developers] Killing an app and restarting it from root activity

2012-03-04 Thread asim khatri
Hello, I am in a need to close the application when a button is pressed and after the app exits, it should restart itself from the root activity. I have used Intent.FLAG_ACTIVITY_CLEAR_TOP but for that I have to keep the root activity alive, but I want it to be destroyed as the user navigates away

Re: [android-developers] Re: Does a device have Wi-Fi or not?

2012-03-04 Thread RLScott
I know that the MAC may not be available if wifi is not turned no. That is not what I was asking. I want to know if the device even has the capability for wifi. Can I find that out reliably even if wifi happens to be turned off? -- You received this message because you are subscribed to the

Re: [android-developers] Re: Does a device have Wi-Fi or not?

2012-03-04 Thread Kostya Vasilyev
You could try turning it on with WifiManager.setWifiEnabled, and check the return value. With appropriate UI it might not be so bad. Another idea is to check for the presence of low-level WiFi related files (such as /etc/wifi/wpa_supplicant.conf). This is clearly outside the boundaries of what a

[android-developers] CVPixelBufferGetBaseAddressOfPlane in Android

2012-03-04 Thread Sanchiski
Is there an equivalent in Java/Android of the next iOS function? CVPixelBufferGetBaseAddressOfPlane Description: Returns the base address of the plane at the specified plane index. void * CVPixelBufferGetBaseAddressOfPlane (CVPixelBufferRef pixelBuffer, size_t planeIndex); pixelBuffer: The

[android-developers] Check Database

2012-03-04 Thread abhijeet tomar
How to check database created or not..Pro-grammatically? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

Re: [android-developers] CVPixelBufferGetBaseAddressOfPlane in Android

2012-03-04 Thread abhijeet tomar
How to check Database created or not Pro-grammatically -- 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] abhijeet tomar wants to chat

2012-03-04 Thread abhijeet tomar
--- abhijeet tomar wants to stay in better touch using some of Google's coolest new products. If you already have Gmail or Google Talk, visit: http://mail.google.com/mail/b-ae8ccd4858-6cd96ceb21-3xHeeZyq4tR-PbgC-RAphle6v-o

[android-developers] OAuth Redirect URI

2012-03-04 Thread anushree
I am developing an Android application for location based event recommendation. I am trying to understand the OAuth documentation but its giving me a lot of difficulties. Basically I am going to use the EventBrite API for my application and when registering for the app key I am supposed to provide

Re: [android-developers] Disaster! - Inexplicable collapse in downloads.

2012-03-04 Thread decastro
On Sunday, March 4, 2012 5:25:31 AM UTC, Anirudh Loya wrote: Was it a Gaming App ? Yes. Its called tangle twister. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] CVPixelBufferGetBaseAddressOfPlane in Android

2012-03-04 Thread Marcelo Henrique
Class Sql helper. Em 04/03/2012 09:29, abhijeet tomar abhijeet...@gmail.com escreveu: How to check Database created or not Pro-grammatically -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] CVPixelBufferGetBaseAddressOfPlane in Android

2012-03-04 Thread Marcelo Henrique
Bitmapfactory Em 04/03/2012 10:53, Marcelo Henrique marceloh...@gmail.com escreveu: Class Sql helper. Em 04/03/2012 09:29, abhijeet tomar abhijeet...@gmail.com escreveu: How to check Database created or not Pro-grammatically -- You received this message because you are subscribed to

[android-developers] Re: Does a device have Wi-Fi or not?

2012-03-04 Thread lbendlin
The Parrot Asteroid is a prime example. It does have BT, however, so instead of using the WiFi MAC address I use the BT MAC address as part of the unique identifier. On Tuesday, February 21, 2012 5:55:39 PM UTC-5, RLScott wrote: I may have found a problem in using the Wi-Fi Mac Address as a

[android-developers] List with expandable

2012-03-04 Thread Jagadeesh
Hi i have done with listactvity in my application ,now i need expand when clicks and for each item and again click on expandble list items should be back in same screen. can you please guide me any one about this /// package com.android.samplelisy; import

[android-developers] Get a Code

2012-03-04 Thread Siddharth Chopra
hii, get a code that to draw circle with ontouchlistener and it should increase its size on MotionEvent.Action_Move and finally circle should get display on MotionEvent.Action_Up on the canvas by clicking on Menu which is having text as Draw Circle that will open menu item in android to draw

[android-developers] Multiple many many thumbnails

2012-03-04 Thread New Developer
Hi All I'm trying to have users find their pictures using thumbnails much like gallery (and also like the Golf Channel app) However, sadly I keep running out of memory after loading 20 - 30 thumbnails Any tricks to get through this limit Thanks in advance -- You received this message

[android-developers] removing items from listview and array list problem

2012-03-04 Thread minnie me
I have this code i am used to pass an array list to another page and show it as a listview. When the list shows up, i want to be able to check an item and remove it at button click which will modify the array. public class Oppout extends Activity { int selectedPosition; /** Called

Re: [android-developers] Check Database

2012-03-04 Thread Narendra Singh Rathore
How to check database created or not..Pro-grammatically? Hi Abhijeet, I have solution for you. private boolean checkDataBase() { SQLiteDatabase checkDB = null; try { checkDB = SQLiteDatabase.openDatabase(DB_FULL_PATH, null, SQLiteDatabase.OPEN_READONLY);

Re: [android-developers] Re: Does a device have Wi-Fi or not?

2012-03-04 Thread Kristopher Micinski
2012/3/4 Kostya Vasilyev kmans...@gmail.com: You could try turning it on with WifiManager.setWifiEnabled, and check the return value. With appropriate UI it might not be so bad. Another idea is to check for the presence of low-level WiFi related files (such as /etc/wifi/wpa_supplicant.conf).

Re: [android-developers] Where did canvas.setViewport(int, int) go since ICS?

2012-03-04 Thread Romain Guy
This method was removed because it had no effect whatsoever. It was a remnant of an old and failed experiment. On Sun, Mar 4, 2012 at 1:07 AM, Mathias Lin m...@mathiaslin.com wrote: Where did method Canvas' method public void setViewport(int width, int height) go since ICS? I used the method

[android-developers] In ImageSwicher/ViewFlipper ImageView is blurry when i set zoom Animation?

2012-03-04 Thread prat...@mobikasa.com
In my App i am showing slideshow of images preloaded on Drawable. In Slideshow i used all ImageSwicher/ViewFlipper/ViewSwicher. In slideshow every image have it's own animation like zoom and scale. I get blurry image when animation is on progress... Please help me as soon as possible. Note-

[android-developers] layout configuration qualifiers

2012-03-04 Thread harris...@roadrunner.com
I have an app that uses configuration qualifiers for different size screens like so: layout layout-large layout-normal layout-xlarge But when I run the app on the emulator using different skins, they all seem to use the normal layout file. Even skins that should use the layout-large file use the

[android-developers] Need help in breaking out of a WebView - This code is complex!

2012-03-04 Thread DouglasB
Before his death my partner wrote a wonderful app for me call A Wallpaper Master in Android 1.5, downloadable from http://www.advancedappsstore.com/AWallpaperMaster.apk and this app works, well almost. One of the things I'm trying to modify is how the Pay For Packages works and for this I need

[android-developers] How to Synchronize data on cloud?

2012-03-04 Thread sanarmal
Hey, i am creating one application which is use for synchronize the contact,image,video on cloud. but i didn't find any information. pls provide me some tutorial or code. thanks in advance -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Not able to display map in android app.

2012-03-04 Thread ASHISH
I am not able to display map in my android app. I am getting Exception Couldn't get connection factory client. Anyone please help me for that. Thanks And Regards Ashish Keshri -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Event listner for calender event like meetings in ICS

2012-03-04 Thread Forum JD
I am using android ICS new calendar API. I want to do some action when an event from calendar start and stops. Say for example I have a meeting in my calender at 5.30 Saturday to 6.00 PM i want to do some action at 5.29 and 6.01 PM. Is there any listener that I can configure for such events? I can

[android-developers] Android Gmail Authentication failed

2012-03-04 Thread Bhavin
Dear Sir, I am using http://stackoverflow.com/questions/2020088/sending-email-in-android-using-javamail-api-without-using-the-default-android-a For Sending an Email. I am doing 1. Static Entry of Username password in side the code. 2. Send 5 email repeatedly from the code Problem : 1.

[android-developers] API's use

2012-03-04 Thread megha agrawal
Hello All, I want to use Zomato APIs in my android application. Does anyone know how to proceed for the same? Thanks in advance!! Kinds Regards Megha Agrawal -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

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

2012-03-04 Thread gagsbond
Hi , During the EAPOL handshake , all the data packets other than EAPOL packets should be dropped . In android , which module is responsible for taking care of this? IS there any document available , which provide the information on wifi architecture on Android? Regards Gagan -- You

[android-developers] hardware codes

2012-03-04 Thread Laurie Wellington
i need to disable my proximity sensor because it does not work good at all i have a mytouch 4g i found an app that lets you disable hardware but do not know which of these is for the proximity sensor if you could let me know i would really appreciate it /sys/bus/i2c/drivers/dummy/ 2- 2-0077

[android-developers] How To: Run Multiple Apks in Single Process

2012-03-04 Thread AnimeshKBhadra
Hi, I want to run 2 Apks in a Single process, so that the sharing of data is possible between these two Apks. As i know in Android each Apks create there own process. Please point me to any literature if this already discussed. Regards, Animesh K. Bhadra. -- You received this message

[android-developers] Move horizontalscrollView of Android from left to right

2012-03-04 Thread Deepika NS
I'm using horizontalscrollView along with the animation to move set of images as a slideshow. I'm able to move the images from right to left using the following code : public void getScrollMaxAmount(){ int actualWidth = (horizontalOuterLayout.getMeasuredWidth()-512);

[android-developers] Required Help to create activity

2012-03-04 Thread Alok
import com.phonegap.DroidGap; import android.os.Bundle; public class RestApi_PhoneGapActivity extends DroidGap { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);

[android-developers] Calendar on Emulator with ICS

2012-03-04 Thread Forum JD
Hello All, I am very new to android development. I am trying to develop an application where I want to use the new public Calendar API of ICS. The problem is that on simulator I do see a calendar icon but I cannot add events to it. It asked me every time to add an account. I added my gmail

[android-developers] android developer-activity testing tutorial

2012-03-04 Thread Greenhand
I followed the section named Adding a UI test of the tutorial at http://developer.android.com/resources/tutorials/testing/activity_test.html. I was confused about why it wanted to interact with UI by UI-thread and send keys via instrumentation at the same test testSpinnerUI() method. I think

[android-developers] videos uploading in android

2012-03-04 Thread ashish bhulani
Hi, my requiremet is from my application we can upload videos, who ever instal the application can upload videos and uploaded videos will be avilable to all the persons who are using that application. Is there any site to provide this functionality?? suppose my app is using 100 members, anyone

[android-developers] OpenMax and Android Middleware

2012-03-04 Thread Johngu45
I am designing a broadcast middleware in Android platform. It will use a DASH (video) decoder and DRM agent. I would like to know if the OpenMax IL is the best choice for this work. The design requires flexibility and scalability, such as today's software DASH decoder component can be replaced

[android-developers] Verrou système

2012-03-04 Thread marwa
Bonjour à tous , je veut savoir comment je peut verrouiller mon Android à travers un service que je voudrai le développer et merci d'avance. -- 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] ayuda

2012-03-04 Thread Pablo Lopez
buenas buenas tengo un xperia x8 y se quedo muerto, no pasa de la pantalla de inicio con el primer logo de Sony ya probe con PC Companion y nada, necesito una mano para revivirlo. El telefono esta root, por aquello Gracias espero puedan ayudarme -- You received this message because you are

[android-developers] Didn't Android 4.0 have the class com.android.settings.LocalePicker ?

2012-03-04 Thread Raphael
In my project, I want to change the language,so I call the class: com.android.settings.LocalePicker. My codes are as follows: Intent intent = new Intent(Intent.ACTION_MAIN); intent.setClassName(com.android.settings,

[android-developers] Customized ActionBarCompat

2012-03-04 Thread DaJackal
Hello, I'm just learning Android and I need a search bar in ActionBarCompat instead of the provided TextView. I had some failed attempts to do that, but now I don't know what to do, so I'm asking you guys: What is the approach to customize the ActionBar with a brand new EditText instead of that

Re: [android-developers] Custom Permission and installation order

2012-03-04 Thread Alexander Osmanov
Hi Dianne, could you please comment which would be a correct way to handle this limitation then? If I want to protect a plugin to my application with a custom permission, should I declare this permission in both apps? Thanks. On Wednesday, February 22, 2012 12:11:33 AM UTC+4, Dianne

Re: [android-developers] correct XML?

2012-03-04 Thread April Randolph
Yes this looks right. These should be mapped from the AndroidManifest.xml but is there a reason that you have and intent for the Main_Activity? April Randolph On Thu, Mar 1, 2012 at 10:00 AM, bob b...@coolfone.comze.com wrote: Can someone tell me if this is correct XML? Not sure about the two

[android-developers] My country is not listed as an available billing address when trying to register as a developer

2012-03-04 Thread penkogro...@kms-e.com
Hello ! I am trying to register as a developer in Android Market. I am from a country which is not a supported one for PAID applications but it is in the list for publishing of FREE applications. I've decided to register and got surprised that my country is not included in the list of billing

[android-developers] Problem using IBinder accross two services

2012-03-04 Thread Alberto Andreotti
Hi, I'm doing something really simple. I have two services A, and B. Both started with startService. The steps are as follows, 1)First service A calls startService to create service B. 2)Then service B calls bindService to bind to service A. 3)Once service B is bound to A, it calls a method in

[android-developers] Problem with drawing text in scaled Canvas on Android 4.0

2012-03-04 Thread Kaloyan Donev
Hi, I am using a Typeface to draw text in canvas which have scale matrix. So first I measure the width of text when scale is 1.0. Then I measure the width of text when scale is different than 1.0. And I expect that non scaled width * scale will be equal to scaled width. This is true on devices

[android-developers] android spinner help

2012-03-04 Thread Kevin Haines
I am making an app that uses a spinner that has a dropdownlist of bua routes. What I am having trouble figuring out is how to have the user select an item from the dropdown list then have them push a buttom and a pdf file with the route they selected will start to download. The pdf files are

[android-developers] ICC Profiles

2012-03-04 Thread Drewby_Ty
Is there any support for applying ICC profiles in the Android SDK or any future plans to do 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

[android-developers] Re: Android Playing YouTube video in WebView

2012-03-04 Thread igor ganapolsky
In my case, the YouTube video doesn't play at all if I click the play button inside the WebView client. On Friday, April 8, 2011 10:03:08 AM UTC-4, Dan wrote: I am using webview client. shouldOverrideUrlLoading is a method of webview client. The issue I am having is the difference in

[android-developers] Apple suing ....what to do

2012-03-04 Thread App support
Apple is suing my Android Market application. Just got email from greedy lawyer firm. They work for apple. Can you guys help me? Google/Android team can you help? I don't know ...what to do? -- You received this message because you are subscribed to the Google Groups Android Developers group. To

Re: [android-developers] Re: How to listen for touch events from *Lock Screen* and *Home Screen*

2012-03-04 Thread jay.lau.pana
Hi, I have a a similar problem... But I am not sure this tread gives me the answer Is there any way to get event (touch event) *from the main android view* (the home screen of the phone...) to use it in a service running in background...? Thanks a lot. ___ Le

[android-developers] Does each row of the ListView loaded at the same time?

2012-03-04 Thread lwj0012
My recent app is like a forum, i use listview to show each thread. Each of the item contain in the ListView is combined by some textview, one of them called contentTextView is used to show the content of the thread, i also use TextView.fromHtml to show some custom tags and pictures. Sometimes

[android-developers] Re: reading pdf in my android app

2012-03-04 Thread Harvin B.
You can use MuPDF or Poppler libraries, though both are GPL licensed. Cheers On Feb 29, 6:15 pm, Jags jag...@gmail.com wrote: hi all, i am trying to read a pdf file in my android app. i realised, unlike safari in iphone android webview does not render pdf file as a local url . hence i am

[android-developers] App suspended

2012-03-04 Thread Lord0
One of my apps was suspended (I suspect I know why). The email that I received from Google stated: please feel free to make any necessary revisions and upload a new version of the application but in the developer section of the market (i.e. https://market.android.com/publish/Home), I can't

[android-developers] Re: custom attributes in library projects

2012-03-04 Thread Jay Kline
Im using a slightly better kludge. Instead of having to include the xml files, I declare the namespace as a string resource. So in your layout just do xmlns:my=@string/package_ns then just have the project that uses it define the namespace. Seems to work ok. On Tuesday, February 8, 2011

[android-developers] Required Help to create activity

2012-03-04 Thread Alok
import com.phonegap.DroidGap; import android.os.Bundle; public class RestApi_PhoneGapActivity extends DroidGap { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);

[android-developers] preferences.xml

2012-03-04 Thread vaggos von karajan
Hi i put the preferences.xml file into the res area but the eclipse Console showing me this message : Error in an XML file: aborting build. Plus in the SipSettings.java and Walkietakie.java file the eclipse in the line : addPreferencesFromResource(R.xml.preferences); finds error R cannot be

[android-developers] Can I get a Global Service in android?

2012-03-04 Thread simon.zhu....@hotmail.com
These days I get a task. I need to do a plugin jar insert into other apps. In this jar, I design a download service to run download task. I soon find that if two different apps include my jar, then there would be two different service run in the two different app-process.(one app- process match

[android-developers] Emulator for nfc in india

2012-03-04 Thread Shantanu Jain
Hi, I am a college student in India and my college project is based on NFC. There is no nfc-enabled android phone that has been launched yet in Indian market. So i can't deploy my app on any set available. Is there any emulator for NFC with which i can deploy my app easily??? -- You received

[android-developers] Splitting Android Royalties among two developers

2012-03-04 Thread Mark
Hi all I'm currently developing an app with a co-developer, and of course we want to split any earnings from the app we make. However, we live in different countries, and so transferring large amounts of money into/ out of a country is often a headache. There are also often tax implications in

[android-developers] How to find how many SSIDs are on one WiFi channel...can i select a channel for hotspot

2012-03-04 Thread Sonia Gupta
I need to switch to any channel i.e. being least used in Android...I know Access Point gives support to find out channel avaialble...bu tnot sure how to dot his android...is there any API? -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Stopping a long-running thread when a service is destroyed

2012-03-04 Thread Romain Guidoux
Hello, I have a service which launches a worker thread. This one launches another thread (a queue) used to send data though the network (so the sending of one file can be slow because I have to wait for the server's response). In the service's onDestroy() method, I have to wait for the end of

[android-developers] Re: HTTP POST to Web Server running on Android Device

2012-03-04 Thread Remote Red
line=POST / HTTP/1.1 line=Content-Length: 23 No you would see: line=POST / HTTP/1.1 line=Content-Length: 23 line=0 if a null was returned. But a null is never returned. Still your loop ends as instead an exception is trown. You did not see that because the catch does nothing. Add a Log.i

[android-developers] FrameLayout with GLSurfaceView, VideoView and SurfaceView

2012-03-04 Thread Alberto
Hello, I'm newbie developing Android applications, and I have started a projected alredy started. The project has 3 views: one view is a VideoView (public class VRVideoPlayerSensaciones extends VideoView implements MediaPlayer.OnErrorListener, OnPreparedListener), other GLSurfaceView (public

[android-developers] android.os.StrictMode$InstanceCountViolation

2012-03-04 Thread Roopesh
Hi, On enabling StrictMode, getting following messages in StrictMode log. What does the message mean? The test was run on Samsung Galaxt Tab 10.1 with Android OS 3.1 with ThreadPolicy VMPolicy set to detectAll(). 02-05 04:13:45.390: ERROR/StrictMode(15009): class

[android-developers] Re: NFC Secure Element

2012-03-04 Thread choumarin
Hi all, Before digging deeply in all this. I wonder if it will be worth it. My aim is to emulate the key I have to enter my building. It is a Mifare 1k, 16secrots, of which I have the keys. Would this be possible ? Le vendredi 10 février 2012 20:47:18 UTC+1, malls a écrit : When the card

[android-developers] Re: HTTP POST to Web Server running on Android Device

2012-03-04 Thread Remote Red
line=POST / HTTP/1.1 line=Content-Length: 23 No, you would see: line=POST / HTTP/1.1 line=Content-Length: 23 line=0 if a null was returned. But a null is never returned. Still your loop ends as instead an exception is trown which you did not see because the catch statement is empty. Add a

[android-developers] unable to respond to intent in an activity

2012-03-04 Thread Tom Ratajczak
My application is to respond to the following intent Intent i = new Intent(Intent.ACTION_VIEW, Uri.parse(geo: 45.0,34.0)); Filtering in the manifest is setup correctly and user is presented with choice, but once the choice is made the activity does not respond in receiver = new

[android-developers] HttpURLConnection on android 2.3.5 and 2.3.6

2012-03-04 Thread Zheng Li
Hallo, After upgrade to android 2.3.5 and 2.3.6, the code for android HttpURLConnection class: urlconn.connect(), urlconn.getOutputStream() and urlconn.getInputStream() becomes very slow (each command takes more than 5 second, under version 2.3.2 or 2.2 it just take less than 1 sec). Does any one

[android-developers] Re: HTTP POST to Web Server running on Android Device

2012-03-04 Thread Remote Red
line=POST / HTTP/1.1 line=Content-Length: 23 No, you would see: line=POST / HTTP/1.1 line=Content-Length: 23 line=0 if a null was returned. But a null is never returned. Still your loop ends as instead an exception is trown which you did not see because the catch statement is empty. Add a

[android-developers] ADB method profiling causes app to crash

2012-03-04 Thread voullie
Hi, The app I'm developing has very high CPU usage, causing the battery to run out very quickly when you run it. To more accurately pinpoint what consumes all that CPU I decided to use the ADB method profiling feature. Starting method profiling causes my app to crash however. I have tried to

Re: [android-developers] Re: Losing memory on tablet but not phone

2012-03-04 Thread shlomi cohen
you can find some information about direct bytebuffer in the documentation : http://docs.oracle.com/javase/6/docs/api/java/nio/ByteBuffer.html I'm not sure if it help you but it's a good start. by the way , in the documentations it is generally recommended that you use direct allocation if you

[android-developers] Using setContentView(viewList) in current Activity

2012-03-04 Thread Shani
Hi, i'm new to android and trying to dispatch a ViewList from a current Activity. (Android 2.2) . I'm getting this exception java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first. e.g. Like the search contacts dispatch a

[android-developers] Hi to every body

2012-03-04 Thread suraj nittala
Hi all, This is suraj I am planning to do develop an application fro reading the qr code for that i have searched in the net but I haven't find any thing if anybody have the source code for developing a qr code please sent it to me . you can use this mail as a reference for contacting me Thanks

Re: [android-developers] My eclipse can't produce APK anymore

2012-03-04 Thread Temp Test
Hi Mark, Hope this helps you. http://stackoverflow.com/questions/7964600/project-properties-file-instead-of-default-properties-file On Thu, Mar 1, 2012 at 3:54 PM, mark2011 androidmark2...@gmail.com wrote: Dear All : Today I found that my eclipse went wrong. After I update the program

[android-developers] No sound when using mediaPlay in python program

2012-03-04 Thread tama
Hi, I have a Samsung Galaxy S2 with android 4.0.3 (not an official release, I'm aware of it) and I don't have sound when using mediaPlay to play a sound file on my device. The program is the following one : import droid droid = android.Android(); play =

[android-developers] power button

2012-03-04 Thread zasaz
hi everyone! how can i set password on shutdown device or on press power button? -- 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

Re: [android-developers] unable to respond to intent in an activity

2012-03-04 Thread Mark Murphy
On Sun, Mar 4, 2012 at 10:45 AM, Tom Ratajczak tom.ratajc...@gmail.com wrote: My application is to respond to the following intent        Intent i = new Intent(Intent.ACTION_VIEW,  Uri.parse(geo: 45.0,34.0)); Filtering in the manifest is setup correctly and user is presented with choice,

Re: [android-developers] Stopping a long-running thread when a service is destroyed

2012-03-04 Thread Mark Murphy
On Sun, Mar 4, 2012 at 8:04 AM, Romain Guidoux romain.guid...@gmail.com wrote: In the service's onDestroy() method, I have to wait for the end of the worker thread, which has to wait for the queue thread. Why do you think you have to do this? onDestroy() should not be waiting for anything. I

Re: [android-developers] Apple suing ....what to do

2012-03-04 Thread Mark Murphy
Find an attorney. Ask your attorney your questions. This list is for programming questions, not legal advice. On Sat, Mar 3, 2012 at 6:51 AM, App support dssfeedb...@gmail.com wrote: Apple is suing my Android Market application. Just got email from greedy lawyer firm. They work for apple. Can

Re: [android-developers] Didn't Android 4.0 have the class com.android.settings.LocalePicker ?

2012-03-04 Thread Mark Murphy
On Thu, Mar 1, 2012 at 3:00 AM, Raphael raphael.li...@gmail.com wrote: In my project, I want to change the language,so I call the class: com.android.settings.LocalePicker. This is not part of the Android SDK. My codes are as follows:                                Intent intent = new

[android-developers] Re: USB serial with D2XXSamplefrom FTDI doesn't detect my device.

2012-03-04 Thread Gett
Thank you for your response Chris. I'm using a zenithink ZT280 C91. I don't know if anyone has been able to do USB host with this tablet but I finally managed to do it. and it was really quite simple :S First, I have to say that 2.3.4 supports only USB accesory mode. Therefore... I changed my

Re: [android-developers] Re: Android Beam demo on PC

2012-03-04 Thread Shantanu Jain
Hello, i am a student and also new to android. I did the changes you told here, but when i run the nfc beam demo given at http://developer.android.com/guide/topics/nfc/nfc.html#p2p, it come up with the final result as NFC is not available. I am running this at android 4.0. Please help. thanks On

Re: [android-developers] Problem with drawing text in scaled Canvas on Android 4.0

2012-03-04 Thread Romain Guy
Hi, This is not the proper way to measure scaled text. The font size defines the height of the font, not its width. There is no guarantee whatsoever that scaling a font size by a number S will scale the width of the text by the same number S. The proper way is to always call measureText() with

Re: [android-developers] ICC Profiles

2012-03-04 Thread Romain Guy
Android currently does not support ICC profiles. On Fri, Mar 2, 2012 at 12:17 PM, Drewby_Ty hbar...@gmail.com wrote: Is there any support for applying ICC profiles in the Android SDK or any future plans to do so? -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Stopping a long-running thread when a service is destroyed

2012-03-04 Thread Romain Guidoux
On 4 mar, 20:21, Mark Murphy mmur...@commonsware.com wrote: Active threads are not eligible for GC, as they are held by the OS. Oh ok, I did not know that, this is very interesting. On Sun, Mar 4, 2012 at 8:04 AM, Romain Guidoux romain.guid...@gmail.com wrote: Why do you think you have to

Re: [android-developers] Re: Stopping a long-running thread when a service is destroyed

2012-03-04 Thread Mark Murphy
On Sun, Mar 4, 2012 at 3:44 PM, Romain Guidoux romain.guid...@gmail.com wrote: Well, I did not absolutely wanted to wait in the onDestroy() method, but I wanted my thread stuff to terminate in a good and safe state. But now I know that a running thread cannot be GC, I have no reason to wait

Re: [android-developers] How to find how many SSIDs are on one WiFi channel...can i select a channel for hotspot

2012-03-04 Thread Kostya Vasilyev
The channel is selected on the router, not on the client. 1 марта 2012 г. 5:54 пользователь Sonia Gupta simply.myfam...@gmail.com написал: I need to switch to any channel i.e. being least used in Android...I know Access Point gives support to find out channel avaialble...bu tnot sure how to

Re: [android-developers] unable to respond to intent in an activity

2012-03-04 Thread Tom Ratajczak
On Sun, Mar 4, 2012 at 8:18 PM, Mark Murphy mmur...@commonsware.com wrote: On Sun, Mar 4, 2012 at 10:45 AM, Tom Ratajczak tom.ratajc...@gmail.com wrote: My application is to respond to the following intent Intent i = new Intent(Intent.ACTION_VIEW, Uri.parse(geo: 45.0,34.0));

Re: [android-developers] unable to respond to intent in an activity

2012-03-04 Thread Mark Murphy
On Sun, Mar 4, 2012 at 4:13 PM, Tom Ratajczak tom.ratajc...@gmail.com wrote: I see the difference now, so this explains why the battery power intent was received. But I still don't know how to receive the intent that was sent with startActivity. Thanks for your help. Step #1: Implement an

Re: [android-developers] unable to respond to intent in an activity

2012-03-04 Thread Tom Ratajczak
On Sun, Mar 4, 2012 at 10:19 PM, Mark Murphy mmur...@commonsware.comwrote: On Sun, Mar 4, 2012 at 4:13 PM, Tom Ratajczak tom.ratajc...@gmail.com wrote: I see the difference now, so this explains why the battery power intent was received. But I still don't know how to receive the intent

Re: [android-developers] unable to respond to intent in an activity

2012-03-04 Thread Mark Murphy
On Sun, Mar 4, 2012 at 4:33 PM, Tom Ratajczak tom.ratajc...@gmail.com wrote: Wait with the beer for a moment:) Beer delayed is beer denied. This is what I am already doing and the activity is selected as one of many, but how do i process the geo:45.0,34.0 that the originating activity sends

[android-developers] Re: power button

2012-03-04 Thread Chris Stratton
On Sunday, March 4, 2012 8:26:39 AM UTC-5, zasaz wrote: hi everyone! how can i set password on shutdown device or on press power button? Head on over to android-porting or xda-developers and build you own version of android itself - this isn't something SDK apps would be permitted to do.

[android-developers] Re: ListSelector - Not Use or Make More Customised

2012-03-04 Thread Gaunt Face
I ended up approaching this problem a different way noted here: http://www.gauntface.co.uk/blog/2012/03/04/android-listview-with-rounded-corners-and-highlighting/ On Friday, 26 February 2010 22:29:31 UTC, Gaunt Face wrote: I've just found the following in the documentation:

[android-developers] SlickUSB2Serial usage

2012-03-04 Thread RLScott
Anybody use the SlickUSB2Serial library to interface to a USB-serial module? I have and I would like to compare notes with others who have used it. -- 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] Adjust Screen Size When Soft Keyboard Shown

2012-03-04 Thread Matt Clark
Right now in my app, when the soft keyboard is shown, it does not resize my activity to the upper half of the screen that is not being covered by the keyboard, higing some important elements. How would I detect that the soft keyboard has been shown, and then change my layout to fit? ~tinyClark

Re: [android-developers] Adjust Screen Size When Soft Keyboard Shown

2012-03-04 Thread Mark Murphy
On Sun, Mar 4, 2012 at 5:57 PM, Matt Clark mrclark32...@gmail.com wrote: Right now in my app, when the soft keyboard is shown, it does not resize my activity to the upper half of the screen that is not being covered by the keyboard, higing some important elements. How would I detect that the

[android-developers] Re: android.os.StrictMode$InstanceCountViolation

2012-03-04 Thread joebowbeer
The StrictMode source code is available as a download via SDK Manager. Note that the setClassInstanceLimit message you see in the log is faked: // Dummy throwable, for now, since we don't know when or where the // leaked instances came from.  We might in the future, but for // now we suppress

  1   2   >