[android-developers] G1 for testing outside US
Hi, How can non US developers get a G1 for testing? We can buy it for sure if its available. If we can't get a device for testing, can we just test in emulator? How are the Android developers worldwide handling this issue? Ideas, anyone? http://mobeegal.in - mobile search. redefined. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Mock Location Providers in 1.0
I have downloaded some gpx files from this web http://tramper.co.nz/?view=browsegpxFiles So. DDMS location tool loads them ok..I am able to se both the points and the track...and when I pressed the button "play" it seems that is processing the file...but my test application does not receive anything. Ludwig, can you please write in this thread a brief example of a GPX file that works for you? Maybe the problem is related with the gpx I have downloaded I include also some of my test code, maybe there is somthing I have misssed By the way, I am running on Windows XP SP2 ... Thanks in advance public class LocationTest extends MapActivity implements LocationListener { private LocationManager mLocationManager= null; private LocationProvider mLocationProvider = null; private MapView mMapView = null; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); mLocationManager = (LocationManager)getSystemService(Context.LOCATION_SERVICE); Criteria criteria = new Criteria (); criteria.setAccuracy(Criteria.ACCURACY_FINE); List providerIds =mLocationManager.getProviders(criteria, true); if (!providerIds.isEmpty()) { mLocationProvider = mLocationManager.getProvider(providerIds.get(0)); } mMapView = new MapView(this, "tid"); mMapView.getController().setZoom(20); setContentView(mMapView); MyLocationOverlay myLocationOverlay = new MyLocationOverlay (this, mMapView); mMapView.getOverlays().add (myLocationOverlay); myLocationOverlay.enableMyLocation(); // Para que si me muevo mire constantemente la localizacion mLocationManager.requestLocationUpdates(mLocationProvider.getName(), 0, 0, this); } @Override protected boolean isRouteDisplayed() { return false; } public void onLocationChanged(Location location) { updateView(location); } public void onProviderDisabled(String provider) { } public void onProviderEnabled(String provider) { } public void onStatusChanged(String provider, int status, Bundle extras) { } private void updateView (Location location) { Double lat = location.getLatitude()*1E6; Double lng = location.getLongitude()*1E6; GeoPoint point = new GeoPoint(lat.intValue(), lng.intValue()); mMapView.getController().setCenter(point); } } On 24 sep, 18:06, Ludwig <[EMAIL PROTECTED]> wrote: > I do not have a problem playing GPX files from DDMS and my code continues to > work ok with 1.0. > The only change required was to remove the calls to the two methods you > mention when subscribing to location updates. > > (I am running on Vista, just in case this is a platform issue) > > Ludwig > > 2008/9/24 Cristina <[EMAIL PROTECTED]> > > > > > > > Hi! > > > I have downloaded SDK 1.0 this morning, so I have tried to migrate > > some code I have to this version. > > When trying to migrate MockLocationProvider I found that some methods > > have dissapeared from LocationManager: > > setTestProviderEnabled > > addTestProvider > > > It seems that it not possible to create a Mock Provider by code any > > more... > > > I have also checked DDMS Location controls, but they seem to not be > > working either in this version. > > Maybe I am doing something wrong, but I have tried kml and gpx. In > > both cases my kml/gpx files loads ok, but when I click on "play" > > button, my application does not receive the locations. > > > I have test the geo command, and it works...so by the moment I am > > using this, although it is a little hard to write every point in order > > to do tests... > > > Has anybody managed to make DDMS locations tools to work in 1.0? Is it > > possible to create a mock location provider by code in this version? > > Is there any other way to automate this? maybe an script that calls > > geo utility? > > > Thanks in advance- Ocultar texto de la cita - > > - Mostrar texto de la cita - --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] To get Images in Drawable Resources.
Hi all, Actually i want to make an application in which, i want to display image name with image preview or resized image and check box in list format. I have already displayed image Name and check box to gather with help of checkboxified example of android cummunity. I dont know how to display image beside Name and check box. Actually i found that we can display images from resource class like Drawable. but i have question about it. 1. Is there any other way to display images rather than first should insert in Drawable resource. 2. If is there any other way then please tell what and how to do it. 3. And i have image path and name in one array then is it feasible to insert it first in Drawable and then display. i mean it will take too much time to display. 4.If i have to insert images in Drawable first, then how can i do. Please give answer as soon as possible. Thanks in advance. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] 1.0_r1 win version, missing classes
There are classes which exist in documentation but absent in android.jar (from android-sdk-windows-1.0_r1.zip): android.content.AsyncQueryHandler.WorkerArgs android.content.AsyncQueryHandler.WorkerHandler android.database.AbstractCursor.SelfContentObserver android.view.animation.Animation.Description java.security.cert.Certificate.CertificateRep java.security.cert.CertPath.CertPathRep In previous versions there is no such problem. The common feature of all these classes is that they are inner protected classes. Is this mistake of sdk builders or something else? -- http://www.androidjavadoc.com/ --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: SMS Intents Missing From 1.0?
The helper methods have disappeared but you can still listen for the Intent by using the String literal and extract the messages manually. This thread has the details: http://groups.google.co.uk/group/android-developers/browse_thread/thread/c51383cc8761ffd5# Cheers Reto Professional Android Application Development http://www.amazon.com/gp/product/0470344717?tag=interventione-20 On 25 Sep, 00:00, blim <[EMAIL PROTECTED]> wrote: > Our application needs to be able to listen to incoming SMS messages > but android.providers.Telephony.Sms.Intents class has been removed > from 1.0. > > Does anybody know where this has been moved to or if we should be > using something else? I haven't been able to find anything on the > issue or why it was removed after 0.9. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: I've got a great App Idea, but i'm not a programmer
I'm pretty interested, may I in? 2008/9/25 joe <[EMAIL PROTECTED]> > > I have an idea, that will help android appeal to a huge business > segment, that doesnt require ANY microsoft applications/programs, and > can probably be designed and implemented with not a lot of > programming. The problem..I am not a computer guy. I am a self > employed contractor. If anyone would be interested in working > together on this project with the goal of making it commercially > viable, and financially profitable, please contact me at > [EMAIL PROTECTED] . I am serious about this, and I know it > will be great.but it is not a game, it is a utlility that will > make use of the existing google features in an android phone. Please > be prepared to sign a non-disclosure agreement if interested. You > must be able to program, I can provide the rest as you need to know. > > Joe > > > > -- Zhang Ning(张宁) Tel: (+86)13581861611 --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: G1 for testing outside US
Hi, Waiting patiently and keeping an eye on htc.com and its country specific product pages for any G1/Dream news, so far only the US page seems to have any details. This is hard if you don't live in a region serviced by T-Mobile, eg Australia I like most developers are keen to test on real devices, asap, particularly for the various sensors (camera, movement, compass, gps etc) - for which a remote testing facility cannot provide much help. It is also particularly important if you are to have any hope of participating in ADC II. Regards On Sep 25, 6:15 pm, Muthu Ramadoss <[EMAIL PROTECTED]> wrote: > Hi, > > How can non US developers get a G1 for testing? We can buy it for sure > if its available. > > If we can't get a device for testing, can we just test in emulator? > How are the Android developers worldwide handling this issue? > > Ideas, anyone? > > http://mobeegal.in- mobile search. redefined. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] onCreateOptionsMenu not called
Hi, onCreateOptionsMenu for my app isn't called anymore. I tried with SDK 1.0 just yesterday and it worked; today (still on SDK 1.0) the function isn't called anymore and nothing happens when i hit Menu. What might be the problem? Thanks in advance, Teo --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: G1 for testing outside US
I was asking the same question to the Google guys at one of the Developer Days. Unfortunately, they couldn't do anything about it. So, it looks like we depent on carriers or HTC when they make the devices available somewhere else. What does the OHA thinks about that? Do they want to let the developers idle? Couldn't they provide a pool of devices just for developers? Maybe they google could forward this issue to OHA... Probably the main problem is that there aren't enough devices anyway. Production takes time and money :-= Cheers, Friedger On Sep 25, 10:31 am, gjs <[EMAIL PROTECTED]> wrote: > Hi, > > Waiting patiently and keeping an eye on htc.com and its country > specific product pages for any G1/Dream news, so far only the US page > seems to have any details. > > This is hard if you don't live in a region serviced by T-Mobile, eg > Australia > > I like most developers are keen to test on real devices, asap, > particularly for the various sensors (camera, movement, compass, gps > etc) - for which a remote testing facility cannot provide much help. > > It is also particularly important if you are to have any hope of > participating in ADC II. > > Regards > > On Sep 25, 6:15 pm, Muthu Ramadoss <[EMAIL PROTECTED]> wrote: > > > Hi, > > > How can non US developers get a G1 for testing? We can buy it for sure > > if its available. > > > If we can't get a device for testing, can we just test in emulator? > > How are the Android developers worldwide handling this issue? > > > Ideas, anyone? > > >http://mobeegal.in-mobile search. redefined. > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Obfuscation in eclipse for Android?
Manual obfuscation works fine, using an Ant script and ProGuard. It is not that difficult to set up. Few things to consider: * There were some problems with optimized code: Sometimes optimized code throws errors when converting to dex code. * All class names that are defined in the Manifest or used as custom widgets in layout files should of course be excluded from obfuscation. In our application this is quite a lot (activities, content providers, widgets), so this somehow prevents complete obfuscation, and it is easier to guess from the decompiled class names what they are good for. Other than that, I don't think there is anything wrong with obfuscation. It also decreases the apk size slightly, by using shorter strings for class and method names ("a", "b", "c", ..). Smaller file size is always good on mobiles :-) Let me know if you need help in setting up the ant script. Peli www.openintents.org On Sep 24, 10:49 pm, UBZack <[EMAIL PROTECTED]> wrote: > Does anyone know if there are plans to include an option to obfuscate, > or encrypt class files (before they are then converted to .dex files) > within the ADT plugin for eclipse? I've been searching the Android > group for a while now, it seems that people are manually obfuscating > their class files, then manually converting them to dex files, which > is fine if you're building using ant, but it would be really great to > be able to have the eclipse ADT automatically do this process. > > Additionally, does anyone have some idea what exactly is Google's > philosophy towards obfuscation/class-encryption in Android? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: G1 for testing outside US
> Production takes time and money :-= So does developing Android applications. I observe that there is no shortage of devices to share with the press. Tom. 2008/9/25 friedger <[EMAIL PROTECTED]> > > I was asking the same question to the Google guys at one of the > Developer Days. Unfortunately, they couldn't do anything about it. So, > it looks like we depent on carriers or HTC when they make the devices > available somewhere else. > > What does the OHA thinks about that? Do they want to let the > developers idle? Couldn't they provide a pool of devices just for > developers? Maybe they google could forward this issue to OHA... > > Probably the main problem is that there aren't enough devices anyway. > Production takes time and money :-= > > Cheers, > Friedger > > On Sep 25, 10:31 am, gjs <[EMAIL PROTECTED]> wrote: > > Hi, > > > > Waiting patiently and keeping an eye on htc.com and its country > > specific product pages for any G1/Dream news, so far only the US page > > seems to have any details. > > > > This is hard if you don't live in a region serviced by T-Mobile, eg > > Australia > > > > I like most developers are keen to test on real devices, asap, > > particularly for the various sensors (camera, movement, compass, gps > > etc) - for which a remote testing facility cannot provide much help. > > > > It is also particularly important if you are to have any hope of > > participating in ADC II. > > > > Regards > > > > On Sep 25, 6:15 pm, Muthu Ramadoss <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > > How can non US developers get a G1 for testing? We can buy it for sure > > > if its available. > > > > > If we can't get a device for testing, can we just test in emulator? > > > How are the Android developers worldwide handling this issue? > > > > > Ideas, anyone? > > > > >http://mobeegal.in-mobile search. redefined. > > > > > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Obfuscation in eclipse for Android?
Also under Microsoft Windows take care to apply - dontusemixedcaseclassnames with Proguard, or else you will run into trouble with dex once getting beyond 26 classes a-z. For me -optimizationpasses 1 was maximum, or else the Android emulator would fail (in 0.9 beta, didn't bother to retry for 1.0 r1). On Sep 25, 11:14 am, Peli <[EMAIL PROTECTED]> wrote: > Manual obfuscation works fine, using an Ant script and ProGuard. It is > not that difficult to set up. > > Few things to consider: > * There were some problems with optimized code: Sometimes optimized > code throws errors when converting to dex code. > * All class names that are defined in the Manifest or used as custom > widgets in layout files should of course be excluded from obfuscation. > In our application this is quite a lot (activities, content providers, > widgets), so this somehow prevents complete obfuscation, and it is > easier to guess from the decompiled class names what they are good > for. > > Other than that, I don't think there is anything wrong with > obfuscation. It also decreases the apk size slightly, by using shorter > strings for class and method names ("a", "b", "c", ..). Smaller file > size is always good on mobiles :-) > > Let me know if you need help in setting up the ant script. > > Peliwww.openintents.org > > On Sep 24, 10:49 pm, UBZack <[EMAIL PROTECTED]> wrote: > > > Does anyone know if there are plans to include an option to obfuscate, > > or encrypt class files (before they are then converted to .dex files) > > within the ADT plugin for eclipse? I've been searching the Android > > group for a while now, it seems that people are manually obfuscating > > their class files, then manually converting them to dex files, which > > is fine if you're building using ant, but it would be really great to > > be able to have the eclipse ADT automatically do this process. > > > Additionally, does anyone have some idea what exactly is Google's > > philosophy towards obfuscation/class-encryption in Android? > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: G1 for testing outside US
> How are the Android developers worldwide handling this issue? I'm just testing in the emulator, hoping for the best (I'm in Europe). However, even in 1.0 r1 there are unspecified and unimplemented camera issues, such that for instance I have to hard-code the T-Mobile G1 camera resolution (2048 x 1536), which will no longer make sense once other Android phones hit the market. On Sep 25, 9:15 am, Muthu Ramadoss <[EMAIL PROTECTED]> wrote: > Hi, > > How can non US developers get a G1 for testing? We can buy it for sure > if its available. > > If we can't get a device for testing, can we just test in emulator? > How are the Android developers worldwide handling this issue? > > Ideas, anyone? > > http://mobeegal.in- mobile search. redefined. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] SDK 1. codec removed, not in API diff
Hi, we were using org.apache.commons.codec.binary.Hex. This has disappeard in SDK 1.0. Are there any replacements for encodeHex available? Friedger --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] What's max display resolution size on android?
Hi all, I have changed display resolution upto 800*600 on android emulator, and it runs very well. But for more high resolution, emulator can not startup. Does anyone know what's max resolution size android supports? if there is no limitation, what should I do to run emulator normally with high resolution such as 1024*768 ? Thanks anyway! BR, Charles --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Remote MP4 video in 0.9 SDK
I am trying to run a remote progressive downloadable mp4 file using VideoView. It is giving MediaPlayer error -1 and VideoView error -1. I do not know what does it mean? Could any one help please? Thanks On Sep 20, 9:36 am, Dan Walmsley <[EMAIL PROTECTED]> wrote: > Any idea when RTSP will be fixed? > > Or, at least some form of MP3 streaming? Happy to retrieve directly > via HTTP if necessary, but my app absolutely _requires_ live, ongoing > mp3 streaming at a minimum. It's strange to me that it wouldn't work, > given Android's out-of-the-box support for streaming video formats > like 3GPP/MP4/etc directly. > > Don't make me rewrite it for iPhone ;-) > > Cheers, > Dan > > On Aug 29, 4:58 am, "Justin (Google Employee)" <[EMAIL PROTECTED]> > wrote: > > > > > I don't believe RTSP will work in the emulator. The emulator currently > > has some issues with handling UDP packets, which RTSP uses. Sorry. > > > Regards, > > Justin > > Android Team @ Google > > > On Aug 28, 3:02 am, jayant <[EMAIL PROTECTED]> wrote: > > > > Hi All, > > > > Can anyone post an rtsp link which works fine.. > > > gunaaa, can you please provide the external URL that was played.. > > > > All I am doing here is setting the path variable in the API > > > Demo(MediaPlayerDemo) example to different links > > > > But none seems to work...In the error log I am getting following > > > error: > > > 08-28 15:08:59.894: ERROR/MediaPlayerDemo(749): error: Prepare > > > failed.: status=0x > > > > Justin, can you plz explain this: > > > > code snippet: > > > > ***** > > > case STREAM_VIDEO: > > > /* > > > * TODO: Set path variable to progressive > > > streamable mp4 or > > > * 3gpp format URL. Http protocol should be used. > > > * Mediaplayer can only play "progressive > > > streamable > > > * contents" which basically means: 1. the movie > > > atom has to > > > * precede all the media data atoms. 2. The clip > > > has to be > > > * reasonably interleaved. > > > * > > > */ > > > > path = "rtsp://172.17.5.81:80/ > > > sample_h264_100kbit.mp4"; > > > if (path == "") { > > > // Tell the user to provide a media file URL. > > > Toast > > > .makeText( > > > MediaPlayerDemo_Video.this, > > > "Please edit > > > MediaPlayerDemo_Video Activity," > > > + " and set the path > > > variable to your media file URL.", > > > Toast.LENGTH_LONG).show(); > > > > } > > > > break; > > > > } > > > > // Create a new media player and set the listeners > > > mMediaPlayer = new MediaPlayer(); > > > mMediaPlayer.setDataSource(path); > > > // dialog.setMessage("set data source"+path); > > > // dialog.show(); > > > mMediaPlayer.setDisplay(holder); > > > mMediaPlayer.prepare(); > > > mMediaPlayer.setOnBufferingUpdateListener(this); > > > mMediaPlayer.setOnCompletionListener(this); > > > mMediaPlayer.setOnPreparedListener(this); > > > > mMediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC); > > > > ****** > > > On Aug 26, 12:01 pm, gunaaa <[EMAIL PROTECTED]> wrote: > > > > > Try Using Streams from any external URL... it will play your file... > > > > Changing the format is time expensive...- Hide quoted text - > > - Show quoted text - --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] emulator (android-sdk-windows-1.0_r1) can not re run app after app crahsed
Hi all, I tried to run the PhotoStream from http://code.google.com/p/apps-for-android/ (using android-sdk-windows-1.0_r1, eclipse 3.4 and android plugin 0.8) The first time the app started, the login screen come and a textbox to enter username displayed, there was an error with the login process. After that I could not run the app again, even I tried to delete the app in the emulator, close eclipse, and re run the app, but I always received error: "The application Photostream process com.google.android.photostream has stopped unexpectedly. Please try again" The question is how could I reset the emulator state so that I can start the app and debug at the point the app crash? Thanks for any suggestion --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: ADT 0.8.0 Eclipse plugin download taking FOREVER
I have exactly same plugin. Will it finish or is should I use a workaround? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] netbeans + android = compile error
Hallo, I've installed undroid plugins for netbeans but when i run an example appl netbeans return me: ERROR: Unknown command 'compile' Android Asset Packaging Tool Usage: aapt l[ist] [-v] [-a] file.{zip,jar,apk} List contents of Zip-compatible archive. ... bla bla /home/fabio/NetBeansProjects/AndroidApplication1/nbproject/build- impl.xml:334: exec returned: 2 BUILD FAILED (total time: 0 seconds) someone can help me thank's --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Problem when running SoundRecordingAPISample of Megha
Everything is ok except that i can't play back the record file .amr On Sep 24, 9:57 pm, "De San Nicolas Jean Philippe" <[EMAIL PROTECTED]> wrote: > I've resolved the problem but I've another one now. > > Does anyone have read an .amr issued from the audiorecorder? > > 2008/9/24 De San Nicolas Jean Philippe <[EMAIL PROTECTED]> > > > hey, > > > I've just tried the sample SOUNDRECORDINGAPISAMPLE, and an error occured: > > > 09-24 15:42:47.059: WARN/ServiceManager(24): Permission failure: > > android.permission.RECORD_AUDIO from uid=10019 pid=5373 > > 09-24 15:42:47.059: ERROR/AudioFlinger(24): Request requires > > android.permission.RECORD_AUDIO > > > I've put a line with a permission in the manifest but it doesn't make > > anything. > > > Does anyone know permission RECORD_AUDIO? > > > 2008/9/24 Baonq86 <[EMAIL PROTECTED]> > > >> Does anyone record the different format (not .amr) ?? > > >> On Sep 24, 3:10 pm, "De San Nicolas Jean Philippe" <[EMAIL PROTECTED]> > >> wrote: > >> > I've not played the .amr from the SOUNDRECORDINGAPISAMPLE. I've > >> converted > >> > an .mp3 in .amr with software and try to play it. And it woks. maybe the > >> > probleme comes from the recorded .amr > > >> > 2008/9/24 ZIN <[EMAIL PROTECTED]> > > >> > > can u show me the way to play the .amr format? i can't run it on > >> > > Android. > > >> > > On Sep 23, 6:04 pm, "De San Nicolas Jean Philippe" <[EMAIL PROTECTED]> > >> > > wrote: > >> > > > sorry,it works > > >> > > > 2008/9/23 De San Nicolas Jean Philippe <[EMAIL PROTECTED]> > > >> > > > > another question about sound an recording. I've read that the only > >> way > >> > > to > >> > > > > record sound is to record it in AMR format. Is it true that the > >> media > >> > > player > >> > > > > does not read this format? And if it's true, is there another way > >> to > >> > > read > >> > > > > with the mediaplayer the sound that we'we recorded? > > >> > > > > 2008/9/23 Megha Joshi <[EMAIL PROTECTED]> > > >> > > > >> Yes...the sample is intended to be used for 0.9 sdk, it wont work > >> > > correct > >> > > > >> for m5. > > >> > > > >> 2008/9/22 De San Nicolas Jean Philippe <[EMAIL PROTECTED]> > > >> > > > >> me again... > > >> > > > >>> I think Ive resolved the problem with sdcard but I have another > >> > > > >>> problem... > > >> > > > >>> the error message in red > > >> > > > >>> ERROR/AudioHardware(518): Error 16 opening record channel > >> > > > >>> ERROR/AudioFlinger(518): openRecord returned error 16 > >> > > > >>> ERROR/AudioHardware(518): Attempt to close without open > > >> > > > >>> I run the sample with the m5 version of the emulator. Could it > >> be the > >> > > > >>> reason of the failure? > > >> > > > >>> regards > > >> > > > >>> 2008/9/22 jphdsn <[EMAIL PROTECTED]> > > >> > > > Hello, > >> > > > I try the same sample and I have nearly the same result. > >> > > > have you installed an sdcard and try another time? Have you a > >> > > positive > >> > > > result? > >> > > > I try to install an sdcard but I've always the same line In the > >> > > > logcat: "sdcard access error" > >> > > > I think I've an error in the path but don't arrive to resolve > >> it. > > >> > > > If you have the solution can you guide me. Thank's > > >> > > > On Sep 17, 11:18 am, ZIN <[EMAIL PROTECTED]> wrote: > >> > > > > I have downloaded this project, and try running it in Android > >> > > > > Emulator. > >> > > > > When i click on the StopRecording Button, an alert appears :" > >> > > process > >> > > > > com.android.samples.audio has stopped unexpectedly ". > >> > > > > I wonder there is a problem in this project. > >> > > > > Can someone help me to fix that? > > >> > > > > Thanks, --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: onCreateOptionsMenu not called
Hi, here is my code private boolean populateMenu(Menu menu) { boolean result = super.onCreateOptionsMenu(menu); MenuItem item1 = menu .add(0, TAG_INSERT_ID, 0, R.string.menu_create); item1.setAlphabeticShortcut('o'); item1.setIcon(R.drawable.add); item1 = menu.add(0, TAG_REMOVE_ID, 0, R.string.menu_delete); item1.setAlphabeticShortcut('i'); item1.setIcon(R.drawable.delete); item1 = menu.add(0, TAG_EDIT_ID, 0, R.string.menu_edit); item1.setAlphabeticShortcut('p'); item1.setIcon(R.drawable.rename); item1 = menu.add(0, TAG_HELP_ID, 0, R.string.menu_rename); item1.setAlphabeticShortcut('/'); item1.setIcon(R.drawable.help); return result; } @Override public boolean onCreateOptionsMenu(Menu menu) { super.onCreateOptionsMenu(menu); populateMenu(menu); return true; //return populateMenu(menu); } I've tried various combinations of this and couldn't find out what changed. Thanks, Teo On Thu, Sep 25, 2008 at 1:22 PM, Ludwig <[EMAIL PROTECTED]> wrote: > This has not been removed or changed AFAIK and it continues to work for > me.What > exactly are you doing? > > 2008/9/25 Teo <[EMAIL PROTECTED]> > >> >> Hi, >> >> onCreateOptionsMenu for my app isn't called anymore. I tried with SDK >> 1.0 just yesterday and it worked; today (still on SDK 1.0) the >> function isn't called anymore and nothing happens when i hit Menu. >> >> What might be the problem? >> >> Thanks in advance, >> Teo >> >> > > > > -- Teo (a.k.a. Teodor Filimon, Teominator) Site - www.teodorfilimon.com | Blog - www.teodorfilimon.blogspot.com GMT +2 (or PDT +10) --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: onCreateOptionsMenu not called
This has not been removed or changed AFAIK and it continues to work for me.What exactly are you doing? 2008/9/25 Teo <[EMAIL PROTECTED]> > > Hi, > > onCreateOptionsMenu for my app isn't called anymore. I tried with SDK > 1.0 just yesterday and it worked; today (still on SDK 1.0) the > function isn't called anymore and nothing happens when i hit Menu. > > What might be the problem? > > Thanks in advance, > Teo > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Are there any base64 encoding functions in 1.0r1?
I don't think there is. The android.util package description states that it "Provides common utility methods such as date/time manipulation, base64 encoders and decoders, ...". However, there is no base64 codec in android.util, nor anywhere else in android.jar. Does anyone know a workaround until google fixes this problem and updates the SDK? On Sep 24, 5:29 am, samlu <[EMAIL PROTECTED]> wrote: > I can find the encodeBase64() function from the > org.apache.commons.codec.binary.Base64package in 0.9r1. > > It seems that this package is removed from 1.0r1. > Are there anybase64encoding functions available in 1.0r1? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Decompile android.jar - RuntimeException("Stub!") - SDK 1.0
Hi, I used to have a look at the classes in android.jar using JadClipse. Since SDK 1.0 I only get class method looking like public void something(...){ throw new RuntimeException("Stub!"); } 1. Is there another possibility to decompile/understand the android classes? 2. How did you manage to do that? Code obfuscation is also an issue for us. Friedger --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: location is always latitude 0 longitude 0 altitude 10 in v0.9
I solved the problem in windows XP changing the numbers, times and dates format from spanish to english (US). In Linux i had to delete my spanish locales (with dpgk-reconfigure locales in Debian Lenny) and changed the LANG variable (LANG=en_GB.UTF-8). Regards, Antonio On Sep 24, 12:32 pm, Guillaume Perrot <[EMAIL PROTECTED]> wrote: > I retested a en_GB locale on my Ubuntu 8.04 LTS with Android v1.0. > OMFG DDMS controls works with that locale ! > But how to procude KML files with direction but non mutlti coordinates > tags using Google Earth ? > I read and tested, multi-coordinates tag is not supported anymore... > And google earth save directions with this tag. > hve.dk, I haven't reported an issue yet, did you ? > > On 4 sep, 14:27, [EMAIL PROTECTED] wrote: > > > Hi, I had the same problem, also switched locale and it works... > > Guess it has nothing do do with the locale itself, more with the way > > the OS is formatting date, time, ... > > So you have to make sure that not only the language is changed to > > english but also the formatting rules. > > > I'm running MAC OS X and Eclipse 3.4,DDMSvia the Eclipse > > perspective. > > > On Sep 2, 11:09 am, "hve.dk" <[EMAIL PROTECTED]> wrote: > > > > Guillaume, I got same the same problem (i.e.DDMSlocationcontrols > > > doesn't reach the emulator - or is set to 0,0). > > > Do you file a bug report at:http://code.google.com/p/android/issues/list > > > > (?) - If you don't I'll do it ;-) > > > > On 26 Aug., 15:44, Guillaume Perrot <[EMAIL PROTECTED]> wrote: > > > > > In the standard maps application, my position is always at latitude 0 > > > > and longitude 0, altitude 10. > > > >Locationcontrols inDDMSin Eclipse seems to do nothing, I tried to > > > > set manuallocation, using a GPX or a KML, i always get a 0,0 > > > >location... > > > > The only provider available is gps when I tried programmatically. > > > > Plus, the documentation tells us about about the "geo" command but I > > > > didn't find it in my tools directory nor in adb shell internal > > > > command --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Devices for testing?
See my post in the other thread. http://groups.google.com/group/android-discuss/browse_thread/thread/e3831f8a2899765e/41d9fb0ebaa6b5ca?hl=en#41d9fb0ebaa6b5ca Short answer = YES. Cheers Eric Wong Portable Electronics Ltd www.hdmp4.com On Sep 25, 2:19 am, hyphz <[EMAIL PROTECTED]> wrote: > Hi, > > Will there ever be a way of getting hold of a G-1, or another Android > phone, just for application testing? > > It would seem very awkward to be required to pay a monthly fee to T- > Mobile, especially if it is not for actual use as a phone.. > > Thanks! --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Acessing web services with ksoap
hi all, I saw on http://ksoap2.sourceforge.net/ that last news was posted in 2006... Does ksoap2 is still managed? On 22 sep, 13:12, Mark Murphy <[EMAIL PROTECTED]> wrote: > stanchat wrote: > > I sort of new to this and downloaded the following jars. Where is the > > actual source code located? I do not see a package with src and lib. > > http://ksoap2.sourceforge.net/ > > Click on either Browse Source (if you want to peruse it online) or SVN > Access (if you want to do a Subversion checkout) in the navigation bar > on the left. > > -- > Mark Murphy (a Commons Guy)http://commonsware.com > _The Busy Coder's Guide to Android Development_ Version 1.2 Published! --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Bug with Ellipsize in ListView?
Hrmm.. well what's weird is the API is truncating the string and adding the "...", I'm just not sure where the extra character is coming from.. I'll take a look again, but the text is pretty clean as it's coming from an XML source. On Sep 25, 12:58 am, "Romain Guy" <[EMAIL PROTECTED]> wrote: > You should check the ascii values of your strings. It looks like a > wrong line return (maybe a \r\n?) > > On Wed, Sep 24, 2008 at 10:32 AM, Mark Hansen <[EMAIL PROTECTED]> wrote: > > > I was implementing a view this morning with Ellipsize and noticed some > > characters appearing after the "..." > > >http://dl.getdropbox.com/u/26335/ellipsize.png > > > Notice the middle two lines have a box like it has an > > unrenderablecharacter. > > > Is this a bug, or am I doing something strange? > > -- > Romain Guywww.curious-creature.org --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Does ksoap2 is still managed?
Hi, I would like to know if ksoap2 is still managed? I'm asking you because I'm afraid because last news was posted in 2006 on http://ksoap2.sourceforge.net/... If no update has been really created since 2006, I'm not sure that ksoap2 is a good idea... BUT tell me what you think about that because I'm little bit disappointed about solutions to communicate between Server and Android... (I'm newbie in mobile development ^^) Which protocol, API, ...? So, which is/are best way(s) for you to communicate between Android and remote server to perform these actions: - Simple request - Keep STATE between android and server (like httpsession?) - **PUSH** data FROM server TO Android device (embedded http server ?) Thanks for yours advices, Max --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Can Applications consist of just Services
Hi Since an Activity does not need to provide a User Interface at all, does this mean that an Android application can be a background Service ? I 'm not sure why one would want to do this, but is it possible ? I imagine one Activity (which did not create a User Interface) would be needed as a point-of-entry, this Activity could just essentially launch a Service component. Thanks for any insights Graeme --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: G1 for testing outside US
Hi, This seems to provide some hope, but maybe only in the US ? - http://groups.google.com/group/android-developers/browse_thread/thread/27b03cd2f75547e2?hl=en see - Matt "More interestingly, buyers would be able to have access to a "contract free" G1 (with a price point of $399), and could unlock the device with T-Mobile's blessing after 90 days" >From >http://www.engadget.com/2008/09/23/t-mobiles-cto-on-g1-unlocking-and-tethering-plus-a-few-detai/ Regards On Sep 25, 8:41 pm, blindfold <[EMAIL PROTECTED]> wrote: > > How are the Android developers worldwide handling this issue? > > I'm just testing in the emulator, hoping for the best (I'm in Europe). > However, even in 1.0 r1 there are unspecified and unimplemented camera > issues, such that for instance I have to hard-code the T-Mobile G1 > camera resolution (2048 x 1536), which will no longer make sense once > other Android phones hit the market. > > On Sep 25, 9:15 am, Muthu Ramadoss <[EMAIL PROTECTED]> wrote: > > > Hi, > > > How can non US developers get a G1 for testing? We can buy it for sure > > if its available. > > > If we can't get a device for testing, can we just test in emulator? > > How are the Android developers worldwide handling this issue? > > > Ideas, anyone? > > >http://mobeegal.in-mobile search. redefined. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Revocation of Signed Applications
Hi I was wondering if the Android Application installer supports the revocation of certicates of already installed applications ? Thanks Graeme --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] apkbuilder.bat faulty?
I wanted to pass dx some parameters when building a project using ADT with Eclipse, I didn't find how, so I turned to ant. I created a empty project with the activitycreator tool. I put the generated build.xml into my actual project. Then I modified the build.xml to match my project and i inserted the dx parameter (which is --core-library) Now I wanted to build the project. It worked fine, all classes where compiled and put in the classes.dex. But when ant came to building the .apk it failed. Giving me the error: " Unable to access jarfile ..\framework \apkbuilder.jar " I looked for the apkbuilder.bat and the didn't quite understand it. There is a reference made to some framework directory that i don't have. The part that I don't understand is that one: set jarfile=apkbuilder.jar set frameworkdir= set libdir= if exist %frameworkdir%%jarfile% goto JarFileOk set frameworkdir=lib\ set libdir=lib\ if exist %frameworkdir%%jarfile% goto JarFileOk set frameworkdir=..\framework\ set libdir=..\lib\ :JarFileOk set jarpath=%frameworkdir%%jarfile% echo java -Djava.ext.dirs=%frameworkdir% -Djava.library.path=%libdir% - jar %jarpath% %* Obviously the script tries to determine the location of apkbuilder.jar, but it fails due to the wrong directories. I modified the script so that i had a correct path to apkbuilder.jar. As result the java vm started but returned immidiatly saying: Exception in thread "main" java.lang.NoClassDefFoundError: com/android/ prefs/And roidLocation$AndroidLocationException Caused by: java.lang.ClassNotFoundException: com.android.prefs.AndroidLocation$A ndroidLocationException at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) Did I overlook something? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: G1 for testing outside US
Yeah - they should allow a testhandy for developer even for non US ones. Maybe they can manage the developer authorization by give everybody one device which has a uploaded program at code.google ? to verify if it is a developer? That would be great. And would help to create cool apps! CU Christian On 25 Sep., 15:28, gjs <[EMAIL PROTECTED]> wrote: > Hi, > > This seems to provide some hope, but maybe only in the US ? - > > http://groups.google.com/group/android-developers/browse_thread/threa... > > see - > > Matt > > "More interestingly, buyers would be able to have access to a > "contract free" G1 (with a price point of $399), and could unlock the > device with T-Mobile's blessing after 90 days" > > Fromhttp://www.engadget.com/2008/09/23/t-mobiles-cto-on-g1-unlocking-and-... > > Regards > > On Sep 25, 8:41 pm, blindfold <[EMAIL PROTECTED]> wrote: > > > > How are the Android developers worldwide handling this issue? > > > I'm just testing in the emulator, hoping for the best (I'm in Europe). > > However, even in 1.0 r1 there are unspecified and unimplemented camera > > issues, such that for instance I have to hard-code the T-Mobile G1 > > camera resolution (2048 x 1536), which will no longer make sense once > > other Android phones hit the market. > > > On Sep 25, 9:15 am, Muthu Ramadoss <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > How can non US developers get a G1 for testing? We can buy it for sure > > > if its available. > > > > If we can't get a device for testing, can we just test in emulator? > > > How are the Android developers worldwide handling this issue? > > > > Ideas, anyone? > > > >http://mobeegal.in-mobilesearch. redefined. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] WebView and #links
Hi all! I have a problem with WebView. If I call loadData() with a String parameter that has an anchor with a href that contains the symbol "#" then the WebView will not render anything after that statement. For example: loadData("Jump to the Useful Tips SectionUseful Tips Section", "text/html", "utf-8"); IS NOT working. loadData("http://google.com\";>Jump to the Useful Tips SectionUseful Tips Section", "text/html", "utf-8"); IS working. The only difference is the actual link. If I save the stuff as a html file on a webserver and open it using loadUrl(); then everything works as expected. Am I missing something here or is WebView broken? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: WebView and #links
Tauno T wrote: > I have a problem with WebView. > If I call loadData() with a String parameter that has an anchor with a > href that contains the symbol "#" then the WebView will not render > anything after that statement. > > For example: > loadData("Jump to the Useful Tips Section \"tips\">Useful Tips Section", "text/html", "utf-8"); > IS NOT working. > > loadData("http://google.com\";>Jump to the Useful Tips > SectionUseful Tips Section", "text/html", > "utf-8"); > IS working. > > The only difference is the actual link. > If I save the stuff as a html file on a webserver and open it using > loadUrl(); then everything works as expected. > > Am I missing something here or is WebView broken? Try using loadDataWithBaseUrl(), even giving it a totally bogus base URL (e.g., fake://this/is/strange). I wound up switching to this mechanism based on a related bug report I filed. It got me past a local-access security restriction. I don't know if it will help in this case, but it's worth a quick check. Let us know how it works out. -- Mark Murphy (a Commons Guy) http://commonsware.com Warescription: All titles, revisions, & ebook formats, just $35/year --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Are there any base64 encoding functions in 1.0r1?
kingtut wrote: > Does anyone know a workaround until google fixes this problem and > updates the SDK? You could download the appropriate JAR or source files from Apache and put it in your project. Apache code is open source and under a compatible license. -- Mark Murphy (a Commons Guy) http://commonsware.com Warescription: All titles, revisions, & ebook formats, just $35/year --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: onCreateOptionsMenu not called
Teo wrote: > Hi, here is my code > > private boolean populateMenu(Menu menu) { > boolean result = super.onCreateOptionsMenu(menu); Why are you calling super.onCreateOptionsMenu() from populateMenu()? > @Override > public boolean onCreateOptionsMenu(Menu menu) { > super.onCreateOptionsMenu(menu); > populateMenu(menu); Why are you calling super.onCreateOptionsMenu() twice, once here, and once in populateMenu()? I don't know if these are the source of your problem. -- Mark Murphy (a Commons Guy) http://commonsware.com Warescription: All titles, revisions, & ebook formats, just $35/year --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: WebView and #links
Thanks Mark, it works just fine when using loadDataWithBaseUrl(). I'll file a bug about that then since it seems like a bug to me :) On Sep 25, 5:45 pm, Mark Murphy <[EMAIL PROTECTED]> wrote: > Tauno T wrote: > > I have a problem with WebView. > > If I call loadData() with a String parameter that has an anchor with a > > href that contains the symbol "#" then the WebView will not render > > anything after that statement. > > > For example: > > loadData("Jump to the Useful Tips Section > \"tips\">Useful Tips Section", "text/html", "utf-8"); > > IS NOT working. > > > loadData("http://google.com\";>Jump to the Useful Tips > > SectionUseful Tips Section", "text/html", > > "utf-8"); > > IS working. > > > The only difference is the actual link. > > If I save the stuff as a html file on a webserver and open it using > > loadUrl(); then everything works as expected. > > > Am I missing something here or is WebView broken? > > Try using loadDataWithBaseUrl(), even giving it a totally bogus base URL > (e.g., fake://this/is/strange). I wound up switching to this mechanism > based on a related bug report I filed. It got me past a local-access > security restriction. I don't know if it will help in this case, but > it's worth a quick check. > > Let us know how it works out. > > -- > Mark Murphy (a Commons Guy)http://commonsware.com > Warescription: All titles, revisions, & ebook formats, just $35/year --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] ConnectManager supports multiple-homing ?
Hi The android.net.ConnectivityManager has a member function requestRouteToHost(int networkType, int hostAddress) to ensure that a route is maintained to deliver traffic to a specified host via a specified network interface (TYPE_WIFI or TYPE_MOBILE). Now does this mean that Android supports multi-homing, that is being connected to a cellular data network and a WiFi-based network at he same time ? Thanks Graeme --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] URLConnection with https fails every other time
Can anyone help? The code below loops 10 times where each loop does a URL connection using either http or https. When using http protocol everything works fine. When using https, every other message is sent correctly while the incorrect messages fail silently (no message is sent to the server and no exception is thrown). We know no packets are sent because we are using echoport to track packets. If the delay between messages is set to 1ms, then all https messages are sent correctly. private void sendHttpsMsg(long id) { String urlString = "https://192.168.1.104/msg";; //String urlString = "http://192.168.1.104/msg";; try { URL url = new URL(urlString); Log.i("httpsURL",url.toString()); URLConnection connection = url.openConnection(); InputStream is = connection.getInputStream(); Scanner in = new Scanner(is); while (in.hasNextLine()) Log.i("httpsURL",in.nextLine()); } catch (Exception ioe) { Log.i("httpsURL",ioe.toString()); } } private class HttpMsgThread extends Thread { HttpMsgThread() { super("httpsMsg"); } public void run() { for(int i=0; i<10; i++) { sendHttpsMsg(getId()); try {Thread.sleep(1);} catch (InterruptedException e) {} } } } --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: 1.0_r1 win version, missing classes
We're looking into this. -Jeff On Thu, Sep 25, 2008 at 1:11 AM, goorov <[EMAIL PROTECTED]> wrote: > > There are classes which exist in documentation but absent in > android.jar (from android-sdk-windows-1.0_r1.zip): > > android.content.AsyncQueryHandler.WorkerArgs > android.content.AsyncQueryHandler.WorkerHandler > android.database.AbstractCursor.SelfContentObserver > android.view.animation.Animation.Description > java.security.cert.Certificate.CertificateRep > java.security.cert.CertPath.CertPathRep > > In previous versions there is no such problem. The common feature of > all these classes is that they are inner protected classes. Is this > mistake of sdk builders or something else? > > -- > http://www.androidjavadoc.com/ > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Can Applications consist of just Services
There isn't anything preventing you from doing this. You could, for example, have an application that consisted of just a Service and a BroadcastReceiver and have the receiver start the service when something interesting happens. -Jeff On Thu, Sep 25, 2008 at 6:23 AM, Graeme <[EMAIL PROTECTED]> wrote: > > Hi > > Since an Activity does not need to provide a User Interface at all, > does this mean > that an Android application can be a background Service ? I 'm not > sure why one > would want to do this, but is it possible ? I imagine one Activity > (which did not create > a User Interface) would be needed as a point-of-entry, this Activity > could just essentially > launch a Service component. > > Thanks for any insights > Graeme > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: apkbuilder.bat faulty?
meanwhile i did some try and error and got it running. setting frameworkdir and libdir to the lib folder works, manipulating the java.libraray.path property did't influence anything i could observe. so thats what the interesting part of my apkbuilder.bat looks like now: === set jarfile=apkbuilder.jar set frameworkdir=D:\My\Path\to\android-sdk-windows-1.0_r1\tools\lib\ set libdir=D:\My\Path\to\android-sdk-windows-1.0_r1\tools\lib\ if exist %frameworkdir%%jarfile% goto JarFileOk set frameworkdir=lib\ set libdir=lib\ if exist %frameworkdir%%jarfile% goto JarFileOk set frameworkdir=..\framework\ set libdir=..\lib\ :JarFileOk set jarpath=%frameworkdir%%jarfile% call java -Djava.ext.dirs=%frameworkdir% -Djava.library.path=%libdir% - jar %jarpath% %* === I think I could have well spared libpath, doen't change a thing here. But i left it pointing to the same directory as frameworkdir. Am i the only one getting in trouble with apkbuilder? On 25 Sep., 16:30, Jakob Sachse <[EMAIL PROTECTED]> wrote: > I wanted to pass dx some parameters when building a project using ADT > with Eclipse, I didn't find how, so I turned to ant. > > I created a empty project with the activitycreator tool. > I put the generated build.xml into my actual project. > Then I modified the build.xml to match my project and i inserted the > dx parameter (which is --core-library) > > Now I wanted to build the project. > It worked fine, all classes where compiled and put in the > classes.dex. > But when ant came to building the .apk it failed. > Giving me the error: " Unable to access jarfile ..\framework > \apkbuilder.jar " > > I looked for the apkbuilder.bat and the didn't quite understand it. > There is a reference made to some framework directory that i don't > have. > The part that I don't understand is that one: > > > set jarfile=apkbuilder.jar > set frameworkdir= > set libdir= > > if exist %frameworkdir%%jarfile% goto JarFileOk > set frameworkdir=lib\ > set libdir=lib\ > > if exist %frameworkdir%%jarfile% goto JarFileOk > set frameworkdir=..\framework\ > set libdir=..\lib\ > > :JarFileOk > > set jarpath=%frameworkdir%%jarfile% > > echo java -Djava.ext.dirs=%frameworkdir% -Djava.library.path=%libdir% - > jar %jarpath% %* > > > Obviously the script tries to determine the location of > apkbuilder.jar, but it fails due to the wrong directories. > > I modified the script so that i had a correct path to apkbuilder.jar. > As result the java vm started but returned immidiatly saying: > > Exception in thread "main" java.lang.NoClassDefFoundError: com/android/ > prefs/And > roidLocation$AndroidLocationException > Caused by: java.lang.ClassNotFoundException: > com.android.prefs.AndroidLocation$A > ndroidLocationException > at java.net.URLClassLoader$1.run(Unknown Source) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(Unknown Source) > > Did I overlook something? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Google Chrome or WebKit on Android?
Both are based on Webkit. The Android Browser is created specifically for mobile. Chrome is created specifically for the Desktop. - Juan On Sep 25, 12:30 am, Ramon Rabello <[EMAIL PROTECTED]> wrote: > Since the release of Google Chrome I've been thinking the possibility > of the new browser being integrated with the Android Platform insted > of WebKit. Hence, Android-based mobile devices users will benefit from > awesome features bundled in the browser. Let Android Engineers think > about this :) --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Google support for developers
Thanks for the information. We are wondering if there will be support beyond the contest level. For example, there will be many manufacturers (we hope) of phones that run Android. Will there be discounted developer prices/ short- term subscriptions? Will there be central testing facilities that provide access to all available phones? While the emulators are very important, it is necessary to build and execute on the real hardware. Is Google (or an Alliance member) interested in providing VC funding (similar to the Apple iFund for iPhone apps)? While the Google contest is a great start, some ventures will require more. On Sep 24, 11:16 am, "Mark Murphy" <[EMAIL PROTECTED]> wrote: > > 2. Are there possibilities that Google willsupportAndroid-based > > businesses with VC funding or marketing collaborations? > > There are the Android Developer Challenges. ADC II is supposed to be > announced in the fourth quarter of 2008. > > Also, getting applications into the App Market will give you exposure to > all(?) Android users, just as getting into Apple's App Store gives you > exposure to all (non-jailbroken?) iPhone users. > > -- > Mark Murphy (a Commons Guy)http://commonsware.com > _The Busy Coder's Guide to Android Development_ Version 1.2 Published! --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: location is always latitude 0 longitude 0 altitude 10 in v0.9
I solved the problem in windows XP changing the numbers, times and dates formatting from spanish to english (US). Someone knows how do the same in Linux? Regards, Antonio On 24 sep, 12:32, Guillaume Perrot <[EMAIL PROTECTED]> wrote: > I retested a en_GB locale on my Ubuntu 8.04 LTS with Android v1.0. > OMFG DDMS controls works with that locale ! > But how to procude KML files with direction but non mutlti coordinates > tags using Google Earth ? > I read and tested, multi-coordinates tag is not supported anymore... > And google earth save directions with this tag. > hve.dk, I haven't reported an issue yet, did you ? > > On 4 sep, 14:27, [EMAIL PROTECTED] wrote: > > > Hi, I had the same problem, also switched locale and it works... > > Guess it has nothing do do with the locale itself, more with the way > > the OS is formatting date, time, ... > > So you have to make sure that not only the language is changed to > > english but also the formatting rules. > > > I'm running MAC OS X and Eclipse 3.4,DDMSvia the Eclipse > > perspective. > > > On Sep 2, 11:09 am, "hve.dk" <[EMAIL PROTECTED]> wrote: > > > > Guillaume, I got same the same problem (i.e.DDMSlocationcontrols > > > doesn't reach the emulator - or is set to 0,0). > > > Do you file a bug report at:http://code.google.com/p/android/issues/list > > > > (?) - If you don't I'll do it ;-) > > > > On 26 Aug., 15:44, Guillaume Perrot <[EMAIL PROTECTED]> wrote: > > > > > In the standard maps application, my position is always at latitude 0 > > > > and longitude 0, altitude 10. > > > >Locationcontrols inDDMSin Eclipse seems to do nothing, I tried to > > > > set manuallocation, using a GPX or a KML, i always get a 0,0 > > > >location... > > > > The only provider available is gps when I tried programmatically. > > > > Plus, the documentation tells us about about the "geo" command but I > > > > didn't find it in my tools directory nor in adb shell internal > > > > command --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: onCreateOptionsMenu not called
Thanks for pointing that out, it was an oversight. But it still didn't solve the problem.onCreateOptionsMenu isn't even called :/ On Thu, Sep 25, 2008 at 5:50 PM, Mark Murphy <[EMAIL PROTECTED]>wrote: > > Teo wrote: > > Hi, here is my code > > > > private boolean populateMenu(Menu menu) { > > boolean result = super.onCreateOptionsMenu(menu); > > Why are you calling super.onCreateOptionsMenu() from populateMenu()? > > > @Override > > public boolean onCreateOptionsMenu(Menu menu) { > > super.onCreateOptionsMenu(menu); > > populateMenu(menu); > > Why are you calling super.onCreateOptionsMenu() twice, once here, and > once in populateMenu()? > > I don't know if these are the source of your problem. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com > Warescription: All titles, revisions, & ebook formats, just $35/year > > > > -- Teo (a.k.a. Teodor Filimon, Teominator) Site - www.teodorfilimon.com | Blog - www.teodorfilimon.blogspot.com GMT +2 (or PDT +10) --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: onCreateOptionsMenu not called
> Thanks for pointing that out, it was an oversight. But it still didn't > solve the problem.onCreateOptionsMenu isn't even called :/ I was in a bit of a rush with the last reply and figured it would be worth a shot. Is onPrepareOptionsMenu() being called? That should be called on every menu button press; onCreateOptionsMenu() will only get called on the first menu button press. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.2 Published! --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Decompile android.jar - RuntimeException("Stub!") - SDK 1.0
Oh, yes, that "Stub!" thing :) I hope this doesn't mean that there will be no source code release for SDK... Otherwise, why "stubbize" android.jar? BTW, decompilation is illegal, and is prohibited by license agreement. On 25 сент, 18:32, friedger <[EMAIL PROTECTED]> wrote: > Hi, > > I used to have a look at the classes in android.jar using JadClipse. > > Since SDK 1.0 I only get class method looking like > > public void something(...){ > throw new RuntimeException("Stub!"); > > } > > 1. Is there another possibility to decompile/understand the android > classes? > 2. How did you manage to do that? Code obfuscation is also an issue > for us. > > Friedger --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: onCreateOptionsMenu not called
Nope, nothing happens on prepare either. This is too strange, i remember the other day i tried the menu and it worked in the latest SDK. Today with no change in code, nothing, not even a call. I should say the menu works in other apps, so the problem seems to be only with mine. On Thu, Sep 25, 2008 at 7:57 PM, Mark Murphy <[EMAIL PROTECTED]>wrote: > > > Thanks for pointing that out, it was an oversight. But it still didn't > > solve the problem.onCreateOptionsMenu isn't even called :/ > > I was in a bit of a rush with the last reply and figured it would be worth > a shot. > > Is onPrepareOptionsMenu() being called? That should be called on every > menu button press; onCreateOptionsMenu() will only get called on the first > menu button press. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com > _The Busy Coder's Guide to Android Development_ Version 1.2 Published! > > > > > > -- Teo (a.k.a. Teodor Filimon, Teominator) Site - www.teodorfilimon.com | Blog - www.teodorfilimon.blogspot.com GMT +2 (or PDT +10) --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: onCreateOptionsMenu not called
I've replaced some PNG images i used for the menu, that's the closest thing i did; but there shouldn't be any influence from that either.. On Thu, Sep 25, 2008 at 8:19 PM, Teo <[EMAIL PROTECTED]> wrote: > Nope, nothing happens on prepare either. This is too strange, i remember > the other day i tried the menu and it worked in the latest SDK. Today with > no change in code, nothing, not even a call. I should say the menu works in > other apps, so the problem seems to be only with mine. > > > On Thu, Sep 25, 2008 at 7:57 PM, Mark Murphy <[EMAIL PROTECTED]>wrote: > >> >> > Thanks for pointing that out, it was an oversight. But it still didn't >> > solve the problem.onCreateOptionsMenu isn't even called :/ >> >> I was in a bit of a rush with the last reply and figured it would be worth >> a shot. >> >> Is onPrepareOptionsMenu() being called? That should be called on every >> menu button press; onCreateOptionsMenu() will only get called on the first >> menu button press. >> >> -- >> Mark Murphy (a Commons Guy) >> http://commonsware.com >> _The Busy Coder's Guide to Android Development_ Version 1.2 Published! >> >> >> >> >> >> > > > -- > Teo (a.k.a. Teodor Filimon, Teominator) > Site - www.teodorfilimon.com | Blog - www.teodorfilimon.blogspot.com > GMT +2 (or PDT +10) > -- Teo (a.k.a. Teodor Filimon, Teominator) Site - www.teodorfilimon.com | Blog - www.teodorfilimon.blogspot.com GMT +2 (or PDT +10) --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Publish your intents
A quick update: Now it is also possible to publish applications that either provide or use public intents: http://www.openintents.org/en/applications We look forward to your feedback. Let us know if you think this may be useful to you. Peli www.openintents.org On Sep 17, 11:19 am, Peli <[EMAIL PROTECTED]> wrote: > In an effort to create a public "intent registration system", we would > like to gauge how many potential intents there are. > > If you have implemented an intent for public use, or would like to see > one being implemented, please post a comment here where we have > started to collect intents: > > *http://www.openintents.org/en/node/35 > > Feel free to join our discussion also here: > * Public intent registration > system:http://groups.google.com/group/openintents/browse_frm/thread/533d71bd... > * Public content > providerregistry:http://groups.google.com/group/openintents/browse_frm/thread/18bb39a5... > > Peliwww.openintents.org --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Complaint again
Is it possible to make Android emulator more stable? Why in 9 out of 10 times does adb.exe/DDMS fail to connect with the emulator??? Why in 5 out of 10 times does adb.exe/DDMS fail to launch my application on the emulator??? Aren't all these Android components all on the same machine? What the --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Can Applications consist of just Services
Very interesting. This may also be useful if one writes a general background service that allows different GUI activities to access it, but one does not want to single out a particular GUI. In this case, it would be really advantageous to publish the intents used, for example in the OpenIntents intents registry http://www.openintents.org/en/intentstable , so that other developers can also use the intents :-) Peli www.openintents.org On Sep 25, 5:52 pm, "Jeff Hamilton" <[EMAIL PROTECTED]> wrote: > There isn't anything preventing you from doing this. You could, for > example, have an application that consisted of just a Service and a > BroadcastReceiver and have the receiver start the service when > something interesting happens. > > -Jeff > > On Thu, Sep 25, 2008 at 6:23 AM, Graeme <[EMAIL PROTECTED]> wrote: > > > Hi > > > Since an Activity does not need to provide a User Interface at all, > > does this mean > > that an Android application can be a background Service ? I 'm not > > sure why one > > would want to do this, but is it possible ? I imagine one Activity > > (which did not create > > a User Interface) would be needed as a point-of-entry, this Activity > > could just essentially > > launch a Service component. > > > Thanks for any insights > > Graeme --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: location is always latitude 0 longitude 0 altitude 10 in v0.9
With Ubuntu I just had to open a session in a different locale (from the login screen), just one time to test... On 25 sep, 14:07, Antonio Villar <[EMAIL PROTECTED]> wrote: > I solved the problem in windows XP changing the numbers, times and > dates format from spanish to english (US). > > In Linux i had to delete my spanish locales (with dpgk-reconfigure > locales in Debian Lenny) and changed the LANG variable > (LANG=en_GB.UTF-8). > > Regards, Antonio > > On Sep 24, 12:32 pm, Guillaume Perrot <[EMAIL PROTECTED]> > wrote: > > > I retested a en_GB locale on my Ubuntu 8.04 LTS with Android v1.0. > > OMFG DDMS controls works with that locale ! > > But how to procude KML files with direction but non mutlti coordinates > > tags using Google Earth ? > > I read and tested, multi-coordinates tag is not supported anymore... > > And google earth save directions with this tag. > > hve.dk, I haven't reported an issue yet, did you ? > > > On 4 sep, 14:27, [EMAIL PROTECTED] wrote: > > > > Hi, I had the same problem, also switched locale and it works... > > > Guess it has nothing do do with the locale itself, more with the way > > > the OS is formatting date, time, ... > > > So you have to make sure that not only the language is changed to > > > english but also the formatting rules. > > > > I'm running MAC OS X and Eclipse 3.4,DDMSvia the Eclipse > > > perspective. > > > > On Sep 2, 11:09 am, "hve.dk" <[EMAIL PROTECTED]> wrote: > > > > > Guillaume, I got same the same problem (i.e.DDMSlocationcontrols > > > > doesn't reach the emulator - or is set to 0,0). > > > > Do you file a bug report at:http://code.google.com/p/android/issues/list > > > > > (?) - If you don't I'll do it ;-) > > > > > On 26 Aug., 15:44, Guillaume Perrot <[EMAIL PROTECTED]> wrote: > > > > > > In the standard maps application, my position is always at latitude 0 > > > > > and longitude 0, altitude 10. > > > > >Locationcontrols inDDMSin Eclipse seems to do nothing, I tried to > > > > > set manuallocation, using a GPX or a KML, i always get a 0,0 > > > > >location... > > > > > The only provider available is gps when I tried programmatically. > > > > > Plus, the documentation tells us about about the "geo" command but I > > > > > didn't find it in my tools directory nor in adb shell internal > > > > > command --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Test Location Providers in 1.0
Yes but I can't tell the marketing department I can't maintain the "simulate my journey" for the demos. They can't use Eclipse nor telnet during demos... Hopefully, I managed to fake that feature until we'll have a true android mobile phone. On 24 sep, 13:29, Joe Erickson <[EMAIL PROTECTED]> wrote: > That looks to be the case. It never made sense to me that we would > have TestProvider code all through the app anyway. > > To test Location aware apps now, don't do anything special in your > code (code it like you would for a real production application), but > in Eclipse, open the Emulator Control view to send GPS lat and long. > > The docs say you can use a 'geo' app in the tools folder in the SDK, > but it doesn't seem to exist yet. > > http://code.google.com/android/toolbox/apis/lbs.html > > On Sep 24, 5:21 am, Guillaume Perrot <[EMAIL PROTECTED]> wrote: > > > I was wondering too, I had to disable this function from my > > application... > > It seems we can only use DDMS or telnet to simulate location now. > > > On 24 sep, 08:34, Reto Meier <[EMAIL PROTECTED]> wrote: > > > > The ability to create and configure mock location providers that was > > > added in Beta 0.9 doesn't seem available in 1.0. > > > > Has this functionality been moved / renamed or has it been dropped > > > entirely for version 1? If the latter, how do we now mock the status > > > and availability of Location Providers? > > > > Cheers > > > Reto --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Google Chrome or WebKit on Android?
What about the javascript virtual machine from V8 used by Google Chrome. Does Android use it as well ? On 25 sep, 21:08, jtaylor <[EMAIL PROTECTED]> wrote: > ZDNet has this article. > > September 24th, 2008 > Google Gears now inside Android’s “Chrome > Lite”http://blogs.zdnet.com/Burnette/?p=662 > > - Juan > > On Sep 25, 11:54 am, jtaylor <[EMAIL PROTECTED]> wrote: > > > Both are based on Webkit. The Android Browser is created specifically > > for mobile. Chrome is created specifically for the Desktop. > > > - Juan > > > On Sep 25, 12:30 am, Ramon Rabello <[EMAIL PROTECTED]> wrote: > > > > Since the release of Google Chrome I've been thinking the possibility > > > of the new browser being integrated with the Android Platform insted > > > of WebKit. Hence, Android-based mobile devices users will benefit from > > > awesome features bundled in the browser. Let Android Engineers think > > > about this :) --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: 1.0_r1 win version, missing classes
We've found and fixed the problem. The next SDK release will include these classes. -Jeff On Thu, Sep 25, 2008 at 8:48 AM, Jeff Hamilton <[EMAIL PROTECTED]> wrote: > We're looking into this. > > -Jeff > > On Thu, Sep 25, 2008 at 1:11 AM, goorov <[EMAIL PROTECTED]> wrote: >> >> There are classes which exist in documentation but absent in >> android.jar (from android-sdk-windows-1.0_r1.zip): >> >> android.content.AsyncQueryHandler.WorkerArgs >> android.content.AsyncQueryHandler.WorkerHandler >> android.database.AbstractCursor.SelfContentObserver >> android.view.animation.Animation.Description >> java.security.cert.Certificate.CertificateRep >> java.security.cert.CertPath.CertPathRep >> >> In previous versions there is no such problem. The common feature of >> all these classes is that they are inner protected classes. Is this >> mistake of sdk builders or something else? >> >> -- >> http://www.androidjavadoc.com/ >> >> >> > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: replacing incoming call and outgoing call screens
I am developing on an application which needs to overide the incoming call event and place its own dialog box. will that be possible now or in any future ?? This is my final year project in my college, please let me know... Pulkit Arora --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Hanging up outgoing calls.
Is there a way to hang up an outgoing call? May be some sort of equivalent to ACTION_DIAL or ACTION_CALL? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] MediaPlayer.getFrameAt() is gone in V1.0. Alternatives in the meantime?
android.media.MediaPlayer.getFrameAt() is gone on 1.0. The release notes for 1.0 reads: "Method android.media.MediaPlayer.getFrameAt() is not supported in this release." But one thing is not supported and one thing is totally removing it from the API i.e. making previous build breaks. I guess that is an explicit way to let developers note that it just doesn't work. What are the plans on bringing back that API? and in the meantime, was is the alternative? Is View.getDrawingCache() an alternative? the doc says that only works if caching is enabled, but can my app force caching to the current view used by the MediaPlayer? ceo --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] How to set up a new PC in one easy session
Fellow ZDNet blogger Jason Perlow helped a friend and colleague buy a new PC and migrate her data and settings from the old machine (Windows XP) to the new one (Windows Vista). He documents the process in The New Adventures of Christine’s Old PC. I tip my hat to Jason for his dedication to a friend, but as someone who has been doing this for years, I shook my head at the way he turned what should be a straightforward procedure into a weekend-long geekfest, complete with the transformation of the old, slow, obsolete, spyware-ridden computer into a virtual machine on the new one. In my opinion, that’s overkill for everyone involved. http://www.microsoftblog.info/ --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Drawing on MapView
Hi peter, i was trying use the code but i can't. I'll show you the code of my class import android.graphics.Canvas; import android.graphics.drawable.Drawable; import java.io.DataOutputStream; import java.io.OutputStream; import java.lang.reflect.Array; import java.net.HttpURLConnection; import java.net.URL; import java.util.Vector; import org.apache.http.protocol.HTTP; import android.os.Bundle; import android.view.*; import com.google.android.maps.GeoPoint; import com.google.android.maps.MapActivity; import com.google.android.maps.MapView; public class prueba extends MapActivity { MapView map; GeoPoint Point = new GeoPoint((int) (-1.416402 * 100), (int) (-78.025078 * 100)); @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); map = (MapView) findViewById(R.id.map); map.getController().setCenter(Point); // map.getController().animateTo(Point); map.displayZoomControls(false); map.getController().setZoom(7); } public boolean onKeyDown(int keyCode, KeyEvent event) { switch(keyCode){ case KeyEvent.KEYCODE_I: int level = map.getZoomLevel(); map.getController().setZoom(level + 1); return true; case KeyEvent.KEYCODE_O: int level2 = map.getZoomLevel(); map.getController().setZoom(level2 + 1); return true; case KeyEvent.KEYCODE_S: map.setSatellite(true); return true; case KeyEvent.KEYCODE_T: map.setSatellite(false); return true; } return false; } @Override public boolean onCreateOptionsMenu(Menu menu) { super.onCreateOptionsMenu(menu); menu.add(0,1,2, "My Location"); //menu 1 SubMenu sub1 = menu.addSubMenu(3, 2, 3,"Vistas"); sub1.add(3,3,1, "Satelite"); sub1.add(3,4,2, "Trafico"); //menu 2 SubMenu sub = menu.addSubMenu(2, 5, 1,"Zoom"); sub.add(2,6,1, "In"); sub.add(2,7,2, "Out"); return true; } @Override public boolean onMenuItemSelected(int featureId, MenuItem item) { super.onMenuItemSelected(featureId, item); switch (item.getItemId()) { case 1: return true; case 3: map.setSatellite(true); return true; case 4: map.setSatellite(false); return true; case 6: int level = map.getZoomLevel(); map.getController().setZoom(level + 1); return true; case 7: int level1 = map.getZoomLevel(); map.getController().setZoom(level1 - 1); return true; } return super.onOptionsItemSelected(item); } @Override protected boolean isRouteDisplayed() { // TODO Auto-generated method stub return false; } } Over that map i want to draw some information, how i call a class which extend of ItemizedOverlay. thanx for the help --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] dotMobi TLD
Is the dotMobi TLD a sleeper or simply dead on arrival? Does anyone in this forum believe in the viability of the .mobi extension? Thank you for contributing your thoughts regarding this perplexing phenomenon. -Datapimp --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Ending a call
Hi anu, I'm facing the same problem. Did you manage to find a solution? Also, could you elaborate a little on how you simulate an outgoing call? On Sep 18, 7:06 am, anu <[EMAIL PROTECTED]> wrote: > I do not want to end the call manually. I need to code it in the same > way as I code in the call origination. In m5, there were APIs to both > call and endCall. Similarly, I used the intentACTION_CALLand > ACTION_DIAL to start the call. But, I need to end the call after some > delay. Is it possible in SDK 0.9 beta version. > > Thanks, > Anuradha Madhavan > > On Sep 17, 8:27 pm, Charlie Collins <[EMAIL PROTECTED]> wrote: > > > > > End the call by pressing the end call button so that the Activities in > > the dialer app can end the call. > > > I am not sure I understand the question, but you don't want to end a > > call manually, intentionally (users expect a call to work like a call, > > which they end when they want to). > > >http://groups.google.com/group/android-developers/browse_thread/threa... > > > On Sep 17, 5:11 am, anu <[EMAIL PROTECTED]> wrote: > > > > I have successfully simulated an outgoingcall(thanks to google > > > forums and the contributors). However, when I try toendthecallby > > > calling finish() or finishActivity(int), thecalldoes notend. Also, > > > I get a lot of crashes and the TelephoneManager's getCallState() API > > > does not return anything. Please help! > > > Thanks! > > > Anuradha Madhavan- Hide quoted text - > > - Show quoted text - --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Ending a call
Hi anu, I'm facing the same problem. Did you manage to find a solution? Also, could you elaborate a little on how you simulate an outgoing call? On Sep 18, 7:06 am, anu <[EMAIL PROTECTED]> wrote: > I do not want to end the call manually. I need to code it in the same > way as I code in the call origination. In m5, there were APIs to both > call and endCall. Similarly, I used the intentACTION_CALLand > ACTION_DIAL to start the call. But, I need to end the call after some > delay. Is it possible in SDK 0.9 beta version. > > Thanks, > Anuradha Madhavan > > On Sep 17, 8:27 pm, Charlie Collins <[EMAIL PROTECTED]> wrote: > > > > > End the call by pressing the end call button so that the Activities in > > the dialer app can end the call. > > > I am not sure I understand the question, but you don't want to end a > > call manually, intentionally (users expect a call to work like a call, > > which they end when they want to). > > >http://groups.google.com/group/android-developers/browse_thread/threa... > > > On Sep 17, 5:11 am, anu <[EMAIL PROTECTED]> wrote: > > > > I have successfully simulated an outgoingcall(thanks to google > > > forums and the contributors). However, when I try toendthecallby > > > calling finish() or finishActivity(int), thecalldoes notend. Also, > > > I get a lot of crashes and the TelephoneManager's getCallState() API > > > does not return anything. Please help! > > > Thanks! > > > Anuradha Madhavan- Hide quoted text - > > - Show quoted text - --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] How can i check the permissions on a Folder
I want to know how can we check the permissions on a folder? like the / data folder at android's root, if we create a file browser and click on it, it will show us nothing because we don't have permissions to view it's content as a user. so what i want to do is, i want to display a message to user that you can't see the content of this folder, or something like this. There is canRead() function in java api, but it always returns true... I also tried listFiles().length because it returns 0 for "/data" folder. But if i create a new folder in sdcard and click on it first time then also listFiles().length will be 0 and user will see that you can not see the containts of this folder. I know i can check the path of the folder and check that whether it's path starts with sdcard or not and then do appropriate option. But does anybody have tried anything which directly tells you that the folder has files/folders in it but you don't have permissions. thanks, Payal --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Ending a call
Hi anu, I'm facing the same problem. Did you manage to find a solution? Also, could you elaborate a little on how you simulate an outgoing call? On Sep 18, 7:06 am, anu <[EMAIL PROTECTED]> wrote: > I do not want to end the call manually. I need to code it in the same > way as I code in the call origination. In m5, there were APIs to both > call and endCall. Similarly, I used the intentACTION_CALLand > ACTION_DIAL to start the call. But, I need to end the call after some > delay. Is it possible in SDK 0.9 beta version. > > Thanks, > Anuradha Madhavan > > On Sep 17, 8:27 pm, Charlie Collins <[EMAIL PROTECTED]> wrote: > > > > > End the call by pressing the end call button so that the Activities in > > the dialer app can end the call. > > > I am not sure I understand the question, but you don't want to end a > > call manually, intentionally (users expect a call to work like a call, > > which they end when they want to). > > >http://groups.google.com/group/android-developers/browse_thread/threa... > > > On Sep 17, 5:11 am, anu <[EMAIL PROTECTED]> wrote: > > > > I have successfully simulated an outgoingcall(thanks to google > > > forums and the contributors). However, when I try toendthecallby > > > calling finish() or finishActivity(int), thecalldoes notend. Also, > > > I get a lot of crashes and the TelephoneManager's getCallState() API > > > does not return anything. Please help! > > > Thanks! > > > Anuradha Madhavan- Hide quoted text - > > - Show quoted text - --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Ways to capture the content of the screen / inject keypresses?
Hi PowerGUI, could you please share with me how did you do the android-screenshots? I am also need similar method but I really couldn't fiugure out how to do it? Thanks for any help Cindy On Thu, Sep 11, 2008 at 5:17 PM, PowerGUI <[EMAIL PROTECTED]> wrote: > > Hello, > I am developing such program,called "android-screenshots", > yes,for security reasons,that is just for android developers only,I > think so too. > the "android-screenshots" programs will be avaiable after waiting > for a few more days. > > Best Regards > PowerGUI > - > Android DotPhone Team > http://www.dotphone.org/english/ > http://groups.google.com/group/android-dotphone/ > > On 9月11日, 下午3时03分, hackbod <[EMAIL PROTECTED]> wrote: > > For security reasons, applications are not allowed to get screen shots > > of the display or inject key events in to other applications. > > > > On Sep 11, 3:48 am, "Malcolm Reynolds" <[EMAIL PROTECTED]> > > wrote: > > > > > Hello all, > > > > > I hope this isn't a stupid question, but I've looked through the API > > > reference and can't seem to find what I'm looking for.. > > > > > Basically I am wondering if there is any way to, from a background > > > application, save the current contents of the screen as a Bitmap, and > > > if there is a way to inject keypresses into the current running > > > application (again, with a background application doing the > > > injecting). I notice there are constants called "INJECT_EVENTS" and > > > "READ_FRAME_BUFFER" in the android.Manifest.permisssion class, which > > > sound like the facility is available to do what I need, but I can't > > > see where in the main API you can perform these tasks. Can anyone > > > point me in the right direction, or are these constants part of the > > > internals of android, and so not available for regular apps to use? > > > > > If anyone is familiar with RIM's Blackberry API, then essentially I am > > > looking for an equivalent to their method Display.screenshot() and to > > > the class EventInjector, plus its various inner classes. > > > > > Thanks in advance! > > > > > Malcolm > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Intercept incoming call
How about: ACTION_NEW_OUTGOING_CALL? According to SDK documentation it gives the possibility to intercept the call. Has anyone tried to use it? On Sep 17, 9:41 pm, friedger <[EMAIL PROTECTED]> wrote: > I could imagine an application that accepts acallwhen the user > presses a button like "I am rushing out of the meeting, hang on > another second." Instead of me wispering into the phone, the caller > gets a proper response. > > So there is no way to do that, currently? > > Friedger > > On 17 Sep., 20:22, kstamm <[EMAIL PROTECTED]> wrote: > > > > > Now now, we were told the Android was the first open source phone all > > the way down to the hardware. I expectcallreception capability! > > It's the only thing that sets it apart from other smartphones. > > > On Sep 17, 10:35 am, Charlie Collins <[EMAIL PROTECTED]> > > wrote: > > > > I would disagree with the statement that this "should be" possible. > > > User's expect acallto work like acallwhich works like acalland > > > that would be sort of like acall;). > > > > I think the idea is that certain key functions of the phone - calling, > > > and going to the home screen - usurp other functions. All non built-in > > > key functions, e.g. applications, are still equal, but yes a few key > > > functions have a higher priority - by design (and I think a good > > > design, it would get really confusing for users if every app was > > > allowed to intercept calls and do different things with them, IMO). > > > > On Sep 17, 3:45 am, Tauno T <[EMAIL PROTECTED]> wrote: > > > > > I wonder if this will be possible on real devices? It should be > > > > according to the "All applications are equal" statement but has anyone > > > > further info regarding this? > > > > > On Sep 17, 8:01 am, "Megha Joshi" <[EMAIL PROTECTED]> wrote: > > > > > > Unfortunately, you cannot intercept incoming calls in the sdk. > > > > > > 2008/9/16 sectrean <[EMAIL PROTECTED]> > > > > > > > Hi, > > > > > > > I'm trying to figure out how to intercept an incomingcall, but I'm > > > > > > not able to find much documentation on how I would do this. > > > > > > > I would like to be able to display a custom dialog to accept or > > > > > > reject > > > > > > thecall.- Hide quoted text - > > - Show quoted text - --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Google Chrome or WebKit on Android?
ZDNet has this article. September 24th, 2008 Google Gears now inside Android’s “Chrome Lite” http://blogs.zdnet.com/Burnette/?p=662 - Juan On Sep 25, 11:54 am, jtaylor <[EMAIL PROTECTED]> wrote: > Both are based on Webkit. The Android Browser is created specifically > for mobile. Chrome is created specifically for the Desktop. > > - Juan > > On Sep 25, 12:30 am, Ramon Rabello <[EMAIL PROTECTED]> wrote: > > > Since the release of Google Chrome I've been thinking the possibility > > of the new browser being integrated with the Android Platform insted > > of WebKit. Hence, Android-based mobile devices users will benefit from > > awesome features bundled in the browser. Let Android Engineers think > > about this :) --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Help Drawing Over Google Maps
Hi, I have the follow code on my application: In the class Prueba: import android.os.Bundle; import android.view.*; import com.google.android.maps.GeoPoint; import com.google.android.maps.MapActivity; import com.google.android.maps.MapView; public class prueba extends MapActivity { Drawable defaultMarker = getResources().getDrawable( R.drawable.mark); Canvas ruta = new Canvas(); MapView map; GeoPoint Point = new GeoPoint((int) (-1.416402 * 100), (int) (-78.025078 * 100)); @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); map = (MapView) findViewById(R.id.map); map.getController().setCenter(Point); map.displayZoomControls(true); map.getController().setZoom(7); } @Override public boolean onCreateOptionsMenu(Menu menu) { super.onCreateOptionsMenu(menu); menu.add(0,1,2, "My Location"); //menu 1 SubMenu sub1 = menu.addSubMenu(3, 2, 3,"Vistas"); sub1.add(3,3,1, "Satelite"); sub1.add(3,4,2, "Trafico"); //menu 2 SubMenu sub = menu.addSubMenu(2, 5, 1,"Zoom"); sub.add(2,6,1, "In"); sub.add(2,7,2, "Out"); return true; } @Override public boolean onMenuItemSelected(int featureId, MenuItem item) { super.onMenuItemSelected(featureId, item); WhereAmIOverlay WhereAmIOverlay; View zoomView; switch (item.getItemId()) { case 1: defaultMarker.setBounds(0, 0, defaultMarker.getIntrinsicWidth(), defaultMarker.getIntrinsicHeight()); WhereAmIOverlay = new WhereAmIOverlay(this,defaultMarker); map.getController().animateTo(Point); map.getOverlays().add(WhereAmIOverlay); zoomView = map.getZoomControls(); zoomView.setLayoutParams(new ViewGroup.LayoutParams (ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT)); // map.addView(zoomView); //map.displayZoomControls(true); // map.getController().setZoom(16); // map.setClickable(true); //map.setEnabled(true); return true; case 3: map.setSatellite(true); return true; case 4: map.setSatellite(false); return true; case 6: int level = map.getZoomLevel(); map.getController().setZoom(level + 1); return true; case 7: int level1 = map.getZoomLevel(); map.getController().setZoom(level1 - 1); return true; } return super.onOptionsItemSelected(item); } @Override protected boolean isRouteDisplayed() { // TODO Auto-generated method stub return false; } } In the class where should draw I got: import java.util.ArrayList; import java.util.List; import android.graphics.*; import android.graphics.drawable.Drawable; import com.google.android.maps.*; public class WhereAmIOverlay extends ItemizedOverlay< OverlayItem>{ private List mItemList = new ArrayList(); prueba prueba; GeoPoint geoPoint; Drawable marker; private Projection p; Point point; Paint paint; public WhereAmIOverlay(prueba prueba,Drawable defaultMarker) { super(defaultMarker); this.prueba = prueba; paint = new Paint(); mItemList.add(new OverlayItem(prueba.Point , "Title", "Snippet")); populate(); } @Override public void draw(Canvas canvas, MapView mapView, boolean shadow) { super.draw(canvas, mapView, true); p = mapView.getProjection(); point = p.toPixels(prueba.Point,null); canvas.drawCircle(point.x, point.y, 10, paint); } @Override protected OverlayItem createItem(int i) { return mItemList.get(i); } @Override public int size() { return mItemList.size(); } } But It did'n work. Some help please. Thanks --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Settings Application and Preferences
Could someone who knows (probably a Google engineer) kindly confirm that the Settings application (which has never been available on the emulator) aggregates preference Activities from installed apps?. And if so, do they need an intent filter containing the CATEGORY_PREFERENCE. And if this guess is correct, exactly what needs to be put into the IntentFilter for this to work? Thanks, Tom. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: 1.0_r1 win version, missing classes
ok, thank you, Jeff -- http://www.androidjavadoc.com/ On Sep 25, 11:39 pm, "Jeff Hamilton" <[EMAIL PROTECTED]> wrote: > We've found and fixed the problem. The next SDK release will include > these classes. > > -Jeff --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Developing Wi-Fi applications in the emulator
Hi, anyone know if it is possible to "feed" the emulator with some real data for the WiFi interface? To be more specific, get some the rssi measures, ap scan list from a real device and put it for the WifiManager API read and use? For example, for the GPS is possible to use some real data, from kml or even with any log file used as a trace from a real device. 2008/9/24 Megha Joshi <[EMAIL PROTECTED]>: > > The emulator doesn't support Wi-Fi, so WifiManager won't tell you anything > useful. > > 2008/9/15 Bradley Kite <[EMAIL PROTECTED]> >> >> On 13/09/2008, Bradley Kite <[EMAIL PROTECTED]> wrote: >> > On 11/09/2008, Bradley Kite <[EMAIL PROTECTED]> wrote: >> > > Hi all, >> > > >> > > I would like to develop an application that makes use of the wifi >> > API >> > > (android.net.wifi.*). >> > > >> > > Is there any way that I can test my application within the emulator? >> > > >> > > At the moment I am getting this error: >> > > >> > > E/WifiService( 46): Failed to load Wi-Fi driver. >> > > >> > > Which I kind of expected, as the emulator doesn't actually contain >> > any >> > > wifi "hardware". >> > > >> > > Are there any hacks/tweaks I can make to QEMU that can make it >> > present >> > > an emulated piece of wifi hardware to the android device driver? >> > > >> > > Is any body else also trying to use the wifi API's and has solved >> > this problem? >> > > >> > > Many thanks in advance >> > > >> > > -- >> > > Brad >> > >> > >> > Hi all, >> > >> > I've come to the assumption that I wont be able to get wifi working >> > within the emulator, so I'm trying to come up with some dummy data to >> > "pretend" that its come from the wpa_supplicant. >> > >> > With this in mind, I'm trying to spoof some ScanResult structures, as >> > returned by the WifiManager.getScanResult(). >> > >> > However, it would seem like this API is still in a state of flux - for >> > example ScanResult.capabilities is documented as returning a String, >> > but with a TODO note saying that it should be parsed into a >> > WifiConfiguration object. Does this mean that the API will change so >> > that it returns the WifiConfiguration object, or is it expected of the >> > user to parse the string? >> > >> > Would any body be able to clarify the situation with regards to how I >> > should be able to detect the parameters of a wifi network? >> > >> > If somebody has access to a real device, could they please send me >> > some example strings as returned by ScanResult.capabilities? In >> > particular, what would a free/open-access wifi network capabilities >> > string look like? >> > >> > I'd really appreciate the help/guidance that any one has to offer. >> > >> > Kind Regards >> > >> > -- >> > Brad. >> > >> >> Guys, I'm really having trouble with the wifi API - even to the point >> where I am unable to create any dummy data to work with. >> >> My code is as follows: >> >> WifiManager wm = (WifiManager) getSystemService(Context.WIFI_SERVICE); >> Log.d(TAG, "Scanning for WIFI Networks"); >> >> List scan = wm.getScanResults(); >> >> WifiConfiguration apConfigs[] = new WifiConfiguration[3]; >> >> if (scan == null) >> { >>Log.d(TAG, "No Networks Found. Falling back to debug mode"); >>// Set up the dummy AP Configurations (WifiConfiguration classes) >>Log.d(TAG, "About to set BSSID"); >>apConfigs[0].BSSID = "00:40:05:a5:88:0d"; >>Log.d(TAG, "BSSID is now set"); >>[...snip...] >>return; >> } >> >> The only output I get from this, however, is as shown below: >> >> D/HotSpotWatcher( 596): Scanning for WIFI Networks >> D/HotSpotWatcher( 596): No Networks Found. Falling back to debug mode >> D/HotSpotWatcher( 596): About to set BSSID >> D/dalvikvm( 116): GC freed 3 objects / 72 bytes in 66ms >> D/dalvikvm( 90): GC freed 1138 objects / 55512 bytes in 82ms >> >> It would seem like attempting to set the BSSID is making the function >> return early, because it never actually prints out "BSSID is now set". >> >> Can any body help please? >> >> Kind regards >> -- >> Brad. >> >> > > > > > -- Ricardo Augusto Rabelo Oliveira Doutorando em Ciência da Computação - UFMG Mestre em Ciência da Computação - UFMG --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Transparent Buttons & Focus
The resource compiler complains that the button_background_ attributes are not valid. I can't find anything in the doc that looks like there's newer version of the same attributes. Is there? SPT On Sep 24, 7:47 pm, "Megha Joshi" <[EMAIL PROTECTED]> wrote: > You can use ColorStateList to set the Button background on focus. The post > below has a nice example on using > it:http://groups.google.com/group/android-developers/msg/0714e077e25d63a6 > > 2008/9/24 Shaun <[EMAIL PROTECTED]> > > > > > I have some buttons without backgrounds ( produced either by > > setBackgroundDrawable(null) or setBackgroundColor(0x) ) -- > > that part works fine. However, when the button does not have a > > background it never gets the orange focus highlight and hence is not > > navigable via trackball. It does actually get focus since my focus > > callback is invoked. > > > My question is: is there some method I can use to cause the button to > > highlight when it's focused or alternatively what's the > > android.R.drawable resource for the orange background highlighting (I > > can do the focus-handling myself with that). > > > Thanks. > > > SPT > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] EditText multiline
how i can use EditText with multiline??? -- Chihau Chau --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] clock on the statusbar is not updating
Is there a known problem that the clock on the statusbar is not updated? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Run JSP file in Android
Hi, I try to run jsp file in Android, just want print some string in webpage with <%= "test" %>. However, nothing happens after execution. No error occurs. Can Android run jsp file? If yes, how? Thanks in advance, Senshan --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Mock Location Providers in 1.0
Could that issue be solved yet? I could not receive anything from DDMS as well. On Sep 25, 9:22 am, Cristina <[EMAIL PROTECTED]> wrote: > I have downloaded some gpx files from this > webhttp://tramper.co.nz/?view=browsegpxFiles > > So. DDMS location tool loads them ok..I am able to se both the points > and the track...and when I pressed the button "play" it seems that is > processing the file...but my test application doesnotreceive > anything. > > Ludwig, can you please write in this thread a brief example of a GPX > file that works for you? Maybe the problem is related with the gpx I > have downloaded > > I include also some of my test code, maybe there is somthing I have > misssed > > By the way, I am running on Windows XP SP2 ... > > Thanks in advance > > public class LocationTest extends MapActivity implements > LocationListener { > > private LocationManager mLocationManager= null; > private LocationProvider mLocationProvider = null; > private MapView mMapView = null; > > /** Called when the activity is first created. */ > @Override > public void onCreate(Bundle savedInstanceState) { > super.onCreate(savedInstanceState); > > mLocationManager = > (LocationManager)getSystemService(Context.LOCATION_SERVICE); > Criteria criteria = new Criteria (); > criteria.setAccuracy(Criteria.ACCURACY_FINE); > List providerIds > =mLocationManager.getProviders(criteria, true); > if (!providerIds.isEmpty()) { > mLocationProvider = > mLocationManager.getProvider(providerIds.get(0)); > } > > mMapView = new MapView(this, "tid"); > mMapView.getController().setZoom(20); > setContentView(mMapView); > > MyLocationOverlay myLocationOverlay = new MyLocationOverlay > (this, mMapView); > mMapView.getOverlays().add (myLocationOverlay); > myLocationOverlay.enableMyLocation(); > > // Para que si me muevo mire constantemente la localizacion > > mLocationManager.requestLocationUpdates(mLocationProvider.getName(), > 0, 0, this); > } > > [EMAIL PROTECTED] > protected boolean isRouteDisplayed() { > return false; > } > > public void onLocationChanged(Location location) { > updateView(location); > } > > public void onProviderDisabled(String provider) { > } > public void onProviderEnabled(String provider) { > } > public void onStatusChanged(String provider, int status, Bundle > extras) { > } > private void updateView (Location location) { > Double lat = location.getLatitude()*1E6; > Double lng = location.getLongitude()*1E6; > GeoPoint point = new GeoPoint(lat.intValue(), > lng.intValue()); > mMapView.getController().setCenter(point); > } > > } > > On 24 sep, 18:06, Ludwig <[EMAIL PROTECTED]> wrote: > > > I donothave a problem playing GPX files from DDMS and my code continues to > > work ok with 1.0. > > The only change required was to remove the calls to the two methods you > > mention when subscribing to location updates. > > > (I am running on Vista, just in case this is a platform issue) > > > Ludwig > > > 2008/9/24 Cristina <[EMAIL PROTECTED]> > > > > Hi! > > > > I have downloaded SDK 1.0 this morning, so I have tried to migrate > > > some code I have to this version. > > > When trying to migrate MockLocationProvider Ifoundthat some methods > > > have dissapeared from LocationManager: > > > setTestProviderEnabled > > > addTestProvider > > > > It seems that itnotpossible to create a Mock Provider by code any > > > more... > > > > I have also checked DDMS Location controls, but they seem tonotbe > > > working either in this version. > > > Maybe I am doing something wrong, but I have tried kml and gpx. In > > > both cases my kml/gpx files loads ok, but when I click on "play" > > > button, my application doesnotreceive the locations. > > > > I have test thegeocommand, and it works...so by the moment I am > > > using this, although it is a little hard to write every point in order > > > to do tests... > > > > Has anybody managed to make DDMS locations tools to work in 1.0? Is it > > > possible to create a mock location provider by code in this version? > > > Is there any other way to automate this? maybe an script that calls > > >geoutility? > > > > Thanks in advance- Ocultar texto de la cita - > > > - Mostrar texto de la cita - --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Run JSP file in Android
Billsen wrote: > Can Android run jsp file? Only if you supply some sort of JSP interpreter. I believe there are no template languages in Android, beyond the limited string-replacement system provided in stock Java's String.format() method. -- Mark Murphy (a Commons Guy) http://commonsware.com Warescription: All titles, revisions, & ebook formats, just $35/year --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Scrolling Zooming View
I've searched the archives extensively and couldn't find what I'm looking for. I'd like to create a view that can pan over a very large image rendered from a number of tile images and support zooming in and out (akin to UIScrollView in the iPhone SDK). There doesn't seem to be a built-in class for this. I came across someone asking about subclassing MapView and overriding its draw method, but this seems hackish. Advice from anyone who's been there? Thanks! Adam --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: ADT plugin in SDK 0.9
HI, I opened the layout/xml file using android layout editor in eclipse It opens a view with xml, layout views. The layout view has all green tick marks. there is a create button in the top. But that is greyed out(disabled) and below it shows that eclipse failed to load the framework information and the layout library!. I searched all blogs,forums etc. but nobody is talking about this error. are you able to use the android layout editor and make layouts like in droiddraw/dreamweaver_for_html. Thanks, --Jyothsna On Aug 18, 2:53 pm, "Xavier Ducrohet" <[EMAIL PROTECTED]> wrote: > The graphical layout editor is the default XML editor for files under > /res/layout (assuming the project is properly tagged as an Android > project) > > Make sure you haven't set a different default editor by right clicking your > layout file and choosing Open With... > Android Layout Editor. > > Xav > > On Mon, Aug 18, 2008 at 2:13 PM, szeldon <[EMAIL PROTECTED]> wrote: > > > Hi, > > > It is mentioned that "Several new development tools were added, such > > as a graphical preview for XML layouts for users of Eclipse, and a > > tool for constructing 9-patch images.". How to see/use this? Where is > > this? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: ADT plugin in SDK 0.9
Hi, please provide us with the Eclipse log. It's located in your workspace in .metata/.log thanks Xav On Thu, Sep 25, 2008 at 5:15 PM, Lekkala,Jyothsna <[EMAIL PROTECTED]> wrote: > > HI, > > I opened the layout/xml file using android layout editor in eclipse > It opens a view with xml, layout views. The layout view has all green > tick marks. there is a create button in the top. But that is greyed > out(disabled) > and below it shows that eclipse failed to load the framework > information and the layout library!. > > I searched all blogs,forums etc. but nobody is talking about this > error. are you able to use the android layout editor and make layouts > like in droiddraw/dreamweaver_for_html. > > Thanks, > --Jyothsna > > On Aug 18, 2:53 pm, "Xavier Ducrohet" <[EMAIL PROTECTED]> wrote: >> The graphical layout editor is the default XML editor for files under >> /res/layout (assuming the project is properly tagged as an Android >> project) >> >> Make sure you haven't set a different default editor by right clicking your >> layout file and choosing Open With... > Android Layout Editor. >> >> Xav >> >> On Mon, Aug 18, 2008 at 2:13 PM, szeldon <[EMAIL PROTECTED]> wrote: >> >> > Hi, >> >> > It is mentioned that "Several new development tools were added, such >> > as a graphical preview for XML layouts for users of Eclipse, and a >> > tool for constructing 9-patch images.". How to see/use this? Where is >> > this? > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Google Chrome or WebKit on Android?
I think we just have to wait until the documentation is updated. On Sep 25, 3:34 pm, Guillaume Perrot <[EMAIL PROTECTED]> wrote: > What about the javascript virtual machine from V8 used by Google > Chrome. > Does Android use it as well ? > > On 25 sep, 21:08, jtaylor <[EMAIL PROTECTED]> wrote: > > > ZDNet has this article. > > > September 24th, 2008 > > Google Gears now inside Android’s “Chrome > > Lite”http://blogs.zdnet.com/Burnette/?p=662 > > > - Juan > > > On Sep 25, 11:54 am, jtaylor <[EMAIL PROTECTED]> wrote: > > > > Both are based on Webkit. The Android Browser is created specifically > > > for mobile. Chrome is created specifically for the Desktop. > > > > - Juan > > > > On Sep 25, 12:30 am, Ramon Rabello <[EMAIL PROTECTED]> wrote: > > > > > Since the release of Google Chrome I've been thinking the possibility > > > > of the new browser being integrated with the Android Platform insted > > > > of WebKit. Hence, Android-based mobile devices users will benefit from > > > > awesome features bundled in the browser. Let Android Engineers think > > > > about this :) --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Google Chrome or WebKit on Android?
Sent via BlackBerry by AT&T -Original Message- From: jtaylor <[EMAIL PROTECTED]> Date: Thu, 25 Sep 2008 17:35:03 To: Android Developers Subject: [android-developers] Re: Google Chrome or WebKit on Android? I think we just have to wait until the documentation is updated. On Sep 25, 3:34 pm, Guillaume Perrot <[EMAIL PROTECTED]> wrote: > What about the javascript virtual machine from V8 used by Google > Chrome. > Does Android use it as well ? > > On 25 sep, 21:08, jtaylor <[EMAIL PROTECTED]> wrote: > > > ZDNet has this article. > > > September 24th, 2008 > > Google Gears now inside Android’s “Chrome > > Lite”http://blogs.zdnet.com/Burnette/?p=662 > > > - Juan > > > On Sep 25, 11:54 am, jtaylor <[EMAIL PROTECTED]> wrote: > > > > Both are based on Webkit. The Android Browser is created specifically > > > for mobile. Chrome is created specifically for the Desktop. > > > > - Juan > > > > On Sep 25, 12:30 am, Ramon Rabello <[EMAIL PROTECTED]> wrote: > > > > > Since the release of Google Chrome I've been thinking the possibility > > > > of the new browser being integrated with the Android Platform insted > > > > of WebKit. Hence, Android-based mobile devices users will benefit from > > > > awesome features bundled in the browser. Let Android Engineers think > > > > about this :) --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Google Chrome or WebKit on Android?
Axazazwawawawawawawa Sent via BlackBerry by AT&T -Original Message- From: jtaylor <[EMAIL PROTECTED]> Date: Thu, 25 Sep 2008 17:35:03 To: Android Developers Subject: [android-developers] Re: Google Chrome or WebKit on Android? I think we just have to wait until the documentation is updated. On Sep 25, 3:34 pm, Guillaume Perrot <[EMAIL PROTECTED]> wrote: > What about the javascript virtual machine from V8 used by Google > Chrome. > Does Android use it as well ? > > On 25 sep, 21:08, jtaylor <[EMAIL PROTECTED]> wrote: > > > ZDNet has this article. > > > September 24th, 2008 > > Google Gears now inside Android’s “Chrome > > Lite”http://blogs.zdnet.com/Burnette/?p=662 > > > - Juan > > > On Sep 25, 11:54 am, jtaylor <[EMAIL PROTECTED]> wrote: > > > > Both are based on Webkit. The Android Browser is created specifically > > > for mobile. Chrome is created specifically for the Desktop. > > > > - Juan > > > > On Sep 25, 12:30 am, Ramon Rabello <[EMAIL PROTECTED]> wrote: > > > > > Since the release of Google Chrome I've been thinking the possibility > > > > of the new browser being integrated with the Android Platform insted > > > > of WebKit. Hence, Android-based mobile devices users will benefit from > > > > awesome features bundled in the browser. Let Android Engineers think > > > > about this :) --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Google Chrome or WebKit on Android?
Wawawawawawawawawawawa Sent via BlackBerry by AT&T -Original Message- From: jtaylor <[EMAIL PROTECTED]> Date: Thu, 25 Sep 2008 17:35:03 To: Android Developers Subject: [android-developers] Re: Google Chrome or WebKit on Android? I think we just have to wait until the documentation is updated. On Sep 25, 3:34 pm, Guillaume Perrot <[EMAIL PROTECTED]> wrote: > What about the javascript virtual machine from V8 used by Google > Chrome. > Does Android use it as well ? > > On 25 sep, 21:08, jtaylor <[EMAIL PROTECTED]> wrote: > > > ZDNet has this article. > > > September 24th, 2008 > > Google Gears now inside Android’s “Chrome > > Lite”http://blogs.zdnet.com/Burnette/?p=662 > > > - Juan > > > On Sep 25, 11:54 am, jtaylor <[EMAIL PROTECTED]> wrote: > > > > Both are based on Webkit. The Android Browser is created specifically > > > for mobile. Chrome is created specifically for the Desktop. > > > > - Juan > > > > On Sep 25, 12:30 am, Ramon Rabello <[EMAIL PROTECTED]> wrote: > > > > > Since the release of Google Chrome I've been thinking the possibility > > > > of the new browser being integrated with the Android Platform insted > > > > of WebKit. Hence, Android-based mobile devices users will benefit from > > > > awesome features bundled in the browser. Let Android Engineers think > > > > about this :) --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Google Chrome or WebKit on Android?
Wawawawasxqawawawasxqawawasqawawawawawawawawawawawawawawawawawawawawawawawawawawa Sent via BlackBerry by AT&T -Original Message- From: jtaylor <[EMAIL PROTECTED]> Date: Thu, 25 Sep 2008 17:35:03 To: Android Developers Subject: [android-developers] Re: Google Chrome or WebKit on Android? I think we just have to wait until the documentation is updated. On Sep 25, 3:34 pm, Guillaume Perrot <[EMAIL PROTECTED]> wrote: > What about the javascript virtual machine from V8 used by Google > Chrome. > Does Android use it as well ? > > On 25 sep, 21:08, jtaylor <[EMAIL PROTECTED]> wrote: > > > ZDNet has this article. > > > September 24th, 2008 > > Google Gears now inside Android’s “Chrome > > Lite”http://blogs.zdnet.com/Burnette/?p=662 > > > - Juan > > > On Sep 25, 11:54 am, jtaylor <[EMAIL PROTECTED]> wrote: > > > > Both are based on Webkit. The Android Browser is created specifically > > > for mobile. Chrome is created specifically for the Desktop. > > > > - Juan > > > > On Sep 25, 12:30 am, Ramon Rabello <[EMAIL PROTECTED]> wrote: > > > > > Since the release of Google Chrome I've been thinking the possibility > > > > of the new browser being integrated with the Android Platform insted > > > > of WebKit. Hence, Android-based mobile devices users will benefit from > > > > awesome features bundled in the browser. Let Android Engineers think > > > > about this :) --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Google Chrome or WebKit on Android?
Wawawawawawawawawawawawasqawawawawawawawawawawawawassawawa Sent via BlackBerry by AT&T -Original Message- From: jtaylor <[EMAIL PROTECTED]> Date: Thu, 25 Sep 2008 17:35:03 To: Android Developers Subject: [android-developers] Re: Google Chrome or WebKit on Android? I think we just have to wait until the documentation is updated. On Sep 25, 3:34 pm, Guillaume Perrot <[EMAIL PROTECTED]> wrote: > What about the javascript virtual machine from V8 used by Google > Chrome. > Does Android use it as well ? > > On 25 sep, 21:08, jtaylor <[EMAIL PROTECTED]> wrote: > > > ZDNet has this article. > > > September 24th, 2008 > > Google Gears now inside Android’s “Chrome > > Lite”http://blogs.zdnet.com/Burnette/?p=662 > > > - Juan > > > On Sep 25, 11:54 am, jtaylor <[EMAIL PROTECTED]> wrote: > > > > Both are based on Webkit. The Android Browser is created specifically > > > for mobile. Chrome is created specifically for the Desktop. > > > > - Juan > > > > On Sep 25, 12:30 am, Ramon Rabello <[EMAIL PROTECTED]> wrote: > > > > > Since the release of Google Chrome I've been thinking the possibility > > > > of the new browser being integrated with the Android Platform insted > > > > of WebKit. Hence, Android-based mobile devices users will benefit from > > > > awesome features bundled in the browser. Let Android Engineers think > > > > about this :) --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Google Chrome or WebKit on Android?
WawaxqawasqawasxaZaZzaZwaxazazazazwasXazaZwa Sent via BlackBerry by AT&T -Original Message- From: jtaylor <[EMAIL PROTECTED]> Date: Thu, 25 Sep 2008 17:35:03 To: Android Developers Subject: [android-developers] Re: Google Chrome or WebKit on Android? I think we just have to wait until the documentation is updated. On Sep 25, 3:34 pm, Guillaume Perrot <[EMAIL PROTECTED]> wrote: > What about the javascript virtual machine from V8 used by Google > Chrome. > Does Android use it as well ? > > On 25 sep, 21:08, jtaylor <[EMAIL PROTECTED]> wrote: > > > ZDNet has this article. > > > September 24th, 2008 > > Google Gears now inside Android’s “Chrome > > Lite”http://blogs.zdnet.com/Burnette/?p=662 > > > - Juan > > > On Sep 25, 11:54 am, jtaylor <[EMAIL PROTECTED]> wrote: > > > > Both are based on Webkit. The Android Browser is created specifically > > > for mobile. Chrome is created specifically for the Desktop. > > > > - Juan > > > > On Sep 25, 12:30 am, Ramon Rabello <[EMAIL PROTECTED]> wrote: > > > > > Since the release of Google Chrome I've been thinking the possibility > > > > of the new browser being integrated with the Android Platform insted > > > > of WebKit. Hence, Android-based mobile devices users will benefit from > > > > awesome features bundled in the browser. Let Android Engineers think > > > > about this :) --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Google Chrome or WebKit on Android?
Axwasxqawawawawawawawasxazwawasxazazazwasxazwasxqawasxazazaz Sent via BlackBerry by AT&T -Original Message- From: jtaylor <[EMAIL PROTECTED]> Date: Thu, 25 Sep 2008 17:35:03 To: Android Developers Subject: [android-developers] Re: Google Chrome or WebKit on Android? I think we just have to wait until the documentation is updated. On Sep 25, 3:34 pm, Guillaume Perrot <[EMAIL PROTECTED]> wrote: > What about the javascript virtual machine from V8 used by Google > Chrome. > Does Android use it as well ? > > On 25 sep, 21:08, jtaylor <[EMAIL PROTECTED]> wrote: > > > ZDNet has this article. > > > September 24th, 2008 > > Google Gears now inside Android’s “Chrome > > Lite”http://blogs.zdnet.com/Burnette/?p=662 > > > - Juan > > > On Sep 25, 11:54 am, jtaylor <[EMAIL PROTECTED]> wrote: > > > > Both are based on Webkit. The Android Browser is created specifically > > > for mobile. Chrome is created specifically for the Desktop. > > > > - Juan > > > > On Sep 25, 12:30 am, Ramon Rabello <[EMAIL PROTECTED]> wrote: > > > > > Since the release of Google Chrome I've been thinking the possibility > > > > of the new browser being integrated with the Android Platform insted > > > > of WebKit. Hence, Android-based mobile devices users will benefit from > > > > awesome features bundled in the browser. Let Android Engineers think > > > > about this :) --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Google Chrome or WebKit on Android?
Axazaz Sent via BlackBerry by AT&T -Original Message- From: jtaylor <[EMAIL PROTECTED]> Date: Thu, 25 Sep 2008 17:35:03 To: Android Developers Subject: [android-developers] Re: Google Chrome or WebKit on Android? I think we just have to wait until the documentation is updated. On Sep 25, 3:34 pm, Guillaume Perrot <[EMAIL PROTECTED]> wrote: > What about the javascript virtual machine from V8 used by Google > Chrome. > Does Android use it as well ? > > On 25 sep, 21:08, jtaylor <[EMAIL PROTECTED]> wrote: > > > ZDNet has this article. > > > September 24th, 2008 > > Google Gears now inside Android’s “Chrome > > Lite”http://blogs.zdnet.com/Burnette/?p=662 > > > - Juan > > > On Sep 25, 11:54 am, jtaylor <[EMAIL PROTECTED]> wrote: > > > > Both are based on Webkit. The Android Browser is created specifically > > > for mobile. Chrome is created specifically for the Desktop. > > > > - Juan > > > > On Sep 25, 12:30 am, Ramon Rabello <[EMAIL PROTECTED]> wrote: > > > > > Since the release of Google Chrome I've been thinking the possibility > > > > of the new browser being integrated with the Android Platform insted > > > > of WebKit. Hence, Android-based mobile devices users will benefit from > > > > awesome features bundled in the browser. Let Android Engineers think > > > > about this :) --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Google Chrome or WebKit on Android?
Xqawawawawawasxqasxqasxazazazwawasxazwasxqawasxaxqasxqawawasxqasxazwawawawasx Sent via BlackBerry by AT&T -Original Message- From: jtaylor <[EMAIL PROTECTED]> Date: Thu, 25 Sep 2008 17:35:03 To: Android Developers Subject: [android-developers] Re: Google Chrome or WebKit on Android? I think we just have to wait until the documentation is updated. On Sep 25, 3:34 pm, Guillaume Perrot <[EMAIL PROTECTED]> wrote: > What about the javascript virtual machine from V8 used by Google > Chrome. > Does Android use it as well ? > > On 25 sep, 21:08, jtaylor <[EMAIL PROTECTED]> wrote: > > > ZDNet has this article. > > > September 24th, 2008 > > Google Gears now inside Android’s “Chrome > > Lite”http://blogs.zdnet.com/Burnette/?p=662 > > > - Juan > > > On Sep 25, 11:54 am, jtaylor <[EMAIL PROTECTED]> wrote: > > > > Both are based on Webkit. The Android Browser is created specifically > > > for mobile. Chrome is created specifically for the Desktop. > > > > - Juan > > > > On Sep 25, 12:30 am, Ramon Rabello <[EMAIL PROTECTED]> wrote: > > > > > Since the release of Google Chrome I've been thinking the possibility > > > > of the new browser being integrated with the Android Platform insted > > > > of WebKit. Hence, Android-based mobile devices users will benefit from > > > > awesome features bundled in the browser. Let Android Engineers think > > > > about this :) --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Google Chrome or WebKit on Android?
Axwa Sent via BlackBerry by AT&T -Original Message- From: jtaylor <[EMAIL PROTECTED]> Date: Thu, 25 Sep 2008 17:35:03 To: Android Developers Subject: [android-developers] Re: Google Chrome or WebKit on Android? I think we just have to wait until the documentation is updated. On Sep 25, 3:34 pm, Guillaume Perrot <[EMAIL PROTECTED]> wrote: > What about the javascript virtual machine from V8 used by Google > Chrome. > Does Android use it as well ? > > On 25 sep, 21:08, jtaylor <[EMAIL PROTECTED]> wrote: > > > ZDNet has this article. > > > September 24th, 2008 > > Google Gears now inside Android’s “Chrome > > Lite”http://blogs.zdnet.com/Burnette/?p=662 > > > - Juan > > > On Sep 25, 11:54 am, jtaylor <[EMAIL PROTECTED]> wrote: > > > > Both are based on Webkit. The Android Browser is created specifically > > > for mobile. Chrome is created specifically for the Desktop. > > > > - Juan > > > > On Sep 25, 12:30 am, Ramon Rabello <[EMAIL PROTECTED]> wrote: > > > > > Since the release of Google Chrome I've been thinking the possibility > > > > of the new browser being integrated with the Android Platform insted > > > > of WebKit. Hence, Android-based mobile devices users will benefit from > > > > awesome features bundled in the browser. Let Android Engineers think > > > > about this :) --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Scrolling Zooming View
adamjernst wrote: > I'd like to create a view that can pan over a very large image > rendered from a number of tile images and support zooming in and out > (akin to UIScrollView in the iPhone SDK). Back on Sept. 15, in this group, Romain Guy posted the following, in response to a query of how the new home screen works, where you can swipe to the left or right to view the larger "desktop" (phonetop?): "All you need to do is write a custom layout that will measure your view to be larger than the screen. Then just play with the scrollX/scrollY values of your custom layout to display the portion you want." In the latter sentence, I suspect he's referring to using scroll/fling gestures to indicate panning. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.2 Published! --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] intercept incoming and outgoing calls and have customized screen
Is it possible to intercept the intent of calling and answering and by doing that replacing the calling/answering screen. I see from the logcat that right now com.android.phone.InCallScreen activity is been started. Anyway to overwrite that to have my own activity to show up? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Loading classes error???
hi, when I trying to use pathClassLoader to load classes... I encounter this error below... 09-26 02:17:00.928: ERROR/dalvikvm(7228): Can't open dex cache '/data/ dalvik-cache/[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]': No such file or directory 09-26 02:17:00.928: INFO/dalvikvm(7228): Unable to open or create cache for /data/data/org.beo/org.beo.lib/myLib.apk anyone have any idea on this error??? how can I solve it??? Wesley. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: G1 for testing outside US
Google, Encourage your developers worldwide. Only you can do this. On Sep 25, 7:40 pm, cbraun75 <[EMAIL PROTECTED]> wrote: > Yeah - they should allow a testhandy for developer even for non US > ones. Maybe they can manage the developer authorization by give > everybody one device which has a uploaded program at code.google ? to > verify if it is a developer? > > That would be great. And would help to create cool apps! > > CU > > Christian > > On 25 Sep., 15:28, gjs <[EMAIL PROTECTED]> wrote: > > > Hi, > > > This seems to provide some hope, but maybe only in the US ? - > > >http://groups.google.com/group/android-developers/browse_thread/threa... > > > see - > > > Matt > > > "More interestingly, buyers would be able to have access to a > > "contract free" G1 (with a price point of $399), and could unlock the > > device with T-Mobile's blessing after 90 days" > > > Fromhttp://www.engadget.com/2008/09/23/t-mobiles-cto-on-g1-unlocking-and-... > > > Regards > > > On Sep 25, 8:41 pm, blindfold <[EMAIL PROTECTED]> wrote: > > > > > How are the Android developers worldwide handling this issue? > > > > I'm just testing in the emulator, hoping for the best (I'm in Europe). > > > However, even in 1.0 r1 there are unspecified and unimplemented camera > > > issues, such that for instance I have to hard-code the T-Mobile G1 > > > camera resolution (2048 x 1536), which will no longer make sense once > > > other Android phones hit the market. > > > > On Sep 25, 9:15 am, Muthu Ramadoss <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > > How can non US developers get a G1 for testing? We can buy it for sure > > > > if its available. > > > > > If we can't get a device for testing, can we just test in emulator? > > > > How are the Android developers worldwide handling this issue? > > > > > Ideas, anyone? > > > > >http://mobeegal.in-mobilesearch. redefined. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---