[android-developers] Re: Sending Email

2009-09-27 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 wrote: > I have done this.You need to remove awt dependecies

[android-developers] Re: Sending Email

2009-09-27 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 wrote: > > Jason Proctor wrote: > >> Only if you include your own SMTP co

[android-developers] Problem in Checkbox

2009-09-27 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" ,"Orga

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

2009-09-27 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] Re: Crossword Puzzle in Android

2009-09-27 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 exc

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

2009-09-27 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 un

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

2009-09-27 Thread Romain Guy
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.) On Sun, Sep 27, 2009 at 10:02 PM, Ben Roberts wrote: > > I'm trying to figure out how to properly make a custom view consisting > of a Linea

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

2009-09-27 Thread Ben Roberts
I'm trying to figure out how to properly make a custom view consisting of a LinearLayout and some children, one of which is a EditText. To make this simple, I've pared down the code to the simplest possible case. res/layout/bughunt.xml is a basic definition of a custom view; it's just a layout wi

[android-developers] How can I create and start an Instrumentation with dynamic target package ???

2009-09-27 Thread HandsomeboyIT
Hi all, Does anyone know how to create/start an Instrumentation without config in manifest file and allow to create and change the target package I want to develop a common Instrumentation class that can control any application I want. Is it a limitation when using "targetPackage" attribute

[android-developers] Re: SDK 1.6, ADT 0.9.3, Eclipse 3.4.2: Problem with Android Editors

2009-09-27 Thread Nmix
I see there were a few replies indicating that I'm not the only one with this problem. Just had some time to play with this, so I tried this: - New install of Eclipse 3.4.2 from the original download - Updated all the Eclipse components to the most recent versions - Installed ADT 0.9.3 - Created a

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

2009-09-27 Thread Rud
I agree. I wish the judging app allowed something like 5 apps to be queued on the phone. There are some I skipped because I didn't have time to explore them right now but did want to see what else is being offered. I'm hoping some of the skipped ones will reappear at some point. Rud On Sep 27,

[android-developers] Sound recording in emulator working but voice recognition is not ?

2009-09-27 Thread Amit
Hi, I am pulling my hair on this problem from a long time and haven't found a solution yet. I am running Android demo program - APIDemo which is available in android source. For my dev I am using ubuntu, earlier when I used to run SoundRecording example it created a file on sdcard but there was no

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

