Re: [android-developers] Re: Mount sdcard from code

2011-02-09 Thread Marcin Orlowski
On 9 February 2011 06:36, maikelalonso maikelalonsob...@gmail.com wrote: With the mount command works correctly but the icon of the API shows like the SDCARD is not mounted when really if it is. Quite likely it's because you, contrary to the OS, did not send ACTION_MEDIA_MOUNTED broadcast on

[android-developers] Re: Spawning dialogs in ActivityUnitTestCase fails

2011-02-09 Thread Matthias
http://code.google.com/p/android/issues/detail?id=14616 On Feb 8, 6:42 pm, Matthias m.kaepp...@googlemail.com wrote: I'm pretty sure it's a bug. When running this directly in the test case, I get the same error:         getInstrumentation().runOnMainSync(new Runnable() {            

[android-developers] Re: Task killer kills my application but android restarts my service, which i dont want

2011-02-09 Thread JC
Hello Hackborn, You just need to handle this case correctly, as it will happen even without a task killer I used intent in starting service and checking that extra in myService:StartupHandler() to identify if service recovered from crash(if intent is null). If that is the case i do gracefull

Re: [android-developers] Re: Minimize CursorAdapter view recycling?

2011-02-09 Thread Kostya Vasilyev
Ok. AFAIK, refreshing a list view with notifyDataSetChanged / Invalidated is asynchronous: it requests a layout change, which is then processed by a handler message. Perhaps clicks go through within that window - between the time when you change your data structure and call notifyDataSetXXX

[android-developers] Re: Can apps that use device-specific permissions be published to Android Market?

2011-02-09 Thread String
I'm pretty sure they can. I have apps that interface with the SonyEricsson LiveView, and in order to do so they have this in their manifest: uses-permission android:name=com.sonyericsson.extras.liveview.permission.LIVEVIEW_API / This has never interfered with publishing, it seems to be

Re: [android-developers] Bluetooth socket connection issue

2011-02-09 Thread Laurent Lugon
Hi, I've try to add delay before, after, before and after but the result still unchanger... It's not a headset it's a device used to protect your valuables, it checks the bluetooth connection and when it to far from the mobile phone (= loose the bluetooth connection) an alarm is started. Any

[android-developers] Optimization - Memory - Garbage collection

2011-02-09 Thread Kacee
Hi all, I have a static instance singleton class object. I want that object to be garbage collected/null as soon as I close my application using back button. Whats happening is - My Object is alive, between two launch of application and hence retains the state. However,I am taking care of all

[android-developers] Redrawing a view when the transparent activity closes

2011-02-09 Thread vivin joy
Hi All, i have an Activity called MainActivity. It has a custom view on it and a button. When i press a button, it opens a new Activity with a translucent theme so that MainActiivty is paused. The Second Activity has got a EditText. and i type something over there and press a button which

Re: [android-developers] Re: Can apps that use device-specific permissions be published to Android Market?

2011-02-09 Thread Marcin Orlowski
On 9 February 2011 11:24, String sterling.ud...@googlemail.com wrote: I'm pretty sure they can. I have apps that interface with the SonyEricsson LiveView, and in order to do so they have this in their manifest:     uses-permission

Re: [android-developers] Redrawing a view when the transparent activity closes

2011-02-09 Thread Adriano B. Godinho
Hi, Did you try to call View.invalidate? On Wed, Feb 9, 2011 at 9:02 AM, vivin joy joy.viv...@gmail.com wrote: Hi All, i have an Activity called MainActivity. It has a custom view on it and a button. When i press a button, it opens a new Activity with a translucent theme so that

[android-developers] Re: Orientation Problem in Camera.

