[android-developers] ScrollView draw error on 3D flip animation

2011-07-21 Thread mongd
Hello, I'm facing a draw error with ScrollView. I created a ScrollView which includes a long long LinearLayout in it. By long long, I mean the height of LinearLayout is far longer than that of ScrollView. This ScrollView fills the whole screen. Flip animation that I used was something like

[android-developers] re:CameraButtonIntentReceiver.java

2011-07-21 Thread Durgadoss Ramanathan
Hi, In My GingerBread source, under packages/apps/Camera, I find a CameraButtonIntentReceiver.java. Seems like it is supposed to capture the Intent for Camera Button and start the Camera Activity.. I added some Log.i/v messages inside the onReceive method and tested. When I touch the Camera App

Re: [android-developers] popupwindow

2011-07-21 Thread arun kumar
am having a textview when i click on it a popup window(containing list has to display.). i read the documents but not understanding how to code plz guide me Thankyou arun -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Spinner value on button click

2011-07-21 Thread Igor Barros
Dear all, Is it possible to return a spinner selected value only when I click in a button in the same activity, instead of using the OnItemSelected() method? Could you tell me how to proceed with it? Best Regards, -- Igor Smagasz Barros igorsmag...@gmail.com -- You received this message

[android-developers] How to convert the raw data from Camera.takepicture(shutter, raw,jpeg) to Bitmap?

2011-07-21 Thread musfiq
Hi: I want to find the faces in an image after taking picture. I want to use the Facedetetor.findfaces(...,); But for that I need Bitmap file. How to convert byte [] to bitmap? /Musfiq -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Help on using Monkey Tool

2011-07-21 Thread TDaniel
All I am beginner using Android Tools and I am familiar with the Monkey tool that does Usability Stress testing for mobile devices. Can you please point me to the website where I can do the following: (i) The Test cases it is executed while running it. I know it randomly creates these test cases

[android-developers] Parameters passed to a .NET webservice are always null when using ksoap2 jar

2011-07-21 Thread Shabu Thomas
Hi, I tried to call a .NET web service from a sample application using KSOAP2. I could successfully call a web service method without any parameter. But, even if I set a valid value to a string parameter, .NET service takes it as null. Let me give the code sample. private static final String

[android-developers] Determine missing Chinese font characters

2011-07-21 Thread Jimen Ching
Hi, I'm developing an application that displays Chinese characters. I am seeing some characters being displayed as square boxes. Instead of displaying lots of square boxes, I would like to just filter out these characters and not display them at all. Anyone know how to do this

[android-developers] Android Market signup problems...

2011-07-21 Thread Kris Ar
Yesterday I registered with the Android Market to make my app available. The credit card was processed and I got the receipt for that. But when I login to my account it says Your Registration to the Android Market is still being processed. It's been almost a day. Is this typical? Is there an

[android-developers] Re: takepicture hangs on Android 2.3.3

2011-07-21 Thread musfiq
I get the similar kind of error in 2.3.4 but don't know how to fix it. On Jun 30, 10:01 am, dingding dangdang ustcchenj...@gmail.com wrote: I have some codes of takeing picture working at Android 2.1 and 2.2. But these codes broke at Android 2.3. After spending a time to fix this issue in

Re: [android-developers] Android Web view with you tube videos

2011-07-21 Thread saman norallahy
ok On Wed, Jul 20, 2011 at 2:05 PM, H@ri harish.gran...@gmail.com wrote: In my app i am using web view. In that i am loading the page http://apiblog.youtube.com/2010/07/new-way-to-embed-youtube-videos.html. This page contain youtube videos. These are not displaying untill i click on them. If

[android-developers] Re: Print on android

2011-07-21 Thread gjs
http://androidforums.com/motorola-droid/27217-bluetooth-printing-your-android-droid-device.html On Jul 20, 9:34 pm, Zero qkhhdn...@yahoo.cn wrote: I am about to develop a program that can use the shared printer on android.But when I looking the APIs that android has,I am shocked as it hasn't

Re: [android-developers] Determine missing Chinese font characters

2011-07-21 Thread Nikolay Elenkov
On Thu, Jul 21, 2011 at 8:21 AM, Jimen Ching jimen.ch...@gmail.com wrote: Hi, I'm developing an application that displays Chinese characters.  I am seeing some characters being displayed as square boxes.  Instead of displaying lots of square boxes, I would like to just filter out these