2009-09-27 Thread CraigsRace
Checked my server logs, 65 people have played the game. 3 people actually got up to the 4th car, so that would be about 30 mins play time (I'm impressed by this). > My application requires that users register using the application > before they can use it (probably a mistake as far as the compet

[android-developers] about the height of status bar and system title

2009-09-27 Thread peter
Hello, everyone: I want to know how to get the height of status bar and system title in current Activity. Is there any method or variable that i can use? Thank for your advance! --~--~-~--~~~---~--~~ You received this message because you are subscribed to

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

2009-09-27 Thread SizzlingSkizzorsProgrammer
how do you get the apk size??? On Sep 27, 5:10 pm, iron wrote: > Hello everyone! > > How i can get package size info - code, cache and data size? > I tried to use PackageStats, but it always returns 0. > > Right now i can get apk size and dex file size, but how i can get DATA > size? --~--~-

[android-developers] map overlay issue

2009-09-27 Thread tstanly
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, so how can I do for remove one mark only? thanks --~--~-~--~~~---~--~~ You received t

[android-developers] Re: ProgressDialog with a second thread - Screen Orientation and "back button". How to restore progress dialog?

2009-09-27 Thread Broc Seib
I have built progress bars where I had a background thread that updated my Activity via callbacks (to do GUI updates in the UI thread). I ended up using a WeakReference object to hold the callback pointer to my Activity. I have made the assumption (right or wrong) that my UI thread may be gone wh

[android-developers] what does SURFACE_TYPE_HARDWARE really mean?

2009-09-27 Thread LemonDev
In android's documents: Surface type: creates a suited to be used with DMA engines and hardware accelerators. does it mean that if i don't have hardware accelerator, this parameter has no effects? or if i want to accelerate my opengles application ,then i should use this parameter? anyone hel

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

2009-09-27 Thread Maps.Huge.Info (Maps API Guru)
> I wonder how many of the users judging the applications have submitted > their own applications and are just voting other applications down to > improve their own chances of winning... That's a rather cynical view, however, one that's probably close to the mark in a lot of cases. I've been tes

[android-developers] Re: Figured out how to debug and use JDB on the real android device ADP1.

2009-09-27 Thread fadden
On Sep 26, 3:45 am, Agus wrote: > For others who might choose to do debugging on CLI , here's how. > > http://asantoso.wordpress.com/2009/09/26/using-jdb-with-adb-to-debugg... If you just want a CLI debugger: run the stand-alone DDMS to take care of the ADB aspects, and tell jdb to attach to the

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

2009-09-27 Thread Marian Schedenig
Hi! 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 set, i.e. I want to preve

[android-developers] Missing timezone

2009-09-27 Thread Lox
Hello, The timezone for New Caledonia is missing from android. It is GMT +11 with NO daylight saving time. Android auto-detects me in NewCaledonia on my Hero but automatically uses Magadan (GMT+11) and applies +1 hour of daylight saving time to it, so, it shows the wrong time... If I manually

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

2009-09-27 Thread Moto
Hi Mark, 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... -Moto On Sep 27, 2:52

[android-developers] Re: Start the CallLog Activity via Intent

2009-09-27 Thread Matt
unfortunately that did not work either. On 28 Sep., 00:29, iPaul Pro wrote: > Intent i = new Intent(); > i.setAction(Intent.ACTION_CALL_BUTTON); > startActivity(i); > > Paul > > On Sep 25, 7:43 pm, Matt wrote: > > > Hi, > > > I have the following code in my application: > > >   Intent i = new I

[android-developers] Re: Start the CallLog Activity via Intent

2009-09-27 Thread Matt
here is the error message: Writing exception to parcel java.lang.IllegalArgumentException: Unknown URL at com.android.providers.contacts.ContactsProvider.getType (ContactsProvider.java:1668) at android.content.ContentProvider$Transport.getType (ContentProvider.java:134) at and

[android-developers] Re: Error starting tools in 1.6 on Mac OS - SOLUTION

2009-09-27 Thread pcmnac++
renaming worked fine for me (actually i made a copy of x86 folder and renamed it) On Sep 20, 1:07 am, Tushar wrote: > Re-naming does  not work. > Following error occurs: > Exception in thread "main" java.lang.UnsatisfiedLinkError: Cannot load > 32-bit SWT libraries on 64-bit JVM >         at org

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

2009-09-27 Thread Nicholas Albion
> 36 visits (80 hits) for page 1's audio. My application requires that users register using the application before they can use it (probably a mistake as far as the competition goes, but unavoidable in practice). I've had about 15 people register, and only one of those has bothered to progress p

[android-developers] Re: Extending a view class

2009-09-27 Thread Lance Nanek
What's the exception and stack trace when it crashes? You can see these by debugging, or using the "adb logcat" command. I suspect that, at the minimum, the visibility on the constructor of your View subclass needs to be changed to public so that LayoutInflator can call it. On Sep 26, 2:39 pm, j

[android-developers] Re: Get the current assigned google account

2009-09-27 Thread Jodi Middleton
There is a web side to the application I am developing. I wish to store the user's google e-mail as a easy registration option. Lots of people do use their google accounts bound to their phone. Cheers, Jodi On Sep 27, 11:04 pm, Mark Murphy wrote: > Jodi Middleton wrote: > > Has anyone found a

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

2009-09-27 Thread iron
Hello everyone! How i can get package size info - code, cache and data size? I tried to use PackageStats, but it always returns 0. Right now i can get apk size and dex file size, but how i can get DATA size? --~--~-~--~~~---~--~~ You received this message because

[android-developers] Re: Start the CallLog Activity via Intent

2009-09-27 Thread iPaul Pro
Intent i = new Intent(); i.setAction(Intent.ACTION_CALL_BUTTON); startActivity(i); Paul On Sep 25, 7:43 pm, Matt wrote: > Hi, > > I have the following code in my application: > >   Intent i = new Intent(); >   i.setAction(Intent.ACTION_VIEW); >   i.setData(android.provider.CallLog.CONTENT_URI);

[android-developers] Re: Get the current assigned google account

2009-09-27 Thread Mark Murphy
Jodi Middleton wrote: > Has anyone found a way to get the current google e-mail adderss > assigned on the phone? To be honest, why would you want it? For example, I filled in a Google email address just to get past the #$#*()#$ setup wizard, but it's an account I never use. I surely hope nobody

[android-developers] Re: Start the CallLog Activity via Intent

2009-09-27 Thread Mark Murphy
Matt wrote: > No one? I'm still trying to bring up the call log but so far without > success. Even the slightest hint could be helpful. You didn't indicate what error you got. You can find this out by examining adb logcat, DDMS, or the DDMS perspective in Eclipse, looking for the stack trace. --

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

2009-09-27 Thread Broc Seib
Perhaps a Trie data structure? On Sep 27, 2009 2:07 PM, "mjc147" wrote: That's a nice trick with the indexed column. I thought of something like that with a column I use for ordering. That column only has a few distinct values so I could split the query up on each of those values. The 30 secs

[android-developers] Get the current assigned google account

2009-09-27 Thread Jodi Middleton
Hi, Has anyone found a way to get the current google e-mail adderss assigned on the phone? I've tried doing a search for in the contacts with, but it never returns : Uri contactUri = Uri.withAppendedPath(Contacts.People.CONTENT_URI, "owner"); I have found a permssion ca

[android-developers] Re: Start the CallLog Activity via Intent

2009-09-27 Thread Matt
No one? I'm still trying to bring up the call log but so far without success. Even the slightest hint could be helpful. On 26 Sep., 01:43, Matt wrote: > Hi, > > I have the following code in my application: > >   Intent i = new Intent(); >   i.setAction(Intent.ACTION_VIEW); >   i.setData(android.

[android-developers] Re: Is it possible to update a widget from an Activity?

2009-09-27 Thread Al
I update my widget from within my app, when I delete/add entries to a list. To do this, I have a method (updateWidget) and a static String (UPDATE_ACTION). My updateWidget() method sends a broadcast which is received by the widget class and then calls onUpdate() with the appropriate params: priva

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

2009-09-27 Thread alex
>From marketing point of view guys have made a little too many mistakes to this moment. On Sep 27, 1:37 pm, Izard wrote: > As a lot of ppl (including me) skip many applications, I wonder what > would be an implication for judging? > > e.g. there are 2 programs, one got scores of 5 5 and another

[android-developers] Re: DDMS won't load (or doesn't parse?) KML file

