[android-developers] Re: GridView: how to select, programmatically?

2008-10-07 Thread tauntz
I haven't tried it myself but you could try android:focusableInTouchMode. From dox: Boolean that controls whether a view can take focus while in touch mode. If this is true for a view, that view can gain focus when clicked on, and can keep focus if another view is clicked on that doesn't have

[android-developers] java.lang.VerifyError in Android

2008-10-07 Thread Urakagi
Android uses different Java Compiler with Sun's, so if you build a project with class file(like a compiled jar library) compiled with Sun's Java Compiler that uses classes/interfaces/fields/methods not supported by Android (Actually dakvik), you'll get java.lang.VerifyError. To fix this, you must

[android-developers] Re: scrolling listview loses background color/drawable

2008-10-07 Thread Tauno T
Added as issue 946 if anyone is interested.. http://code.google.com/p/android/issues/detail?id=946 Tauno On Sep 29, 10:27 am, Tauno T [EMAIL PROTECTED] wrote: There must be something else you're doing that was wrong. Can you please explain what's wrong in this setup? :) New project. *

[android-developers] Re: format for progressbar drawable xml?

2008-10-07 Thread Allan Hsu
Thanks Jason! This worked great, except that the clip elements I used looked like this: clip android:drawable=@drawable/myProgressDrawable / -Allan -- Allan Hsu allan at counterpop dot net On Oct 4, 2008, at 10:08 AM, Jason Parekh wrote: I believe so, see my inline comments below

[android-developers] Re: PackageManager??

2008-10-07 Thread Al Sutton
new Intent(| Intent|.VIEW, Uri.parse(file:// + apkFile.getAbsolutePath().toString()) ); might work :). |Al. -- http://andappstore.com/ |nknize wrote: That's right... You can't directly install an apk without the user being involved. This is exactly what I want/am trying to do - let the

[android-developers] Re: PackageManager??

2008-10-07 Thread Al Sutton
I've put some apk publish tips (including the mime type) at http://andappstore.com/AndroidPhoneApplications/publishing.jsp Al. -- http://andappstore.com/ nknize wrote: Either I'm not stating my question correctly or it just isn't being understood. So I'll keep it specific and to the point.

[android-developers] Re: Applications

2008-10-07 Thread Al Sutton
I'm starting to build a list at http://andappstore.com/ If you find any I've missed feel free to submit them. Al. anu wrote: Hi, I was just wondering if there have been any applications created for either the 0.9 version or the 1.0 - the latter preferred. Thanks, Anu -- Al

[android-developers] Project Vanished in Eclipse Europa

2008-10-07 Thread Keiffer
Hello everybody, I was running through my first Android tutorials, working in the XML section, when my project disappeared completely from view. Granted, I was updating/saving source code while the emulator was up and running (what can I say? I am brutal to my workspace). I killed Eclipse and

[android-developers] How to collect meta-datas in media files..

2008-10-07 Thread Kevin
Hi guys, I've got a question for meta-data of media files.. Actually nowadays, I wanna make music/picture/move player with android.. but I couldn't find a method to collect meta-data from sort of media files.. in android... Have you ever done what I said? please give me a tip, I wanna get it!!

[android-developers] creating an address book

2008-10-07 Thread dilu
Hi I am new to this platform.I want to create a simple application like adding a name and phone number to contact address.How to start writing code for this? One more thing i am wondering that since coding language is java so what all modifiaction we need to do if we

[android-developers] Re: Could not fine HelloAndroid.apk when lauching the HelloAndroid example

2008-10-07 Thread applycards
Hi! Windows Vista We are using Eclipse Version: 3.4.1 Build id: M20080911-1700 Ganymede We had the .apk not found. 1) UserAdminstratorLocalDelete Keynote 2) Change Regional Settings to Pacific Time Location to United States. HelloAndroid Works fine. On Sep 13, 12:20 pm, nemo [EMAIL

[android-developers] compatibility between Android (beta version) and GWT 1.5.1

2008-10-07 Thread Stefano
Hallo everybody, since few months I am developing a chat web aplication with the Google Web Toolkit (1.5.1), to be applied to an Android emulator (beta version). I see that some widgets of my applications are not correctly interpreted on Android, for example the listboxes are ignored: I cannot

[android-developers] MapActivity - Couldn't get connection factory client

2008-10-07 Thread Ricardo
Hi all, I´m trying to create a application using MapView with GPS... but the following error appears in LogCat: MapActivity(8287): Couldn't get connection factory client. And it shows a strange screen in the emulator instead of the Maps... The problem is that sometimes it works.. But 90% of

[android-developers] making temporary files

2008-10-07 Thread Jason Proctor
oh yes it should :-) ok so maybe the unconventional Android application lifecycle changes the game a bit wrt temporary files, in the sense that system startup (etc), with accompanying cleanup, doesn't happen that often. but still, trusting those applications to keep track of their temporary

