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

2011-01-27 Thread Marcin Orlowski
On 27 January 2011 08:06, Titus titus.mor...@gmail.com wrote: Hello, Is there a reason why Y.apk can't be put in asset folder ? or is there a neater way to do this ? What about copying your 2nd apk to SD card and instaling from there? -- You received this message because you are subscribed

[android-developers] Re: Built-in resource unexpectedly not found

2011-01-27 Thread Mark Carter
As a test, building against SDK 9, I compiled an APK referencing @android:drawable/presence_video_away which was introduced in SDK 9. Then I ran the APK on a SDK 4 emulator and got an exception indicating resource not found (as above). However, it referenced a seemingly random resource (one

[android-developers] Re: Creating Animation List Using Bitmaps Programatically

2011-01-27 Thread Amit
Thanks a lot Kostya...It worked for me :) On Jan 20, 4:12 pm, Kostya Vasilyev kmans...@gmail.com wrote: Based on the reference: http://developer.android.com/reference/android/graphics/drawable/Anim... you just create a new AnimationDrawable, then call addFrame() for each frame image, and

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

2011-01-27 Thread Amit
Hi All, I am trying to play video on my application. The video files are hosted in my server and I am using the VideoView to play them. The problem I am facing is that no video is shown in the screen. The logcat only shows the amount of buffering but it does not shows any type of codec that has

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

2011-01-27 Thread Sarwar Erfan
On Thursday, January 27, 2011 1:06:11 PM UTC+6, Titus wrote: Hello, I have an X.apk which contains another Y.apk within is asset folder. What is the size of your Y.apk? Is it larger than 1MB? If so, it will be compressed by aapt. And, AssetManager cannot decompress files larger than

Re: [android-developers] Re: Honeycomb SDK

2011-01-27 Thread String
From the release notes: - You *cannot* publish an application that's built against the preview SDK—you can only run an application built against the Preview SDK on the Android emulator. I take this to mean that, if I install the preview SDK, I can't publish ANY apps from that

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

2011-01-27 Thread vivin joy
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. though the second part is relatively easy once u get the path of that particular image. But i

[android-developers] Re: How can I control USB port on hardware level?

2011-01-27 Thread FrankG
IMHO your question is more appropriate for android-platform. And you need a android platform which supports more then mass storage. I think you could use android-x86. Good luck ! Frank On 25 Jan., 03:53, Jisung eternal9...@gmail.com wrote: Hi. I want to control USB serial port on hardware

[android-developers] Do you have any idea how to be able to recognize my voice through mic of laptop to the emulator?

2011-01-27 Thread Seung Yong Lee
Hi, All. I have sth problems. Do you have any idea how to be able to recognize my voice through mic of laptop to the emulator because of SIP demo test? It also need to API 9 version so I have to test in emulator. Anyone who has a good idea? -- You received this message because you are

[android-developers] High sensor usage in stand by

2011-01-27 Thread Alex Munteanu
I'm struggling to find the root cause of a problem that occurs apparently randomly in my application. I have a listener registered for SENSOR.TYPE_ORIENTATION in my service and on Screen OFF broadcast I unregister the listener, and on Screen ON a register it again. From time to time, after phone

[android-developers] Re: How to write audio into microphone?

2011-01-27 Thread Sarwar Erfan
Sorry, Not yet. -- 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

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

2011-01-27 Thread Mik
I am starting the app from the view where all the other applications are placed, whatever is called. And even if it displays the icon, it says that the application is not installed. Then if I go in : Settings - Application settings - manage applications my app appears there as installed. Honestly

[android-developers] Re: Grab phonebook-contacts via ContactsContract-API

2011-01-27 Thread L0rdAli3n
Very nice! Thanks Pepijn, that's what I was looking for :) Maybe you could explain in a few words, how I'm supposed to manage the http session of this account? I need to store two cookies and the sessionID to maintain my session. Where to store them and how can other applications reuse the

[android-developers] Re: Analysis of the engadget app

2011-01-27 Thread JPS
Well that's exactly the inverse my little Zsolt Vasvari. Thx TreKing. On Jan 17, 8:53 am, Zsolt Vasvari zvasv...@gmail.com wrote: Another guy who wants to code an iPhone copy app on Android :( On Jan 17, 3:46 pm, TreKing treking...@gmail.com wrote: On Mon, Jan 17, 2011 at 1:17 AM, JPS