2011-02-09 Thread Johan Abramsson
In the firmware 2.0.A.504 of Xperia X10 there seems to have sneaked in a problem regarding usage of the undocumented orientation parameters. That parameter is not correctly implemented. Work is ongoing to solve this issue, (although it is not documented in the android vanilla doc's) however I

[android-developers] Using fragments between Applications

2011-02-09 Thread shankar
Hi, Now in honeycomb we can fragments in an activity, so how about using the fragments between different applications. i.e. I would like to use the fragment of one application in to another application. if any one know about this, please suggest me, this will solve lot of my work.

Re: [android-developers] Optimization - Memory - Garbage collection

2011-02-09 Thread Mark Murphy
On Wed, Feb 9, 2011 at 5:55 AM, Kacee komal...@gmail.com wrote: I have a static instance singleton class object. I want that object to be garbage collected/null as soon as I close my application using back button. Your application is not closed using the BACK button. Your activity is destroyed

[android-developers] Re: Mount sdcard from code

2011-02-09 Thread FrankG
BTW .. the Settings app simply uses the AIDL Interface to the mount service via IMountService and calls mount. And com.android.server.MountService sends the notifications. The mountVolume call has this check inside : validatePermission(android.Manifest.permission.MOUNT_UNMOUNT_FILESYSTEMS);

Re: [android-developers] Using fragments between Applications

2011-02-09 Thread Mark Murphy
On Wed, Feb 9, 2011 at 7:26 AM, shankar jayashankar...@gmail.com wrote:    Now in honeycomb we can  fragments in an activity, so how about using the fragments between different applications. At runtime, applications are in different processes, and you cannot share fragments between them. At

Re: [android-developers] sd cards

2011-02-09 Thread Mark Murphy
On Wed, Feb 9, 2011 at 1:48 AM, b_t bartata...@gmail.com wrote: Some device has 2 SD-card. Is there any way in the API to get all of them? No. Android supports one spot for external storage. Device manufacturers that offer more than one would need to document for you the rules for their

[android-developers] Re: Optimization - Memory - Garbage collection

2011-02-09 Thread DanH
Classes (and class-scope objects) are not collected until the class loader that loaded the class is collected. If you want this class to be collected you need to load it with its own class loader. However, be aware that class collection may not be fully implemented on Android. On Feb 9, 4:55 

[android-developers] [ASK] Charting and SVG in android

2011-02-09 Thread Handita Okviyanto
Hello. I need your help. I want to make an application in android that has a charting features and a map. I have a plan to use SVG in my application in the future. But I'm just a newbie in android. Anyone can help me finding a charting library or how to use SVG in android?? I want to make a

Re: [android-developers] [ASK] Charting and SVG in android

2011-02-09 Thread Mark Murphy
On Wed, Feb 9, 2011 at 8:17 AM, Handita Okviyanto viyanatm...@gmail.com wrote: Hello. I need your help. I want to make an application in android that has a charting features and a map. I have a plan to use SVG in my application in the future. But I'm just a newbie in android. Anyone can help

[android-developers] Insrumentation testing in Android

2011-02-09 Thread Oleg Popenov
Hi, I've tried to run Instrumentation Tests on device from adb shell and I get a strange error, could you please help me? If I run tests for any internal android application (email for example) as it written in AndroidManifest.xml, * !--* * This declares that this app uses the instrumentation

Re: [android-developers] Redrawing a view when the transparent activity closes

2011-02-09 Thread astegic astegic
Or you can try view.requestlayout On Wed, Feb 9, 2011 at 4:58 PM, Adriano B. Godinho adri...@godinho.eng.brwrote: Hi, Did you try to call View.invalidate? On Wed, Feb 9, 2011 at 9:02 AM, vivin joy joy.viv...@gmail.com wrote: Hi All, i have an Activity called MainActivity. It has a

[android-developers] Re: DDMS does not show VM list

2011-02-09 Thread jotobjects
On Feb 8, 9:35 pm, Xavier Ducrohet x...@android.com wrote: Looks like you have a phone running a debug build where all the apps are debuggable by default and the other one is running a production build (user build) where the apps are not debuggable unless they declare debuggable=true in their

[android-developers] Caching of sensor events

2011-02-09 Thread Heiko
Hi, I'm currently testing the impact of heavy CPU workload on accelerometer sampling frequency. It appears, that when CPU workload is high, the samplerate oscillates between higher and lower than average values. I'm also storing the timestamp diff between two events and the test reveals, that

[android-developers] Android Market anomaly in limiting distribution

2011-02-09 Thread DanaH
I am preparing to release the latest update to our company's app. This application is intended to be released only within the United States, and in the past this has not presented any difficulty. Apparently with the recent updates to the Android Market publishing page, I am no longer able to

Re: [android-developers] Android Market anomaly in limiting distribution

2011-02-09 Thread TreKing
On Wed, Feb 9, 2011 at 10:20 AM, DanaH dhauk...@gmail.com wrote: Apparently with the recent updates to the Android Market publishing page, I am no longer able to select only the United States as my intended country. When I unselect the default All Countries option, and then select United

[android-developers] Re: Android Market anomaly in limiting distribution

2011-02-09 Thread Maps.Huge.Info (Maps API Guru)
I see the same thing. If it is indeed the case, shortly I'll be seeing a bunch of one star comments in different languages. Our weather app (Radar Now!) only functions in the US and border regions of Canada and Mexico. I'll post back if that's the case. -John Coryat On Feb 9, 10:20 am, DanaH

[android-developers] Telling 2.2 vs 2.2.1

2011-02-09 Thread DulcetTone
How can I tell, robustly, whether my app is running under Android 2.2 vs 2.2.1 (or later within 2.2)? tone -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] Re: Honeycomb SDK

