[android-developers] Re: Security question

2011-01-27 Thread paladin
Yeah, what I'm trying to do is to securely store the key bits I use to encrypt everything else in the app (and the initialization vector). This has a bit of a chicken and egg quality to it; if I encrypt the key bits, then I have to have the key I used to encrypt them somewhere, etc. On Jan 28, 2:4

[android-developers] Stop installation of package

2011-01-27 Thread rashmi
Hi, I am going through PackageManagerService.java, from this the installation of package happens. Can I stop the installation of package?. Please let me know if any observer is there for installation of package to get to know about the status of installation and how can I stop/cancel the installati

[android-developers] Re: Cannot find my own Apps in the Market

2011-01-27 Thread jarkman
A couple of our apps are invisible on devices with the 2.2.2 update, and have been for a few days now. I suspect the Market has forgotten to add the fingerprints of the new ROMs to its database, so devices with those ROMs cannot see copy- protected apps. There's a lot of complaint on the Market s

[android-developers] Re: Problem move to sd card

2011-01-27 Thread a3g
When I download my app from Android Market and I try to move to sd card, I can't move it because the button is disabled but If I run the app in my phone by usb I can move it, because the button is enabled. Can you undestand me now? On 27 ene, 20:09, TreKing wrote: > On Thu, Jan 27, 2011 at 1

[android-developers] Re: Security question

2011-01-27 Thread paladin
Also, do you know if it is possible to retrieve the value of the application's user ID? On Jan 28, 2:33 am, paladin wrote: > Thank you. It says, "Any data stored by an application will be > assigned that application's user ID, and not normally accessible to > other packages." Which might be what

[android-developers] Re: Security question

2011-01-27 Thread TomTasche
If you don't trust Dianne (although I recommend you to do so) you could set the needed permissions for that file yourself (if you have root access). If you don't have root access you might want to use a database (apps can't access another's app database) or encrypt your files using a magical encry

[android-developers] Re: Security question

2011-01-27 Thread paladin
Thank you. It says, "Any data stored by an application will be assigned that application's user ID, and not normally accessible to other packages." Which might be what I'm looking for. But what is the extent of "not normally"? Is it secure enough to store the key by which everything else is encrypt

[android-developers] Re: App can not start after I change the package name !!

2011-01-27 Thread Goodwin
manifest should be changed. On 1月26日, 上午9时57分, Jar wrote: > Hi, everyone, I have to change a app's package name for different > market. > > But after I changed the app's package name, when I start the app, it > shows this message: > > "The Application(process com.AAA.BBB) has stopped unexpectedly

[android-developers] Re: Question about android.view.WindowManagerImpl

2011-01-27 Thread argongold
Hi Treking, Thanks for your suggestion. Definitely one way is to write my own but I don't want to re-invent the wheel so checking if any one have already spent time and invented it (*_*). Thanks argongold On Jan 28, 11:47 am, TreKing wrote: > On Thu, Jan 27, 2011 at 9:37 AM, argon gold wrote

[android-developers] Re: Suggested Android Phone for Unity Game Development Testing?

2011-01-27 Thread Hogus
The point Hari is making is very valid. Unity won't necessarily prioritize the issues that you have, instead they have the tendency to push forward with features that will generate more money for them, or they will spend time on fooling around with their licensing model, rather than delivering a s

[android-developers] Honeycomb Emulator Landscape issue on Ubuntu 10.04

2011-01-27 Thread Anuj Ahooja
I've been messing around with the Honeycomb emulator and I can't get it to go into landscape mode. I'm switching the view by using Ctrl+F11, Ctrl+F12, Fn+7, Fn+9 and numerous combinations of those, but all that does is change the window size appropriately - the screen itself remains in portrait.

[android-developers] Re: Customized AnalogClock widget doesn't survive screen orientation change

2011-01-27 Thread Johan Abramsson
Hi Alexander, I am certainly not especially good at widgets, but in this case it looks as if you have some problems with the xml defiining either the widget or most probably the layout when going to landscape. Good luck /Johan On Jan 22, 9:05 am, Alexander Golikov wrote: > Hello, > > I've creat

[android-developers] Re: Video not getting played from URL, same video is getting played locally

2011-01-27 Thread Amit
Thanks a lot MarkYou make my day. What I did is that download mp4box, then hinted my file with mp4box - hint filename, then uploaded the file back to my serverI re ran the application...and it worked for me. Thanks Again. Best regards Amit On Jan 28, 12:45 am, Mark Murphy wrote: > Your