[android-developers] Re: can Wi-Fi and 3G establish network connections individually and simutaneously on a single android?

2011-07-21 Thread Jens
Yes. Using http://developer.android.com/reference/android/net/ConnectivityManager.html#TYPE_MOBILE_HIPRI you should be able to do short, explicitly routed transmissions on the mobile network while maintaining a WiFi connection. There's a timeout on the TYPE_MOBILE_HIPRI request and you may need

[android-developers] Getting EULA dialog to show on first run and subsequent upgrade first runs.

2011-07-21 Thread Raghav Sood
Hi all, I know that this thread is similar to a few previous ones but I need help. I am currently using the following code to display an EULA dialog on first run. SharedPreferences settings = getSharedPreferences(PREFS_NAME, 0); boolean dialogShown = settings.getBoolean(dialogShown,

Re: [android-developers] Getting EULA dialog to show on first run and subsequent upgrade first runs.

2011-07-21 Thread Nikolay Elenkov
On Thu, Jul 21, 2011 at 5:43 PM, Raghav Sood raghavs...@gmail.com wrote: It works perfectly on the first run but when an upgrade is done the code fails to display the dialog. Is there any way to display the dialog on upgrades as well? Append the version name/number to the preference key.

Re: [android-developers] Getting EULA dialog to show on first run and subsequent upgrade first runs.

2011-07-21 Thread Kostya Vasilyev
Yes, you just need to keep track of version code for which the EULA was already shown vs. the current one. Something like this: PackageManager packageManager = getPackageManager(); String packageName = getPackageName(); PackageInfo packageInfo; try { packageInfo =

Re: [android-developers] Getting EULA dialog to show on first run and subsequent upgrade first runs.

2011-07-21 Thread Raghav Sood
Okay. I got it working with your help, but think on Nikolay's answer. In the end I have decided to show the EULA in the help activity. Thanks On Thu, Jul 21, 2011 at 2:21 PM, Kostya Vasilyev kmans...@gmail.com wrote: Yes, you just need to keep track of version code for which the EULA was

Re: [android-developers] Re: Help needed for dealing with NullPointerException when calling functions on a service just after binding it

2011-07-21 Thread Mark Murphy
On Thu, Jul 21, 2011 at 1:26 AM, animeshsi animeshs...@gmail.com wrote: The issue is that I need to call the service methods as soon as it is connected. So, Is there any way by which I can execute the functions of service JUST AFTER binding is complete ? Execute those functions in

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

2011-07-21 Thread Fernando Miguélez Palomo
Hi Michael, As far as I understand sending APDUs to the SmartMX SE element is possible because the NFC Controller (PN544) is told to enable the NFC-WI interface with SE. This is carried out by calling *phHal4Nfc_Switch_SMX_Mode()*, with parameter *eSmartMx_Wired *(function

Re: [android-developers] Re: Unable to add/see custom menu item to contacts in device

2011-07-21 Thread Mark Murphy
CATEGORY_ALTERNATIVE is no longer being used AFAIK. On Thu, Jul 21, 2011 at 12:41 AM, Mamz joinmama...@gmail.com wrote: Hi Mark, I used android.intent.action.SEND  action for the approp MIME type to have the activity chooser for gallery and browser. So I could see my activity under Share for

[android-developers] HELP: Connecting to SQL Server using JDBC

2011-07-21 Thread Boozel
Hi I'm trying to connect to SQL Server 2008 using JDBC. I downloaded the JDBC from microsoft and there were two java files sqljdbc.jar and sqljdbc4.jar. I imported sqljdbc4.jar into my application but when i get to conn = DriverManager.getConnection(connString); i get the error below: the

[android-developers] Upload Audio File over Server

2011-07-21 Thread Ankit Kasliwal
Hello Everyone is any way to upload Audio file which i record through Application uploaded over My FTP server Folder. -- Thanks and Regards, Ankit Kasliwal kasliwalankit2...@gmail.com +91-9300-940-136 -- You received this message because you are subscribed to the Google Groups Android

[android-developers] image button animation

2011-07-21 Thread eman
Hi, I want the image button to grow when on focus and shrink when lost focus? any idea? example? cheers. thanks a lot. -- 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

Re: [android-developers] Upload Audio File over Server

2011-07-21 Thread Raghav Sood
Maybe you should visit http://www.google.com and type your query once in a while: http://hoang17.com/posts/android/android-how-to-upload-a-file-via-ftp On Thu, Jul 21, 2011 at 4:40 PM, Ankit Kasliwal kasliwalankit2...@gmail.com wrote: Hello Everyone is any way to upload Audio file which i

Re: [android-developers] Upload Audio File over Server

2011-07-21 Thread Ankit Kasliwal
i have no username and password so how i upload fiile. On Thu, Jul 21, 2011 at 4:59 PM, Raghav Sood raghavs...@gmail.com wrote: Maybe you should visit http://www.google.com and type your query once in a while: http://hoang17.com/posts/android/android-how-to-upload-a-file-via-ftp On Thu,

Re: [android-developers] Upload Audio File over Server

2011-07-21 Thread Mark Murphy
On Thu, Jul 21, 2011 at 7:40 AM, Ankit Kasliwal kasliwalankit2...@gmail.com wrote: i have no username and password so how i upload fiile. Get an account on the FTP server. This has nothing to do with Android. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy

[android-developers] Re: Map point reload

2011-07-21 Thread lbendlin
try to pull a small amount of data from your server. Or use the network reachability code in the documentation As for the GPS - you have to be aware that by default Android destroys and restarts your activity when you rotate the device to a new orientation. -- You received this message

[android-developers] Re: TrafficStats: sum of all traffic by uid is different than directly retrieving the total

2011-07-21 Thread Chitra
Hey for me am getting recv and sent values as '-1' . where is the problem here?? On Jun 30, 7:02 pm, Guillaume Perrot guillaume.p...@gmail.com wrote: Hi everyone, I am trying to use TrafficStats and I have an issue when I try to get the traffic for each uid: if i sum all the traffic, I get

[android-developers] Re: How to move/create the database in Cache memory

2011-07-21 Thread lbendlin
What database? SQLite? There is an option to create in-memory temporary databases. However, you may simply have the wrong requirement. To prevent anyone from stealing your database the only thing you can do is NOT to use a database. -- You received this message because you are subscribed to

Re: [android-developers] Query database

2011-07-21 Thread lbendlin
You're overcomplicating things a little bit. Have a look at the Android sample codes for database handling. First and foremost decide if you really want to create the database on the fly, or maybe you want to go with a prepared database that you then copy to the documents area on first

[android-developers] Re: LocationManager - called very often when moving

2011-07-21 Thread lbendlin
Is your app the only one consuming the GPS? Did you maybe register another listener? -- 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,

Re: [android-developers] Upload Audio File over Server

2011-07-21 Thread Ankit Kasliwal
Sorry Mark i mean to say that i don't have user name and password of client FTP so is any way to upload file over FTP without asking user name and password. On Thu, Jul 21, 2011 at 5:13 PM, Mark Murphy mmur...@commonsware.comwrote: On Thu, Jul 21, 2011 at 7:40 AM, Ankit Kasliwal

Re: [android-developers] Upload Audio File over Server

2011-07-21 Thread Mark Murphy
On Thu, Jul 21, 2011 at 8:05 AM, Ankit Kasliwal kasliwalankit2...@gmail.com wrote: Sorry Mark i mean to say that i don't have user name and password of client FTP so is any way to upload file over FTP without asking user name and password. Usually, you need an FTP username and password to

Re: [android-developers] Upload Audio File over Server

2011-07-21 Thread Ankit Kasliwal
ok mark thanks!!! On Thu, Jul 21, 2011 at 5:38 PM, Mark Murphy mmur...@commonsware.comwrote: On Thu, Jul 21, 2011 at 8:05 AM, Ankit Kasliwal kasliwalankit2...@gmail.com wrote: Sorry Mark i mean to say that i don't have user name and password of client FTP so is any way to upload file over

[android-developers] Re: How to know email sent successfully or not ?

2011-07-21 Thread lbendlin
even if it was sent successfully there is no guarantee that it reaches the intended recipients. I'd second Mark's statement - get rid of the requirement. -- 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] set spinner item

2011-07-21 Thread Navindian
I have developed u.i with spinner a button. When I click on a button I wish to set one of the items available in the spinners list. I tried with setselection, but there is no effect.any ideas? -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Detecting touch in TableView

2011-07-21 Thread RLScott
I need to make a table of 12 rows and 7 columns contained in a scroll view. That I can do. But in addition I want to be able to detect a touch on any cell and dynamically alter the appearance of that cell (sort of like a Select). I know that table views do not support selection like a list view

[android-developers] Re: Camera and Encoder related thread query

2011-07-21 Thread Ganesh
Dear experts, Do you have any inputs on my queries? Thanks, Ganesh On Jul 20, 5:28 am, Ganesh ganesh.vija...@gmail.com wrote: Dear Experts, In case of video recording, there would be 3 major players in the flow graph i.e.CameraSource,Encoderencapsulated as an OMXCodec component and MPEG4

Re: [android-developers] popupwindow

2011-07-21 Thread TreKing
On Thu, Jul 21, 2011 at 2:05 AM, arun kumar arun.kata...@gmail.com wrote: i read the documents but not understanding how to code Sorry, but if you don't know how to code, you're not going to get very far. Learn to code in Java, then go back to the documentation and see how the relevant

Re: [android-developers] Android Market signup problems...

2011-07-21 Thread TreKing
On Wed, Jul 20, 2011 at 2:52 PM, Kris Ar battery.upgrade.andr...@gmail.comwrote: But when I login to my account it says Your Registration to the Android Market is still being processed. It's been almost a day. Is this typical?

[android-developers] how do you add an item in a list if a user presses yes button in an alert dialog box and don't add it if he presses no

2011-07-21 Thread Arif Nadeem
Hello everyone, I am making an app in which if a user selects a submenu item I pop up an Alert dialog which asks his confirmation whether he wishes to save that item in his list and saves it if he presses yes and doesn't add it if he presses no. -- You received this message because you are

Re: [android-developers] how do you add an item in a list if a user presses yes button in an alert dialog box and don't add it if he presses no

2011-07-21 Thread TreKing
how do you add an item in a list if a user presses yes button in an alert dialog box and don't add it if he presses no This is very vague ... so ... um ... do exactly what you describe. If you have a better explanation of which part of this you're actually stuck on, you'll likely get better

Re: [android-developers] Parameters passed to a .NET webservice are always null when using ksoap2 jar

2011-07-21 Thread TreKing
On Wed, Jul 20, 2011 at 9:12 PM, Shabu Thomas shabuthoma...@gmail.comwrote: Would you please give me a better solution for this? I think you need to try a group or forum for SOAP or .Net web services.

Re: [android-developers] Spinner value on button click

2011-07-21 Thread TreKing
On Wed, Jul 20, 2011 at 2:52 PM, Igor Barros igorsmag...@gmail.com wrote: Is it possible to return a spinner selected value only when I click in a button in the same activity, instead of using the OnItemSelected() method? Yes. Could you tell me how to proceed with it? Read the docs for

[android-developers] Tmp folder max size?

2011-07-21 Thread Hugo M
Hi, what is the max size of tmp files I can create in an application? I have a viewer with encrypted images, and I want to have a thread that stores unencrypted images in the temp folder. There's a max size? Regards! Hugo -- You received this message because you are subscribed to the Google

[android-developers] hi my name is vinodh

2011-07-21 Thread vinodh venkatesh
we have one frame work called DAB ... we need in port it in Android platform is it possible -- 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

Re: [android-developers] Tmp folder max size?

2011-07-21 Thread Mark Murphy
On Thu, Jul 21, 2011 at 10:00 AM, Hugo M ham1...@gmail.com wrote: Hi, what is the max size of tmp files I can create in an application? As big as free space supports. There's probably some multi-GB upper bound somewhere due to the underlying file system, but you should not be creating files

Re: [android-developers] set spinner item

2011-07-21 Thread TreKing
On Thu, Jul 21, 2011 at 7:57 AM, Navindian navind...@gmail.com wrote: When I click on a button I wish to set one of the items available in the spinners list. What do you mean set one of the items available ? I tried with setselection, but there is no effect.any ideas? Code?

[android-developers] Re: Detecting touch in TableView

2011-07-21 Thread RLScott
I think I figured it out. I have to set an onTouch listener for each and every view that is a cell in the table. One listener will suffice since the view is a parameter and I can tell which cell was touched through that. -- You received this message because you are subscribed to the Google

[android-developers] What layout the normal 2.3 WVGA 800x480 emulator use?

2011-07-21 Thread Zwiebel
Hello, I have a program what looks like good on my HVGA emulator, everything is fine with it (however I don't know why it is use the hdpi drawable, when I have layout-normal-mdpi file too, with drawable-layout-mdpi file too.), but I don't know what the 2.3 WVGA 800x480 emulator use? I made a

[android-developers] Re: Detecting touch in TableView

2011-07-21 Thread RLScott
Actually the OnClickListener turned out to be exactly what I wanted. It distinguishes between a scroll touch and a selection touch. -- 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: NFC Secure Element

2011-07-21 Thread nemik
Great job Fernando! Thank you for sharing your diff on this, it's fantastic news. On Jul 19, 5:48 am, Fernando Miguélez Palomo fernando.migue...@gmail.com wrote: I got it working on 2.3.4_r1!!! The key was enabling discoverability but in card emulation mode. The strange thing is now I can

Re: [android-developers] Query database

2011-07-21 Thread Kostya Vasilyev
You are not calling getWritableDatabase (a method inherited by your helper class). Hence, the db never gets created. Might be a good idea to separate addEmployee, etc., into another class, so you have more clear separation between opening/creating the database vs. performing data operations with

[android-developers] Re: Bet practice for determining when a Service has done its work.

2011-07-21 Thread darrinps
Thanks. That's all I needed to make it click. For those searching after the fact, what I did was rework the service so I could bind to it instead of simply starting it. In my Service I ended up with privatefinal IBinder binder = new AutoLoginBinder(); private ICallback

[android-developers] Small screens and HDPI

2011-07-21 Thread Alex
Hey, I have recently come across a situation where drawable-hdpi resources on a small-screen, hdpi device look terrible. I would like to force smallscreen devices to use mdpi resources. Copying (or resizing) all the pertinent drawables from /drawable-mdpi to /drawable-small causes too much APK

[android-developers] Re: hi my name is vinodh

2011-07-21 Thread rich friedel
Maybe... -- 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 more options,

[android-developers] MediaRecorder Padding

2011-07-21 Thread Matthew Powers
Does anyone else see, when using the MediaRecorder, that anywhere from .5 to 1 second of whitespace is injected before the start of the recording? When I start a recording, stop a recording and playback there seems to be this whitespace delay injected into the recording. -- You received this

[android-developers] Re: What layout the normal 2.3 WVGA 800x480 emulator use?

2011-07-21 Thread rich friedel
You mention creating the files... did you put them in their respective directories? The directories that house your drawables have to be named specifically. e.g. drawable-hdpi, drawable-mdpi, etc... Also your xml layout files can be named anything. My understanding is this... the system will

[android-developers] Yawn...active installs still broken

2011-07-21 Thread Jim Graham
The lite version of my new app is showing 4 installs, 0 active installs. I KNOW that 2 of those installs are active installs. And I've been suspicious of the numbers I've been seeing on my totally unsuccessful (as I was advised might well be the case) photography app (too many coincidences in how

Re: [android-developers] Where should I place the EULA check?

2011-07-21 Thread rich friedel
I'm with treking and mark... It is just not worth the headache ATM. My philosophy is that if corporations such as Adobe, Microsoft, etc.., who are (collectively) way more badass than I am (individually) cannot secure their software then I don't have an ice cube's chance in hell of doing it

[android-developers] Layout problem with TextView on RelativeLayout

2011-07-21 Thread Tony Farag
Hi all, I have a question related to layout of a textView on top of a RelativeLayout. I have the background layout set to a 9-patch image. When I do set it to a 9 patch image, the text in the textviews is drawn vertically. If all I do is change the background image from a 9- patch to a regular

[android-developers] Re: How to convert the raw data from Camera.takepicture(shutter, raw,jpeg) to Bitmap?

2011-07-21 Thread dilo.mt
byte[] tempdata = ur byte array; Bitmap bm = BitmapFactory.decodeByteArray(tempdata, 0, tempdata.length); On Jul 20, 10:08 pm, musfiq musfiqu...@gmail.com wrote: Hi: I want to find the faces in an image after taking picture. I want to use the Facedetetor.findfaces(...,); But for that I

[android-developers] Re: Parameters passed to a .NET webservice are always null when using ksoap2 jar

2011-07-21 Thread dilo.mt
use soap ui application to get a good idea about how the web server handle the request and respose. On Jul 21, 3:12 am, Shabu Thomas shabuthoma...@gmail.com wrote: Hi, I tried to call a .NET web service from a sample application using KSOAP2. I could successfully call a web service method

Re: [android-developers] How to know SoundPool play completed?

2011-07-21 Thread Leigh McRae
I don't think there is anything. Best solution is to measure the sound clip duration (likely off line) and then poll or make a timer. Leigh On 7/20/2011 6:08 AM, Tim wrote: Guys, Just want to got callback after SoundPool played a sound. But unfortunately, I found the SoundPool.play() is

[android-developers] Does anyone at Google read bug reports?

2011-07-21 Thread Peter Eastman
I've been developing for Android for about a year and a half. Whenever I encounter a problem, I dutifully file a bug report. I'm now up to about a dozen. Every single one of my reports is still listed as New in the bug tracker, even the ones filed a full 18 months ago. Not a single one of them

[android-developers] Sorting Sqlite data while display

2011-07-21 Thread saurabh kulkarni
Hi I have date(TEXT) column in db.I want to display dates in ascending order(i.e. group by date).but according to current date. i.e dates greator or equal than current date should be displayed first and past dates should get appended at last in listview automatically.I used SimpleCursorAdapter to

Re: [android-developers] Does anyone at Google read bug reports?

2011-07-21 Thread Mark Murphy
On Thu, Jul 21, 2011 at 2:20 PM, Peter Eastman peter.east...@gmail.com wrote: I've been developing for Android for about a year and a half. Whenever I encounter a problem, I dutifully file a bug report.  I'm now up to about a dozen. Match you, raise you 43. Every single one of my reports is

[android-developers] application not lauching on simulator when using google map api Installation error: INSTALL_FAILED_MISSING_FEATURE

2011-07-21 Thread Amit Mangal
Hi Everyone, I want to load google map in my app. Steps i did 1) I generated google map key 2)Added google map key in xml file 3)In manifest file i added permissions for map loading Problem is when i use uses-library android:name=com.google.android.maps / inside the application tag of

Re: [android-developers] Does anyone at Google read bug reports?

2011-07-21 Thread Amit Mangal
Boss if you are looking for quality then iphone is the best options . Symbian Android winphone 7 these are only sand storm they come and go. you cant get quality in android . android come up and after some time finish like symbian so don worry about that. thanks On Thu, Jul 21, 2011 at 11:50

Re: [android-developers] Does anyone at Google read bug reports?

2011-07-21 Thread Romain Guy
We do look at bug reports yes. Thanks for taking the time to file them! On Thu, Jul 21, 2011 at 11:48 AM, Amit Mangal forum.amit.man...@gmail.comwrote: Boss if you are looking for quality then iphone is the best options . Symbian Android winphone 7 these are only sand storm they come and go.

[android-developers] Listview oddity with imageview

2011-07-21 Thread Simon Platten
I have a listview with each item defined as: ?xml version=1.0 encoding=utf-8? RelativeLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=fill_parent android:layout_height=?android:attr/listPreferredItemHeight

[android-developers] Re: LocationManager - called very often when moving

2011-07-21 Thread Jan Nielsen
I dont think there is any other programs requesting GPS, I have navigation app, but not running when I tested my app. I only request the update one place and before that I remove any registered listeners. LocationManager mlocManager = (LocationManager)getSystemService(Context.LOCATION_SERVICE);

Re: [android-developers] What layout the normal 2.3 WVGA 800x480 emulator use?

2011-07-21 Thread Dianne Hackborn
On Thu, Jul 21, 2011 at 7:43 AM, Zwiebel hunzwie...@gmail.com wrote: I have a program what looks like good on my HVGA emulator, everything is fine with it (however I don't know why it is use the hdpi drawable, when I have layout-normal-mdpi file too, with drawable-layout-mdpi file too.),

[android-developers] calling a client side java method from a webview html button

2011-07-21 Thread sabanim
cross post url:http://stackoverflow.com/questions/6781613/calling-a- client-side-java-method-from-server-side-html-button Ok In an android vebview I have a java method. Is it possible that when a button on the web page being viewed is hit to call that method? If so can you point me in the right

Re: [android-developers] calling a client side java method from a webview html button

2011-07-21 Thread Miguel Morales
http://developer.android.com/guide/webapps/webview.html On Thu, Jul 21, 2011 at 12:31 PM, sabanim rickd...@gmail.com wrote: cross post url:http://stackoverflow.com/questions/6781613/calling-a- client-side-java-method-from-server-side-html-button Ok In an android vebview I have a java method.

[android-developers] How to get a service to either return a string or start a function in main activity?

2011-07-21 Thread Fred Niggle
Hello, Thanks for taking the time to read this. I've been on this for some time and have only recently mastered service... or so I thought. I found a tutorial about services at http://marakana.com/forums/android/examples/60.html and

Re: [android-developers] How to get a service to either return a string or start a function in main activity?

2011-07-21 Thread Mark Murphy
On Thu, Jul 21, 2011 at 4:25 PM, Fred Niggle fred.nig...@googlemail.com wrote: however, my goal is to start a service which sets an alarm, and when the alarm fires the onStart() event I wish to display another screen (e.g. anothermain.xml) That's a trifle unusual. It would make sense, as a

[android-developers] Re: Listview oddity with imageview

2011-07-21 Thread Simon Platten
It doesn't do this in the emulator, but it does on my Sony X10 running 2.1 On Thu, Jul 21, 2011 at 7:54 PM, Simon Platten simonaplat...@googlemail.com wrote: I have a listview with each item defined as: ?xml version=1.0 encoding=utf-8? RelativeLayout

[android-developers] Re: Does anyone at Google read bug reports?

2011-07-21 Thread Peter Sinnott
On Jul 21, 7:28 pm, Mark Murphy mmur...@commonsware.com wrote: On Thu, Jul 21, 2011 at 2:20 PM, Peter Eastman peter.east...@gmail.com wrote: Does anyone who works on the OS actually read bug reports? Yes. However, b.android.com is not the issue tracker of record -- an internal one is.

[android-developers] Handwriting application

2011-07-21 Thread Jeremy Dagorn
Hi all, Do you know if there is existent library, or if there is some native methods in charge of handwriting for an application? I have googled it but I don't find any efficient sources/indications so if someone is aware of this kind of library, to give the opportunity to the user to write with

Re: [android-developers] Handwriting application

2011-07-21 Thread Mark Murphy
If you are seeking an input method editor that supports writing-style input, there's Graffiti, and perhaps others, on the Market. I am not aware of any open source ones. Those are also things that end users install, rather than something you integrate into your app. Or are you looking for

Re: [android-developers] How to get a service to either return a string or start a function in main activity?

2011-07-21 Thread Fred Niggle
Thank you for your prompt reply, What I am writing is a meds reminder app, which has the option of letting a career know if the app is not acknowledged and responded to. The idea is that when the alarm event fires it triggered a sound (alert) to be played (notify user to take meds), and if the

Re: [android-developers] How to get a service to either return a string or start a function in main activity?

2011-07-21 Thread Mark Murphy
On Thu, Jul 21, 2011 at 6:33 PM, Fred Niggle fred.nig...@googlemail.com wrote: What I am writing is a meds reminder app, which has the option of letting a career know if the app is not acknowledged and responded to. The idea is that when the alarm event fires it triggered a sound (alert) to

RE: [android-developers] Google Checkout Problem

2011-07-21 Thread Perry
Hi Simon, Thanks a lot! From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Simon Platten Sent: Wednesday, July 20, 2011 6:17 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] Google Checkout Problem I had a

[android-developers] BitmapRegionDecoder help

2011-07-21 Thread Kivak
Hello everyone! Hopefully a quick question... I can't seem to find any posts in any forum about this. I have an image called map.jpg in my res/drawable folder. However, the function to create the BitmapRegionDecoder seems to not like the path that I give it. What should be the correct path to

[android-developers] Re: how do you add an item in a list if a user presses yes button in an alert dialog box and don't add it if he presses no

2011-07-21 Thread dilo.mt
hope this will help you.. AlertDialog.Builder b = new AlertDialog.Builder(Main.this); b.setItems(new String[]{you, may, need, to, add}, new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { AlertDialog.Builder bb = new

[android-developers] Re: popupwindow

2011-07-21 Thread dilo.mt
hope this will help you. TextView tx = new TextView(this); tx.setClickable(true); txtextControl.setOnClickListener(new OnClickListener() { @Override public void onClick(final View view) { //add ur alert box here, dont ask me how, read the documentation, :D im serious

[android-developers] How can adding header sharepoint webservices in android?

2011-07-21 Thread ahmet çebişli
i have a share point webservices but i must add header bu i didn't make? Is there any idea? -- 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] Accessing MySQL Data From Android App?

2011-07-21 Thread Mobile Pocket Apps
Hello, I have started learning Android app development and I am trying to learn how to query and insert data to/from my Android app to a MySQL database. So far I have been reading about creating a web service, but I haven't had too much luck finding information on the implementation within the

[android-developers] Is it possible to allow Flash Socket Client in Webview?

2011-07-21 Thread 張饒輝
Dear All Senior : I got some problem during build Socket Connection. In this project... Android APP |ServerSocket |Webview |Flash Socket Client My Flash Socket Client will get several data from ServerSocket. I already sure that : 1.the ServerSocket is work. I can

[android-developers] Issues with 3.2

2011-07-21 Thread Joshua Smith
We're getting an app ready for Android, and we've just hit a complete show-stopper with the 3.2 update. Our app runs for about a minute, and then the XOOM just reboots. There is absolutely no evidence that we can find in any log as to what the problem is. The same app is running just fine in 3.1

[android-developers] Changing the color of ExpandableListView's group indicator

2011-07-21 Thread IanH
The problem : I've changed my app's background color to white, and now I cannot see the ExpandableListView's group indicator anymore. ExpandableListView has methods to change text color, background color, and divider color, but nothing I can see for the group indicator color. I do not want to

[android-developers] quick menu implementation

2011-07-21 Thread josh.bash
hi everybody i am trying to implement quick menu design pattern. when i touch a button a menu should pop out giving user some options to act upon. can anybody tell me how to do it? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Confusing XML reading.

2011-07-21 Thread minh
Hi everyone. I try to parser XML file using SAX parser. Can you help me.? Above is some line code i think it not correct. Someone can check for me, please: try{ SAXParserFactory spf = SAXParserFactory.newInstance(); SAXParser sp = spf.newSAXParser();

[android-developers] Photo Upload

2011-07-21 Thread Nike
In my app i want to Upload my photos to my phone database.when i click upload option it wil show browse options and then i wil find the location of an image i.e., any folder...if i select any image it wil store it into my databse..whenever i want to view my photo means i will click Viewphoto

[android-developers] Converting accelerometer values into screen cordinates

2011-07-21 Thread sandeep agrawal
Hi All, I am developing one application in which i want to paint using accelerometer sensor, this is my code, this is my drawmainactivity package com.drawline; import android.app.Activity; import android.os.Bundle; import android.view.Window; import android.view.WindowManager; public class

[android-developers] Bi-directional IPC and data transfer in between an application and multiple services from other applications

2011-07-21 Thread winnie
I have one application, to which many other services (from other applications say 3rd party apps) can be subscribed. And I need to get updated data into my application from the other applications, and so I require have bi-directional communication from my application to other services. The kind of

[android-developers] About Android 3.0 status bar hide questions

2011-07-21 Thread chibinho
Hi, everyone. Android 3.0 status bar is always appear . And I find it can be disappear when use setting system ui force close. May I develop an app which can auto force close the system ui ? Does Android have provide this API? -- You received this message because you are subscribed to the

[android-developers] fragment activity management

2011-07-21 Thread mol3ku3l3
Hello, I have application build with fragments. I have defined all fragments and layouts in xml. When screen is small or medium I've divided my UI to two different parts: | | | | | Fragment1 | | Fragment2 | | =Activity1 | | =Activity2 | | | |

  1   2   >