2009-09-27 Thread tarek attia
Thn you,,really very thanks to you :)),, Ultimately It worked fine On Sun, Sep 27, 2009 at 10:52 PM, ZA_Alligator wrote: > > I found this solution on StackOverflow.com > > > http://stackoverflow.com/questions/1053721/ddms-wont-load-or-doesnt-parse-kml-file > > basically the namespace

[android-developers] Re: Getting the user's own email address

2009-09-27 Thread Jodi Middleton
I'm trying to do the same thing. Did you manage to fix this? Cheers, Jodi On Aug 13, 4:06 pm, "Jonas Petersson" wrote: > Dear experts, > > I've attempted to implement what Jeff describes below on 1.1 as well as > 1.5 (both real device and emulated), but as far as I can tell it never > succeed

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

2009-09-27 Thread prem
And you can use zoomdroid as a mouse or laser pointer too - to control the mouse on your PC. On Sep 27, 7:29 am, prem wrote: > There's one more app in category productivity/tools - ZoomRoid > -http://www.zoomdroid.net > useful for filling your forms on your computer using your phone > (forget t

[android-developers] Re: Crossword Puzzle in Android

2009-09-27 Thread Dan Sherman
http://lmgtfy.com/?q=android+drawing+basics On Sun, Sep 27, 2009 at 11:26 AM, Kwan Toh Choong wrote: > > Hi All, > > Can anyone give me a brief idea on developing a simple crossword > puzzle game with android? > I need some guideline in things like: > > 1. drawing out the boxes > 2. how do I draw