[android-developers] Re: Capture image with Intent

2011-01-27 Thread Johan Abramsson
Hi, We aer aware of this problem. Try this approach to work around: To get the full size picture you can do like this: private void launchStillPictCamera(){ Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); try { startActivityForResult(intent, 42);

[android-developers] Play Wav file with dynamic path

2011-01-27 Thread Amit Mangal
Hi Every One, I want to play wav file but dynamically means runtime i will decide which wav file will play. i have added all wav files in raw folder and written below code MediaPlayer player; MediaPlayer mp1 = new MediaPlayer(); //= MediaPlayer.create(getBaseContext(), R.raw.Test); But this code

[android-developers] Re: the difference between ACTION_PACKAGE_CHANGED and ACTION_PACKAGE_REPLACED ?

2011-01-27 Thread Goodwin
ACTION_PACKAGE_REPLACED Since: API Level 3 Broadcast Action: A new version of an application package has been installed, replacing an existing version that was previously installed. ACTION_PACKAGE_CHANGED Since: API Level 1 Broadcast Action: An existing application package has been changed (e.g. a

Re: [android-developers] Why doesn't Cursor expose useful and public features of SQLiteCursor?

2011-01-27 Thread Romain Guy
Cursor is not necessarily meant to be used with a database, it can be used to expose other types of data sources. Features specific to database cursors or SQLite do not belong in the Cursor API. On Thu, Jan 27, 2011 at 10:33 PM, Jonathan Foley wrote: > Looking at the source of SQLiteCursor, there

[android-developers] Why doesn't Cursor expose useful and public features of SQLiteCursor?

2011-01-27 Thread Jonathan Foley
Looking at the source of SQLiteCursor, there are some features that seem very useful but aren't exposed via the Cursor interface. Namely, being able to control the windowing and intialread behaviors seems very useful but it isn't exposed? Why not? Relevant parts are below. /** * mMaxRead is

[android-developers] the difference between ACTION_PACKAGE_CHANGED and ACTION_PACKAGE_REPLACED ?

2011-01-27 Thread Hiko
Hello, I have investigated concerning Intent. I have checked the android developer site in order to find out the meaning of each intent. And then, I have one question. I cannot understand the difference between ACTION_PACKAGE_CHANGED and ACTION_PACKAGE_REPLACED. Please let me know... Thank y

[android-developers] Re: NFC Secure Element

2011-01-27 Thread nemik
mtk, very cool! So when you did that call directly (somewhere in init of the jni code?) you got it to detect? How are you sending APDU commands? Also, if I understand wired mode correctly, the tag is not emulated externally to other readers; it's only available internally using the NFC API? gusdgg

[android-developers] hi

2011-01-27 Thread tushar sahni
Hi.all I am to developing a game application in Android.I have designed the splash screen.Implemented the functionality.Now the main problem i am facing is When i have to tap images on icons.And other problem i am facing is as follows 1.1.3 Tap Items This screen allows the user to tap

Re: [android-developers] Question about android.view.WindowManagerImpl

2011-01-27 Thread TreKing
On Thu, Jan 27, 2011 at 9:37 AM, argon gold wrote: > Can any one suggest some work around for it. Write your own. Or Google for "Android Drag Drop" and see where it takes you. - TreKing

[android-developers] Re: HttpURLConnection gives UnknownHostException

2011-01-27 Thread Brill Pappin
Good questions to follow up on. But I think the original point was that this is not the correct forum for the question as is deals with the underlaying OS and the network configuration. There is nothing that I know of that would allow you to monkey with the network stack at that level in the publi

Re: [android-developers] Re: Couple of Honeycomb API errors

2011-01-27 Thread TreKing
On Thu, Jan 27, 2011 at 2:36 PM, Brad Gies wrote: > Great... maybe we can teach the U.S. how to spell ;). Watt you tawking abowt? Wee spell grate doun hear. - TreKing

Re: [android-developers] Re: Why cant I install an apk from asset folder

2011-01-27 Thread TreKing
On Thu, Jan 27, 2011 at 11:38 AM, Titus wrote: > @Marcin : I don't want much user interaction thereby dont want to copy t > the SD card. > You can't install apps without user interaction, for what should be obvious reasons. ---

Re: [android-developers] Handling force close [Exception] to stop my native application.

2011-01-27 Thread TreKing
On Thu, Jan 27, 2011 at 6:09 AM, Anzi wrote: > Is there any way to handle this in my application to cleanup every this > before android framework kills my application. > http://developer.android.com/reference/java/lang/Thread.UncaughtExceptionHandler.html ---

Re: [android-developers] Import package does not work...

2011-01-27 Thread TreKing
On Thu, Jan 27, 2011 at 5:32 AM, Marko Mijatovic wrote: > What can I do to fix this? Include the library in your project. The manifest entry is for Android to be aware of it. To build, Eclipse has to know about it too. I'm sure you can find info on this topic on the interwebs.

Re: [android-developers] Preferences screen won't rotate

2011-01-27 Thread TreKing
On Tue, Jan 25, 2011 at 3:38 PM, Jay Bryant wrote: > Other apps on my phone rotate their preferences pages correctly, but > mine doesn't. What have I missed? > What does the manifest entry for that Activity look like? -

Re: [android-developers] App can not start after I change the package name !!

2011-01-27 Thread TreKing
On Tue, Jan 25, 2011 at 7:57 PM, Jar wrote: > The original packname is COM.AAA. I have changed all the package > name within the java files and there is no error in the java files. > Did you also change your manifest? -

Re: [android-developers] how to get noticed when the My Location setting location service is enabled or disabled by user

2011-01-27 Thread TreKing
On Wed, Jan 26, 2011 at 3:43 PM, hongjie wrote: > I have a Location service that runs in the background as long as the the > device is booted. > Do you hate your users or enjoy 1 star ratings? - TreK

Re: [android-developers] Question Regarding an App

2011-01-27 Thread TreKing
On Wed, Jan 26, 2011 at 6:26 PM, ThinkingDroid wrote: > I DO NOT want to post publically for obvious reasons. > The reasons are not obvious. You're asking if something is OK. How are you going to be told if it's OK if you don't specify what *it* is? > how do I find this out?? > You can ma

Re: [android-developers] How would you go about import an image from the users gallery and use it as a resource?

2011-01-27 Thread TreKing
On Wed, Jan 26, 2011 at 9:21 PM, Travis Cornelius wrote: > A big THANKS to any help or points in the right direction. http://developer.android.com/reference/android/provider/MediaStore.html - TreKin

Re: [android-developers] Compatibility

2011-01-27 Thread TreKing
On Wed, Jan 26, 2011 at 10:31 PM, Michael wrote: > However, some customers haven't been able to properly open the app (Samsung > Moment is one affected device). > You might want to explain what this means if you hope to get an answer.

Re: [android-developers] How to change the background color of ToggleButton?

2011-01-27 Thread TreKing
On Tue, Jan 25, 2011 at 10:43 PM, Eric Chow wrote: > How can I change the background color of a ToggleButton? Go to the documentation, find the entry for ToggleButton, then start reading. There-in lies the answer.

Re: [android-developers] Bring application on top

2011-01-27 Thread TreKing
On Tue, Jan 25, 2011 at 5:51 PM, Zakaria Elfassi wrote: > I'd like to know how to bring a running app on the foreground (as in the *Task > Killer*, *switch to*). > Start an intent that launches that app.

[android-developers] Re: Android SDK is so slow that is ridiculous.

2011-01-27 Thread Zsolt Vasvari
Honestly, what do people expect? You are trying to emulate a 1GHz computer on a 2GHz computer with a completely different architecture. I can't imagine it will ever be fast. I used do MAME development and can tell you that it's hard to get the emulation running for even a 10 year old system with

Re: [android-developers] Re: Security question

2011-01-27 Thread Dianne Hackborn
On Thu, Jan 27, 2011 at 5:37 PM, paladin wrote: > No, another app can go to that directory and read anything in there, > if it hasn't been deleted. No, it can't. Maybe your first step should be to read some of the documentation on Android security. A good place to start: http://developer.andr

Re: [android-developers] Re: HttpURLConnection gives UnknownHostException

2011-01-27 Thread Daniel Schultze
To clarify, I am still getting the exception, which has now expanded to common url's like www.google.com, maps.google.com, and news.google com. I am also getting host unknown from nslookup in the emulator's shell, for the same domain names. My packet analyzer is reporting success for the name resol

[android-developers] Re: Security question

2011-01-27 Thread paladin
No, another app can go to that directory and read anything in there, if it hasn't been deleted. I need something like Unix permissions, where only the app has permissions to read a certain file. Or which is encrypted in a way only the app can decrypt, without hardcoding a key in the code. On Jan 2

[android-developers] Re: Question about android.view.WindowManagerImpl

2011-01-27 Thread argongold
Any one On Jan 27, 11:37 pm, argon gold wrote: > Hi, > > I want to reuse the drag and drop control code from luncher application. But > I found it uses some of private API such as android.view.WindowManagerImpl > class. Since I am developing my application in SDK I can not use it. Can any > o

[android-developers] Re: HttpURLConnection gives UnknownHostException

2011-01-27 Thread Dan
I have packet analyzed my dns packets and I am still getting UnknownHostException with a successful resolution on the emulator. On Jan 17, 7:53 pm, Indicator Veritatis wrote: > Excellent post! I have only one small detail to add; it might actually > turn out to be important, though I can't guaran

Re: [android-developers] Android Market filter problems

2011-01-27 Thread Naftali
You're right, I did enabled that. So, that's why... Thank you... On Thu, Jan 27, 2011 at 7:10 PM, TreKing wrote: > On Tue, Jan 25, 2011 at 10:01 AM, Naftali wrote: > >> Anyone might know why are these devices being filtered? > > > You didn't enable copy protection, did you? > Even so, custom rom

Re: [android-developers] regarding onretainnonconfigurationinstance

2011-01-27 Thread Dianne Hackborn
It returns an object. It can be anything you want, including an object holding other objects. HOWEVER! This is *only* an optimization. You should never use this to retain data that you can't otherwise recover through a normal onCreate() from instance state (state on disk). Otherwise you will l

[android-developers] Re: Data Transfer between Android Phone and PC

2011-01-27 Thread Joseph bates
considering it. but i don;t know much about TCP/IP can you give me a link? (i dont wanna ask you for an brief intro as u may not have time) On Jan 24, 4:16 pm, "JAlexoid (Aleksandr Panzin)" wrote: > What's wrong with TCP/IP? > > Other than that quick search for C# Bluetooth gives a lot > results

Re: [android-developers] Re: regarding onretainnonconfigurationinstance

2011-01-27 Thread TreKing
On Thu, Jan 27, 2011 at 4:58 PM, keyboardr wrote: > I usually use a wrapper class. Just create a > custom NonConfigurationInstance class that has your object array as one > of its member variables. > Why? -

[android-developers] Re: SDK 2.3: Get "Multiple substitutions specified in non-positional format" error

2011-01-27 Thread Mr Pants
I might being dense here but in the scenario where I've got an string- array of URL encoded string eg. urls with %20, how should I handle these - have tried formatted="false" to no avail - not sure where this attribute would live in the string-array or the itemneither seem to have any effect e

[android-developers] Re: regarding onretainnonconfigurationinstance

2011-01-27 Thread keyboardr
I usually use a wrapper class. Just create a custom NonConfigurationInstance class that has your object array as one of its member variables. On Jan 26, 5:27 pm, som wrote: > Hi Guys, > > I have developed a Paint application on Android. I have reached a > stumbling block now.. I want to retain a

[android-developers] Re: Security question

2011-01-27 Thread TomTasche
What about Context.getCacheDir()? Maybe that's what you are looking for... Good luck Tom On Jan 27, 11:12 pm, paladin wrote: > Is there some way to be able to save something to the file system that > is only retrievable by the app that saved it? And I don't mean by > hardcoding a password or key

[android-developers] Disable a TabHost/Layout

2011-01-27 Thread AUandroid
How to disable a Tabhost? doing a setEnabled(false) does not seem to work. The same is true for any layouts. thanks, vk -- 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.co

[android-developers] Problem releasing activities

2011-01-27 Thread Joan Pujol
I've an application that has a service that updates some widgets and also has some normal foreground activities to let the user view some data. My problem is that I discovered [1] that my application consumes a lot of memory. That memory is mainly consumed by the activities, and the big problem is

[android-developers] Security question

2011-01-27 Thread paladin
Is there some way to be able to save something to the file system that is only retrievable by the app that saved it? And I don't mean by hardcoding a password or key within the code, because that is very easily decompiled. Can I use the keystore that the app was signed with somehow? -- You receiv

Re: [android-developers] Honeycomb browser broken?

2011-01-27 Thread H
Is there anything we can do to try to help it..? I've even updated the shared_prefs for the browser to disable hardware_accel in the vain hope that might help but no difference. I'm guessing it must be something conflicting with the host machine as there are screenshots over the web of other pe

Re: [android-developers] Re: LVL and 2.3 Emulator

2011-01-27 Thread Raphaël
On Wed, Jan 26, 2011 at 3:19 PM, Nick wrote: > I saw they released 2.3.1 emulator and google APIs today and was > hoping it was fixed, but I just updated and no luck still. Yes, known issue. Unfortunately it wasn't fixed in time for the 2.3.1 release. If you need to debug LVL on the emulator, ple

Re: [android-developers] Honeycomb browser broken?

2011-01-27 Thread Raphaël
On Wed, Jan 26, 2011 at 6:50 PM, James Pearce wrote: > Is it a known issue that the browser can barely render a page before > it crashes? (e.g. http://google.com) Yes, this is a known issue. R/ -- You received this message because you are subscribed to the Google Groups "Android Developers" gro

Re: [android-developers] Re: Android SDK is so slow that is ridiculous.

2011-01-27 Thread Raphael
We are aware of the emulator speed issue and are actively working on it. R/ -- 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

Re: [android-developers] Providing 2 differing interfaces to a remoteService

2011-01-27 Thread Mark Murphy
Use two different AIDL files and two different binders returned by onBind(). Use something in the Intent (e.g., custom action) to distinguish which one to return for a given bind request. On Wed, Jan 26, 2011 at 12:39 AM, Dale Harvey wrote: > I have an application that provides a remoteService th

Re: [android-developers] Regarging to SOAP Webservice in android

2011-01-27 Thread TreKing
On Tue, Jan 25, 2011 at 2:42 AM, android person wrote: > I hav the problem in passing the complex type as a argument > > If any solution regarding this problem then give me suggetion or guide > Given the complete lack of detail, the best you're going to get is "Google SOAP Web Service". ---

[android-developers] Re: Honeycomb SDK

2011-01-27 Thread JAlexoid (Aleksandr Panzin)
It would be really great if some of the UI designers would blog/write article about the intended design philosophy of applications for Honeycomb. We should not be dependent on the beta SDK API , but at least most of us can start thinking on how the applications should interact with the users and wh

Re: [android-developers] Intent filter to catch links from SMS doesn't work

2011-01-27 Thread TreKing
On Tue, Jan 25, 2011 at 7:13 AM, Vincent wrote: > What should I do to make my link myapp://some_data clickable in a > SMS/ email ? > You'd probably have to write an sms or email app that auto-magically converted your scheme into something clickable. -

Re: [android-developers] How to create contact list view plug-in?

2011-01-27 Thread TreKing
On Tue, Jan 25, 2011 at 12:43 AM, Xi Shen wrote: > Is it possible? No, don't think so. - TreKing - Chicago transit tracking app for Android-powere

Re: [android-developers] Android Market filter problems

2011-01-27 Thread TreKing
On Tue, Jan 25, 2011 at 10:01 AM, Naftali wrote: > Anyone might know why are these devices being filtered? You didn't enable copy protection, did you? Even so, custom roms have been known to have all sorts of side-effect issues. This is not surprising. --

Re: [android-developers] Accessing starred places in google maps account

2011-01-27 Thread TreKing
On Tue, Jan 25, 2011 at 11:09 PM, Brian wrote: > I've been searching and can not find any reference and need some guidance. > This is not really Android related at all. I would go here: http://code.google.com/apis/maps/index.html and see where that takes you. ---

Re: [android-developers] Re: Couple of Honeycomb API errors

2011-01-27 Thread Brad Gies
Great... maybe we can teach the U.S. how to spell ;). Sincerely, Brad Gies --- Bistro Bot - Bistro Blurb http://bgies.comhttp://nocrappyapps.com http://bistroblurb.com http://forcethetruth.com http://ihottonigh

[android-developers] Re: All Courses in SAP,Data warehousing,Testing,Microsoft,Oracle,Java,SAS Online Training In India,US,CAnada

2011-01-27 Thread JAlexoid (Aleksandr Panzin)
Maybe someone at Google can react to this and block accounts being used for blatant spamming? On 27 янв, 08:04, big class wrote: > Model Article 1 > Dear Friends, > We are happy to introduce ourselves BigClasses.com, offering Placement > Oriented Training in ALL areas of Data Warehousing, SAP, Ja

[android-developers] Re: Android SDK is so slow that is ridiculous.

2011-01-27 Thread JAlexoid (Aleksandr Panzin)
I have the same problem with all AVDs, regardless of the version. The emulator in general sucks in performance. I'm on 64 bit Ubuntu, bus same goes for Windows XP and Windows 7. On 27 янв, 03:58, Jake Basile wrote: > I have a Core i7-920, 6GB of DDR-1333 RAM, and an ATI 5770. I get maybe 5-10 >

[android-developers] Re: Suggested Android Phone for Unity Game Development Testing?

2011-01-27 Thread Hari Edo
They list compatible phones. Buy one of those. This is the most important paragraph I found in your forum link: The problem is, publishing to Android won't really be solid for another year. Consumers get locked into 2 year contracts, in the same way I got locked in, and the most common

Re: [android-developers] Close or uninstall DDMS from Eclipse

2011-01-27 Thread Xavier Ducrohet
as Peco said, ADT needs it to deploy apps on devices and connect debugger. It won't work with the standalone one. as for apps only appearing on one of them this is normal. Basically the app can only accept one connection, and whichever DDMS sees the app first and connect first gets the connection

Re: [android-developers] reading files from sdcard and displaying only the image files in the listView

2011-01-27 Thread Mark Murphy
Use the MediaStore content provider. On Thu, Jan 27, 2011 at 4:03 AM, vivin joy wrote: > hi , >     when my app starts, i need to check the sdcard and display all > the image files present in the sdcard in a listview and when the user > selects one of them , i need to display it in an image view.

Re: [android-developers] Battery usage indicator

2011-01-27 Thread Mark Murphy
On Wed, Jan 26, 2011 at 2:00 AM, Dillon Yang wrote: > Are their currently any API's that can allow developers to track what > applications are using the battery? No, sorry. You can try PowerTutor, though: http://ziyang.eecs.umich.edu/projects/powertutor/ -- Mark Murphy (a Commons Guy) http://c

[android-developers] Re: Map View Error!

2011-01-27 Thread Stephan Wiesner
import com.google.android.maps.MapActivity; On 27 Jan., 10:57, peria abirami wrote: > If I put Classname extends MapActivity, it can't resolve that. > If i put name extends Activiy, it resolve but the application forced to > close.. > > Can any one help me on this issue -- You received this

Re: [android-developers] Re: Couple of Honeycomb API errors

2011-01-27 Thread Dianne Hackborn
I guess I should have said we are keeping it consistently inconsistent, rather than making it inconsistently consistent. :) On Thu, Jan 27, 2011 at 11:51 AM, Brill Pappin wrote: > > Chuckle! > > Not only that, but its how the rest of the world spells things :) > > - Brill > > On Jan 27, 1:44 pm,

[android-developers] Re: Handling touch events for dragging content when changing the orientation of the screen

2011-01-27 Thread JAlexoid (Aleksandr Panzin)
I didn't need to do it myself, but given that you know the angle and you know the drag vector, you can use a rotation matrix for that. This Wikipedia segment should help you out, it even comes with a picture: http://en.wikipedia.org/wiki/Rotation_matrix#Rotations_in_two_dimensions On 27 янв, 03:00

Re: [android-developers] Video not getting played from URL, same video is getting played locally

2011-01-27 Thread Mark Murphy
Your video may not be safe for streaming. http://stackoverflow.com/questions/1841397/android-mediaplayer-emulator-and-url http://groups.google.com/group/android-developers/browse_thread/thread/8161a1aabc11357b http://groups.google.com/group/android-developers/browse_thread/thread/f046f900657f1fb0

Re: [android-developers] How to create contact list view plug-in?

2011-01-27 Thread Dmitri Plotnikov
Hi Xi Shen, QuickContact does not associate app icons with the entire contact. So there is no simple way to simply add an application to QuickContact so that it would show for all contacts. Instead, QuickContact associates app icons with contact's data such as email address, phone number etc. I

Re: [android-developers] Re: Honeycomb surprising result for WallpaperManager.getDesiredMinimumHeight()

2011-01-27 Thread Dianne Hackborn
On Thu, Jan 27, 2011 at 10:59 AM, Shai wrote: > So I am assuming 1408 pixels isn't a bug, just a result of some kind > of computation the parallax scrolling had to do for the WXGA > resolution. > I hope that creating wallpapers for that resolution will fit well on > the Motorola Xoom. > It's the

[android-developers] Re: Couple of Honeycomb API errors

2011-01-27 Thread Brill Pappin
Chuckle! Not only that, but its how the rest of the world spells things :) - Brill On Jan 27, 1:44 pm, Dianne Hackborn wrote: > Hi!  Thanks for your feedback. > > android.database.sqlite.SQLiteDatabase.getAttachedDbs() returns > > > ArrayList instead of List > > We'll get this fixed. > > > and

[android-developers] Re: Absolute path for an asset file

2011-01-27 Thread Hari Edo
An APK file, like a Java JAR file, is really just a ZIP archive file with special manifest data included with the other data files. Your assets/ directory on your development machine may contain individual files. They get zipped up into the APK along with all the .class, .png and .xml files. The

Re: [android-developers] Absolute path for an asset file

2011-01-27 Thread Mark Murphy
http://stackoverflow.com/questions/4820816/android-how-to-get-uri-from-an-asset-file On Thu, Jan 27, 2011 at 2:31 PM, Titus wrote: > Hello, > > I have been trying to get the absolute path for an asset file but i > havent found an answer. > > the file which is directly within my asset folder is my

[android-developers] Re: app doesn't install anymore!

2011-01-27 Thread Mik
SOLVED ! For some reasons I had in my manifest TWICE the tag: (It is mostly due to writing code late night...) TreKing: thanks for your help. To learn about the device debugging was surely worthy. Mik -- You received this message because you are subscribed to the Google Groups "A

Re: [android-developers] Switch to already opened application from Notification

2011-01-27 Thread Mark Murphy
Instead of: Intent.FLAG_ACTIVITY_SINGLE_TOP | Intent.FLAG_ACTIVITY_LAUNCHED_FROM_HISTORY try: Intent.FLAG_ACTIVITY_SINGLE_TOP | Intent.FLAG_ACTIVITY_CLEAR_TOP On Thu, Jan 27, 2011 at 11:44 AM, Tina wrote: > Hi, all > I have service and application. In some cases my service creates > Ongoing No

Re: [android-developers] Re: Android SDK is so slow that is ridiculous.

2011-01-27 Thread Mark Murphy
On Thu, Jan 27, 2011 at 12:16 PM, niko20 wrote: > I agree, the SDK itself is slow, not just the emulator. I've noticed > that with every release of the SDK it gets slower. The SDK is a ZIP file (or a self-installing EXE on Windows). ZIP files do not have speed and hence cannot be "slower". -- M

Re: [android-developers] How to Read Device Properties

2011-01-27 Thread Mark Murphy
On Thu, Jan 27, 2011 at 1:24 PM, AndroidDevTime wrote: > I don't know how to read device properties like value of LED?  I do > know how to write such properties using Notification Manager.  So are > these write-only properties?  Thanks I do not believe there is a place in the SDK to obtain the cu

[android-developers] Motorola Camera issue

2011-01-27 Thread Stephen Lebed
Hi All, I'm frustrated to find out that my app works exactly as expected on HTC devices, but not on Motorola devices. I have a program that is capturing the camera preview so I can process it. Simply put, onPreviewFrame is not being called on the Moto Droid, or Droid X devices but is on my G2.

[android-developers] Absolute path for an asset file

2011-01-27 Thread Titus
Hello, I have been trying to get the absolute path for an asset file but i havent found an answer. the file which is directly within my asset folder is mydemo.txt and i call the function given below to test the validity of the path (tried the below options) testURI("//android_ass

[android-developers] Re: What's new in honeycomb?

2011-01-27 Thread Craig Mitchell
> That is, no postage stamp in the middle like we did for apps > targeting prior to 1.6 that only ever thought about 480x320 > mdpi screens FYI: Just run a 1.5 app on the Honeycomb Preview Emulator and it did not postage stamp it! Woohoo! There was a lot of space around widgets (as expected), b

[android-developers] Enterprise Virtual App Container (EVC)

2011-01-27 Thread amerhhh
Bitzer is trying to push Android into the Enterprise. Bitzer has created a virtual container available on Android that can seamlessly connect to enterprise applications via a mobile virtualization layer (MVL). Please contact us if you want to help us push Android into the Enterprise. We are looki

Re: [android-developers] Problem move to sd card

2011-01-27 Thread TreKing
On Thu, Jan 27, 2011 at 12:59 PM, a3g wrote: > In Android Market I see the button disabled. Why? > Where in the Android Market are you seeing this button? - TreKing

[android-developers] Re: Honeycomb surprising result for WallpaperManager.getDesiredMinimumHeight()

2011-01-27 Thread Shai
Thanks. So I am assuming 1408 pixels isn't a bug, just a result of some kind of computation the parallax scrolling had to do for the WXGA resolution. I hope that creating wallpapers for that resolution will fit well on the Motorola Xoom. On Jan 27, 8:46 pm, Dianne Hackborn wrote: > These are

[android-developers] Problem move to sd card

2011-01-27 Thread a3g
I have a problem with my app: eMyShoppingList. By usb I install the app on my phone and I can see enabled the "Move to sd card" button and I can move my app to the sd card. In Android Market I see the button disabled. Why? -- You received this message because you are subscribed to the Google Grou

Re: [android-developers] DDMS Screen Capture won't work for WVGA854?

2011-01-27 Thread Dianne Hackborn
On Thu, Jan 27, 2011 at 9:30 AM, John Lussmyer wrote: > And with more testing, I've found that it only works intermittently. > Also, if there is any animation happening, it often grabs the screen during > a refresh, so 1/2 the screen is from the previous frame. Looks pretty > crappy. Yes this

[android-developers] Re: Can't see my view structure by HierarchyViewer

2011-01-27 Thread A. Elk
What fails? Hierarchyviewer is only allowed to run on phones that have a userdebug build on them. That includes developer phones. My guess is that it doesn't include whatever you did to your version of Android to "root" it. elk. On Jan 25, 4:54 pm, Alfie wrote: > Hi, all > I've been using Hiera

Re: [android-developers] openFileOutput, FileNotFoundException

2011-01-27 Thread TreKing
On Wed, Jan 26, 2011 at 2:04 AM, Michael wrote: > Why? I can't figure it out. Thanks! > At which point does it through the exception? What does the full stack look like? On Thu, Jan 27, 2011 at 12:46 PM, Jake Basile wrote: > Do you have android:name="android.permission.WRITE_EXTERNAL_STORAGE

[android-developers] Re: openFileOutput, FileNotFoundException

2011-01-27 Thread Jake Basile
Do you have in your manifest? -- 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...@googlegroup

Re: [android-developers] Re: Honeycomb surprising result for WallpaperManager.getDesiredMinimumHeight()

2011-01-27 Thread Dianne Hackborn
These are just returning the values that the current home-screen set; they can be the same size as the longest size of the screen, or any size larger, depending on the kind if parallax scrolling the current home screen wants to do. On Thu, Jan 27, 2011 at 10:40 AM, Shai wrote: > Any one? I would

Re: [android-developers] Couple of Honeycomb API errors

2011-01-27 Thread Dianne Hackborn
Hi! Thanks for your feedback. android.database.sqlite.SQLiteDatabase.getAttachedDbs() returns > ArrayList instead of List > We'll get this fixed. > android.os.AsyncTask onCancelled() uses the UK spelling of the word > where everywhere else in the API, the US spelling variations are > used. It

[android-developers] Re: Honeycomb surprising result for WallpaperManager.getDesiredMinimumHeight()

2011-01-27 Thread Shai
Any one? I would also be happy to hear any kind of educated guess on the issue On Jan 27, 1:26 am, Shai wrote: > Hi, > > In the new Android 3.0HoneycombPreview emulator > WallpaperManager.getDesiredMinimumHeight()  returns 1408. > > getDesiredMinimumHeight=1408 > getDesiredMinimumWidth=1920 > >

Re: [android-developers] Eclipse Stuck at "Android SDK: Resolving error markers"

2011-01-27 Thread TreKing
On Thu, Jan 27, 2011 at 11:53 AM, Xavier Ducrohet wrote: > BTW this is not a matter of the workspace being not writeable on disk. When > Eclipse starts it locks the workspace for modification while plug-ins are > loaded and projects opened. This is what the comment talks about. > Ah. Thanks for

Re: [android-developers] Re: performance when passing background data to ui thread

2011-01-27 Thread Anders Aagaard
I'm actually seeing the handler code show up in my profiler. And I'm passing a lot of small data many times. As the code was initially built for parsing while loading from the network with xml. And not the download then parse json code. In terms of synchronization issues, I use an interface betwee

[android-developers] How to Read Device Properties

2011-01-27 Thread AndroidDevTime
I don't know how to read device properties like value of LED? I do know how to write such properties using Notification Manager. So are these write-only properties? Thanks -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this g

[android-developers] Re: System Bar location and height in Honeycomb?

2011-01-27 Thread blindfold
Thank you, Dianne. Yes we can - for better or for worse. I have a graphical screen where I track touch locations through getRawY() in relation to my graphics. However, in the mean-time I already fixed my problem using getLocationOnScreen() for my main view, such that along with its getHeight() I do

  1   2   >