2011-02-09 Thread Ed Burnette
Hard info to replace the rumors would be most welcome. :) According to Viewsonic, there will be a release in between 2.3 and 3.0 (http://www.pocket-lint.com/news/38311/android-2-4-april-release- date). That means it must be under development somewhere now, which means some folks (the involved

Re: [android-developers] Telling 2.2 vs 2.2.1

2011-02-09 Thread TreKing
On Wed, Feb 9, 2011 at 11:16 AM, DulcetTone dulcett...@gmail.com wrote: How can I tell, robustly, whether my app is running under Android 2.2 vs 2.2.1 (or later within 2.2)? Not sure what difference it makes, but: http://developer.android.com/reference/android/os/Build.VERSION.html#RELEASE

Re: [android-developers] help needed in youtube api for android and using it

2011-02-09 Thread TreKing
On Tue, Feb 8, 2011 at 11:52 PM, kavitha b kkavith...@gmail.com wrote: I am fed up of searching a working example for using youtube gdata api for displaying videos in android. Can anybody please provide a working example of using gdata for android? I doubt someone is just going to give you

[android-developers] ArrayList with contacts view issue

2011-02-09 Thread Abalufaske
Hi, with the code above I got an unexpected error, how can I fix it? Do I have to override de ArrayAdapter? The objets code are in: http://www.higherpass.com/Android/Tutorials/Working-With-Android-Contacts/3/ this is the code: package org.interfaz; import java.util.ArrayList; import

[android-developers] Disable autosuggest/correct

2011-02-09 Thread André
I have an edittext where i want the user to have the choice to turn off the autosuggest when typing. I tried to change the inputType but it only changed the edittext to singel line edittext which I don't want even when I included android.text.InputType.TYPE_TEXT_FLAG_MULTI_LINE. Any suggestions of

[android-developers] Read files to edittext

2011-02-09 Thread André
What would be the best way of reading large text files from the sdcard? Right now I'm using this in my browser activity: File f = new File(filePath); FileInputStream file = new FileInputStream(f); BufferedReader in = new BufferedReader(new InputStreamReader(file)); do { st =

[android-developers] Re: Android Market anomaly in limiting distribution

2011-02-09 Thread Hari Edo
Try signing out of the Market console, shutting down your web browser instance completely, and forcing a refresh of the page. This sounds similar to a complaint where Free apps were reported with 'invalid price' in many countries; a clean browser session fixed the problems. On Feb 9, 12:01 pm,

Re: [android-developers] Disable autosuggest/correct

2011-02-09 Thread Kostya Vasilyev
Andre, This works for me: android:inputType=text|textMultiLine|textNoSuggestions|textCapSentences on a Motorola Milestone with the Motorola Keyboard, but still gives suggestions with the Mobidiv Keyboard. So it looks to be up to the IME to respect that flag, and if it ignores it, then

Re: [android-developers] Re: Honeycomb SDK

2011-02-09 Thread Xavier Ducrohet
I'm not commenting on rumors, but Android 2.3.3 (API *10*) is out as an SDK. Xav On Wed, Feb 9, 2011 at 9:27 AM, Ed Burnette ed.burne...@gmail.com wrote: Hard info to replace the rumors would be most welcome. :) According to Viewsonic, there will be a release in between 2.3 and 3.0

[android-developers] Re: Disable autosuggest/correct

2011-02-09 Thread André
Thanks Kostya How do I do that in java? Since I want it to be an option. On Feb 9, 7:24 pm, Kostya Vasilyev kmans...@gmail.com wrote: Andre, This works for me: android:inputType=text|textMultiLine|textNoSuggestions|textCapSentences on a Motorola Milestone with the Motorola Keyboard, but

Re: [android-developers] Re: DDMS does not show VM list

2011-02-09 Thread Xavier Ducrohet
The device view in ddms should show the type of build for the device in the top level tree node. If your app is set to debuggable through the manifest, I don't know why it wouldn't show up on the 2nd device. On Wed, Feb 9, 2011 at 6:39 AM, jotobjects jotobje...@gmail.com wrote: On Feb 8, 9:35 

[android-developers] Re: Amazon to Policy Android Market Place

2011-02-09 Thread niko20
Amazon's pretty much screwing the pooch on this whole store thing anyway, taking next to forever for it to actually appear in real form...so far just been a huge waste of my time.. -nik On Jan 15, 3:08 am, blindfold seeingwithso...@gmail.com wrote: Indeed that can work for some, at the expense

Re: [android-developers] Re: Camerapreview

2011-02-09 Thread Kevin Duffey
Email intent.. which you can use to bring up email app and attach photo to it, to/subject/etc lines final Intent i = new Intent(Intent.ACTION_SEND); i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); i.setType(image/jpg);