[android-developers] Map View Error!

2011-01-27 Thread peria abirami
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 message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] BufferPercentage never reaches 100 %

2011-01-27 Thread Johannes De Smedt
Hello, I have a video app that plays videos from urls. I have a MediaController that displays the progress of the playback and of the buffering. I have tested my app on different devices (HTC Magic - android 1.5 // Samsung apollo - android 2.1update1) and on it works fine. However when I test my

Re: [android-developers] Re: Honeycomb SDK

2011-01-27 Thread Marcin Orlowski
On 27 January 2011 09:53, String sterling.ud...@googlemail.com wrote: I take this to mean that, if I install the preview SDK, I can't publish ANY You can't publish anything with targetSDK=9. When you set target to lower value other SDK is used so this limitation does not affect your app. --

[android-developers] Re: High sensor usage in stand by

2011-01-27 Thread Alex Munteanu
Similar to: http://groups.google.com/group/android-developers/browse_thread/thread/a70f5b1a52a85624/666daeca2ebb7eaa?lnk=gstq=sensor+usage#666daeca2ebb7eaa

[android-developers] Re: Need help to develop a folder locking app in android

2011-01-27 Thread JyotishK
Its much more impressive to know that so called ACE android developpers motivating novice developers with such answers. On Jan 25, 1:18 am, Marcin Orlowski webnet.andr...@gmail.com wrote: On 21 January 2011 04:58,JyotishKjyotishcs05onl...@gmail.com wrote: I am new to android applications

Re: [android-developers] Re: SoundPool - sample XXX not READY

2011-01-27 Thread Richard Leggett
This doesn't solve your 256 limit problem but I just wanted to point out you can still see sample XXX not READY even if you're only using 2 or 3 very short sound samples. I've seen this with a 1 second OGG file on the Nexus One. Now I'm not suggesting this is the best way to deal with it, but I

Re: [android-developers] Re: Need help to develop a folder locking app in android

2011-01-27 Thread Marcin Orlowski
On 27 January 2011 11:53, JyotishK jyotishcs05onl...@gmail.com wrote: Its much more impressive to know that so called ACE android developpers motivating novice developers with such answers. Far from ACE, yet Know your limits motto is known to me. -- You received this message because you are

[android-developers] Adding .img file in running emulator.

2011-01-27 Thread Rahul Garg
Hi, I am using Eclipse to develop android application. Now I want to add image file to the emulator. So do I need to create a new emulator to add this image image file in this emulator or there is any other way to do it while AVD is already created ? -- You received this message because you

[android-developers] Re: apkbuilder ?

2011-01-27 Thread Bachowny Plamborgs
Argh you people are unbelievable! WHAT is the replacement? WHAT ant command should I call, or failing that WHAT Java class can I start other than ApkBuilderMain? Seriously, it's great to put a massive deprecation notice into everyone's build script, but at some stage people might want to know

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

2011-01-27 Thread blindfold
How can I find the location (bottom or top) and height of the System Bar (status bar) in Honeycomb? In compatibility testing of my app I find that I get some vertical offsets in screen locations wrong in Honeycomb, apparently because I did not yet account for the System Bar at the bottom of the

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

2011-01-27 Thread Marko Mijatovic
Hi! I code android app that uses Google Maps. I added uses-library android:name=com.google.android.maps/ in manifest file, and when in java class try to import that package, I get: The import com.google cannot be resolved. What can I do to fix this? Thnx -- You received this message because

[android-developers] Android Developer Position for a NY Based Internet Company

2011-01-27 Thread Kim Abunado
Hi There, SourcePad is a New York City based Internet company focusing on outsourcing services for SME. Our company practices a groundbreaking work environment where collaboration is exercised throughout all levels of the company. We are expanding rapidly and have now worked with 50+ clients!

[android-developers] Re: Adding .img file in running emulator.

2011-01-27 Thread Rahul Garg
And adding it to it Even I give the path of .img file but still I am unable to mount this on my emulator. I want to access files of this card through my application. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Error installing Android SDK Tools, revision 9

2011-01-27 Thread Robert
I had a similar problem with the rename of the SDK directory (the basically unload that Xavier mentioned). Solution was to uninstall the previous package and reinstall the new version. Extra step but not a big issue to do. Steps were: - Uninstall the package that had problems - restart Eclipse -

[android-developers] Re: Honeycomb browser broken?

2011-01-27 Thread H
Yeah, I can't get it to work either. When I fire up ithe browser, it crashes rendering the homepage. I don't have time to click the X to stop it so I've never managed to type in a different address yet. Your screenshot is the same as mine - the blue progress bar has never got past the l in

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

2011-01-27 Thread Anzi
Hi, My android application internally starting a native application[exe] as a separate process when it was launched. Problem is when there is any exception occurred my android application, android framework killing only my android application. But native application[exe] runs in background.

Re: [android-developers] Error installing Android SDK Tools, revision 9

2011-01-27 Thread H
I rebooted the machine and tried it again under eclipse but still had the same problem. So I fired up processexplorer and closed the handle eclipse had on dx.jar (always fingers crossed!) and closed any running instances of adb just to be sure and it seemed to work then. As for the sdkmanager,

[android-developers] Re: Honeycomb browser broken?

2011-01-27 Thread H
I even tried to fire up an empty webpage to see if it was just the graphics rendering that was broken, but I still get the same error now with a completely blank page: adb shell am start -a android.intent.action.VIEW -d about:blank -- You received this message because you are subscribed to the

[android-developers] Re: Permission Denied exception on SD Card Write - Manifest has the permission

2011-01-27 Thread RS
Problem solved: 1. Checked the state of the card using the method explained on the developer site. Turned out the card was in shared mode meaning mounted on USB hence unavailable from application 2. On the device changed the USB connection to PC (earlier it was mass storage). On Jan 26, 9:05 

[android-developers] Re: How many ways to find out..?

2011-01-27 Thread Abhilash baddam
Any help please... On Thu, Jan 27, 2011 at 12:38 PM, Abhilash baddam abhilash.androiddevelo...@gmail.com wrote: Hi, In how many ways we can find the current location of the user. Can we find the current location without using GPS. Can anyone help me out. -- You received this

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

2011-01-27 Thread Droid
After 2.2 update I cannot find my own Apps in the android market. -- 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] Re: Android SDK is so slow that is ridiculous.