[android-developers] Re: Is it possible to update a widget from an Activity?

2009-09-27 Thread Mark Murphy
Mafian911 wrote: > Thanks for your reply. I do know how to update a widget when the user > interacts with it, for example, when a user presses a button on the > widget itself. I wanted to know if it is possible to update a widget > from *outside* the AppWidgetProvider class, say, from a broadcast

[android-developers] Re: DDMS won't load (or doesn't parse?) KML file

2009-09-27 Thread ZA_Alligator
I found this solution on StackOverflow.com http://stackoverflow.com/questions/1053721/ddms-wont-load-or-doesnt-parse-kml-file basically the namespace should read http://earth.google.com/kml/2.x";> and not http://www.opengis.net/kml/2.2";> for your kml files. I've since changed my kml files and

[android-developers] Re: You must supply a resource ID for a TextView

2009-09-27 Thread Wouter
But I declare it there and then in my runnable i do adapter.notifyDatasetChanged so the listview knows there is other data to show. This works for other adapters.. Really don't know why this isn't working. My listview with headers works, i can see the first header or sometimes more but when i scr

[android-developers] Re: Is it possible to update a widget from an Activity?

2009-09-27 Thread Mafian911
Hi Mark, Thanks for your reply. I do know how to update a widget when the user interacts with it, for example, when a user presses a button on the widget itself. I wanted to know if it is possible to update a widget from *outside* the AppWidgetProvider class, say, from a broadcast receiver that i

[android-developers] Re: You must supply a resource ID for a TextView

2009-09-27 Thread Marco Nelissen
I don't see anything obviously wrong with your code. I do notice that you apparently create the SeparatedListAdapter and then immediately call setListAdapter with it, whereas the SeparatedListAdapter sample code creates the adapter, then adds a bunch of sections to it, and then calls setListAdapte

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

2009-09-27 Thread Wouter
My ADC2 entrie for category Travel: myBuddy Travel Planner check http://slideme.org/application/mybuddy-travel-planner for more information or in the Android Market! On Sep 27, 4:29 pm, prem wrote: > There's one more app in category productivity/tools - ZoomRoid > -http://www.zoomdroid.net > u

[android-developers] Re: You must supply a resource ID for a TextView

2009-09-27 Thread Wouter
Ok i will try to explain how i generate my headers with the seperatedlistadapter.. private SeparatedListAdapter adapter; in my setupViews functions: this.adapter = new SeparatedListAdapter(this); setListAdapter(adapter); And then to retrieve my data: @SuppressWarnings("unchecked")

[android-developers] Re: Andriod and Arabic language

2009-09-27 Thread Mark Murphy
Hesham Gharib wrote: > Dear All, do you know any person/ company (within the middle east) who > are currently working in ARABIZING the android? > > please advise if you know, and here I am talking about a real > arabization, not the available emulation? > > Is Google willing to do it by itself,

[android-developers] Re: Sending Email

2009-09-27 Thread alex-droid
I've created so-far fully working version of javamail based on the source code available in the glassfish repository and some awt class from harmony. I'm not sure of what i can do with the license of what i have used to make it work but i've put all of this in a google code project : http://code.g

[android-developers] Crossword Puzzle in Android

2009-09-27 Thread Kwan Toh Choong
Hi All, Can anyone give me a brief idea on developing a simple crossword puzzle game with android? I need some guideline in things like: 1. drawing out the boxes 2. how do I draw a boxes with number label on their top right/left corner 3. how to catch a button click action whenever the user clic

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