Re: [android-developers] Re: Fetch data from android service to HTML

2011-02-09 Thread Kevin Duffey
Wait.. a server running in the emulator? So your app is a server that will run on android devices? I am a bit lost as to why a client device would run a server, especially on a mobile phone. Is there a reason you need to do this? If you're trying to push data from a page to the mobile phone, using

Re: [android-developers] Re: Disable autosuggest/correct

2011-02-09 Thread Kostya Vasilyev
Umm, you call setInputType with flags according to this: http://developer.android.com/reference/android/text/InputType.html InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_FLAG_MULTI_LINE | InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS seems about right. -- Kostya 09.02.2011 21:27, André

Re: [android-developers] Re: DDMS does not show VM list

2011-02-09 Thread Kostya Vasilyev
FWIW, my Motorola Milestone (not a Droid2, but same manufacturer and roughly same hardware) drops from DDMS every few hours. When that happens, I still see it in the DDMS view, but it goes from Online to Offline - which does your bad one show? I then unplug it from the computer, wait for

[android-developers] Re: Disable autosuggest/correct

2011-02-09 Thread André
That doesn't work when I try it on my Desire. Could that be because HTC has change their version of android a little? // André On Feb 9, 7:38 pm, Kostya Vasilyev kmans...@gmail.com wrote: Umm, you call setInputType with flags according to this:

Re: [android-developers] Re: Honeycomb SDK

2011-02-09 Thread Dianne Hackborn
When there is actual good hard info to provide, it is. Many of these rumors get started by companies saying things based on incomplete knowledge or understanding before any firm decisions have been made. Trust me, you probably don't want to try to follow the changing world that exists before

Re: [android-developers] Re: Disable autosuggest/correct

2011-02-09 Thread Kostya Vasilyev
On my Milestone the XML fragment I posted below only works for one of the two keyboards built into the firmware. Perhaps HTC also decided that users always want autocorrection? :) -- Kostya 09.02.2011 21:50, André пишет: That doesn't work when I try it on my Desire. Could that be because HTC

[android-developers] Re: Question for Google employees: How would our apps run on the new Kyocera Echo?

2011-02-09 Thread Russell DuRoss
So, hopefully an average app will run fine in either Single Screen or tablet mode without changes. On Feb 8, 4:06 pm, Kostya Vasilyev kmans...@gmail.com wrote: http://developer.sprint.com/site/global/develop/mobile_platforms/andr...   With the Echo™ your apps can provide three different

Re: [android-developers] Getting Owner and Contact Data

2011-02-09 Thread Kevin Duffey
Heh..I started using that owner permission too.. glad to know it will be gone (or is it gone in 2.3?). Question is, when a person buys a new android phone, at least on Verizon, they generally can attach the phone to a google account. Is there some way to get that particular users info, or is the

Re: [android-developers] Re: Question for Google employees: How would our apps run on the new Kyocera Echo?

2011-02-09 Thread Kostya Vasilyev
They have to make it so: If that device only run apps specifically developed for it, it'll be a flop. And even then there is nothing to worry about - if they only sell a dozen (figuratively speaking), do you care if your app runs on it? -- Kostya 09.02.2011 22:07, Russell DuRoss пишет: So,

Re: [android-developers] Re: Amazon to Policy Android Market Place