[android-developers] RecentTaskInfo in 1.0

2008-10-07 Thread wiki
can somebody give me a example of how to use RecentTaskInfo? Regards --~--~-~--~~~---~--~~ 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: ListView's OnItemClickListener is not called

2008-10-07 Thread Jay
Thank you for the link. I think I'll have to setup an on-click listener on text view to do the same thing as I want to do in OnItemClickListener. It just doesn't look good because the text disappear when I click on it. Jay --~--~-~--~~~---~--~~ You received this

[android-developers] Re: Trouble opening a raw resource

2008-10-07 Thread kelseywright
Does anyone know if this restriction applies to all files? Or just certain formats? I couldn't find it in the documentation. Kelsey On Oct 6, 10:46 pm, kelseywright [EMAIL PROTECTED] wrote: The context issue was my problem and now it can open the fileand it turns out the file is too big

[android-developers] RecentTaskInfo

2008-10-07 Thread wiki
can somebody give me a example of how to use RecentTaskInfo? Regards --~--~-~--~~~---~--~~ 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: Using Street View within my app

2008-10-07 Thread mscwd01
Anyone? On Oct 6, 3:04 pm, mscwd01 [EMAIL PROTECTED] wrote: Hey, Is there a simple way to get a Street View of a given set of coordinates (plus heading i.e. direction camera is pointng) and display it as an image within my application? Thanks

[android-developers] Re: Windows driver for HTC G1 phone