2011-01-27 Thread sblantipodi
Performance problem on android SDK isn't related on what you are talking here. Android SDK is so slow also with android 2.2 and 2.2. The SDK uses only one core and this is a shame. Too slow for everything that needs more power than a fart app. -- You received this message because you are

[android-developers] Re: Schedule notification instead of permanently check

2011-01-27 Thread Danny S.
Hi, I tried to implement a receiver that will be called when the device booted: receiver android:name=.AlertReceiver intent-filter action android:name=android.intent.action.BOOT_COMPLETED /

[android-developers] Re: How many ways to find out..?

2011-01-27 Thread TomTasche
Please don't post your questions to several pages without waiting for an answer. http://stackoverflow.com/questions/4816554/in-how-many-ways-we-can-find-the-location-in-android Tom On Jan 27, 1:34 pm, Abhilash baddam abhilash.androiddevelo...@gmail.com wrote: Any help please... On Thu, Jan

Re: [android-developers] Re: Schedule notification instead of permanently check

2011-01-27 Thread Marcin Orlowski
receiver android:name=.BootCompletedBroadcastReceiver intent-filter action android:name=android.intent.action.BOOT_COMPLETED / /intent-filter /receiver public class BootCompletedBroadcastReceiver extends BroadcastReceiver { @Override public

Re: [android-developers] Re: How many ways to find out..?

2011-01-27 Thread Marcin Orlowski
On 27 January 2011 13:34, Abhilash baddam abhilash.androiddevelo...@gmail.com wrote: Any help please... RTFM please? http://developer.android.com/guide/topics/location/obtaining-user-location.html -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] Re: Schedule notification instead of permanently check

2011-01-27 Thread Kostya Vasilyev
Danny, You don't need a category in the filter to receive BOOT_COMPLETED, just action. In fact, that's probably the cause of your code not receiving it. Also I don't see the other action in the manifest, for receiving your own alarms. -- Kostya 27.01.2011 16:00, Danny S. пишет: Hi, I

[android-developers] Re: Schedule notification instead of permanently check

2011-01-27 Thread Danny S.
Hey Kostya, you were right. I dont need to hold the intents in java, I can cancel it this way: mAlarmManager.cancel(PendingIntent.getBroadcast(this, intentId, myBroadcastIntent, 0)); Thanks a lot for this!!! ;-) -Danny S. On 20 Jan., 10:33, Kostya Vasilyev kmans...@gmail.com wrote: Danny,

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