2011-02-09 Thread TreKing
On Wed, Feb 9, 2011 at 12:32 PM, niko20 nikolatesl...@yahoo.com wrote: Amazon's pretty much screwing the pooch on this whole store thing anyway, taking next to forever for it to actually appear in real form... Better they take their time and get it right from the get-go then pull an Android

Re: [android-developers] Read files to edittext

2011-02-09 Thread Kostya Vasilyev
Can't speak for size limitations, but why are putting the data into a vector, and appending to EditText one line at a time? Reading line by line and building the content in a StringBuilder seems more efficient, then you can do editText.setText() just once. And reading one line at a time is

[android-developers] Peer to Peer Streaming Protocol on Android ?

2011-02-09 Thread Emre A. Yavuz
Hi, Can anyone suggest a peer to peer streaming protocol library that works well with Android ? Cheers, Emre -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: DDMS does not show VM list

2011-02-09 Thread jotobjects
@ Xavier Ducrohet Where is the device view in DDMS? I see a Device menu but nothing that shows the build type @ Kosta It shows online for both devices On Feb 9, 10:41 am, Kostya Vasilyev kmans...@gmail.com wrote: FWIW, my Motorola Milestone (not a Droid2, but same manufacturer and roughly

[android-developers] Intent Flags ignored coming from an widget?

2011-02-09 Thread Dirk Vranckaert
All, For the app i'm currently writing I needs some help. My activity structure when launching the app with the launcher: HomeActivity = ListActivity On the listActivity I've put a home button with a clear top flag (intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);) So pressing the home button

Re: [android-developers] Re: Any twitter updates??

2011-02-09 Thread Robin Talwar
Ok finally today i got my first post on twitter :) and then haywards 5000 to celebrate ahe so i have found the best solution for the beginner to integrate twitter since it has only one library which does authentication and even updates the status . Follow the link :-

[android-developers] Re: Disable autosuggest/correct

2011-02-09 Thread André
They probably have! :) Thanks for the help though! On Feb 9, 7:57 pm, Kostya Vasilyev kmans...@gmail.com wrote: On my Milestone the XML fragment I posted below only works for one of the two keyboards built into the firmware. Perhaps HTC also decided that users always want autocorrection? :)

[android-developers] Re: Read files to edittext

2011-02-09 Thread André
Didn't think about stringbuilder when I did it. But I'll try it! Does anyone else have any suggestions about size limitations? //André On Feb 9, 8:16 pm, Kostya Vasilyev kmans...@gmail.com wrote: Can't speak for size limitations, but why are putting the data into a vector, and appending to

[android-developers] Re: === My ContentProvider.query() can not populate a Cursor. ===

2011-02-09 Thread ClarkBattle
Cool! Thanks. On Feb 8, 10:58 pm, Kostya Vasilyev kmans...@gmail.com wrote: Take a look at MatrixCursor. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

Re: [android-developers] Re: Tabs On Sense Devices

2011-02-09 Thread András Turi
Does this solution works for everyone except for me? Here they talk about the same, suggesting the same: http://stackoverflow.com/questions/3647821/android-highlighted-tab-of-tabwidget-not-readable-on-htc-sense But, for me, it is still broken.. I have a HTC Desire, with builtin Sense UI,

Re: [android-developers] Re: Disable autosuggest/correct

2011-02-09 Thread Kostya Vasilyev
Just one last thought - you might want to check your code with another keyboard, there are plenty in Market, just to be sure whether your code is correct. Good luck. -- Kostya 09.02.2011 22:34, André пишет: They probably have! :) Thanks for the help though! On Feb 9, 7:57 pm, Kostya

Re: [android-developers] Howto get string /dev/block/vold/179:1 ( sdcard device) in an android app

2011-02-09 Thread TreKing
On Wed, Feb 9, 2011 at 12:18 AM, maikelalonso maikelalonsob...@gmail.comwrote: Anyone knows if there is any way to get the device path of the SDCARD? http://developer.android.com/reference/android/os/Environment.html#getExternalStorageDirectory()

[android-developers] Re: Can't properly stop a thread

2011-02-09 Thread Kaloian Doganov
The onDestroy() is called on various occasions, not necessary related to user exiting the application. If you effectively stop your background thread in onDestroy(), your background task would not survive a simple orientation change. On Feb 2, 1:07 pm, Serdel adam.lichwierow...@gmail.com wrote:

