[android-developers] DexClassLoader Feature in the Cupcake

2009-03-24 Thread Asif k
Hi all, Can anyone please provide some information regarding the reflection API DexclassLoader, which will be includeed in cupcake release?? In the latest development of the cupcake, whether this feature is added or still to be done?? I f already included then any reference which will expl

[android-developers] Re: How to show my ProgressBar

2009-03-24 Thread iDeveloper
Make use of Handlers to tell the main thread when the other thread has stopped or completed its task. final Handler handler = new Handler() { @Override public void handleMessage(Message message) { //do something here. Will be done on main thread } }; Use

[android-developers] Re: How to show my ProgressBar

2009-03-24 Thread guishenl...@gmail.com
I still have some question on it. If I put the backgroundWork() in another thread, how can the main UI thread know background thread has finished? And how to pause the main UI thread to wait for backgroundWork(). On Mar 25, 12:44 pm, Marco Nelissen wrote: > The problem is that your 'backgroundWo

[android-developers] How can I encrypt and decrypt the data

2009-03-24 Thread manoj
Hi, I want to write an app which encrypts the data and decrypts it into original data. But I dont know how to do it. can any one please guide me how to do it. if possible please show me some example. Thanks, Manoj. --~--~-~--~~~---~--~~ You received this messag

[android-developers] Drawable or Uri for Notification icon

2009-03-24 Thread android_dev
The Notification API allows to set a drawable resource id for the icon of a notification. This drawable resource id is used to put the icon in the status bar and in the expanded window shade. This is a limitation if the icon images are to be represented by a Drawable or from a content provider at

[android-developers] Re: how can i check landscap orientation ?

2009-03-24 Thread suhas gavas
Hi make use of sensorListener and it will work . i have used the same .. when u use sensorlistener and sensormanager in ur view it has got an override method as onSizeChanged which return the width and height. so using change in size u will get the orientation Below is a co

[android-developers] how can i check landscap orientation ?

2009-03-24 Thread Suman
Hi Many thanks for replies. I actually want to do something if the screen orientation is landscap. Am trying something like this... if(getRequestedOrientation()== landscap) { { But it was not working. So if the way is correct then please tell me

[android-developers] Re: Drop entire database?

2009-03-24 Thread gudujarlson
I found the answer to my own question. http://developer.android.com/reference/android/content/Context.html#deleteDatabase(java.lang.String) The context class is not where I would expect to find the function to delete a SQLite database. Wouldn't it be more intuitive to have this function on the S

[android-developers] Re: Screen Orientation.

2009-03-24 Thread for android
Does that mean from the DisplayMetrics we need to check from the height and width? On Wed, Mar 25, 2009 at 10:55 AM, Dianne Hackborn wrote: > That returns the orientation mode your activity has requested. The actual > current orientation is in getResources().getDisplayMetrics(). > > On Tue, Mar

[android-developers] Re: Multiplayer game

2009-03-24 Thread suhas gavas
Hi Robert, Thnxs for the reply ... ur suggestion is also good My multiplayer game will consist of 2 players and yes one will host and other will act as a client also data will be send like player position also my code runs pretty fast problem is that i m no

[android-developers] Re: How to show my ProgressBar

2009-03-24 Thread guishenl...@gmail.com
Thank you for your reply! On Mar 25, 12:44 pm, Marco Nelissen wrote: > The problem is that your 'backgroundWork()" method is not actually > running in the background, but in the main UI thread. You'll need to > do the work in a separate thread. > > On Tue, Mar 24, 2009 at 8:02 PM, guishenl...@gm

[android-developers] Re: Screen Orientation.

2009-03-24 Thread Dianne Hackborn
That returns the orientation mode your activity has requested. The actual current orientation is in getResources().getDisplayMetrics(). On Tue, Mar 24, 2009 at 10:01 PM, for android wrote: > getRequestedOrientation() > > > On Wed, Mar 25, 2009 at 9:34 AM, Suman wrote: > >> >> Hi all...

[android-developers] Anyone interested in joining an Android Developers Group on Linkedin?

2009-03-24 Thread atea...@gmail.com
You may join this group by going to the following link: http://www.linkedin.com/e/gis/86481/4DA362688A87 This group is a place for Android Developers to share, learn, and network. The resource for connecting professionals with experience in developing, selling, marketing, managing, supporting an

[android-developers] [Text : auto-punctuate and auto-replace]

2009-03-24 Thread Morris
Hi All: These two functions are not workable. I already enable them on "Setting -> Text&Locale". Please tell me why they are? I also trace the code (TextKeyListener.java) but I couldn't find the root cause. Thanks a lot. Morris --~--~-~--~~~---~--~~ You received t

[android-developers] Re: Alpha Buffer support on G1

2009-03-24 Thread Anton
Looking further into this, I've found that there is considerable reference to RGBA_ type pixel formats in the source for the SurfaceFlinger, BlitHardware and even libagl/egl.cpp. And there are valid configs in egl.cpp that match what I'm seeing returned. All of this makes me think that i

[android-developers] Re: Screen Orientation.

2009-03-24 Thread for android
getRequestedOrientation() On Wed, Mar 25, 2009 at 9:34 AM, Suman wrote: > > Hi all... > > >Thanks for replies. Can any one tell me by which > method i can check the screen orientation? I mean i want to check > whether it is land-scap mode or portrait mode. Thanks in a

[android-developers] Re: MediaPlayer fails with LocalSocket

2009-03-24 Thread Marco Nelissen
The file descriptor used for a MediaPlayer must be seekable, which a socket is not. On Tue, Mar 24, 2009 at 3:22 AM, Pawel Defee wrote: > > > Trying to set a file descriptor originating from a LocalSocket on a > MediaPlayer fails in Android, both the SDK emulator and the actual > devices. > > T

[android-developers] Re: How to show my ProgressBar

2009-03-24 Thread Marco Nelissen
The problem is that your 'backgroundWork()" method is not actually running in the background, but in the main UI thread. You'll need to do the work in a separate thread. On Tue, Mar 24, 2009 at 8:02 PM, guishenl...@gmail.com wrote: > > I want to show a ProgressBar while doing some background op

[android-developers] Drop entire database?

2009-03-24 Thread gudujarlson
I have an automated test that creates a SQLite database. In the setup of the test I want to drop the database if it already exists. The problem is that I cannot find a function that deletes/drops a database. That seems like an odd omission. Help? --~--~-~--~~~---~--~-

[android-developers] Screen Orientation.

2009-03-24 Thread Suman
Hi all... Thanks for replies. Can any one tell me by which method i can check the screen orientation? I mean i want to check whether it is land-scap mode or portrait mode. Thanks in advance. Suman. --~--~-~--~~~---~--~~ You received

[android-developers] JUnit on the emulator without instrumentation

2009-03-24 Thread gudujarlson
I would like to write, run, and debug JUnit tests that test non-GUI code that has dependencies on the Android SDK. Is there a simple way to do that? I'm aware of the instrumentation mechanism, but that seems to be geared towards testing GUI code. It is also unclear how to use the instrumentation m

[android-developers] Re: How to login to the root of Android Dev Phone 1?

2009-03-24 Thread havexz
well i am able to access the folder but still unable to get the files out to local system .. the following is the snap shot. Here i had run the "su" command and the prompt changes from $ to # # pull pull pull: not found # help help help: not found # On Mar 24, 1:28 am, havexz wrote: > THANK

[android-developers] Re: How do I pass data in an intent from an activity started from the launcher?

2009-03-24 Thread me tun
How about I add a half screen theme and interpret it from that (perhaps via the history record class)? i.e: android:theme="@android:style/Theme.HalfScreen" How would one go about creating their own theme? On Mar 25, 11:59 am, me tun wrote: > That's right, it's a nice group here :) > > On Mar 2

[android-developers] How can I get the near by information such as the hotels,shopes.etc by using latidute and longitude?

2009-03-24 Thread david05software
I want to get the nearby information such as hotels, shopes,and .etc by the lat and lgt. Could I get them not just see thenm on the map? Thanks a lot --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers

[android-developers] How to show my ProgressBar

2009-03-24 Thread guishenl...@gmail.com
I want to show a ProgressBar while doing some background operation, but my code seems not to work. I hope someone can help me to solve this problem. Thank you in advance!Here is my code and explanation : public boolean onMenuItemSelected(int featureId, MenuItem item) { switch(item.getIte

[android-developers] Re: Persistent Data using the Emulator

2009-03-24 Thread godsy...@gmail.com
Well I figured out how to make this work. I was doing the store in the onDestroy routine. Perhaps the class that I was calling for reference data probably had its data cleared out? Anyway, when I moved the store request within the main runtime area it started working. On Mar 22, 5:32 pm, "gods

[android-developers] getting the system wallpapers, is it possible?

2009-03-24 Thread Reynolds
Please bear with me as I'm still grasping the SDK... I just want to ask. I wanted to get all the wallpapers (those that are built-in with Android phone), and copy/save it, or perhaps display it on my app. Sort of a wallpaper gallery that merges both the built-in wallpaper and the custom ones that

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-24 Thread Pd
Just need to lift this wool up so I can have a really good look at this thread! :-) Just joking ... ... but joking aside, looks like we won't get a version of the cupcake branch any time soon so ... ... can i have the vodafone version then? ;-) OTA ofcourse :-) and what's with all the dots

[android-developers] Re: How to fix landscape mode when boot on device?

2009-03-24 Thread Vika
OK, thanks your kindly response~~ On 3月25日, 上午3時31分, Dianne Hackborn wrote: > If you want to modify how the device boots, you are in the wrong group. The > android-platform group is for talking about platform work. > > > > On Tue, Mar 24, 2009 at 5:33 AM, Vika wrote: > > > Hi all, > > I am ne

[android-developers] Local and Remote Services

2009-03-24 Thread Vipul Sagare
After spending few days with Services API, here are some of my questions. I would appreciate your answers and any leads to blogs/postings. I have already gone through API reference and APIDemos for AlarmService, LocalService, and RemoteService. - Are there any good sample applications for ea

[android-developers] Re: How do I pass data in an intent from an activity started from the launcher?

2009-03-24 Thread me tun
That's right, it's a nice group here :) On Mar 25, 11:57 am, Mark Murphy wrote: > me tun wrote: > > I had already tried Mark's way (great book btw) > > Thanks! > > > which does work but > > isn't quite an elegant solution nor is it exactly what I'm trying to > > achieve. > > Oh, well. In these s

[android-developers] Re: How do I pass data in an intent from an activity started from the launcher?

2009-03-24 Thread Mark Murphy
me tun wrote: > I had already tried Mark's way (great book btw) Thanks! > which does work but > isn't quite an elegant solution nor is it exactly what I'm trying to > achieve. Oh, well. In these support forums, it's win a few, lose a few. -- Mark Murphy (a Commons Guy) http://commonsware.com

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-24 Thread AndroidApp
Let us have a beta version for god sake... On Mar 24, 12:11 pm, roland wrote: > Totally agree, Apple just release their 3.0 SDK beta for who has > purchased iPhone Developer Program. The final version comes in June, > so iphone developer has 3 months to familiar the new OS and let their > applic

[android-developers] Re: How do I pass data in an intent from an activity started from the launcher?

2009-03-24 Thread me tun
Yeah, I understand, there would be a flow however if my app had a flag in it that requested the application to take up only half the screen or something. I think? I had already tried Mark's way (great book btw) which does work but isn't quite an elegant solution nor is it exactly what I'm trying

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-24 Thread Stoyan Damov
On Wed, Mar 25, 2009 at 2:45 AM, Dianne Hackborn wrote: > On Tue, Mar 24, 2009 at 5:04 PM, Stoyan Damov > wrote: >> >> Android engineers say there's no date for cupcake, 1.5 SDK, etc., yet >> there is this video of what appears to NOT be an Android 1.1 phone, >> AND Vodaphone claims it will star

[android-developers] Re: How do I pass data in an intent from an activity started from the launcher?

2009-03-24 Thread Dianne Hackborn
On Tue, Mar 24, 2009 at 4:52 PM, me tun wrote: > Does this mean I essentially cannot initialize my application with any > data I want to pass to it this way? It seems very strange? The user installed your app. Its icon showed up in the launcher. They tapped on the icon. There is nowhere in

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-24 Thread Dianne Hackborn
On Tue, Mar 24, 2009 at 5:04 PM, Stoyan Damov wrote: > Android engineers say there's no date for cupcake, 1.5 SDK, etc., yet > there is this video of what appears to NOT be an Android 1.1 phone, > AND Vodaphone claims it will start selling them this April. You can download the current tree and r

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-24 Thread Simon Depiets
French or not french i had it in my hands aswell and it was working, and our vodafone related network had 5-6 "trial" devices with the same configuration. 2009/3/25 Stoyan Damov : > > OK, I don't understand French, but someone is lying and it's not us, > developers. > > Android engineers say th

[android-developers] Re: can we change the resolution of images taken by camera

2009-03-24 Thread Mark Murphy
cindy wrote: > The image size is about 1mg, which takes long time to transfer to > server in 3G network. How can I reduce the resolution of image ? Is > there any parameter we can set before taken picture? Camera.Parameters has setPictureSize(). Camera has setParameters(). I haven't tried this, b

[android-developers] Re: How do I pass data in an intent from an activity started from the launcher?

2009-03-24 Thread me tun
Thanks, you've been a great help. I understand that there is another list for framework discussion but I thought there would be a way to do it via the SDK so I asked here. Cheers everyone! On Mar 25, 11:20 am, Mark Murphy wrote: > me tun wrote: > > OK, time to come clean, I know people who "ar

[android-developers] Re: How do I pass data in an intent from an activity started from the launcher?

2009-03-24 Thread Mark Murphy
me tun wrote: > OK, time to come clean, I know people who "are hacking the framework" > are not generally well received around here... It's more that there are other lists for those who "are hacking the framework": http://source.android.com/discuss > But when we launch an activity we want to pa

[android-developers] Re: Fling on ListView

2009-03-24 Thread Lucius Fox
Thanks. Is it possible to put multiple ListViews inside a Gallery so that I can have each ListView handles the vertical flings and the Gallery handles horizontal flings (scrolls from 1 ListView to another ListView). Thank you again. On Tue, Mar 24, 2009 at 3:54 PM, Romain Guy wrote: > > What's

[android-developers] Re: How do I pass data in an intent from an activity started from the launcher?

2009-03-24 Thread me tun
OK, time to come clean, I know people who "are hacking the framework" are not generally well received around here... But when we launch an activity we want to pass some data (lets say FULL_SCREEN / HALF_SCREEN) and we want the activity to start in full screen or half screen. Is this possible? O

[android-developers] can we change the resolution of images taken by camera

2009-03-24 Thread cindy
The image size is about 1mg, which takes long time to transfer to server in 3G network. How can I reduce the resolution of image ? Is there any parameter we can set before taken picture? Thanks! Cindy --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] How does android decide which drawable to use when a widget has focus

2009-03-24 Thread Meryl Silverburgh
Hi, I have selector drawable for my widget. But for some reason, the focused drawable (specified below) is not shown. When I use hierarchyViewer, it does show my widget has focus (the 'hasFocus' is true). And its parent has Focus too and its grand parent has Focus. My question is why andorid i

[android-developers] Re: How do I pass data in an intent from an activity started from the launcher?

2009-03-24 Thread Mark Murphy
me tun wrote: > Does this mean I essentially cannot initialize my application with any > data I want to pass to it this way? It seems very strange? Each activity usually only has one icon in the launcher. There is nothing to pass in that you could not just as easily have encoded into the activit

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-24 Thread Stoyan Damov
OK, I don't understand French, but someone is lying and it's not us, developers. Android engineers say there's no date for cupcake, 1.5 SDK, etc., yet there is this video of what appears to NOT be an Android 1.1 phone, AND Vodaphone claims it will start selling them this April. WTF??? On Wed,

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-24 Thread Eric Wong (hdmp4.com)
Someone did compiled the cupcake sometime back and release an unofficial SDK 1.5... (how come no one mentioned this in the entire thread...) Search the group for SDK 1.5 Cheers Eric --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: How do I pass data in an intent from an activity started from the launcher?

2009-03-24 Thread me tun
LOL sorry, that was about as clear as before: I meant the user pressing the app icon :) On Mar 25, 10:52 am, me tun wrote: > Yeah, I mean starting the application from the launcher! > > Does this mean I essentially cannot initialize my application with any > data I want to pass to it this way?

[android-developers] Re: How do I pass data in an intent from an activity started from the launcher?

2009-03-24 Thread me tun
Yeah, I mean starting the application from the launcher! Does this mean I essentially cannot initialize my application with any data I want to pass to it this way? It seems very strange? Anyway, thanks heaps for your help, it's really appreciated. On Mar 25, 10:41 am, Dianne Hackborn wrote: >

[android-developers] Re: Alternate resources

2009-03-24 Thread Dianne Hackborn
You don't need to copy. Resources that have no configuration specified are the last resort fallback; when looking for a resource, the system first tries to find one that has most matching the current config, and will fall back on more and more general resources until one is found. On Tue, Mar 24,

[android-developers] Re: How do I pass data in an intent from an activity started from the launcher?

2009-03-24 Thread Dianne Hackborn
I'm not really understanding. When you say "I start my application from the launcher," do you mean you as a user pressing the app icon? If so, there is nothing you can add -- the launcher just starts you with a MAIN action intent. You can't modify what that will be. If you are talking about add

[android-developers] Re: Multiple ListViews in one Activity

2009-03-24 Thread Wouter
Sorry forget to say that the error was in the fillText function and started here: flightno.setText(flight.getString( flight.getColumnIndexOrThrow (flightDbAdapter.KEY_FLIGHTNO))); On Mar 25, 12:32 am, Wouter wrote: > ok I have figured out how i can get different

[android-developers] Re: Multiple ListViews in one Activity

2009-03-24 Thread Wouter
ok I have figured out how i can get different actions but i have another problem now. I have, like i already said, a list of flights.. when i click on a item in the list : @Override protected void onListItemClick(ListView l, View v, int position, long id) {

[android-developers] Re: How do I pass data in an intent from an activity started from the launcher?

2009-03-24 Thread me tun
Thanks Dianne, I'm not sure if I have been completely clear. When I start my application from the launcher, I want to pass it some of my own data (left or right for example) if I'm talking about handedness... How do I go about doing this? I've tried passing it as above but it doesn't seem to wo

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-24 Thread roland
Here is a video of HTC Magic (French version) http://www.mobinaute.com/265180-videonaute-htc-magic-android-google.html On 24 mar, 19:46, "Al Sutton" wrote: > The problem is that 1.1 was the most recent and the concern is that as the > latest release has a "device then SDK" order this may be see

[android-developers] Re: PreferenceScreen Close

2009-03-24 Thread Noam
Anyone please? --~--~-~--~~~---~--~~ 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-

[android-developers] Re: Fling on ListView

2009-03-24 Thread Romain Guy
What's a "hort. fling"? Horizontal? ListView does not need horizontal flings and therefore does not detect them nor does it notify of them. On Tue, Mar 24, 2009 at 3:37 PM, Lucius Fox wrote: > > Thanks.  Is there a hook for application to get notified when users > perform a hort. fling? > > I se

[android-developers] Alternate resources

2009-03-24 Thread Gaurav
While using alternate resources do we need to copy those resources that are not different for different configurations as well. For example: My application has two different layouts a.xml and b.xml. Only b.xml is different for landscape mode, a.xml works for all modes. Is it sufficient to have r

[android-developers] Re: Fling on ListView

2009-03-24 Thread Lucius Fox
Thanks. Is there a hook for application to get notified when users perform a hort. fling? I see code in AbsListView which handles the vertical fling, but i don't know it does hort fling. And why the OnScrollListener does not listen for hort. fling either? On Tue, Mar 24, 2009 at 11:06 AM, Ro

[android-developers] Re: Delete SMS messages from SIM card

2009-03-24 Thread mark . kahrl
Anyone, anyone? Bueller? ... I'll answer my own question, I'll try using the uri content://sms/sim On Mar 20, 1:14 pm, mark.ka...@gmail.com wrote: >   That is programmatically delete messages from the SIM card... > > On Mar 20, 12:58 pm, Mark K wrote: > > > > >     Anyone know how to delet

[android-developers] Re: Bug in UK i18n?

2009-03-24 Thread Dan Morrill
Oops. Yes, the document is wrong. Sorry about that. We'll get it fixed. - Dan On Tue, Mar 24, 2009 at 1:51 PM, Michael Bollmann < michael.bollm...@googlemail.com> wrote: > > yep that was the problem > thank you very much > > this document talks about "Locale Code en-UK": > > http://groups.goog

[android-developers] Re: Multiple ListViews in one Activity

2009-03-24 Thread Wouter
Ok.. But what can i do with getItem like you said? On Mar 24, 9:55 pm, Mark Murphy wrote: > If you cannot figure out how to use the SeparatedListAdapter, or where > it may need to be extended to help you achieve your ends, find some > other UI pattern you are more comfortable with. > > > > Wout

[android-developers] Re: Accelerometer or orientation for rolling ball code?

2009-03-24 Thread deepdr...@googlemail.com
aren't accelerometer and orientation sensor one and the same thing? -- http://www.deepdroid.com On Mar 23, 11:20 pm, Carl Whalley wrote: > If I'm reading things right, the accelerometer measures physical > forces (i.e. movement) and the orientation sensor gives the tilt of > the handset. If yo

[android-developers] Re: Multiple ListViews in one Activity

2009-03-24 Thread Mark Murphy
If you cannot figure out how to use the SeparatedListAdapter, or where it may need to be extended to help you achieve your ends, find some other UI pattern you are more comfortable with. Wouter wrote: > How? if i want to delete a item in my list what do i have to do with > getItem? > for example

[android-developers] Open GMail Attachments with my app

2009-03-24 Thread sdz
Hi, I've managed with INTENTS to open files with certain mime types from the Download-Manager for example. Unfortunately I'm not able to open the attachments from GMail-App with my application. How can I achieve that? Thanks --~--~-~--~~~---~--~~ You received thi

[android-developers] Re: Multiple ListViews in one Activity

2009-03-24 Thread Wouter
How? if i want to delete a item in my list what do i have to do with getItem? for example I have a delete option in my OptionsMenu: This was my original code: public boolean onOptionsItemSelected(MenuItem item) { switch (item.getItemId()) { case DELETE_ID: Cur

[android-developers] Re: Bug in UK i18n?

2009-03-24 Thread Michael Bollmann
yep that was the problem thank you very much this document talks about "Locale Code en-UK": http://groups.google.com/group/android-developers/web/localizing-android-apps-draft is this document wrong or is there some difference between android locale code and iso locale code? On 24 Mrz., 19:01,

[android-developers] Re: Multiple ListViews in one Activity

2009-03-24 Thread Mark Murphy
Wouter wrote: > Ok i have integrated it now in my applications. It works now to show > the 2 lists as one 1 list with seperated headers. > But now, how can i determine which list is was, to integrate my > seperated actions? > I have a lists for flights and hotels (for example). When i click on a

[android-developers] Re: Image from internet won't display.

2009-03-24 Thread Mark Murphy
murphy wrote: > Do you mean put the setContentView() before findViewById()? I tried > that but it still comes up blank. Sorry if I'm not understanding you. All I can tell you is that having setContentView() in a button's click handler is a "code smell". Having more than one setContentView() in an

[android-developers] Re: Image from internet won't display.

2009-03-24 Thread murphy
Do you mean put the setContentView() before findViewById()? I tried that but it still comes up blank. Sorry if I'm not understanding you. On Mar 24, 7:49 pm, Mark Murphy wrote: > murphy wrote: > > Hi all, I'm trying to get animagetodisplayfrom aninternetsource > > but nothing it coming up on my

[android-developers] Re: Multiple ListViews in one Activity

2009-03-24 Thread Wouter
Ok i have integrated it now in my applications. It works now to show the 2 lists as one 1 list with seperated headers. But now, how can i determine which list is was, to integrate my seperated actions? I have a lists for flights and hotels (for example). When i click on a item in the flight list

[android-developers] Re: Image from internet won't display.

2009-03-24 Thread Mark Murphy
murphy wrote: > Hi all, I'm trying to get an image to display from an internet source > but nothing it coming up on my screen. After the button click which > calls the code I am presented with a blank screen. The code I'm using > is: > > try { > URL url = new URL("http://cod

[android-developers] Image from internet won't display.

2009-03-24 Thread murphy
Hi all, I'm trying to get an image to display from an internet source but nothing it coming up on my screen. After the button click which calls the code I am presented with a blank screen. The code I'm using is: try { URL url = new URL("http://code.google.com/android/ imag

[android-developers] Refresh of MapView

2009-03-24 Thread Android_Learner
Hi, I have created map view using XML layout in MapActivity and want to use this map view in another Activity group. I got mapview object in Acitivity group using GetWindow.Decorview(), MAP view is also displayed in the same layout of Activity Group. But without any image, only white background

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-24 Thread Al Sutton
Dave, To me there is a world of difference between a "what we want but won't guarentee" statement and commitment that something will happen We all have things we want to happen, what we need is someone to step up to the plate, take responsibility, and deliver. Al. - Original Message -

[android-developers] Re: Help connecting localhost to android app

2009-03-24 Thread talha rahman
you are a legend david!! 2009/3/24 David Turner > Connect to 10.0.2.2 which is the "magic" address in the emulator to connect > to your host machine's localhost. > > See the emulator documentation for more details. > > > On Tue, Mar 24, 2009 at 9:51 AM, talha.rahma...@googlemail.com < > talha.ra

[android-developers] Question about one application requiring another application or service

2009-03-24 Thread Streets Of Boston
Hi everyone, I'm writing an app that needs one or more applications/services that are distributed with their own seperate apk file. I'm writing a user-app that allows the user to upload pics using a service. The service can be used by multiple user-apps, not just mine. I'd like to have the servi

[android-developers] Re: How to fix landscape mode when boot on device?

2009-03-24 Thread Dianne Hackborn
If you want to modify how the device boots, you are in the wrong group. The android-platform group is for talking about platform work. On Tue, Mar 24, 2009 at 5:33 AM, Vika wrote: > > Hi all, > I am newly with android development, > There are some question bother me. > How to fix landscape mode

[android-developers] Re: Help connecting localhost to android app

2009-03-24 Thread David Turner
Connect to 10.0.2.2 which is the "magic" address in the emulator to connect to your host machine's localhost. See the emulator documentation for more details. On Tue, Mar 24, 2009 at 9:51 AM, talha.rahma...@googlemail.com < talha.rahma...@googlemail.com> wrote: > > > Hi i am trying to build an a

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-24 Thread David Turner
Al, On Tue, Mar 24, 2009 at 10:05 AM, Al Sutton wrote: > Dave, > > I understand the effort involved, but the choice for any SDK is really; > > a) Release the SDK before the devices and let developers test and prepare > their apps. > > b) Allow users to start buying a device which may not prope

[android-developers] Re: Multiple ListViews in one Activity

2009-03-24 Thread Wouter
Ok thank you, I will try it! Thank you for your fast answers! On Mar 24, 8:14 pm, Mark Murphy wrote: > Wouter wrote: > > Thank you! Can i put my data from the simplecursoradapter in it? > > It takes any sort of adapter, as far as I know. > > -- > Mark Murphy (a Commons Guy)http://commonsware.com

[android-developers] Re: Multiple ListViews in one Activity

2009-03-24 Thread Mark Murphy
Wouter wrote: > Thank you! Can i put my data from the simplecursoradapter in it? It takes any sort of adapter, as far as I know. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---

[android-developers] Re: Multiple ListViews in one Activity

2009-03-24 Thread Wouter
Thank you! Can i put my data from the simplecursoradapter in it? On Mar 24, 8:10 pm, Mark Murphy wrote: > Wouter wrote: > > Ok i understand. But how can i make one listview for all these > > adapters. > > I gave you a link earlier. Here it is again: > > http://www.jsharkey.org/blog/2008/08/18/se

[android-developers] Re: Multiple ListViews in one Activity

2009-03-24 Thread Mark Murphy
Wouter wrote: > Ok i understand. But how can i make one listview for all these > adapters. I gave you a link earlier. Here it is again: http://www.jsharkey.org/blog/2008/08/18/separating-lists-with-headers-in-android-09/ -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's G

[android-developers] Re: Multiple ListViews in one Activity

2009-03-24 Thread Wouter
> Wouter wrote: > > I have multiple lists because every list uses another database adapter > > for getting data from a database. And also the onItemClick must be > > different for every list! > > Would i be able to still do this when I make one listview? > > You would only have one onItemClick an

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-24 Thread Al Sutton
Just double checked; http://shop.vodafone.co.uk/shop/mobile-phone/htc-magic still says "Arriving in April" in big clear letters. Al. -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Al Sutton Sent: 24 March 2009 18:4

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-24 Thread Ivan Soto
If the G2 is suppose to have an on-screen keyboard why developers still don't have access to those features in the SDK/emulator. I found some really annoying *usability* issues on my application when I tested on an unofficial 1.5 image on the emulator because of the on screen keyboard so I'm modify

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-24 Thread Al Sutton
Android-platform is the list for discussing developing the SDK. This list is specifically about developing against the SDK. Al. P.S. The main reason I don't do firmware dev is because I bought a G1 at launch (before the ADP1 was announced) and I'm not going to spend out over $500 to get a ADP1 s

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-24 Thread Al Sutton
The problem is that 1.1 was the most recent and the concern is that as the latest release has a "device then SDK" order this may be seen as an acceptable way to do things in the future. As for announcements of phones with cupcake. Vodafone have been saying since February that they'll ship the HTC

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-24 Thread Pierre Bonnefoy
Romain, Jean-Baptiste, Just to clarify, the G2 is announced for April in some countries. The G2 is using virtual keyboard. Will the G2 be at first available with an update of 1.1 or will it be a derivative of cupcake ? Thanks 2009/3/24 Jean-Baptiste Queru : > > I'll very gladly try to answer th

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-24 Thread Jean-Baptiste Queru
I'll very gladly try to answer those questions on the android-platform list, which I believe is the most appropriate group for them, so that this group can remain focused on the concerns of developers writing apps with the official SDK (or, in this case, expressing concerns about a new official SD

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-24 Thread Simon Depiets
Shame on met i never read :x This answers a lot 2009/3/24 Romain Guy : > >> I have the impression that the community is very active around >> android-oriented APPS, but not about android itself, maybe there's >> also a problem with this mailing list being filled by requests on the >> use of the

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-24 Thread Romain Guy
> I have the impression that the community is very active around > android-oriented APPS, but not about android itself, maybe there's > also a problem with this mailing list being filled by requests on the > use of the SDK but not the development of the SDK, maybe there should > be a newsgroup ded

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-24 Thread Simon Depiets
I think this is true, can you tell us more than git commit messages tell us ? do you intend to freeze android at some point, afterwards there will only be bug fixes ? do you WANT/do you NEED contributions, or is android open source but with a proprietary-like development model ? I have the impres

[android-developers] Re: Fling on ListView

2009-03-24 Thread Romain Guy
ListView does not use a GestureDetector. On Tue, Mar 24, 2009 at 11:03 AM, Lucius Fox wrote: > > Hi, > > Can you please tell me which method in ListView is handling the fling > action (up and down)? > I look at the source of ListView, I don't see a GestureDectector there. > > Thank you. > > > >

[android-developers] Fling on ListView

2009-03-24 Thread Lucius Fox
Hi, Can you please tell me which method in ListView is handling the fling action (up and down)? I look at the source of ListView, I don't see a GestureDectector there. Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Go

[android-developers] Re: Help connecting localhost to android app

2009-03-24 Thread Robert Green
Bind your local webserver to your internal IP address and point your app at that. It's a little annoying if it changes a lot but it worked for me. Localhost on the emulator is not the same as on your PC, since the emulator runs its own OS and is just bridged to your network interface. On Mar 24

[android-developers] Re: Bug in UK i18n?

2009-03-24 Thread Mark Murphy
Michael Bollmann wrote: > Did anyone encounter this problem? > > I got the following files: > > /res/values/strings.xml > /res/values-de/strings.xml > /res/values-en-rUK/strings.xml > /res/values-en-rUS/strings.xml > > [GOOD] Setting german locale overrides default strings > [GOOD] Setting us l

[android-developers] Re: Link to app in Android Market?

2009-03-24 Thread Robert Green
Intent intent = new Intent(Intent.ACTION_VIEW); intent.setData (Uri.parse("market://search?q=pname:")); startActivity(intent); On Mar 24, 12:40 pm, jsdf wrote: > Hi everyone, > > Does anyone know how to create a link to an Android app in t

  1   2   3   >