2011-01-27 Thread Brill Pappin
I don't know if its possible or not, but I kind of hope not. It would be the perfect way to installed a worm on a phone. I think the use needs to take direct action. - Brill Pappin On Jan 27, 2:06 am, Titus titus.mor...@gmail.com wrote:t Hello, I have an X.apk which contains another Y.apk

[android-developers] Re: Hide each view after LayoutAnimation

2011-01-27 Thread chrismanster
That is exactly what I wanted. Thanks for giving me a *real* suggestion. Joe On Jan 26, 5:51 pm, Hari Edo hari@gmail.com wrote: Are you setting fill-afterto true on this animation? On Jan 26, 4:58 pm, chrismanster chrismans...@gmail.com wrote: I have a GridView with several n

[android-developers] Re: Schedule notification instead of permanently check

2011-01-27 Thread Danny S.
Hi Kostya, I removed the category, but have still the same issue: boot completed is never recognized. You said you dont see the other action. I create the Broadcast- Intent and put it into PendingIntent.getBroadcast(), without a action in AndroidManifest: ... alertReceiverIntent = new

[android-developers] need help for screen rotation

2011-01-27 Thread som
Hi, I have developed an Android paint app through which one can draw different shapes and freehand drawing on the canvas. However i have reached a stumbling block now... i would like to retain the information of the different shapes when the screen is rotated... hence i need to store an array of

Re: [android-developers] Re: Schedule notification instead of permanently check

2011-01-27 Thread Kostya Vasilyev
Danny, Your app's manifest for the broadcast action, as well as the permission, look fine. When you start the emulator, make sure you don't have Wipe user data enabled, as that will erase the application, so it won't be available at boot. Other than that, maybe you're just not seeing the

Re: [android-developers] Re: Post with image attachment

2011-01-27 Thread ugur
thanx for reply what do u mean with format? i guess there is a problem on line that sends image ByteArrayInputStream : entity.addPart(jpg,new InputStreamBody(new ByteArrayInputStream(byteData),jpeg)); because it posts stringBody successfuly. 2011/1/24 Kumar Bibek coomar@gmail.com You

Re: [android-developers] Image capturing

2011-01-27 Thread Martin Jernberg
DDMS 3 On 1/25/11, KAKLOTAR DILIPKUMAR dilipkaklo...@gmail.com wrote: in DDMS there is one option to capture the screen shot in android -- dilip kaklotar Mobile No: 8000722607 -- You received this message because you are subscribed to the Google Groups Android Developers group. To

Re: [android-developers] Re: Post with image attachment

2011-01-27 Thread ugur
actually i found a way to post the image by creating my own AbstractContentBodyhttp://www.anddev.org/multimedia-problems-f28/post-with-image-attachment-t50630.htmlinstead of InputStreamBody but i really wonder why this doesnt work. 2011/1/27 ugur ugurb...@gmail.com thanx for reply what do u

Re: [android-developers]

2011-01-27 Thread Martin Jernberg
empty? On 1/25/11, fird hardys firdhar...@gmail.com wrote: -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

Re: [android-developers] Ramesh Solanki wants to chat

2011-01-27 Thread Martin Jernberg
i added you :p On 1/25/11, Ramesh Solanki rkindia1...@gmail.com wrote: --- Ramesh Solanki wants to stay in better touch using some of Google's coolest new products. If you already have Gmail or Google Talk, visit:

Re: [android-developers]

2011-01-27 Thread Martin Jernberg
empty? On 1/25/11, fird hardys firdhar...@gmail.com wrote: -- 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] Re: Schedule notification instead of permanently check

2011-01-27 Thread Danny S.
Kostya, yeah, I am with you and think my AndroidManifest looks correct. I figured out too, that all data get lost when Wipe user data is enabled. I started the emulator always without Wipe user data but it does not work. Maybe it is an emulator problem... I can try to figure out on my real device