[android-developers] Change package name after market deployment

2011-02-09 Thread Neilz
Hi all. We put an app on the market, and now the client wants to change the package names to something completely different. Will the market let you do this, if I upload an update? Or must the package structure remain the same once uploaded? Thanks. -- You received this message because you are

Re: [android-developers] Getting Owner and Contact Data

2011-02-09 Thread Dianne Hackborn
There is not a phone's e-mail address. If the user downloaded your app from Market, they must have a Google account set up, but they may have multiple accounts. And anyway, that account is part of the Google services; this is not something that is part of the actual Android platform. On Wed,

[android-developers] Focus and raise keyboard for Dialog with EditText

2011-02-09 Thread Tobiah
I have a Dialog with an EditText widget in it that I'd like to use to get a string from the user. Right now, they have to touch inside the EditText to get the keyboard. Would it be possible to have the keyboard open up with the Dialog and have focus in the EditText? This would be similar to

Re: [android-developers] Using fragments between Applications

2011-02-09 Thread Dianne Hackborn
No, this is deliberately not a design goal of fragments. This is actually one of the reasons they have a much better programming model than embedded activities. On Wed, Feb 9, 2011 at 4:26 AM, shankar jayashankar...@gmail.com wrote: Hi, Now in honeycomb we can fragments in an activity, so

Re: [android-developers] Change package name after market deployment

2011-02-09 Thread TreKing
On Wed, Feb 9, 2011 at 2:51 PM, Neilz neilhorn...@gmail.com wrote: Will the market let you do this, if I upload an update? Nope. Or must the package structure remain the same once uploaded? Yup.

Re: [android-developers] Focus and raise keyboard for Dialog with EditText

2011-02-09 Thread Kostya Vasilyev
You can try setting an onShowListener for the dialog, and calling editText.requestFocus. -- Kostya 09.02.2011 23:56, Tobiah пишет: I have a Dialog with an EditText widget in it that I'd like to use to get a string from the user. Right now, they have to touch inside the EditText to get the

Re: [android-developers] ArrayList with contacts view issue

2011-02-09 Thread TreKing
On Wed, Feb 9, 2011 at 11:43 AM, Abalufaske abalufa...@gmail.com wrote: Hi, with the code above I got an unexpected error, how can I fix it? Instead of pasting a gigantic blob of unformatted code that no one is going to read, please explain what unexpected error means and what you have tried

Re: [android-developers] Change package name after market deployment

2011-02-09 Thread Mark Murphy
On Wed, Feb 9, 2011 at 3:51 PM, Neilz neilhorn...@gmail.com wrote: Hi all. We put an app on the market, and now the client wants to change the package names to something completely different. Will the market let you do this, if I upload an update? Or must the package structure remain the same

Re: [android-developers] Focus and raise keyboard for Dialog with EditText

2011-02-09 Thread Tobiah
On 02/09/2011 01:25 PM, Kostya Vasilyev wrote: You can try setting an onShowListener for the dialog, and calling editText.requestFocus. You got me on the right track, thanks. Just requesting focus was not enough however. At first I was trying to do this: InputMethodManager input_manager =

Re: [android-developers] Change package name after market deployment

2011-02-09 Thread Kostya Vasilyev
You can also upload it as a new application, with a new package name and a new key, and remove the old one. If you published just now, and it's a serious issue for your customer, why not let them have what they want? Just make them sign in blood that they won't ask you to do it again :) --

Re: [android-developers] Focus and raise keyboard for Dialog with EditText

2011-02-09 Thread Kostya Vasilyev
No idea about the hardware keyboard, sorry. Have you tried requesting focus inside the show listener? I would think it'd do the right thing for both soft/hard keyboards. -- Kostya 10.02.2011 1:12, Tobiah пишет: On 02/09/2011 01:25 PM, Kostya Vasilyev wrote: You can try setting an

[android-developers] Intent Resolution

2011-02-09 Thread Dan
Hello, I am unable to start an Activity. My goal is to specify my application's packages so that Intent Resolution only occurs with my Intents, then for the correct Intent to be resolved. However I am getting unexpected results which seem to be contradictory. PackageManager successfully queries

[android-developers] Problem Loading Widget

2011-02-09 Thread AndroidDevTime
I am seeing Problem Loading Widget on the home screen. Several things seem odd about this. First there is no mention of which widget it tried to load. Never the less the home screen is covered with Problem Loading Widget. Did the system not know the name of the widget it was trying to load even