2009-09-27 Thread Frederik Pfisterer
I am working on an application that requires an approximate position of the user, so basically i am fine with any relatively recent location data i can get. However I can't seem to get things right using mock location data and would therefore appreciate your help. The method i'm having tries to se

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

2009-09-27 Thread prem
There's one more app in category productivity/tools - ZoomRoid - http://www.zoomdroid.net useful for filling your forms on your computer using your phone (forget typing complex passwords, long URLs, etc. - just zoom the string using your phone). On Sep 13, 10:12 am, Mobidev wrote: > Its mid Sep

[android-developers] How does Gallery's "Send" Intent Work?

2009-09-27 Thread Mark Buchholz
I'm trying to setup an intent that allows users to share an Jpeg, stored in the applications file cache. Trying this: Intent i = new Intent( Intent.ACTION_SEND ); i.putExtra( Intent.EXTRA_STREAM, uri ); i.setType( "image/jpeg" ); startActivity( Intent.createChooser( i, "Where to share?" ) ); It

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

2009-09-27 Thread Maan Najjar
I think they won't end first round until they collect enough reviews for all applications. In your scenario, the first program should appear more frequently until it gets enough reviews. On Sun, Sep 27, 2009 at 6:37 AM, Izard wrote: > > As a lot of ppl (including me) skip many applications, I wo

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