[android-developers] Re: Schedule notification instead of permanently check

2011-01-27 Thread Danny S.
Hi together, using a second receiver worked for me: ... receiver android:name=.AlertReceiver / !-- only for device is booted detection: -- receiver android:name=.BootedReceiver intent-filter

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

2011-01-27 Thread argon gold
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 one suggest some work around for it. Thanks in advance.

[android-developers] Re: need help for screen rotation

2011-01-27 Thread Andrew Prunicki
Rotation causes a complete teardown and recreate of your Activity, as you have already learned. So here are some options to consider: - overide onSaveInstanceState(), and place your info into a Bundle, and pull it back out in onCreate() - Application instance (android.app.Application) -

Re: [android-developers] need help for screen rotation

2011-01-27 Thread Kostya Vasilyev
27.01.2011 16:57, som пишет: as i was looking at the SDK documentation i found public Object onRetainNonConfigurationInstance()... however i need such functionality which returns an array of Object[]. Hint: in Java, everything is an Object, including: - Listyourclass - yourclass[] -

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

2011-01-27 Thread snpe
The ADT plugin depends on the DDMS plugin. You can remove both or nothing of them. Regards, Peco On Jan 25, 11:36 am, Johannes Mario Ringheim j...@ringheimsauto.org wrote: Is there any way to close or uninstall the DDMS from Eclipse? I'm using the standalone one, and have no use for two of

[android-developers] FullScreen/NoTitleBar/Landscape activity incosistently shifting visually

2011-01-27 Thread Rich
I have an activity with a somewhat complicated view. Not complicated in a technical sense...there's just a lot going on. All activities in this particular app are set to FullScreen NoTitleBar, and they're all set to Landscape orientation. I noticed early on in development when the app is

Re: [android-developers] Re: PreferenceActivity how to display ListPreference value

2011-01-27 Thread TreKing
On Wed, Jan 26, 2011 at 7:31 PM, jotobjects jotobje...@gmail.com wrote: BTW - the forum post editor seems to wrap around 55 characters and do other weird formatting. Is there a way to make it not do that ;-) Use Gmail.

[android-developers] What layout objects are allowed in honeycomb app widgets?

2011-01-27 Thread Cheryl Sedota
Reading through the Honeycomb highlights doc here: http://developer.android.com/sdk/android-3.0-highlights.html It says: Android 3.0 lets developers take home screen widgets to the next level, offering more types of content and new modes of interaction with users. Developers can now use more

[android-developers] Re: High sensor usage in stand by

2011-01-27 Thread ip332
Did you check CPU usage using adb shell top ? On Jan 27, 2:42 am, Alex Munteanu alex.munte...@gmail.com wrote: Similar

[android-developers] Re: High sensor usage in stand by

2011-01-27 Thread Alex Munteanu
Yes, is not there. On Jan 27, 6:23 pm, ip332 iprile...@gmail.com wrote: Did you check CPU usage using adb shell top ? On Jan 27, 2:42 am, Alex Munteanu alex.munte...@gmail.com wrote: Similar to:http://groups.google.com/group/android-developers/browse_thread/threa.. Please help

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

2011-01-27 Thread Tina
Hi, all I have service and application. In some cases my service creates Ongoing Notification in the Status bar. When user click it - my application started. It is good, but sometimes my application is already opened at this moment, Tell me, please, what should I do to _switch_ to my application

Re: [android-developers] regarding onretainnonconfigurationinstance

2011-01-27 Thread TreKing
On Wed, Jan 26, 2011 at 7:27 PM, som som.mukhopadh...@googlemail.comwrote: which means onretainnonconfigurationinstance should return an array of objects. does the API support it? how can i do this? What does the function return?

Re: [android-developers] How to Add Item Status Bar Dropdown Menu/List?

2011-01-27 Thread TreKing
On Wed, Jan 26, 2011 at 9:36 PM, AndroidDevTime androiddevd...@gmail.comwrote: I would like to place an item in the Status Bar Dropdown List. How can this be done? By reading the documentation: http://developer.android.com/guide/topics/ui/notifiers/notifications.html

Re: [android-developers] Custom Status Bar Icons Lifecycle