[android-developers] NFC Concerns

2011-02-09 Thread Leon Moreyn-Android Development
I have my reservations about the NFC features on new phones. 1.) Does it read any NFC? Like say my Amex cards RDIF tag? 2.) The writer for the NFC chip in the phone does it write whatever I tell it to write? 3.) What is the security on this technology? -- You received this message because you

[android-developers] Server Response

2011-02-09 Thread Atif Musaddaq
Hi, Guys I am sending some data to the PHP server and based on this data server is sending true or false back to me. e.g echo true; OR echo false; Now on the android side i write this code in Post method try { post.setEntity(new UrlEncodedFormEntity(nameValuePairs)); HttpResponse response =

Re: [android-developers] Server Response

2011-02-09 Thread Marc Petit-Huguenin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/09/2011 03:24 PM, Atif Musaddaq wrote: Hi, Guys I am sending some data to the PHP server and based on this data server is sending true or false back to me. e.g echo true; OR echo false; Now on the android side i write this code

Re: [android-developers] Server Response

2011-02-09 Thread TreKing
On Wed, Feb 9, 2011 at 5:24 PM, Atif Musaddaq atif.musad...@gmail.comwrote: Can any one help me and tell me what i am doing wrong here ? why it is not comparing the condition ? responseText is already string and also comparing String

[android-developers] Re: Intent Flags ignored coming from an widget?

2011-02-09 Thread Dirk Vranckaert
Anyone? Can't figure out why it isnt working... :s On Feb 9, 8:19 pm, Dirk Vranckaert dirkvrancka...@gmail.com wrote: All, For the app i'm currently writing I  needs some help. My activity structure when launching the app with the launcher: HomeActivity = ListActivity On the listActivity

Re: [android-developers] Re: Intent Flags ignored coming from an widget?

2011-02-09 Thread TreKing
On Wed, Feb 9, 2011 at 5:57 PM, Dirk Vranckaert dirkvrancka...@gmail.comwrote: Anyone? Can't figure out why it isnt working... :s You should wait more than 4 hours before bumping your posts ... -

[android-developers] Best OpenGL ES framework?

2011-02-09 Thread Nathaniel Warner
What's the best framework for creating 3D opengl apps? My intent is to import some 3d models. -- 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: Problem Loading Widget

2011-02-09 Thread AndroidDevTime
guys, I 'm dealing with this right now. Am I the only one on this board that has encountered this? On Feb 9, 2:52 pm, AndroidDevTime androiddevd...@gmail.com wrote: I am seeing Problem Loading Widget on the home screen.  Several things seem odd about this. First there is no mention of which

[android-developers] Re: Intent Flags ignored coming from an widget?

2011-02-09 Thread AndroidDevTime
Well you could look at the lifecycle methods on a widget. These include onEnable, onUpdate, onReceive, onDelete, and onDisable. You might want to take a look at the values in some of these methods. Perhaps you want to close something out here. On Feb 9, 3:57 pm, Dirk Vranckaert

[android-developers] Re: Intent Flags ignored coming from an widget?

2011-02-09 Thread AndroidDevTime
nonesense. These are basic questions and people should respond with what they know. On Feb 9, 4:00 pm, TreKing treking...@gmail.com wrote: On Wed, Feb 9, 2011 at 5:57 PM, Dirk Vranckaert dirkvrancka...@gmail.comwrote: Anyone? Can't figure out why it isnt working... :s You should wait

Re: [android-developers] Re: Problem Loading Widget

2011-02-09 Thread TreKing
On Wed, Feb 9, 2011 at 7:08 PM, AndroidDevTime androiddevd...@gmail.comwrote: guys, I 'm dealing with this right now. Am I the only one on this board that has encountered this? Maybe not, but you will probably have to wait more than 2 hours to find out. This is a volunteer list - people

Re: [android-developers] Re: Intent Flags ignored coming from an widget?

2011-02-09 Thread TreKing
On Wed, Feb 9, 2011 at 7:14 PM, AndroidDevTime androiddevd...@gmail.comwrote: nonesense. These are basic questions and people should respond with what they know. Nonsense is demanding that people on a volunteer list to be at your beck and call to answer questions, regardless of how basic

[android-developers] Re: NFC a viable sync mechanism?

2011-02-09 Thread davemac
As of today, Android 2.3.3 has a lot more support for NFC, including writing tags and some peer-to-peer communications. I haven't even scratched the surface yet so can't vouch for the new features, but definitely check it out. - dave On Jan 26, 2:05 am, andrew and...@mackenzie-serres.net wrote:

[android-developers] Re: Problem Loading Widget

2011-02-09 Thread metal mikey
You'll get that Error Layout (the one that says 'Problem Loading Widget') if there's a problem loading a layout for your AppWidget. There's various ways for this to manifest. It may be that the requested Layout simply does not exist, or that the AppWidget is no longer installed but the Launcher

[android-developers] Re: Anyone know how to calculate speed WITHOUT GPS?

2011-02-09 Thread metal mikey
So, summarising: just hold the phone near the window. -- 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] Adding a new View causing Force Close