2008-10-07 Thread mdashali
I feel the sarcasm but that doesn't really answer my question. ADB doesn't list the device when I plug it into the USB and I figured it might not some driver for Windows. If that is not true please tell me how do I install application on the device. On Oct 7, 1:11 am, walterc [EMAIL

[android-developers] Network Errors, No Reason?

2008-10-07 Thread nichojo
I have this: public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); /* Create a new TextView to display the parsing result later. */ TextView tv = new TextView(this); try { /* Create a URL we want to load

[android-developers] Re: FileNotFoundException when creating FileOutputStream with file on sdcard

2008-10-07 Thread UBZack
You're absolutely right, myFile.txt was a directory (who knew!?) So now I'm making one instance of File and calling mkdirs on just / sdcard/zackcorp/myfiles/, and then I'm making a second instance of File, this time with that path AND the file name, and just calling File.createNewFile(), it

[android-developers] Programmatic scrolling of a ListView?

2008-10-07 Thread Disco Stu 010
Hello, When we use setSelectionFromTop(), the list adjusts itself so that the selection is positioned some y pixels from the top. However, this happens in a somewhat 'sudden' manner. Is it possible to make this animated where the list appears to smoothly scroll and then settles in its

[android-developers] Re: ListView's selector in touch mode

2008-10-07 Thread Romain Guy
No :) Also, do *NOT* try to change the behavior of the touch mode. This is how the UI framework is designed and trying to work around it will only cause more issues since the framework tries to enforce it. This is also how all standard Android applications behave and you should remain consistent

[android-developers] Re: ActiveSync with Outlook, Exchange and Business Users

2008-10-07 Thread Richard
While there is no native client, there is a WebDav solution you can do initially until the Open Source community comes out with a G1/Exchange sync client. I believe the WebDav only allows for mail right now and not Calendar/Contacts. I think this might help for now;

[android-developers] Re: Keyboards and Screen Rotation

2008-10-07 Thread Rmac
Thanks for the reply. Can you point me to a non-trivial example in the API demos where saving/restoring state is done on a series of screen displays (such as some drill-down type app)? I couldn't find anything comparable. I am trying to wrap my head around how to recreate something like

[android-developers] Re: Keyboards and Screen Rotation

2008-10-07 Thread Rmac
That process requires the exact same onCreate()/onResume(), you just don't realize it because it happens transparently for Views: My testing shows starting an external activity and then returning via the back key only calls onResume, not onCreate. The screen orientation change calls both

[android-developers] Re: Emulator crashes X on Ubuntu 8.4

2008-10-07 Thread Josh Roesslein
I'm running 32bit Ubuntu 8.4 and have had no issues so far with running the emulator. Maybe its an issue with the 64bit version or hardware related. Sorry I can't help you anymore. :( On Tue, Oct 7, 2008 at 2:24 PM, Jeffrey Peacock [EMAIL PROTECTED]wrote: I'm running 64-bit Ubuntu 8.4

[android-developers] Re: Emulator crashes X on Ubuntu 8.4

2008-10-07 Thread Christine
I use the Eclipse plugin on Ubuntu 8.04 64bits, no problem. I have an AMD processor. I assume you do have the 64bits version of Eclipse? I know there have been some problems with that, but not in the latest version. On Oct 7, 11:30 pm, Josh Roesslein [EMAIL PROTECTED] wrote: I'm running 32bit

[android-developers] Re: Testers Needed - Community App Store

2008-10-07 Thread Christine
I assume that the Google app market will be available soon? Does anyone know? Can I submit an app? On Oct 3, 3:37 pm, Al Sutton [EMAIL PROTECTED] wrote: AndAppStore.com now generates version information which can be used by the veecheck updating library. More information is available

[android-developers] Re: Testers Needed - Community App Store

2008-10-07 Thread Christine
I assume that the Google app market will be available soon? Does anyone know? Can I submit an app? On Oct 3, 3:37 pm, Al Sutton [EMAIL PROTECTED] wrote: AndAppStore.com now generates version information which can be used by the veecheck updating library. More information is available

[android-developers] Re: phone to phone applications?

2008-10-07 Thread jtaylor
Good point! - Juan T. On Oct 7, 9:05 am, Marcio Maia [EMAIL PROTECTED] wrote: Hi all, i think we all agree on the importance of device-to-device (D2D) communication capabilities. The API would be crippled if it does not give support for this kind of interaction model. On the other hand,

[android-developers] Hello, Please help me get back into the developer group discussion board

2008-10-07 Thread Zachari Partridge
Hi, Thanks for your help. its been 5 or 6 weeks since I've been able to work on my android project but now I can't log back into the group. I've reset the password but that hasn't worked either. Thanks again, Zack. [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You

[android-developers] ViewAnimator

2008-10-07 Thread skink
hi, ViewAnimator is great when changing child views with in/out animations. however i got into troubles with one issue: lets say i have two child views in ViewAnimator - ListView and TextView. i set current view to TextView and then on some event i want to change its content (setText). the

[android-developers] Re: compatibility between Android (beta version) and GWT 1.5.1

2008-10-07 Thread Mark Murphy
Stefano Cannata wrote: Actually I haven't published yet my webapp on a url, Hopefully, somebody on this list both has your version of GWT installed and the time to build a test app. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the Ranch! -- Mar 16-20, 2009

[android-developers] Re: Object serialization

2008-10-07 Thread hackbod
It does support it, but I would generally recommend against it because Java serialization is slow. It's hard to address the original question because there are basically no details. On Oct 7, 2:34 pm, Josh Roesslein [EMAIL PROTECTED] wrote: I believe Android's Java VM fully supports Java

[android-developers] Re: making temporary files

2008-10-07 Thread hackbod
Whoops! Sorry, yeah it was incorrectly aimed at you, I thought you were disagreeing with me. :) On Oct 7, 2:07 pm, Tom Gibara [EMAIL PROTECTED] wrote: Was that reply aimed at me? I was in agreement! I've seen several server apps collapse through abuse of createTempFile(). The semantics are

[android-developers] Re: Object serialization

2008-10-07 Thread hackbod
On a phone, I would argue there is pretty much no such thing as a long- lived application. The use of a handheld device is just fundamentally different than a desktop. Even the browser, though you may sometimes spend a lot of time in it, very often you are quickly popping in and out of it. Add

[android-developers] Re: Object serialization

2008-10-07 Thread Josh Roesslein
It might be okay to use serialization in services since they would normally run for a long period. Probably the only thing on the Android that would be long lived. On Tue, Oct 7, 2008 at 7:26 PM, hackbod [EMAIL PROTECTED] wrote: On a phone, I would argue there is pretty much no such thing as a

[android-developers] Re: Spinner gets error when drop down

2008-10-07 Thread Anthony
Thank you, Mark. I will read your posts. On 10月8日, 上午6时20分, Mark Murphy [EMAIL PROTECTED] wrote: Anthony wrote: I want the spinner displays ImageView+TextView, so I create two classes as below: You may have better luck replacing AlbumSpinnerItem with an XML layout and using

[android-developers] Re: compatibility between Android (beta version) and GWT 1.5.1

2008-10-07 Thread Megha Joshi
I remember facing the same issue earlier with my GWT app on Android, but this bug has been fixed since then. For a quick demo, try http://gwt.google.com/samples/Showcase/Showcase.html#CwListBox in the Emulator's browser. The GWT listbox will be converted to Android's ListView and you can select

[android-developers] INSTALL_NON_MARKET_APPS

2008-10-07 Thread nknize
Understanding that the 1.0r1 has a bug on the system settings panel, can we programmatically modify the INSTALL_NON_MARKET_APPS row in the settings.system database to allow the emulator to install third party apps? I'm thinking along the lines of the following: Uri settingsUri =

[android-developers] Re: Attempt to include a core VM class in something other than a core library

2008-10-07 Thread Adriano Crestani
Hi Jakob, I already did it, I generated the .apk file using the ant script (adding the --core-library option). Then I replaced the .apk file that eclipse generates by this one created by ant script. But I'm getting this error message: [2008-10-07 20:44:40 - calculator-android] Could not find

[android-developers] Re: I need to develop a calendar application using Android.

2008-10-07 Thread jtaylor
Either the standard Java API or the Google Calendar API. - Juan T. On Oct 6, 5:10 am, Parasss [EMAIL PROTECTED] wrote: Hello Folks, Any one can tell me about how we can  develop calender application using Android SDK.. Please help me.. i will be really thankful to you.. Thanks in

[android-developers] Proper shutdown

2008-10-07 Thread Vic
Hello there, For my application, I need invoke proper shutdown in my application. What I mean by proper shutdown means shutting down both the system and the modem. Can anyone advise what the proper way of doing so might be? Lots of thanks, Vic

[android-developers] development problem - SPINNER

2008-10-07 Thread Pal
I am presently using android sdk to develop an application. In my application when i added a spinner , i had a problem. Actually while running, after i select an option in spinner, the screen becomes empty. Can anyone please help me out --~--~-~--~~~---~--~~

[android-developers] Entrepreneur seeks Android Development

2008-10-07 Thread [EMAIL PROTECTED]
Good Day All. My name is Doug and I am a entrepreneur with an aviation related application idea for the Android Platform (and no it's not an airline schedule lookup tool). It will require an application that will run on the G1 Handset and sync to an application on a desktop / laptop computer