2011-01-27 Thread TreKing
On Wed, Jan 26, 2011 at 9:39 PM, AndroidDevTime androiddevd...@gmail.comwrote: Is this the right way however to maintain icons in the status bar over a period of time like to duration that my app is running? Yes.

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

2011-01-27 Thread niko20
I agree, the SDK itself is slow, not just the emulator. I've noticed that with every release of the SDK it gets slower. -niko On Jan 27, 6:56 am, sblantipodi perini.dav...@dpsoftware.org wrote: Performance problem on android SDK isn't related on what you are talking here. Android SDK is so

[android-developers] Re: Android Developer Position for a NY Based Internet Company

2011-01-27 Thread Hari Edo
I've never heard of a software *development* position that's stuffed into a mid-shift or night-shift slot. Either you're really advertising for operations technicians to be on call for those hours, or you are expecting a groundbreaking work environment where collaboration is excercised primarily

Re: [android-developers] About Live Wallpaper

2011-01-27 Thread TreKing
On Mon, Jan 24, 2011 at 11:56 PM, Dilipkaklotar dilipkaklo...@gmail.comwrote: /res/raw the /raw folder contain my images Images should be in the drawable folder. - TreKing

Re: [android-developers] simple image question from a noob

2011-01-27 Thread TreKing
On Tue, Jan 25, 2011 at 4:35 PM, TJ tjlundgre...@gmail.com wrote: I am trying to create a very simple application that displays an image when you click a button. Displays an image *where*? On the button? In the title area? On a separate device? On your computer?

[android-developers] Re: High sensor usage in stand by

2011-01-27 Thread ip332
D-le Alex, you should learn to read between the lines :) Here is a snapshot from a phone I had once: PID CPU% S #THR VSS RSS PCY UID Name 2383 40% S 5 6340K760K fg compass /system/bin/some sensor server 3004 18% S15 240340K 31352K fg app_90 gpsstatus app from

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

2011-01-27 Thread Dianne Hackborn
You can't. Don't use Display.getWidth()/Height(), and you will be fine. This is one of the reasons I have been saying for years to not use the raw Display dimensions to do UI layout. If you aren't using Display to get dimensions, some more details about you are doing are needed. Apps will

Re: [android-developers] Re: Honeycomb SDK

2011-01-27 Thread Dianne Hackborn
You shouldn't be building production apps against an in-development version of the platform. If you build against one of the other production versions of the platform, that is fine. On Thu, Jan 27, 2011 at 12:53 AM, String sterling.ud...@googlemail.comwrote: From the release notes: - You

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

2011-01-27 Thread John Lussmyer
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. On Sun, Jan 23, 2011 at 2:02 PM, John Lussmyer

Re: [android-developers] Re: Built-in resource unexpectedly not found

2011-01-27 Thread Dianne Hackborn
On Wed, Jan 26, 2011 at 5:34 PM, H m...@howardb.com wrote: I suspect that the user has (e.g.) rotated the phone and at that split moment, the activity is being dropped and restarted by android. But things running in other threads may still linger and if they try to access app resources, the

Re: [android-developers] openFileOutput, FileNotFoundException

2011-01-27 Thread TreKing
On Tue, Jan 25, 2011 at 6:56 AM, Michael dahl.mi...@gmail.com wrote: Som alla andra (tydligen) så får jag FileNotFound på raden där jag kör openFileOutput. Borde det inte funka i en activityklass? Vad tusan är fel? Jag har läst trådar till förbannelse men hittar ingen lösning. You may want

Re: [android-developers] Re: Honeycomb SDK