2011-02-09 Thread Aaron Buckner
I basically copied an existing view part of the Java Code: ... final View MyRideScreen = (View) findViewById(R.id.myride_screen); final View OwnerScreen = (View) findViewById(R.id.owners_screen); ... When adding the OwnerScreen the OwnerScreen.setVisibility(VIS/INVIS); causes a force close

Re: [android-developers] Adding a new View causing Force Close

2011-02-09 Thread TreKing
On Wed, Feb 9, 2011 at 9:44 PM, Aaron Buckner nagm...@gmail.com wrote: When adding the OwnerScreen the OwnerScreen.setVisibility(VIS/INVIS); causes a force close where the MyRideScreen setup the same does not OwnerScreen is null, which means it does not exist in your main view hierarchy when

[android-developers] Re: Fetch data from android service to HTML

2011-02-09 Thread SREEHARI
Hi Kevin, What I need is to fetch data from a service running in the phone/ emulator (android device) to a browser running in some other device. Let the second device be a PC. That s what I asked how to get data in a normal browser from an android application. Regards, Sreehari. -- You

[android-developers] Backup in android

2011-02-09 Thread jp
I want to do in my apps is that the application will take a backup of android device (like contacts,sms etc) and also take backup of installed apps in device(there files,database etc). can any body have some idea of how to do this, or any tutorial or examples please help me ... -- You received

[android-developers] Android SDK HELP

2011-02-09 Thread kypriakos
Hi all, I have projects in Eclipse that use Android 1.6, 2.1 and 2,2 and the Android SDK revision I use is 6. I wanted to try and run the apps I have for 2.2 onto 2.3.1 and 2.3.3 so I tried installing those versions but the AVD manager would not allow me unless I update the Eclipse Android plug

Re: [android-developers] Re: Orientation Problem in Camera.

2011-02-09 Thread himen patel
On Wed, Feb 9, 2011 at 5:50 PM, Johan Abramsson johan.abrams...@sonyericsson.com wrote: In the firmware 2.0.A.504 of Xperia X10 there seems to have sneaked in a problem regarding usage of the undocumented orientation parameters. That parameter is not correctly implemented. Work is ongoing to

[android-developers] Re: Can't properly stop a thread

2011-02-09 Thread Roger Podacter
Have you tried using onPause rather than onDestroy? Not sure that helps this situation. But destroy does not get called too often. But on pause is guaranteed to get called every time the user presses the home button, or back, etc. On Feb 9, 12:36 pm, Kaloian Doganov doga...@projectoria.bg wrote:

Re: [android-developers] Backup in android

2011-02-09 Thread TreKing
On Wed, Feb 9, 2011 at 11:02 PM, jp jpsoni...@gmail.com wrote: can any body have some idea of how to do this Do what? Everything you just laid out? That's mildly complicated. What do you have so far?

[android-developers] Re: Adding a new View causing Force Close

2011-02-09 Thread Aaron Buckner
If I comment out the OwnerScreen.setVisibility statement and leave the findViewById statement there is no force close (of course there is no call to the OwnerScreen object at that point, I don't understand how it could be null though, I basically copied the statements for MyRideScreen and the XML,

Re: [android-developers] Re: Adding a new View causing Force Close

2011-02-09 Thread TreKing
On Wed, Feb 9, 2011 at 11:42 PM, Aaron Buckner nagm...@gmail.com wrote: I don't understand how it could be null though Step 1 - step through your debugger to confirm this. I basically copied the statements for MyRideScreen and the XML, Copying and pasting leads to many errors. so I'm

  1   2   >