[android-developers] How to sign up for ADC judge?

2009-09-28 Thread parchira tech
where can I download the ADC judge application? Thanks! April --~--~-~--~~~---~--~~ 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: Crossword Puzzle in Android

2009-09-28 Thread Seth Mould
Hi Kwan, I have a project on SourceForge called xW which seeks to establish a standard XML format for word puzzles, so you might want to look at that for your input. Try looking for open Sudoku projects -- there is more interest in Sudoku than crosswords and the rendering of cells is the same

[android-developers] Re: EditText`s hint disappeared when Input Type is set.

2009-09-28 Thread ponkin
The same issue appears on Vista. Does anybody know how to make EditText show hint when Input type is set? Do I need to do any additional work? I just want to label password field with hint. When I use deprecated password properties everything is ok.

[android-developers] Problem in Checkbox

2009-09-28 Thread ragavendran s
I m Having ListView With Checkboxes ...but if i Click the Checkbox ther is no response can u tel me what to add to my code. Thanks in advance, Raghav.S Her is My Code: final String[] options1 = new String[] {My Wedding To Do List,Categories,My Wedding Day

[android-developers] Re: Sending Email

2009-09-28 Thread Isuru danagalle
I have done this.You need to remove awt dependecies from java mail and build the activation jar and mail jar manually.If you need the code and jar file contact me. Thanks Isuru On Wed, Sep 9, 2009 at 12:54 AM, Mark Murphy mmur...@commonsware.comwrote: Jason Proctor wrote: Only if you

[android-developers] Re: Sending Email

2009-09-28 Thread Isuru danagalle
However I couldnt send an image attachment along with this.Reason is when we remove awt dependecies awt .Toolkit which is needed to implement jpeg/png mailcap also removed Thanks Isuru On Mon, Sep 28, 2009 at 12:14 PM, Isuru danagalle iisuru@gmail.comwrote: I have done this.You need to

[android-developers] Re: ADC2 entries so far...

2009-09-28 Thread sam
My ADC2 app is aPortaDrum. It is a drumming application that allows you to play using the phone as a drumstick. Please first check the live demo at http://www.youtube.com/watch?v=ON1cxNU0K8w to see how it uses. For more info, please visit http://android.a0soft.com/?url=aPortaDrum.htm You can

[android-developers] Does starting a query will notify content observer?

2009-09-28 Thread n179911
Hi, I have called an AsyncQueryHandler's startQuery function with a specified URL, will all the content observer observing that URL get notified? I asked this question because I don't understand how RecentCallsListActivity's Delete All function works. Here is the code, with comment:

[android-developers] Re: Last modification time for each contact record in People table

2009-09-28 Thread Alex Tang
Now I use compare and search the whole database when onChange() comes On Sep 17, 7:45 pm, Girish girishg...@gmail.com wrote: Please Suggest me that how can we check the updation of each contact in the Contact.People table? On Sep 16, 9:50 am,AlexTangtangli1987...@gmail.com wrote: In

[android-developers] Re: WebView onLoadComplete()?

2009-09-28 Thread Walles
Thanks Mark, that was exactly what I needed. You rule. Cheers :-) //Johan On 27 Sep, 17:23, Mark Murphy mmur...@commonsware.com wrote: Walles wrote: I have aWebViewthat I've asked to load a page usingwebView.loadUrl (). How do I get a notification when theWebViewhas completed loading

[android-developers] Re: Prevent radio button from being checked when being clicked

2009-09-28 Thread Mark Murphy
Marian Schedenig wrote: In my activity I have two radio buttons which both require additional input. Clicking either button opens a dialog, and only clicking set in that dialog really activates the option. I therefore want to prevent the radio button from being checked before the value is

[android-developers] Re: Widgets and custom components?

2009-09-28 Thread Mark Murphy
Moto wrote: Yes, I meant widgets for home screen... That's bad news for me I guess... :( The only animation I got working barely was marquee text. lol... I wonder if there are plans to expand this feature... Animations would be great! :( or even better custom components... The issue is

[android-developers] Re: Why are the save/restore lifecycle events called twice when switching the emulator from landscape to portrait?

2009-09-28 Thread skink
On Sep 27, 1:31 pm, Carl Whalley carl.whal...@googlemail.com wrote: This is with the 1.6 1.5 SDKs, not tried earlier ones. When you switch from portrait to landscape the onSaveInstanceState()/ onRestoreInstanceState() pair are called once, but when going back from landscape to portrait

[android-developers] Re: map overlay issue

2009-09-28 Thread Mark Murphy
tstanly wrote: hi all, I used overlay to mark two point on the mapview, but I only want to removed one point at a time, but the mapview.getoverlay().clear() will remove two marks for mapview, No, mapView.getOverlays().clear() removes all *overlays*. so how can I do for remove one mark

[android-developers] Selling license for free apps

2009-09-28 Thread Armond Avanes
Hi Guys, Like many other developers here, I can't sell applications from my country and seeking a way for monetization of my app. I was thinking to release my app as free ads-supported version, and to sell license from my website for those who want to remove the ads completely. Actually users

[android-developers] Re: Selling license for free apps

2009-09-28 Thread Mark Murphy
Armond Avanes wrote: Hi Guys, Like many other developers here, I can't sell applications from my country and seeking a way for monetization of my app. I was thinking to release my app as free ads-supported version, and to sell license from my website for those who want to remove the ads

[android-developers] Re: How to sign up for ADC judge?

2009-09-28 Thread Lance Nanek
Search for it in the Market app or use the QR code from the blog post about it: http://android-developers.blogspot.com/2009/09/adc-2-judging-has-begun.html On Sep 28, 2:22 am, parchira tech pachira.t...@gmail.com wrote: where can I download the ADC judge application? Thanks! April

[android-developers] How to play music album?

2009-09-28 Thread extrapedestrian
I have album id, how can I start activity to play album? I tried this: Uri album = ContentUris.withAppendedId (MediaStore.Audio.Albums.EXTERNAL_CONTENT_URI, id); Intent playalbum = new Intent(Intent.ACTION_VIEW, album); startActivity(playalbum); but its not working...

[android-developers] Re: Why are the save/restore lifecycle events called twice when switching the emulator from landscape to portrait?

2009-09-28 Thread Carl Whalley
Cheers. I think you're right, but this looks just plain wrong. If there was a reason for the double Activity creation it should at least happen in both cases, not just in the landscape to portrait case. Its actually a little worse than that, because I came across this when chasing a bug in some

[android-developers] Re: How to get full package size?

2009-09-28 Thread iron
How to get APK size: File apkfile = new File(path_to_apk); long apksize = apkFile.length(); // in bytes but how to get Data size? On Sep 28, 6:55 am, SizzlingSkizzorsProgrammer cbo...@gmail.com wrote: how do you get the apk size??? On Sep 27, 5:10 pm, iron ironph...@gmail.com wrote: Hello

[android-developers] Broken pipe

2009-09-28 Thread jaaaelpumuki
Hi there, I'm trying to use sockets. I'm trying to use the java client of gearman, gearman.org, the applications throws: 09-28 12:38:55.805: WARN/logger(1134): java.net.SocketException: Broken pipe 09-28 12:38:55.805: WARN/logger(1134): at

[android-developers] Focus MapView

2009-09-28 Thread Ne0
Hi, Thought this might have been covered already, but i cant seem to find it anywhere. My app reads GPS positions from a file and overlays them on the mapView. All very simple stuff, but how to get the map view to go to and zoom in on a point? Thanks Liam

[android-developers] Re: Focus MapView

2009-09-28 Thread Mark Murphy
Ne0 wrote: Hi, Thought this might have been covered already, but i cant seem to find it anywhere. My app reads GPS positions from a file and overlays them on the mapView. All very simple stuff, but how to get the map view to go to and zoom in on a point? Given a MapView named map:

[android-developers] Re: Why are the save/restore lifecycle events called twice when switching the emulator from landscape to portrait?

2009-09-28 Thread Lance Nanek
Is this problem the same as described here? http://code.google.com/p/android/issues/detail?id=2423 Might be worth posting that it is still present in 1.6 if so, all the comments look re 1.5. On Sep 28, 6:19 am, Carl Whalley carl.whal...@googlemail.com wrote: Cheers. I think you're right, but

[android-developers] Re: Focus MapView

2009-09-28 Thread Ne0
Thanks, thought it would be simple, hadn't come accross MapController yet. Cheers. Liam On Sep 28, 12:21 pm, Mark Murphy mmur...@commonsware.com wrote: Ne0 wrote: Hi, Thought this might have been covered already, but i cant seem to find it anywhere. My app reads GPS positions from a

[android-developers] Re: trouble with programmatically adding mock location data

2009-09-28 Thread Frederik Pfisterer
Here is the code using a mock location provider. Basically my question is, why is the mock provider not returning the previously set mock location correctly. See last comment in code: private GeoPoint getUserLocation() { LocationManager locationManager =

[android-developers] Re: (unofficial) Bluetooth API v. 0.2

2009-09-28 Thread jdesbonnet
Dianne, Is there any chance you or someone else on the Android project can make a statement (if even a vague one) about the Bluetooth API plans and timeline. You can see from the issue tracker (http:// code.google.com/p/android/issues/detail?id=1725) that there is much wailing and gnashing of

[android-developers] Update all the contacts belonging to one group

2009-09-28 Thread cyril.at...@gmail.com
Dear all, I have an application that updates all the contacts belonging to a group, I currently do the following : - Get the group id - Get all the contacts id inside this group - For each of them I am doing an update on the contact = This is really heavy and seems to take time in real phones

[android-developers] Re: Crossword Puzzle in Android

2009-09-28 Thread Kwan Toh Choong
Hi All, Thanks for the advice from everyone. I've done a little bit of research, but I m not sure the idea of rendering the boxes with numbering is correct or not. Is it true that I can draw on a canvas? I m reading this tutorial

[android-developers] Re: Update all the contacts belonging to one group

2009-09-28 Thread Mark Murphy
cyril.at...@gmail.com wrote: I have an application that updates all the contacts belonging to a group, I currently do the following : - Get the group id - Get all the contacts id inside this group - For each of them I am doing an update on the contact = This is really heavy and seems to

[android-developers] ADC2 - app World of Bombs

2009-09-28 Thread croco
Hi all and especially to ADC2 testers. I wanted to inform i had to restart the world of bombs server while ADC2 users were connected. i apologize for that. I found also a bug when you lose so please win to not have a potential app crash which does not occur 100% but preferable to win. I can't

[android-developers] Re: launch activity like phone call

2009-09-28 Thread sleith
Hi, wanna ask again about Mark's first warning: Your service will not be running for very long once the screen turns off. The phone will go to sleep, and your service will stop running when the phone turns off the CPU. when the phone turns on the CPU again, will the service restarted

[android-developers] [Urgent] startActivityForResult

2009-09-28 Thread Kwan Toh Choong
Hi All, Is it a must for me to call startActivityForResult under my class than extends Activity? I'm struggling with my lab sheet. It's about Game of Life (http://en.wikipedia.org/wiki/Conways_life). The source code can be grabbed from here (http://filebeam.com/

[android-developers] Re: launch activity like phone call

2009-09-28 Thread Mark Murphy
sleith wrote: Hi, wanna ask again about Mark's first warning: Your service will not be running for very long once the screen turns off. The phone will go to sleep, and your service will stop running when the phone turns off the CPU. when the phone turns on the CPU again, will the

[android-developers] Re: How to prematurely stop a long-running SQLite query?

2009-09-28 Thread mjc147
On Sep 28, 6:02 am, Broc Seib broc.s...@gmail.com wrote: Perhaps a Trie data structure? I can see how that would be useful when searching on prefixes, but what about when doing free text search? Also, by mechanism I was thinking more along the lines of database, flat file (like a CSV) etc

[android-developers] Anyone used performHapticFeedback()?

2009-09-28 Thread James W
I want to invoke the haptic feedback buzz when my ImageButton is pressed, but I am not sure the best way to do it. I first checked that my button was enabled for that, and isHapticFeedbackEnabled() returns true. Then I am calling performHapticFeedback() with the constant

[android-developers] Re: launch activity like phone call

2009-09-28 Thread sleith
ok thanks for the explanation. i learn more :D On Sep 28, 8:13 pm, Mark Murphy mmur...@commonsware.com wrote: sleith wrote: Hi, wanna ask again about Mark's first warning: Your service will not be running for very long once the screen turns off. The phone will go to sleep, and your

[android-developers] MapView Overlays

2009-09-28 Thread Ne0
My problem is my MapView becoming very laggy and so non-responsive at times, that Android thinks its hit deadlock and tries to close it. I am adding 60 overlays to the map view and i originally thought that the icon size may be causing the problem by using up all the memory. When i decreased the

[android-developers] Re: trouble with programmatically adding mock location data

2009-09-28 Thread Frederik Pfisterer
Seems i'm talking with myself :-) Seems like it's a bug though, filed: http://code.google.com/p/android/issues/detail?id=4036 On 28 Sep., 12:38, Frederik Pfisterer pfiste...@gmail.com wrote: Here is the code using a mock location provider. Basically my question is, why is the mock provider

[android-developers] Any suggestion between 1.5 or 1.6 sdk

2009-09-28 Thread pro
Hi All, I've been trying to use 1.6 sdk, and see numerous problems 1) Same projects flags for error, but hacking thru the environment using only the eclipse, sometime deleting the gen folder or deleting R.java to solve it. Nothing methodical. I did not have this on 1.5r3 2) Sometime the

[android-developers] Launch Activity Call without screen change

2009-09-28 Thread fritzZz
It is possibile to start an outcoming call without change screen? I've a widget that perform a call for get remaining credit, but I don't want to change screen... If this isn't possibile, is possibile to return to the home screen when the call is terminated? Now the screen remain on last call

[android-developers] zipalign : could be done at distribution or installation time ?

2009-09-28 Thread Cédric Berger
I just noticed about zipalign http://developer.android.com/guide/developing/tools/zipalign.html This optimization is to be done after the apk is done / signed. Does this mean that zipalign may be run by the Market itself ? Or even by android at install time on the phone ?

[android-developers] Re: Custom View using XML layout EditTexts: SavedState conflict

2009-09-28 Thread Ben Roberts
On Sep 28, 1:15 am, Romain Guy romain...@google.com wrote: Your two views have the same id, so yes, they try to share the same state. You will need to somehow generate their id to make them unique (Home does that.) Okay, thanks! I wasn't sure how the SavedState object was being referenced. If

[android-developers] Can't i call a service function in activity's onStart/onCreate?

2009-09-28 Thread bear tung
My activity bind a service. I want to call the service's function in actitity's onStart/onCreate function, but it doesn't work. The service started suncess but the connection is null. When I just call the service's function in other function (onClick for example), it works well. thanks for

[android-developers] Re: Intent.putExtra (String name, String[] value) caching old value

2009-09-28 Thread Jason B.
Okay I found out what was happening. It was actually two things: 1) Was not editing the data used inside a PendingIntent. Changing the flag in the PendingIntent.getService(...) method to FLAG_UPDATE_CURRENT solved this. However this led to the second problem. 2) A new PendingIntent is not

[android-developers] Intent for the Alarm Clock application

2009-09-28 Thread Pettax
Is there a public intent for the Alarm Clock application that can be used for listening on Alarms going off? I.e. an intent that allows some additional action to be performed. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Wondering if someone can clarify this android 2.0 and 1.6

2009-09-28 Thread Satya Komatineni
There was a talk some months ago that Android 2.0 is donut. However I see that 1.6 is just out and it indeed is donut. Can someone clarify what Android 2.0 is then and how soon befor it hit the ropes? Thanks Satya --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: ADC2: Low volume of judges

2009-09-28 Thread Disconnect
If it doesn't work, it gets rated low. If it takes hours to set itself up (I'm looking at you local-radio-cache-app) it gets given up on and rated low. (Hours of downloads, on a link that can pull an entire ubuntu dvd in a few minutes..) Any app that goes all FC after the first page (ahem,

[android-developers] Re: Updating ADC2 entry in second round

2009-09-28 Thread Chris
Thanks for the answer. Are you associated with Google so I can count this as an official statement, or where do you take this information from? Thanks, Chris On 27 Sep., 18:07, Agus agus.sant...@gmail.com wrote: no On Sun, Sep 27, 2009 at 9:04 AM, Chris chrismc...@hotmail.com wrote: Hi,

[android-developers] Re: Updating ADC2 entry in second round

2009-09-28 Thread Maps.Huge.Info (Maps API Guru)
http://lmgtfy.com/?q=adc2+terms+and+conditions Especially: 9. SECOND ROUND JUDGING a. ENTRIES: Second Round Judging is only for entries selected as Qualifying Entries in the First Round Judging. The same application submitted by these Participants for the First Round will be distributed for

[android-developers] Re: android 1.5 and 1.6 versions of SDK sitting side by side...

2009-09-28 Thread sdphil
have not heard anything about this, anyone? anyone? On Sep 25, 9:27 am, sdphil phil.pellouch...@gmail.com wrote: i read the migration notes for 1.6 and I could not tell if 1.5 and 1.6 can co-existsidebyside. i need to build applications for both 1.5 and 1.6, and i only have one build

[android-developers] Re: Crossword Puzzle in Android

2009-09-28 Thread Carl Whalley
I just put a tutorial up on making tiles scale correctly. Its not exactly what you are doing but theres enough overlap to get you going. http://www.androidacademy.com/3-tutorials/43-hands-on/154-device-independent-display-scaling -- http://www.androidacademy.com On Sep 28, 1:05 pm, Kwan Toh

[android-developers] Re: Anyone used performHapticFeedback()?

2009-09-28 Thread Lee
This one works for me: performHapticFeedback( HapticFeedbackConstants.LONG_PRESS, HapticFeedbackConstants.FLAG_IGNORE_GLOBAL_SETTING ); I remember having trouble getting other things to work. Fortunately I only use Haptic Feedback with a long press, otherwise the Code Cops might come calling.

[android-developers] Re: Can't i call a service function in activity's onStart/onCreate?

2009-09-28 Thread Marco Nelissen
You need to wait until you actually receive the service connection callback before you do anything with the service. You can't simply assume that the callback has already happened when you reach your onStart. On Mon, Sep 28, 2009 at 7:36 AM, bear tung beart...@gmail.com wrote: My activity bind

[android-developers] Re: ADC2: Low volume of judges

2009-09-28 Thread Nivek
I think there is a huge number of apps submitted in this contest and sorting out the best is a huge work... that for once has been given to the users ! This is a great opportunity for us, but it also shows us that every app developer can't be the best. The notes we have to give to apps are quite

[android-developers] Cannot write SharedPreferences after update!! Help!

2009-09-28 Thread Sheado
Hello, I'm trying to prepare an update to one of my apps and I just realized that the updated version cannot read or write over the previous version's SharedPreferences. Some details: * I'm using the 1.6 SDK and compiling for 1.5.3. * My androidmanifest.xml does not have a sharedUserId (I

[android-developers] Re: Trouble in Printing Unicode Male Character

2009-09-28 Thread j.hadley
We have confirmed that the current shape for U+2642 in Droid Sans Fallback is a bug. This will be corrected in the font and supplied for a future release of Android. In the meantime, if you need a correct shape for that character, you could obtain (e.g. purchase/license or create) a font that

[android-developers] Re: android 1.5 and 1.6 versions of SDK sitting side by side...

2009-09-28 Thread Mike Collins
I have 1.1, 1.5 and 1.6 all peacefully coexisting on my dev boxes. Follow the directions. mike --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: Launch Activity Call without screen change

2009-09-28 Thread Dianne Hackborn
No, it is not possible, nor is it desirable -- the in-call screen does a lot of special stuff to provide a UI that works well when you are actually talking on the phone (not being impacted by false touches and such). On Mon, Sep 28, 2009 at 7:18 AM, fritzZz franzi...@gmail.com wrote: It is

[android-developers] Re: Anyone used performHapticFeedback()?

2009-09-28 Thread Dianne Hackborn
Currently there is only a definition for long press, so this API isn't all that useful. (This is also why the preference is hidden away in SpareParts, it's not really ready for prime time.) If you are giving feedback for a long press, then you may want to use it... but if you also feel the need

[android-developers] Re: (unofficial) Bluetooth API v. 0.2

2009-09-28 Thread Dianne Hackborn
Nick has posted about this fairly regularly either on android-platform or android-porting. On Mon, Sep 28, 2009 at 4:50 AM, jdesbonnet jdesbon...@gmail.com wrote: Dianne, Is there any chance you or someone else on the Android project can make a statement (if even a vague one) about the

[android-developers] Re: zipalign : could be done at distribution or installation time ?

2009-09-28 Thread Dianne Hackborn
I don't think market will ever run it (it really doesn't want to make any changes to the apps it is distributing). At some time in the future we'd like to consider having the platform do it during install, but this is a lower priority than a lot of other things. If someone wants to contribute

[android-developers] Re: ADC2: Low volume of judges

2009-09-28 Thread ander...@phdgaming.com
I have really tested maybe a dozen apps for the moment, and most of them did not reach more than 2 stars in every line, because they are not working, are one version of a concept among a hundred similar implementations, or because they don't answer MY needs. This is true for every other

[android-developers] Re: ADC2: Low volume of judges

2009-09-28 Thread Warren
It's true that some apps will be rated lower because they don't apply to the user doing the judging. For instance I judged an app that was designed specifically for users in Paris. It was low for me on the indispensability scale as it would be for most people not in Paris. BUT if it is clear

[android-developers] Re: zipalign : could be done at distribution or installation time ?

2009-09-28 Thread Sheridan Hutchinson
I just cannot understand why when a developer uploads an application, why Google themselves don't automatically zipalign the application. I just cannot undestand why the compiler doesn't zipalign automatically every final APK produced. --~--~-~--~~~---~--~~ You

[android-developers] multiline TextView in TableLayout

2009-09-28 Thread alys
Hello, I fill a TableRow with two TextViews programmatically from a HashMap, but my text is too long and it doesn't appear in multiline. Does anybody have a solution? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: Missing timezone

2009-09-28 Thread Simon
I have a similar problem. I am in Pakistan where the timezone is normally GMT + 5. However at the moment we are in + 1 DST, i.e. GMT + 6. Android thinks that Pakistan is GMT + 5 throughout the year. I have the same problems as you with text message and google calendar times. I too would

[android-developers] Getting media information that is being played

2009-09-28 Thread Alex
Is there a way that I can get the media information (song title, genre, artist, etc) that is being played in the default music player? Does the default music player allows sharing of these kind of information? Thanks. --~--~-~--~~~---~--~~ You received this

[android-developers] Re: Progress bar not visible with a white background in 1.6 sdk

2009-09-28 Thread Steven Rudenko
There are some themes of activity which can help You with UI. When You are using dark backgrounds use @android:style/Theme.Black theme otherwise use @android:style/Theme.Light. These styles will provide correct colors to all controls (like progress bar). On Sep 21, 1:35 pm, And-Rider

[android-developers] Painting using Accelerometer ?

2009-09-28 Thread ginnie
Hi all, My first post :) needed help.. I wanted to develop an android application with which you can draw images on screen by just moving the device (using accelerometer / magnetic field/ orientation..) Like AirPaint for iphone: http://www.trapcode.com/AirPaint.html I wanted to know if thers

[android-developers] Re: map overlay issue

2009-09-28 Thread Michael Rueger
Mark Murphy wrote: so how can I do for remove one mark only? There is no direct API for that as far as I can see. You may need to create a new ItemizedOverlay with the reduced set of marks, remove the old ItemizedOverlay from the getOverlays() collection, and add in the replacement.

[android-developers] jsonarray as listview source

2009-09-28 Thread vorcigernix
Hello, I made my application from various examples and sources, so now I have filled jsonarray and prepared listview (with custom rows formatting). Now I need to replace ListAdapter myAdapter =(new ArrayAdapterString (this,R.layout.rowlayout, R.id.TextView01, values)); with my json array based

[android-developers] Re: activity is destroyed when press home key

2009-09-28 Thread Johan Schöring
That's what the documentation says, but that's not what the ActivityManager does. From what I can see, the problem lies in the following code:

[android-developers] Convince Dalvik to add a class with the same canonical path as another

2009-09-28 Thread tomlotterm...@googlemail.com
Hi! I'm using a library of a friend of mine and it is build up in a way that some classes have the same canonical name (in other jars)... I'm not quite sure how he does it, but it does not lead to a jar hell and the normal sun java compiler doesn't worry about it... Now I want to use the library

[android-developers] Re: Closing one activity from another

2009-09-28 Thread Jeff King
Override the onActivityResult for all your activities to call finish() if they get back RESULT_OK. Have your last activity setResult (RESULT_OK); before it finishes. http://developer.android.com/reference/android/app/Activity.html#onActivityResult(int,%20int,%20android.content.Intent) On Sep 23,

[android-developers] Re: activity is destroyed when press home key

2009-09-28 Thread Johan Schöring
That's what the documentation says, but that's not what the ActivityManager does. From what I can see, the problem lies in the following code:

[android-developers] Playing Remote video file android emulator showing still image with sound

2009-09-28 Thread Shobhit Kasliwal
Hi I am writing an application to run a video file from a remote server. I am getting the sound but instead of video I am getting one still image. Can anyone tell me what can be the problem ? Thanks Shobhit Kasliwal --~--~-~--~~~---~--~~ You received this

[android-developers] Running camera android Emulator

2009-09-28 Thread Shobhit Kasliwal
Hi Can anyone tell me how can I use my computers webcam as camera in android emulator. Tutorial would be a great help for me. Thanks, Shobhit Kasliwal --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Routing Audio to earpiece instead of speaker

2009-09-28 Thread Puneet
I am writing a voice application for HTC-G2 (MyTouch) phone. I am using Audiotrack class to play audio in PCM format. It works fine but audio comes out from speaker phone instead of earpiece. When I use IsSpeakerPhoneOn() to query the status of speaker, it comes out to be off (false). I even

[android-developers] Broadcast receiver

2009-09-28 Thread richarth
Hi, I'm trying to create a broadcast receiver which responds to system events and change system settings. I don't need any interaction from the user so I don't need an activity and have been trying to do everything through the manifest file. I've put a log event into my onReceive method but it

[android-developers] Re: zipalign : could be done at distribution or installation time ?

2009-09-28 Thread Xavier Ducrohet
On Mon, Sep 28, 2009 at 9:00 AM, Sheridan Hutchinson sheri...@shezza.org wrote: I just cannot undestand why the compiler doesn't zipalign automatically every final APK produced. Zip align has to be done after the APK is signed. If you use ADT to create your final, signed, release apk then

[android-developers] Re: jsonarray as listview source

2009-09-28 Thread Mark Murphy
vorcigernix wrote: Hello, I made my application from various examples and sources, so now I have filled jsonarray and prepared listview (with custom rows formatting). Now I need to replace ListAdapter myAdapter =(new ArrayAdapterString (this,R.layout.rowlayout, R.id.TextView01, values));

[android-developers] Re: Broadcast receiver

2009-09-28 Thread Mark Murphy
richarth wrote: Hi, I'm trying to create a broadcast receiver which responds to system events and change system settings. I don't need any interaction from the user so I don't need an activity and have been trying to do everything through the manifest file. I've put a log event into my

[android-developers] Re: Convince Dalvik to add a class with the same canonical path as another

2009-09-28 Thread fadden
On Sep 28, 6:28 am, tomlotterm...@googlemail.com tomlotterm...@googlemail.com wrote: Now I want to use the library in android and now dalvik comes in and says: UNEXPECTED TOP-LEVEL EXCEPTION: java.lang.IllegalArgumentException: already added: Lnet/xeoh/plugins/ remote/ExportResult; From

[android-developers] Hey Google I need to know

2009-09-28 Thread omnitial
i dont have an android phone, so i cant use the judging application. I dont know whether my submitted app was qualified for this adc 2 first round judging. I looked in various forums where people are discussing and reviewing various apps in the judge application. But i didnt find my app name

[android-developers] Re: G1 crashing BatteryStatsImpl.writeLocked() OOM

2009-09-28 Thread rflexor
Hi again, to anyone interested, here is the solution: I found out that BatteryStatsImpl persists its state to /data/system. The batterystats.bin-file there also was 1.5M big. Gladly I got information from one of the developers that this is far from normal. The command dumpsys batteryinfo

[android-developers] Re: Hey Google I need to know

2009-09-28 Thread karthikr
+1 --~--~-~--~~~---~--~~ 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: Hey Google I need to know

2009-09-28 Thread ander...@phdgaming.com
If you post the name of the app, I'm sure the users on here can let you know if we have seen it. On Sep 28, 2:53 pm, omnitial omnit...@gmail.com wrote: i dont have an android phone, so i cant use the judging application. I dont know whether my submitted app was qualified for this adc 2 first

[android-developers] Hey Google I need to know

2009-09-28 Thread Jason Proctor
seems like we need an android-adc list, too... If you post the name of the app, I'm sure the users on here can let you know if we have seen it. On Sep 28, 2:53 pm, omnitial omnit...@gmail.com wrote: i dont have an android phone, so i cant use the judging application. I dont know whether my

[android-developers] Re: Take an action when soft keyboard is launched

2009-09-28 Thread Thomas
Hi All, Does Nobody know that? thanks again Tomás On Fri, Sep 25, 2009 at 11:07 AM, Thomas perd...@gmail.com wrote: Hi All, I'd like to take an action always when soft keyboard is shown or hidden. In my activity there is a menu that I want to hide when soft keyboard is launched and this

[android-developers] Re: (unofficial) Bluetooth API v. 0.2

2009-09-28 Thread jdesbonnet
Thanks for the pointer. And apologies for the cc to your email. Joe. On Sep 28, 6:03 pm, Dianne Hackborn hack...@android.com wrote: Nick has posted about this fairly regularly either on android-platform or android-porting. On Mon, Sep 28, 2009 at 4:50 AM, jdesbonnet

[android-developers] Re: Any suggestion between 1.5 or 1.6 sdk

2009-09-28 Thread Fred Grott(Android Expert)
1. Are you using newly created AVDs or ones from the SDK 1.5r3? 2. was ADT 0.93 installed in anew Eclipse install or the old one? On Sep 28, 9:01 am, pro proka...@gmail.com wrote: Hi All, I've been trying to use 1.6 sdk, and see numerous problems 1) Same projects flags for error, but

[android-developers] Re: Convince Dalvik to add a class with the same canonical path as another

2009-09-28 Thread fadden
On Sep 28, 11:29 am, fadden fad...@android.com wrote: From where is that exception being thrown?  Can you include more of the stack trace? Ah, found the message in dalvik/dx/src/com/android/dx/dex/file/ ClassDefsSection.java. Comment there says: /** * Adds an element to this

[android-developers] Availability of Android Development phone

2009-09-28 Thread EcDiet
I've been trying to order an Android development phone. It has not been available for ordering. Does anyone know if there are ways to expedite it? TIA --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: wrap around with textview in a tablelayout broken

2009-09-28 Thread Fabian Sturm
Hi! Thanks for your testing, at least I now know I am not doing anything stupid :-) And yes I guess I could use something different for the layout, I just thought the tablelayout would be the most logical choice to get all items in the second column aligned properly. Anyways I opened this bug

[android-developers] MediaPlayer PVMVErrTimeout error

2009-09-28 Thread Mark Skiba
I'm writing a streaming music player application and I frequently get a PFMVErrTimeout error generated by the PlayerDriver according to the ADB log. This appears to happen even with good reception. I can't seem to find any documentation on this error message. What does a PFMVErrTimeout error

[android-developers] zipalign and Proguard

2009-09-28 Thread Fred Grott(Android Expert)
As you mightknow new to SDK 1.6 is the zipalign to align data resources for better and optimized performance and it gets used after apk is signed. My question is how does this affect those who may be obfuscating their classes by using Proguard? Will I stil be able to obfuscate the classes using

[android-developers] Re: Availability of Android Development phone

2009-09-28 Thread Mark Murphy
EcDiet wrote: I've been trying to order an Android development phone. It has not been available for ordering. Does anyone know if there are ways to expedite it? It has been on backorder for some time. You may wish to keep an eye out for one on eBay or something. Also, since some people get

[android-developers] Re: zipalign and Proguard

2009-09-28 Thread Xavier Ducrohet
It's completely different. The only thing that zipalign does is align the location of the uncompressed zip entries on 4 bytes by adding padding before them (using the extra field of a zip entry). The content of the files inside the zip archive is not changed in anyway (otherwise the signature

[android-developers] rules for inflating layouts

2009-09-28 Thread Jason Proctor
i'm running into some issues inflating layouts and i wonder whether i have something basic wrong. i have a ListView with a custom adapter etc, and of course the item View is custom too. i've been creating the item View in code, and everything works fine, including recycling them and all that.

  1   2   >