2011-01-27 Thread Xavier Ducrohet
It works the following way: - you can keep building your project against a previous version and install it on the Honeycomb emulator. - if you compile against the Honeycomb APIs then it can only be installed on the Honeycomb preview emulator (because to build you have to put Honeycomb in the

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

2011-01-27 Thread Titus
Hello All, @Marcin : I don't want much user interaction thereby dont want to copy t the SD card. @Sarwar, the apk is 1586 KB Its just that Y apk is a service and when the users are using I didn't want them to have the trouble of installing both On Jan 27, 5:24 am, Brill Pappin br...@pappin.ca

Re: [android-developers] Views with the same dip width number have different widths in appearance

2011-01-27 Thread TreKing
On Tue, Jan 25, 2011 at 12:56 PM, Michael Smith msmith10...@gmail.comwrote: I'm wondering if there is an explanation for this or a way around it. http://developer.android.com/guide/practices/screens_support.html Very last section.

Re: [android-developers] Re: Built-in resource unexpectedly not found

2011-01-27 Thread Dianne Hackborn
On Wed, Jan 26, 2011 at 7:55 PM, Bob Kerns r...@acm.org wrote: Just to be very clear about it -- given the current reality, I suggest viewing all firmware-defined resources as, well, infirm. No. Any resources that are in the public SDK are officially supported resources, there for you to

Re: [android-developers] the command add to home screen

2011-01-27 Thread TreKing
On Tue, Jan 25, 2011 at 11:24 AM, WINDRUNNER windrunne...@gmail.com wrote: what command in activities would i be looking for? showDialog? - TreKing

Re: [android-developers] Re: apkbuilder ?

2011-01-27 Thread Xavier Ducrohet
If you're just getting started you really shouldn't try to make your own build scripts. Therefore you should use the normal Ant build system, or Eclipse. Lots of info at http://developer.android.com/guide/developing/other-ide.html and http://developer.android.com/guide/developing/eclipse-adt.html

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

2011-01-27 Thread Titus
@Marcin : I don't want much user interaction thereby dont want to copy t the SD card. @Sarwar, the Y.apk is 780 KB and thereby i can see that aapt is not trying to compress the Y.apk. On Jan 27, 5:24 am, Brill Pappin br...@pappin.ca wrote: I don't know if its possible or not,  but I kind of

Re: [android-developers] Re: Built-in resource unexpectedly not found

2011-01-27 Thread Dianne Hackborn
On Thu, Jan 27, 2011 at 12:21 AM, Mark Carter mjc1...@googlemail.comwrote: As a test, building against SDK 9, I compiled an APK referencing @android:drawable/presence_video_away which was introduced in SDK 9. Then I ran the APK on a SDK 4 emulator and got an exception indicating resource not

Re: [android-developers] Renderscript documentation

2011-01-27 Thread Xavier Ducrohet
As romain said, more information will come with the final SDK for Honeycomb. Renderscript also requires special build steps that are not ready in the SDK Tools. Xav On Wed, Jan 26, 2011 at 9:54 PM, Peter Eastman peter.east...@gmail.com wrote: Is there any documentation available for

Re: [android-developers] Re: PreferenceActivity how to display ListPreference value

2011-01-27 Thread jotobjects
Not sure what you mean by use gmail. Howerver I just found the new google groups web interface that seems to have a wiki-ish kind of editor. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

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

2011-01-27 Thread TreKing
On Tue, Jan 25, 2011 at 12:04 PM, paul french paul.french.kir...@gmail.comwrote: Any ideas what the problem might be? Going here http://tinyurl.com/5ujmllq leads to

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

2011-01-27 Thread Xavier Ducrohet
Actually this doesn't make sense. The task Android SDK: Resolving error markers is a job because this is guaranteed to be executed when the workspace can be changed. I'm not sure why it would block and do nothing. (if the workspace was locked, then an exception would be thrown and the job would

Re: [android-developers] Re: PreferenceActivity how to display ListPreference value

2011-01-27 Thread TreKing
On Thu, Jan 27, 2011 at 11:45 AM, jotobjects jotobje...@gmail.com wrote: Not sure what you mean by use gmail. I mean use Gmail as the interface to read and post to the group. There's a setting to get emails (each email, a daily digest, or weekly, I think) so you get emails for each post. And

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

2011-01-27 Thread Xavier Ducrohet
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. On Thu, Jan 27, 2011 at 9:52 AM, Xavier Ducrohet x...@android.com wrote:

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

2011-01-27 Thread TreKing
On Thu, Jan 27, 2011 at 6:41 AM, Droid rod...@gmail.com wrote: After 2.2 update I cannot find my own Apps in the android market. OK. Sorry to hear that. - TreKing

[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

[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

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

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 x...@android.com 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.

[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 levys...@gmail.com wrote: Hi, In the new Android 3.0HoneycombPreview emulator WallpaperManager.getDesiredMinimumHeight()  returns 1408. getDesiredMinimumHeight=1408

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's

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 levys...@gmail.com wrote:

  1   2   >