2009-09-27 Thread ponkin
Recently I`ve faced the following problem: I use EditText widget on my "Log in" screen. I use EditText`s "hint" property to label that field . But when I set "Input type" property, for example, to "typePassword" (for password fields), the actual "hint" is disappearing from EditText. In Eclipse`s U

[android-developers] Andriod and Arabic language

2009-09-27 Thread Hesham Gharib
Dear All, do you know any person/ company (within the middle east) who are currently working in ARABIZING the android? please advise if you know, and here I am talking about a real arabization, not the available emulation? Is Google willing to do it by itself, or it will leave this to developers

[android-developers] Webview control is not worked!!!!!

2009-09-27 Thread RomanticCoder
Hi!! I'm a beginner of android sdk on the window platform(XP). So I tested few controls. One of them was webview Control. It was not worked. I followed the android tutorial. but i couldn't see anything on the android emulator during a pretty long time. after 5~7minutes, I could see the error l

[android-developers] Android on Samsung touch phone

2009-09-27 Thread vin
Hi All, Is it possible to install Android O/S on Samsung S800 phone? Thanks in advance for your comments Regards, Vin --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this grou

[android-developers] i can run app from home menu icon,but i donot form eclipse

2009-09-27 Thread peng
hello ,all my app run from eclipse appear"the application Tag (process com.android.dodo) has stopped unexpectedly,please try again",but i can run this app from icon in the home menu --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-developers] Scale font/typeface to fit

2009-09-27 Thread joelt
I have a box of known size and want to fill it with text (actually just one character. What's the proper code? I found this code for Swing, but haven't figured out the Android equivalent: http://www.java-forums.org/awt-swing/19053-draw-string-rectangle.html Joel --~--~-~--~~

[android-developers] equivalent of handleOpenUrl

2009-09-27 Thread josh
Can anybody point me in the right direction wrt how to open my app from a url? Basically I want to define a url schema on the phone, like "myapp://" that will open my application. Similar to the way iPhone uses handleOpenUrl. Thanks! --~--~-~--~~~---~--~~ You rec

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

2009-09-27 Thread Maan Najjar
It think too many chose not to participate because of *C&D Cyanogen*. ADC2 app is now 3.5 stars, other Google apps are getting 1-star ratings as well. I think it was bad move from Google although they have the right to do it. Even Apple chose not to poke with the dev-team. On Sat, Sep 26, 2009

[android-developers] Re: Extending a view class

2009-09-27 Thread jdekeij
I changed the xml in the following: This makes the app crash. Changing it into Makes the app run but no view on screen :-( Jasper On Sep 24, 10:21 pm, Lance Nanek wrote: > Theviewelement name in your XML needs to be entirely lower case, not > capitalized. Should be "view", not "View". Cap

[android-developers] Problem with WebView, ContentProvider and ParcelFileDescriptor.fromSocket

2009-09-27 Thread Nebehslav
Hello, Until yesterday I had a fully working application, but now, with the new 1.6 SDK release I have big problems - nothing works. What I have is: WebView, which opens url like "content:// com.myself.myprovider/myhtmlfile.html" >From the other side - ContentProvider implementation, which overr

[android-developers] Re: ADP 1 - Planning to buy ... but ... Voice Recognition , Does it work & How ?

2009-09-27 Thread ASR Labs
Android has a speech recognizer ( SREC ). You can find documentation for this application in google. www.netmite.com/android/mydroid/.../srec/doc/UAPI_Design.pdf Luis http://www.asrlabs.com --~--~-~--~~~---~--~~ You received this message because you are subscrib

[android-developers] App Android Compiler... to android

2009-09-27 Thread mastermanson
hey guys you know a compiler to android to use in android? like a one app? Example i create a hadouken.java in googlenotes download to my sd card (in my smartphone) and runs a app compiler(on my smarthphone) and generate my bytecode to dalvik and... BINGO xD i create my app for android on an

[android-developers] I can't see anything on the webview control

2009-09-27 Thread RomanticCoder
First, I'd like to let you know that i can use internet on the android emulator So, I just used webview control to see the internet. But There was a white background and I can't see anything. You might ask me about setting manifest .. well, i already make it setup So i checked LogCat ..

[android-developers] Re: customized radiobutton

2009-09-27 Thread Elliot Schwartz
I think there are two options: - use android:button to override the radio button with your image - set android:button to @null and then the radio button will go away and you'll be able to see your image. Regards, elliot On Sep 25, 4:02 pm, jonathan wrote: > I tries to modify the look of radiob

[android-developers] Re: get checked items form list

2009-09-27 Thread Boozel
I am using 1.5. i'm not sure why it isnt working. this is my code: final CharSequence[] tags = {"first", "2nd", "third"}; boolean[] f=new boolean[tags.length]; final AlertDialog.Builder builder = new AlertDialog.Builder(this);

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

2009-09-27 Thread Mark Murphy
Moto wrote: > Are widgets currently not supporting any type of custom components? > I've tried creating a very simple custom TextView component and it > does not work when displaying the widget. By "widget", do you mean app widgets (things that go on the home screen)? If so, then no, app widgets

[android-developers] Re: get checked items form list

2009-09-27 Thread Mark Murphy
Boozel wrote: > the complier underlines the getListView() section and gives the error > "the method getListView() is undefined for the type AlertDialog" http://d.android.com/reference/android/app/AlertDialog.html#getListView() That method has been around since Android 1.5. If you are targeting a

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

2009-09-27 Thread schwiz
only way I know how to close an activity is pressing the back button on the phone or calling finish() from the activity. I guess you could try to make some kind of public static function in the activity that calls finish? But you may just want to rethink opening so many activities in the first p

[android-developers] Re: get checked items form list

2009-09-27 Thread Boozel
the complier underlines the getListView() section and gives the error "the method getListView() is undefined for the type AlertDialog" On Sep 27, 8:26 pm, Mark Murphy wrote: > Boozel wrote: > > can someone tell me what code i'd use to get what checkboxes are > > checked when i press the ok butto

[android-developers] Widgets and custom components?

2009-09-27 Thread Moto
Are widgets currently not supporting any type of custom components? I've tried creating a very simple custom TextView component and it does not work when displaying the widget... Also, can we use the animation classes in widgets? Thanks, -Moto --~--~-~--~~~---~--~

[android-developers] Re: get checked items form list

2009-09-27 Thread Mark Murphy
Boozel wrote: > can someone tell me what code i'd use to get what checkboxes are > checked when i press the ok button for the code below. > Any help would be great. > Thanks. > > inal CharSequence[] tags = {"first", "2nd", "third"}; > boolean[] f=new boolean[tags.length]; >

[android-developers] GPS>>Upload .kml files doesn't work !!!!

2009-09-27 Thread tarek.attia
Hi , I do have a problem which prevents me from many applications,,when I upload a .kml into the debugger and press the button load kml nothing changes and it ignores me ..however it workd\s fine when i upload the Long. && the Lat. manually.. please anybody Help. Thanks in Advance && appreciate

[android-developers] Re: You must supply a resource ID for a TextView

2009-09-27 Thread Marco Nelissen
On Sun, Sep 27, 2009 at 6:01 AM, Wouter wrote: > > > > On 26 sep, 19:10, Marco Nelissen wrote: >> On Sat, Sep 26, 2009 at 6:20 AM, Wouter wrote: >> >> > When i look at the sample from the seperatedlistadapter i see this: >> >> > # @Override >> > #     public void onCreate(Bundle icicle) { >> >

[android-developers] get checked items form list

2009-09-27 Thread Boozel
can someone tell me what code i'd use to get what checkboxes are checked when i press the ok button for the code below. Any help would be great. Thanks. inal CharSequence[] tags = {"first", "2nd", "third"}; boolean[] f=new boolean[tags.length]; AlertDialog.Builder

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

2009-09-27 Thread Boozel
can anyone help? On Sep 23, 10:09 pm, Boozel wrote: > Hi > Is there anyway to close one activity from another? > I want to go through a whole bunch of activities once i get to the > last one close all the previous ones. i cant close them as i move on > to the next one because i want to be able t

[android-developers] Re: Soft Keyboard

2009-09-27 Thread Eric Carman
In my situation, where I've used a series of custom views that don't force the soft keyboard to display, I'm playing with the following to allow the user to bring it up. View.OnLongClickListener mLongClickListener = new View.OnLongClickListener() { @Override

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

2009-09-27 Thread Agus
no On Sun, Sep 27, 2009 at 9:04 AM, Chris wrote: > > Hi, > > is there a possbility to update ones ADC2 entry in case it gets into > the second round? I e.g. found a stupid bug that I would like fixed if > the app gets further into ADC2 second round. > > Thanks, > Chris > -- > SomaView - Augmente

[android-developers] Updating ADC2 entry in second round

2009-09-27 Thread Chris
Hi, is there a possbility to update ones ADC2 entry in case it gets into the second round? I e.g. found a stupid bug that I would like fixed if the app gets further into ADC2 second round. Thanks, Chris -- SomaView - Augmented reality for Android that just works! --~--~-~--~~---

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

2009-09-27 Thread Mark Murphy
Walles wrote: > I have a WebView that I've asked to load a page using webView.loadUrl > (). > > How do I get a notification when the WebView has completed loading + > rendering the requested page? Step #1: Implement a custom subclass of WebViewClient, overriding onPageFinished() and putting in t

[android-developers] WebView onLoadComplete()?

2009-09-27 Thread Walles
I have a WebView that I've asked to load a page using webView.loadUrl (). How do I get a notification when the WebView has completed loading + rendering the requested page? The closest I've gotten is webView.getProgress(), but I'd like to be notified rather than having to poll for that value to

[android-developers] Re: A new way to promote and manage your Android Applications!

2009-09-27 Thread sheik ahmed
thanks fro ur response .. and adding to ur site .. regards sheik --~--~-~--~~~---~--~~ 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 u

[android-developers] EditText

2009-09-27 Thread Shawn Brown
Hi, What would be a good approach to modifying user input in the NotesList sample application. In the NoteEditor class, android.widget.EditText is used to let user's input their notes. Would subclassing android.widget.EditText or rewriting the NoteEditor class be a better approach so that I cou

[android-developers] Re: ACTION_GET_CONTENT and Gallery

2009-09-27 Thread Christine
thanks. On Sep 24, 9:04 pm, "Justin (Google Employee)" wrote: > Take a look > athttp://developer.android.com/reference/android/media/MediaScannerConn... > > Cheers, > Justin > Android Team @ Google > > On Sep 24, 6:55 am,Christine wrote: > > > My app takes a picture and stores it either on the

[android-developers] Re: You must supply a resource ID for a TextView

2009-09-27 Thread Wouter
On 26 sep, 19:10, Marco Nelissen wrote: > On Sat, Sep 26, 2009 at 6:20 AM, Wouter wrote: > > > When i look at the sample from the seperatedlistadapter i see this: > > > # @Override > > #     public void onCreate(Bundle icicle) { > > #         super.onCreate(icicle); > > # > > #         List> s

[android-developers] Re: WikiNote -apps-for-android build error

2009-09-27 Thread Shawn Brown
> Java Model Exception: Java Model Status [gen [in WikiNotes] does not exist] Hmmn, I can though generate an unsigned app and sign it manually. Other Android projects are able to do it via eclipse so why it fails is beyond me. Shawn --~--~-~--~~~---~--~~ You rec

[android-developers] Re: How to make an activity destory when user presses 'Back button?

2009-09-27 Thread Lance Nanek
If you are asking for testing purposes, there's a setting in the Dev Tools app on the emulator called "Immediately destroy activities" that might help: http://developer.android.com/intl/fr/guide/developing/debug-tasks.html That said, it seems to happen immediately on my 1.5 phone and emulator eve

[android-developers] Re: Now ADC2 judging has begun.

2009-09-27 Thread dka
I'm missing a way to add a short comment to my review, because I had several applications to review that just crashed - so what to do about it? I tried to rate the "Originality of Concept" from the description, but couldn't tell anything about the rest (on T-Mobile G1). Is there any fair way to tr

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

2009-09-27 Thread Carl Whalley
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 they are called twice, unless I've missed something. To test, see the log aft

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

2009-09-27 Thread Izard
As a lot of ppl (including me) skip many applications, I wonder what would be an implication for judging? e.g. there are 2 programs, one got scores of 5 5 and another of 5 5 5 1. Average for the first is 5, and for the second is 4. But second got a higher score from more ppl. Which would win in t

[android-developers] Re: How to make an activity destory when user presses 'Back button?

2009-09-27 Thread Anonymous Anonymous
finish(); On Sun, Sep 27, 2009 at 1:24 PM, Mark Murphy wrote: > > hap 497 wrote: > > When I currently have my activity on the font of the screen, how can I > > make Android to 'destory' my activity when user clicks 'back' button? > > (i.e. onDestory of my Activity gets called)? > > It does that a

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

2009-09-27 Thread sleith
Hi, thanks Mark for your advice, that's a nice input from you :) On Sep 27, 5:26 pm, Mark Murphy wrote: > sleith wrote: > > i've tested when the phone screen is off, the service is still > > running, but when the service try to start intent, the screen is still > > not shown because it's off. wh

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

2009-09-27 Thread Mark Murphy
sleith wrote: > i've tested when the phone screen is off, the service is still > running, but when the service try to start intent, the screen is still > not shown because it's off. when the screen is on again, i can see the > intent that was launched by service. > is there any way to make the scr

[android-developers] Re: Inertial Sensor on HTC Hero

2009-09-27 Thread LVMH
Does anyone work with sensors on Android have any go around to solve this problem? On Sep 25, 5:15 pm, LVMH wrote: > Hello, > > I am trying to develop an indoor inertial navigation system on the HTC > hero with the built-in accelerometer and digital compass. > > As far as I know about hardware,

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

2009-09-27 Thread sleith
Hi, thanks for your fast response :D how about the questions number 1? i've tested when the phone screen is off, the service is still running, but when the service try to start intent, the screen is still not shown because it's off. when the screen is on again, i can see the intent that was launch

  1   2   >