[android-developers] Bug: Automatic typing/Key Stuck?
I'm not really sure how to reproduce it, but sometimes my phone just starts typing '1' repeatedly. It will keep typing them, as many as it can, unless I stop it (hitting backspace, or backing out of it). It's really annoying, I'll be typing a URL, or a text message, and a bunch of 1s I didn't type myself will be inserted. I haven't read anywhere else with someone having this problem; perhaps I wasn't searching properly. Either way, the problem is out there :D --~--~-~--~~~---~--~~ 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: Adding self to menus on other applications
I'm sorry i d'ont have example But you can find tutorial on code.google.com/android good luck. On 17 oct, 16:59, Shade [EMAIL PROTECTED] wrote: Hello! It is possible to add my activity to build-in browser's menu? Working example wanted. Thank you. With respect, Michael PrinterShare team --~--~-~--~~~---~--~~ 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] setting the locale
Is there a way to do this? I'd like to test some of my i18n code. --~--~-~--~~~---~--~~ 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] Android Dev Camp (Dallas)
Everyone is invited, we've got our agenda posted here : http://www.biggu.com/2008/10/20/ready-for-androiddevcamp/ --~--~-~--~~~---~--~~ 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] PhoneCall Controls
Looking for an update as to whether the SDK will include any phone call control soon. Hoping to write several app to handle phone calls specifically based on phone number (white list,black list) Everything is written except the ability to handle the incoming call in some way other than the standard ringer kicking off. To me this seems like basic functionality that should be in the SDK. Secondly Please open up the Surface.setOrientation code to the public, have written and automatic orientation code but because there is no perms to FLINGER cannot get it to function. --~--~-~--~~~---~--~~ 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: background process
Thanks, i read it now. i hope that will be the Answer On 17 oct, 17:38, Ludwig [EMAIL PROTECTED] wrote: You will need to implement a service and have something that listens for the boot completed message being broadcast. I wrote about this athttp://androidgps.blogspot.com/2008/09/starting-android-service-at-bo... HTH Ludwig 2008/10/17 [EMAIL PROTECTED] [EMAIL PROTECTED] I 'm interested too by running my program at the same time of boot, and in background. I try with thread, but that's display application, and next start thread. So that's not good. any idea? thanks On 14 oct, 11:22, zeshu [EMAIL PROTECTED] wrote: How to design a process that boots itself up always at the same time with the device. This process should run on thebackground(like virus scanners), and observe what kind of events take place in the device (these events could be e.g. voice calls, network cell-id changes and incoming messages). If the process crashes, there should be some kind of implementation that initiates the process back up. How could this kind ofbackgroundprocess be built on Google Android?Please provide references/guidelines regarding how to start building and implementing it. --~--~-~--~~~---~--~~ 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: background process
I tryed it but, i Think It works. My programm run when the phone boot. But it always be on the foreground. I'd like not. On 20 oct, 08:34, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Thanks, i read it now. i hope that will be the Answer On 17 oct, 17:38, Ludwig [EMAIL PROTECTED] wrote: You will need to implement a service and have something that listens for the boot completed message being broadcast. I wrote about this athttp://androidgps.blogspot.com/2008/09/starting-android-service-at-bo... HTH Ludwig 2008/10/17 [EMAIL PROTECTED] [EMAIL PROTECTED] I 'm interested too by running my program at the same time of boot, and inbackground. I try with thread, but that's display application, and next start thread. So that's not good. any idea? thanks On 14 oct, 11:22, zeshu [EMAIL PROTECTED] wrote: How to design a process that boots itself up always at the same time with the device. This process should run on thebackground(like virus scanners), and observe what kind of events take place in the device (these events could be e.g. voice calls, network cell-id changes and incoming messages). If the process crashes, there should be some kind of implementation that initiates the process back up. How could this kind ofbackgroundprocess be built on Google Android?Please provide references/guidelines regarding how to start building and implementing it. --~--~-~--~~~---~--~~ 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: How can I get help on /system/bin ash commands?
Please tell me if you find AWK. On Oct 19, 7:54 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I have tried # man # help # ? # ls -help and searched far and wide. I am also wondering if find and grep are supported on the device? Thanks again Satya --~--~-~--~~~---~--~~ 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] not able to bind Contacts in drop down spinner
Hi, I am trying to populate Contacts stored in phone in a drop down,But I am getting null pointer exception while runnig it,There is data in Phone and the permission is set in AndroidManifest.xml Though i am able to see the contacts when i directly display them using something like this: name = cur.getString(nameColumn); Below is the code: public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); String[] projection = new String[] { People._ID, People.NAME, People.NUMBER, }; Uri mContacts = People.CONTENT_URI; Cursor managedCursor = managedQuery( mContacts,//URI projection, //Which columns to return. null, // WHERE clause--we won't specify. null, //arguments to selection People.NAME + ASC); // Order-by clause. Log.i(null, managedCursor); try{ SimpleCursorAdapter adapter = new SimpleCursorAdapter(this, R.layout.main, managedCursor, projection, null); Log.i(null, SimpleCursorAdapter); Spinner s1 = (Spinner) findViewById(R.id.contactDropDown); adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); s1.setAdapter(adapter); }catch(Exception e){ e.printStackTrace(); } } --~--~-~--~~~---~--~~ 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 get help on /system/bin ash commands?
I have tried # man # help # ? # ls -help and searched far and wide. I am also wondering if find and grep are supported on the device? Thanks again Satya --~--~-~--~~~---~--~~ 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] Is there a way to mount the emulator or the device as a hard drive on your local machine?
This would let me examine the files etc with the tools that are on the local os. is that possible? If not the entire device, what about a specific directory root? Thanks Satya --~--~-~--~~~---~--~~ 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] writing a image to The local memory?
Hey guys, im trying to see if i can create thumbnails for a ftp app, so i figured id need to download the image file from the server, and have it stored somewhere, but how would i go about this? or if there is a easier way to go about this, IE where i dont have to download the picture, or i can create an image with a url(createImage does this) and then use the url for the picture to create the thumbnail. if anyone can help it would be a humongous help for me. Thanks Anthony --~--~-~--~~~---~--~~ 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] DL Android
hey everyone, Does anybody know if we can download the Android Source (not the SDK, the real Android). And, if we can, somebody has a link?? 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] How to debug the real phone G1?
Any document about it so far? I would like to see something like Microsoft Activesync: just plug in the usb cable to PC, then you can debug! --~--~-~--~~~---~--~~ 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 open Android will be?
Google will release the source code soon. Can we build the source code and load the image into the phone? I guess not... otherwise, how google and wireless carriers can control the phone? Just read the news that google have a backdoor in the phone so they can uninstall an app if they don't like it. But as a developer, I do want to do anything which is possible. For example: communicate with the Qualcomm cellar chip to provide better phone experince, or capture the screen image..., or develop a video telephony stack etc. All these need to access to the native system, or even modify the driver... At this point, I would say Windows Mobile is a more open system, since I can make native app or even create a new device driver... Zen --~--~-~--~~~---~--~~ 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 get a drop down menu of contacts stored in phone
I want to get a drop down menu to populate the contacts stored in the phone . Can anyone provide the code? 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] CallLog
Hi every body, i 'd like to manage de native application CallLog. So I try to add some call in this application. I use a source like to add contact. setContentView(R.layout.main); ContentValues value= new ContentValues(); value.put(CallLog.Calls.CONTENT_ITEM_TYPE, text); Uri NCallLog =getContentResolver().insert(CallLog.Calls.CONTENT_URI, value); The first problem, nothing with CallLog in uses_permissions. (is it a sign which say : that's impossible??) Thanks to help me --~--~-~--~~~---~--~~ 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] CREATE TABLE android_metadata failed
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 implement flip screen function?
When the phone is in ORIENTATION_PORTRAIT mode, start browser, open the menu, there is a flip screen option. If we choose it, the screen will be changed to ORIENTATION_LANDSCAPE mode without pull out the keyboard. So my question is that how to implement such function in our own applications. Which API should we invoke, or which interfaces or classes should we extend, or which callback method should we call? Can anyone give me some introduction? Having example will be better. Thanks very much! --~--~-~--~~~---~--~~ 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] Image preview and drag and drop
Hey guys, im pretty new to android but i joined a group whose trying to get the last bugs outta a ftp app, and i was wondering if anyone knew how to do an image preview for files on a server, and how to do drag and drop on objects on the screen. let me know if you have anywhere i should go look. Thanks Anthony --~--~-~--~~~---~--~~ 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] Chinese Android Developer Sites
Share the Android Software Development Kit and Tutorials,Tips and Reviews.Android visit : http://www.android123.com or http://www.android123.com.cn --~--~-~--~~~---~--~~ 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 play audio when a button is clicked
I want to play audio when a button is clicked. 16.03.2008 redhunt writed as he solved this problem. It hhelp me in m5. But in 9beta and 1.0_r1 it does not work. I can't type button many times with good sound. Can anybody 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: mail.jar activation.jar problem in android
http://groups.google.com/group/android-developers/browse_thread/thread/9c7bca0a1b6957a9# could be useful? On 4 Ott, 05:14, Megha Joshi [EMAIL PROTECTED] wrote: Any details of what you are trying to do would be good... 2008/10/3 mpredosin [EMAIL PROTECTED] I am having the same problem. The activation.jar can't find the required classes in the android jar. It occurs with both Android 1.0 0.9 sdks. 10-03 23:24:49.891: DEBUG/SSLSocketFactory(378): Using factory [EMAIL PROTECTED] 10-03 23:24:49.979: DEBUG/OpenSSLSocketImpl(378): SSL_OP_NO_SSLv3 is set 10-03 23:24:56.080: INFO/global(378): Oct 3, 2008 11:24:55 PM java.io.BufferedOutputStream init 10-03 23:24:56.080: INFO/global(378): INFO: Default buffer size used in BufferedOutputStream constructor. It would be better to be explicit if a 8k buffer is required. 10-03 23:24:56.320: DEBUG/dalvikvm(378): GC freed 7012 objects / 347816 bytes in 91ms 10-03 23:24:56.460: INFO/dalvikvm(378): Failed resolving Ljavax/ activation/DataHandler; interface 175 'Ljava/awt/datatransfer/ Transferable;' 10-03 23:24:56.470: WARN/dalvikvm(378): Link of class 'Ljavax/ activation/DataHandler;' failed 10-03 23:24:56.480: WARN/dalvikvm(378): VFY: unable to find class referenced in signature (Ljavax/activation/DataHandler;) 10-03 23:24:56.491: INFO/dalvikvm(378): Failed resolving Ljavax/ activation/DataHandler; interface 175 'Ljava/awt/datatransfer/ Transferable;' 10-03 23:24:56.501: WARN/dalvikvm(378): Link of class 'Ljavax/ activation/DataHandler;' failed 10-03 23:24:56.511: WARN/dalvikvm(378): VFY: unable to resolve virtual method 1729: Ljavax/activation/DataHandler;.getName ()Ljava/lang/ String; 10-03 23:24:56.520: WARN/dalvikvm(378): VFY: rejecting opcode 0x6e at 0x0006 10-03 23:24:56.520: WARN/dalvikvm(378): VFY: rejected Ljavax/mail/ internet/MimeUtility;.getEncoding (Ljavax/activation/ DataHandler;)Ljava/lang/String; 10-03 23:24:56.520: WARN/dalvikvm(378): Verifier rejected class Ljavax/ mail/internet/MimeUtility; On Oct 3, 8:33 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi Everybody, I have problem in getting gmail folder in android for using mail.jar(1.4.1 version) and activition.jar(1.1 version). Following is the exception. Does somebody have the good solution? Thanks, AndroidSue I/global ( 654): INFO: Default buffer size used in BufferedOutputStream constructor. It would be better to be explicit if a 8k buffer is required. I/dalvikvm( 654): Failed resolving Ljavax/activation/DataHandler; interface 175 'Ljava/awt/datatransfer/Transferable;' W/dalvikvm( 654): Link of class 'Ljavax/activation/DataHandler;' failed W/dalvikvm( 654): VFY: unable to find class referenced in signature (Ljavax/activation/DataHandler;) I/dalvikvm( 654): Failed resolving Ljavax/activation/DataHandler; interface 175 'Ljava/awt/datatransfer/Transferable;' W/dalvikvm( 654): Link of class 'Ljavax/activation/DataHandler;' failed W/dalvikvm( 654): VFY: unable to resolve virtual method 1736: Ljavax/ activation/DataHandler;.getName ()Ljava/lang/String; W/dalvikvm( 654): VFY: rejecting opcode 0x6e at 0x0006 W/dalvikvm( 654): VFY: rejected Ljavax/mail/internet/ MimeUtility;.getEncoding (Ljavax/activation/DataHandler;)Ljava/lang/ String; W/dalvikvm( 654): Verifier rejected class Ljavax/mail/internet/ MimeUtility; D/AndroidRuntime( 654): Shutting down VM W/dalvikvm( 654): threadid=3: thread exiting with uncaught exception (group=0x40010e28) E/AndroidRuntime( 654): Uncaught handler: thread main exiting due to uncaught exception E/AndroidRuntime( 654): java.lang.VerifyError: javax.mail.internet.MimeUtility E/AndroidRuntime( 654): at com.sun.mail.imap.protocol.IMAPProtocol.init(IMAPProtocol.java:117) E/AndroidRuntime( 654): at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:538) E/AndroidRuntime( 654): at javax.mail.Service.connect(Service.java: 288) E/AndroidRuntime( 654): at javax.mail.Service.connect(Service.java: 169) E/AndroidRuntime( 654): at javax.mail.Service.connect(Service.java: 118) E/AndroidRuntime( 654): at com.foxconn.android.app.EmailApp.getInbox(EmailApp.java:95) E/AndroidRuntime( 654): at com.foxconn.android.app.EmailApp.onCreate(EmailApp.java:44) E/AndroidRuntime( 654): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java: 1122) E/AndroidRuntime( 654): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 2103) E/AndroidRuntime( 654): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java: 2156) E/AndroidRuntime( 654): at android.app.ActivityThread.access $1800(ActivityThread.java:112) E/AndroidRuntime( 654): at android.app.ActivityThread
[android-developers] Re: http connection
Yes, evidently. But, its doesn't work. My code : DefaultHttpClient httpclient = new DefaultHttpClient(); HttpHost targetHost = new HttpHost(My_URL); HttpRequest req = new BasicHttpRequest(GET, /, HttpVersion.HTTP_1_1); HttpResponse response=null; //uses proxy. //without, no connection HttpHost proxy = new HttpHost(proxy,3128); httpclient.getParams().setParameter (ConnRoutePNames.DEFAULT_PROXY, proxy); //send request response = httpclient.execute(targetHost, req); HttpEntity entity=response.getEntity(); //finish?? if (entity != null) entity.consumeContent(); return response; I'd like to have a 401 error, because i want a page which need authenticate. But the response gives me a HTTP 200 ok That's strange, and i' really don't know why :/ If you have some idea or clue... Thanks On 8 oct, 19:43, Mark Murphy [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: hey everybody. I'd like tu do aHttpconnectionto a server with this lib : org.apache.http.*; But, that's very difficult to me. i'm lost in all the interface class. So, if someone can describe me the different programming step or give me some tuto or example (source), that will be nice. http://hc.apache.org/httpcomponents-client/examples.html -- Mark Murphy (a Commons Guy)http://commonsware.com Android Training on the Ranch! -- Mar 16-20, 2009http://www.bignerdranch.com/schedule.shtml --~--~-~--~~~---~--~~ 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: Socket exception-unknown error from HttpClient execute() method
I have the same problem. So, if someone has clue or solution... that will be nice to share it :) On 1 sep, 16:50, Vp [EMAIL PROTECTED] wrote: Hi, I tired all above mentioned options of settinghttp-proxy and adding permissions in AndroidManifest.xml file but still I am not able to clear the proxy as well as I am facing following errors: 09-01 20:13:59.645: ERROR/GpsLocationProvider(54): Could not open GPS configuration file /etc/gps.conf 09-01 20:14:08.245: WARN/System.err(151): java.net.UnknownHostException: Host is unresolved:www.google.com:80 Am missing out something or I need to add any other option? Thanks in advance, Vp On Aug 22, 11:59 pm, Megha Joshi [EMAIL PROTECTED] wrote: Did you try configuring emulator proxy connection as discussed below:http://groups.google.com/group/android-developers/browse_thread/threa... On Fri, Aug 22, 2008 at 1:51 AM, Graeme [EMAIL PROTECTED] wrote: hi sacoskun Thanks for your suggestion. Yes I had not set the INTERNET permission in my AndroidManifest.xml. I have updated that now and the socket exception has changed to being about being unable to resolve the domain name of ahttpproxy server I am located behind. I have noticed other threads wherehttp-proxy usage has been problematic. Thanks for your tip. Best Regards Graeme On Aug 22, 7:30 am, sacoskun [EMAIL PROTECTED] wrote: Did you add uses-permission android:name=android.permission.INTERNET / tag to your AndroidManifest.xml? The new SDK requires that permission for network calls. sacoskun On Aug 21, 6:13 pm, Graeme [EMAIL PROTECTED] wrote: Hi everyone I'm trying to figure out how to use HttpClient 4.x to do POST requests routed via a Proxy server. I'm seeing a socket exception triggered by calling DefaultHttpClient.execute(HttpHost target, HttpRequest method). My HttpPoster class looks like package com.bt.gcto.android.testhttp; import java.io.IOException; import java.util.Hashtable; import org.apache.http.Header; import org.apache.http.HttpEntity; import org.apache.http.HttpHost; import org.apache.http.HttpResponse; import org.apache.http.HttpVersion; import org.apache.http.client.HttpClient; import org.apache.http.client.methods.HttpPost; import org.apache.http.conn.ClientConnectionManager; import org.apache.http.conn.params.ConnRoutePNames; import org.apache.http.conn.scheme.PlainSocketFactory; import org.apache.http.conn.scheme.Scheme; import org.apache.http.conn.scheme.SchemeRegistry; import org.apache.http.conn.scheme.SocketFactory; import org.apache.http.conn.ssl.SSLSocketFactory; import org.apache.http.impl.client.DefaultHttpClient; import org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager; import org.apache.http.params.BasicHttpParams; import org.apache.http.params.HttpParams; import org.apache.http.params.HttpProtocolParams; import org.apache.http.util.EntityUtils; import android.net.Uri; import android.util.Log; public class HttpPoster { private final String TAG=HttpPoster; private final String NETWORK_DEVICE_SIDE_TRUE = ;deviceside=true; private final String NETWORK_DEVICE_SIDE_FALSE = ;deviceside=false; private final String NETWORK_WIFI = ;interface=wifi; //private final String proxy=proxy.intra.bt.com:8080; private boolean useWifi; private boolean deviceSide; // Apache HttpClient 4.x stuff private static HttpParams defaultParameters = null; private static SchemeRegistry supportedSchemes = null; /** * Performs general setup. * This should be called only once. */ private final static void setup() { supportedSchemes = new SchemeRegistry(); // Register the http and https protocol schemes, they are // required by the default operator to look up socket factories. SocketFactory sf = PlainSocketFactory.getSocketFactory(); supportedSchemes.register(new Scheme(http, sf,80)); sf = SSLSocketFactory.getSocketFactory(); supportedSchemes.register(new Scheme(https, sf,80)); // prepare parameters HttpParams params = new BasicHttpParams(); HttpProtocolParams.setVersion(params, HttpVersion.HTTP_1_1); HttpProtocolParams.setContentCharset(params, UTF-8); HttpProtocolParams.setUseExpectContinue(params, true); defaultParameters = params; } // setup private final static HttpParams
[android-developers] http connection
hey everybody. I'd like tu do a Http connection to a server with this lib : org.apache.http.*; But, that's very difficult to me. i'm lost in all the interface class. So, if someone can describe me the different programming step or give me some tuto or example (source), that will be nice. Thanks (sorry about my english, I'm French) --~--~-~--~~~---~--~~ 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: Network Errors, No Reason?
Actually, i have the same problem. I think the problem come to the :80. In fact, when I tried, in a browser, the URL with the port (:80) it doesn't work. Without, It works. But, the port number is put automatically, so, i don't know what to do. Somebody has an idea?? (sorry about my English, I'm French) On 8 oct, 13:01, Charlie Collins [EMAIL PROTECTED] wrote: That error seems more involved than potentially just what your application is doing. Can you browse to that URL (or others) from the browser on the emulator? Leave your app out of the equation and make sure the platform is working as you expect first. Might need to make sure you have a clean Android install and -wipe-data when you start. Not sure, but NetworkStateTracker(52): Can't set tcp buffer sizes:java.io.FileNotFoundException: /sys/kernel/ipv4/tcp_rmem_min sounds like Android itself is not happy (as opposed to just an app error). Also, that looks like some of my code from the Manning book Unlocking Android. If it is, that hasn't been updated yet to work in the 1.0 SDK so you may get various errors unless you are running it on m5, or you have updated it. I am in the process right now of updating the code and the text for the book - to get everything up to 1.0. I am actually re-working that particular sample code project this week, if you want to send me an email I can zip it and send it to you when I am done (it will eventually get update on the Manning MEAP site too, but will take longer). On Oct 7, 10:23 am, nichojo [EMAIL PROTECTED] wrote: I have this: public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); /* Create a new TextView to display the parsing result later. */ TextView tv = new TextView(this); try { /* Create a URL we want to load some xml-data from. */ String queryString = http://weather.yahooapis.com/ forecastrss?p=36832; /* Replace blanks with HTML-Equivalent. */ URL url = new URL(queryString.replace( , %20)); /* Get a SAXParser from the SAXPArserFactory. */ SAXParserFactory spf = SAXParserFactory.newInstance(); SAXParser sp = spf.newSAXParser(); /* Get the XMLReader of the SAXParser we created. */ XMLReader xr = sp.getXMLReader(); /* Create a new ContentHandler and apply it to the XML- Reader */ WeatherHandler myWeatherHandler = new WeatherHandler(); xr.setContentHandler(myWeatherHandler); /* Parse the xml-data from our URL. */ xr.parse(new InputSource(url.openStream())); /* Parsing has finished. */ tv.setText(myWeatherHandler.getInfo()); } catch (Exception e) { tv.setText(Error: + e.getMessage()); Log.e(MY_DEBUG_TAG, WeatherQueryError, e); } /* Display the TextView. */ setContentView(tv); } For some reason I get a bunch network errors: 10-07 14:22:21.702: ERROR/NetworkStateTracker(52): Can't set tcp buffer sizes:java.io.FileNotFoundException: /sys/kernel/ipv4/ tcp_rmem_min 10-07 14:22:22.462: ERROR/AUWeather(156): WeatherQueryError 10-07 14:22:22.462: ERROR/AUWeather(156): java.net.UnknownHostException:Hostisunresolved: weather.yahooapis.com:80 10-07 14:22:22.462: ERROR/AUWeather(156): at java.net.Socket.connect(Socket.java:928) I have added the internet permission and this code is almost line by line just like the example. I am not behind a proxy either. Any ideas? --~--~-~--~~~---~--~~ 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 type of Ringtones does G1 support
Hey, what types of audio formats are supported by Android? How Can we test them on the Android Emulator? thanks, Anirudh --~--~-~--~~~---~--~~ 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] http connection
hey everybody. I'd like tu do a Http connection to a server with this lib : org.apache.http.*; But, that's very difficult to me. i'm lost in all the interface class. So, if someone can describe me the different programming step or give me some tuto or example (source), that will be nice. Thanks (sorry about my english, I'm French) --~--~-~--~~~---~--~~ 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: How to use SmsManager.sendDataMessage() to send the message
I would like to know this as well. On Sep 30, 8:54 pm, plusminus [EMAIL PROTECTED] wrote: *bump* On 24 Sep., 09:45, Cristina [EMAIL PROTECTED] wrote: I have just done a test to send a binary messege to a port using this code in 1.0 SmsManager smsManager = SmsManager.getDefault(); short port = 16001; smsManager.sendDataMessage(5556,5554, port, Hola.getBytes(), null, null); I use two emulators, one is launched at 5554 and the other at 5556 and I try to send the binary sms from 5554 to 5556. In the 5556 phone I have launch an application with a BroadcastReceiver in order to receive SMS Messages (but I do not know how to specify the port) The application does not failed. But the 5556 phone does not receive anything. Instead, in the console I receive the following messege every time I do a try [2008-09-24 14:05:06 - ddms]ADB rejected shell command (ls -l /): Strange but it seems that the adb is receiving the request... Does anybody has an example on how to send/receive binary SMS to an application port usingsendDataMessage? anywhere, were you able to do it? On 18 sep, 11:11, anywhere [EMAIL PROTECTED] wrote: hi Justin Ithink i have found the answer to the question 2. i think BroadcastReceiver#getResultCode() can get the sms send result. Please help to anwer the following question 1. Thanks (1) Whether Android support sending a text message with a port? If not, whether will be supported in future release? I find SmsManager#sendDataMessagecan be used to send a binary message with a port. But not found method for text message with port. Thanks BR On Sep 18, 4:35 pm, anywhere [EMAIL PROTECTED] wrote: hi Justin Thans for your assistance. I still have other two issues to bother you. (1) Whether Android support sending a text message with a port? If not, whether will be supported in future release? I findSmsManager#sendDataMessagecan be used to send a binary message with a port. But not found method for text message with port. (2) I noticed when sending a sms message, a result code can be got. So How can i get the result code? I didn't find the method. Thanks br On Sep 18, 6:53 am, Justin (Google Employee) [EMAIL PROTECTED] wrote: Well, sorry this has taken so long to respond to! In the process of trying to write a demonstration I discovered a bug. There is a bug in the emulator code that causesSmsManager.sendDataMessage() to fail due to an infinite loop. A bug has been filed and this should be fixed in a future release of the SDK. At that time, please bring this issue up again to remind me to write a sample. Cheers, Justin Android Team @ Google On Sep 10, 2:28 am, anywhere [EMAIL PROTECTED] wrote: hi Justin Thanks for your help. But i am still confused about how to set the port, as i did not find any method to set a port for listen coming sms binary message in the document. if i write a appliction to receive the binary sms message how should i do? Thanks On Sep 10, 8:18 am, Justin (Google Employee) [EMAIL PROTECTED] wrote: Data messages sent over SMS are limited in length (133 bytes actually), so this is probably the crash that you are running into. The port number is the port on the receiving device that the receiving service is listening on. Presumably your service is bound to this port and waiting for messages. Using SMS data messages might not be really what you want to do because of their small size. This is not really a feasible replacement for GTalk's data messaging functionality. Cheers, Justin Android Team @ Google On Sep 4, 6:08 pm, plusminus [EMAIL PROTECTED] wrote: *bump* I'd like to know that too. How to receive DataMessages then? Btw: your bug may be reated to this one:http://code.google.com/p/android/issues/detail?id=856 Best Regards, plusminus #http://www.anddev.org-WorldslargestAndroidDevelopmentCommunity On 26 Aug., 05:13, anywhere [EMAIL PROTECTED] wrote: hi all I am now trying to write some application about sms on 0.9 beta SDK. The method sendTextMessage ofSmsManagerclass performed well. But when usingsendDataMessageto send message SDK will crash. Would you please explain what's means of destinationPort parameter and how to set it. Thanks- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text -- Ocultar texto de la cita - - Mostrar texto de la cita
[android-developers] Entrepreneur seeks Android Development
Good Day All. My name is Doug and I am a entrepreneur with an aviation related application idea for the Android Platform (and no it's not an airline schedule lookup tool). It will require an application that will run on the G1 Handset and sync to an application on a desktop / laptop computer and to a remote database via the internet (for data backup). I am willing to offer partial ownership in the final product and/or the company to the right person. What I bring to the table: The genesis of the idea. Specific industry knowledge the will be required to create the application. I have a business entity already in place (Michigan Corporation) Marketing expertise (especially for this sector of the aviation industry) Potential investors. What you bring to the table: Technical knowledge and proficiency The ability to take direction The ability to contribute meaningfully to the development process The ability to contribute time in the development process WITHOUT direct cash compensation This is a proven idea that is currently working and generating a profit on other platforms - namely Windows Mobile and to a smaller degree iPhone and Blackberry. I know this opportunity is not for everyone. I am looking for someone that doesn't need to generate a primary income source from this project. The ideal candidate would most likely be someone that is entrepreneurial minded that has a day job and is looking to create something that WE can grown into a commercial enterprise. If this sound interesting to you please contact me via email: [EMAIL PROTECTED] Please include your contact information, where you are located (geographically), development background or related experience information, what your day job is, what is the best time to contact you, and if you have the ability to video conference via web based application (i.e. Jabber via iChat on a Mac or similar application - not WebEx or any other pay for service) You will be required to sign a confidentiality / non-disclosure / non- compete agreement prior to us discussing specifics. The agreement will ONLY apply to the specific application desired but not limited to the Android environment. It will include the specific application on all other platforms as well - (i.e. iPhone, S60, Windows Mobile, Blackberry, Linux, etc...) I am in the aviation industry and have direct knowledge of how this application will work. I live in West Michigan and travel extensively for work. The best way to reach me is via email. Please only inquire if your are serious about this as so not to waste each others time. I look forward from hearing from you. Cheers Doug [EMAIL PROTECTED] --~--~-~--~~~---~--~~ 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] Developing in C\C++ for Android
Hi, I read somewhere that it is possible to run Hello-World written in C, on Android. Could anyone please tell me: 1. how to start with native development for Android? 2. What native libraries are supported? Thanks, Roy --~--~-~--~~~---~--~~ 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] Algorithm writen in C
Hello buddies!! I'm involved in a biometric project. I need to write an app for Android that must use an algorithm writen in C language. This C code is very complex and for this reason translating this code into java is not an option. The idea is to develop the main application in java code and this would call to the algorithm somehow, so the algorithm could return a value for the main app. I know there are some libs writen in C/C++ and I'm wondering if I could do so for my project, write my own lib and call it from the main app. But I don't know if it is possible, how to do it, how to compile my C code for Android and so on. To help the algorithm is writen in C and is compiled for Linux. Could anyone lead me through the darkness? Thanks mates. --~--~-~--~~~---~--~~ 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] is the order value of Menu.CATEGORY_SECONDARY a property of the menu item or the group?
For example menu.add(0 //Group ,1 // item id ,Menu.CATEGORY_SECONDARY //Order ,item1);// menu item name This seem to suggest that the secondary belongs to the item and not the group. However in describing menus through XML group android:id=@+id/least_used_items android:menuCategory=secondary item android:id=@+id/last_least_item android:orderInCategory=3 android:title=@string/last_least_often / item android:id=@+id/middle_least_item android:orderInCategory=2 android:title=@string/middle_least_often / item android:id=@+id/first_least_item android:orderInCategory=0 android:title=@string/first_least_often / The secondary seem to be assigned to the group. Can I have a group, then, that has one item that is a CATEGORY_SECONDARY and one item that is a CATEGORY_ALTERNATIVE? If you have read this far, do you know where the menu.xml files may have been described at some length. Thanks Satya --~--~-~--~~~---~--~~ 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: How to use mock location in sdk 1.0????
Hi, I think your problem depends on the format of the kml file you're using. It seems the kml parser used by ddms tool looks for placemark tags inside it. Open your kml and see if you can find a collection of Placemark tags, each one reporting a single coordinates tag. If not, try to get another kml. Let me know if you solved your issue Bye, Stefano On Sep 28, 12:09 pm, E.D.I [EMAIL PROTECTED] wrote: i have created a kml file Route.kml and i tried to load it to the to the DDMS and indeed it was loaded the only problem is the what i see is the name rout and the lot long are 0.0 and when i try to get the list of providers i get only 'gps' provider witch also does not realy give me my current location but also gives 0 for lat long, i have also connected a lestener to it and the location does not change the only way it works is if i give it a manual locationand the the 'gps' my current location changes.. the question is how can i use a kml file as a provider and if there is a problem maby agpx file will work but i dont realy know how to create it please help i'm realy stuck --~--~-~--~~~---~--~~ 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: phone to phone communication?
The usual model in this case is to have some centralized server, that know who is in (or have launched the app), and where ( Localization, GPS, etc). And this server can communicate to other users(may be all, or near the location received) of the application that someone has arrived. I don't know about something directly phone- to-phone. -fr4gus On Sep 29, 6:31 am, whitehexagon [EMAIL PROTECTED] wrote: Hi All, I'm not having much luck on the beginners group... can someone please advise if what I'm trying to do is possible with the latest SDK please? http://groups.google.com/group/android-beginners/browse_thread/thread... --~--~-~--~~~---~--~~ 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] ERROR/SQLiteOpenHelper(8956): Couldn't open mydb.db for writing (will try read-only):
Hi, I am trying to create my own ContentProvider and database, based on the notepad example. It's all straightforward, except for the permissions - i don't have a write permission. from AndroidManifest.xml manifest xmlns:android=http://schemas.android.com/apk/res/android; package=com.company.notes application android:icon=@drawable/app_notes android:label=@string/app_name provider android:name=NotesProvider android:authorities=com.mycompany.provider.Notes / I couldn't really follow though the connection between the provider definition (which is arbitrary, but needs to be unique) and the write permission. Based on the notes example, it just work - but I am obviously missing something. Documentation and forum search didn't help so far. 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] Notepadv3 Issue - NullPointerException in onSaveInstanceState()
I worked through the Notepad tutorials with the 0.9 SDK but found a problem with v3. Even with the solution project, if I initiate a new note, but then hit the Call or Home button on the emulator, the application crashes. Even after upgrading to SDK 1.0 the problem is still there. After debugging it seems the problem is caused by a null pointer exception in the onSaveInstanceState() method, when mRowId is passed in putLong(). Apparently null' is not a valid value for Long? The Null value seems quite legitimate in the context, because in the scenario I describe, at the point of switching out of the Notepad application, no database entry has been created. It is only when onPause() is called that the database entry is created, but onSaveInstanceState() is called first and so in this scenario mRowId is still null. The workaround to the example is to test mRowId before writing it to the DB as in: if (mRowId != null){ outState.putLong(NotesDbAdapter.KEY_ROWID, mRowId); } This works, but I can't help thinking I'm missing something. After searching through the logs I see no report of this problem or solution. It's hard to believe i'm the only one that's thought to stress the application by making a call while in the midst of writing a note! ;-) On a vaguely related note, the same tutorial references onFreeze(), but it doesn't seem to be part of the Activity class. Is it a deprecated reference? Any insight appreciated - much thanks - David --~--~-~--~~~---~--~~ 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] SDK1.0 and 0.9
what are the differences between the SDK 1.0 and 0.9?. Any one Please give me a reply... --~--~-~--~~~---~--~~ 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] Calling NetworkInterface.getNetworkInterfaces() got Exception on Android SDK 0.9 and 1.0
Who knows what caused this issue when running on Android 0.9 and 1.0 ? When I call this Java SE API Enumeration nis = NetworkInterface.getNetworkInterfaces(); I always got below exception caused by the native method getNetworkInterfacesImpl. Is that an android SDK's bug? java.net.SocketException: unkown error at java.net.NetworkInterface.getNetworkInterfacesImpl(Native Method) at java.net.NetworkInterface.getNetworkInterfaces(NetworkInterface.java: 297) --~--~-~--~~~---~--~~ 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] Video Format
Hi I am wondering which kind of videos the mediaPlayer class is able to play. The only Video that I have managed to play on the emulator is a 640 KB 3GP Video. Other 3GP Videos or formats like mp4 or avi did not work on the emulator. Does anybody know what exact format is needed or if there is something else to consider? 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] Re: 3D and 2D on same view
So this shows us how to do 2D on top of 3D. What is the qualitative performance hit of this approach on a device with a GPU? How can 3D on top of 2D be done? What of its performance? :-) For a limited application, I am trying out the approach of having View objects render into an OpenGL texture and just having a single OpenGL renderer that blasts all those textured quads to the screen when something needs updating. Has anyone experimented with this? I'm currently having problems even creating a TextView in code and having it render to a canvas: TextView tx = new TextView(mView.getContext()); tx.setText(Nathan); tx.setWidth(256); tx.setHeight(256); tx.draw(canvas); The call to tx.draw(canvas); has no effect on the canvas image. Any shared wisdom on these topics is appreciated! -Nathan On Sep 19, 6:57 am, Mike Reed [EMAIL PROTECTED] wrote: SeeSurfaceViewOverlay.java sample code. On Fri, Sep 19, 2008 at 5:00 AM, Shraddha Bhaskare [EMAIL PROTECTED] wrote: Hi, I need to know if 2D and 3D can co-exist on the same view. Can we have 2D and 3D views on the same screen? Thanks in advance Shraddha --~--~-~--~~~---~--~~ 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] Re: Receiving SMS Messages in 1.0?
In reply please also include sending SMS capability in 1.0 for background connection to the cloud reasons On Sep 24, 1:15 am, Reto Meier [EMAIL PROTECTED] wrote: Is it still possible to listen for incoming SMS messages in the latest 1.0 SDK release? The SMS_RECEIVED_ACTION string used to listen for incoming SMS messages seems to have gone missing. It used to be available from the android.provider.Telephony.Sms package, which also seems to have disappeared, so getMessagesFromIntent has gone too. Previously, you could create a Broadcast Receiver to listen for SMS messages using this code: String incoming_SMS = android.provider.Telephony.Sms.Intents.SMS_RECEIVED_ACTION; public void onReceive(Context _context, Intent _intent) { if (_intent.getAction().equals(incoming_SMS)) { SmsManager sms = SmsManager.getDefault(); SmsMessage[] messages = Sms.Intents.getMessagesFromIntent(_intent); } Is there still a way to do this? Thanks 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] XML-RPC
Hello I am looking for a way to use XML-RPC with Android. Is there anyone who has succesfully done this? Thankful for any advice Regards Goluef --~--~-~--~~~---~--~~ 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] Need help getting started! Mships.com benevolent themes.
Mships.com is new to Android and programming in general. I want to have a simple clean interface for many Mships.com themes. They're positive, benevolent and friendly games like ILoveNerds!, Ukons (daily good deeds), PetGhosts!, Groovyz!, PeaceSignz! + many more. Mships games are REAL-LIFE games, not traditional games. They want you to do fun things in the real world based on the game and to coordinate moves with players around the world, creating something fun, new + cool in the world. Basically, I want to have a simple interface that updates once every ten minutes with a new message for players around the world. I'd love for a lot of other functionality that's a natural extension of the game. What I am hoping for is some smart fun benevolent programmer out there to help set me up with a basic interface I can edit to replace the artwork and specifics for each theme. It's a pretty cool game we're setting up. Hoping to get someone's help + attention. Thanks a lot. Jonathan Mships.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] Test SMS app with 2 emulaters
I was wondering how to test an app that listens for SMS messages from another phone. I know the DDMS can send messages to an emulator but they are unordered SMSMessages and thus my app can't supress them. My thought was to run 2 emulators and have each send an ordered sms message to the otherbut how do you do this? any thoughts would be great. thanks, -Dave --~--~-~--~~~---~--~~ 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] SMS between 2 Emulaters using the built in sms messenger
so I have to emulators running and I can make calls between them but when I try to send a text message between them I can't figure out how to 'Open Keyboard to compose message' like the app wants me to do. It won't let me type a new message until I open the keyboard..any help? Thanks, -dave --~--~-~--~~~---~--~~ 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: Using the Emulator with a Proxy - 0.9 Beta SDK Windows Eclipse 3.4
Where did you find the NumberFormatException message? I'm looking for a log of somewhere I could find an indication (error messages) of why the proxy is failing. I'm using Eclipse/GANYMEDE on Windows XP. I've tried every combination I can think of with and without http://, with and without userid:password, with IP versus domain name. I still can't get it to work. I even upgraded to 1.0 today, still no luck. On Aug 22, 1:02 am, shan [EMAIL PROTECTED] wrote: Hi Bob, I got the browser up. If you have any other versions of the sdk/ emulator on your system, erase them and then unzip the new sdk. And provide the proxy as proxy:port only. Do not use the http://, it throws a NumberFormatException. The -http-proxy startup option did'nt work but the workaround did(using the system table insertion). On Aug 21, 4:30 am, Bob [EMAIL PROTECTED] wrote: I've tried to use the Emulator with a Proxy using the instructions here... http://code.google.com/android/reference/emulator.html#proxy but have had no success using either of the two options discussed in the reference. The 'Browser' application reports... Web page not available The Web page athttp://www.google.com/mcouldnot be loaded as: The connection to the server was unsuccessful. I'm using the Windows 0.9 Beta SDK w/Eclipse 3.4. Has anyone got this working? Seems like such a basic thing, I shouldn't be stumbling on this.- 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] Market Place
how do you get your app uploaded to the MarketPalce --~--~-~--~~~---~--~~ 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] Modify the source code for 0.9
I downloaded a source code, but it doesn't work for 0.9 sdk. I heard it's nor difficult to modify the source code for 0.9. Is there anyone who can tell me the way? I attach the address of source code. (http://code.google.com/p/android-gl/downloads/list) The name of code is ModelRenderer. I'm very beginner , so please tell me every detail. 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: Order of Axis Values in onSensorChanged
I can't speak to the actual hardware, being a curious developer like yourself, but I have been playing with the OpenIntents simulator. The simulator seems to adhere to the sensor output spec that Justin referred to. Regarding your question about whether the orientation sensor axis are the same as those for the accelerometer, they do not seem to be. The orientation sensor axis are the standard aviation axis (see Wikipedia on Flight Dynamics) while the accelerometer measurements are based on a different coordinate system. Here is the conversion based after playing around with the simulator a little (where a denotes accelerometer axis and o denotes orienation axis): Xa = Yo Ya = Xo Za = -Zo i On Aug 25, 1:10 pm, Reto [EMAIL PROTECTED] wrote: Could one of the Googlers with access to a physical phone confirm the order of the axis values returned by the on onSensorChanged event within the SensorListener class? I assume it's [x, y, z] Where, for a device lying flat on its back on the table in front of me in portrait orientation: The X axis is out of the top of the device. The Y axis is out the left hand side. The Z axis is up out of the screen. Also, is that order the same for the Orientation Sensor (where each value is rotation on that axis) and theAccelerometerSensor (where each value is acceleration in that direction)? --~--~-~--~~~---~--~~ 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] 3d file loader
Hi. I'm looking for 3d file loader such as obj, md2, and md3. I found one project that already made 3d file loader. (http://code.google.com/p/android-gl/) However, it doesn't work at 0.9 version. What can I do with it? Is there any body who know about 3d file loader at android sdk? Can you tell me how I can upgrade the version with that project? Please help me. 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] 3D file Loader
Hi. I'm looking for 3D file Loader that can load obj, md2 or md3. I found one project that already made loder. (http://code.google.com/p/android-gl/) However, it doesn't work at 0.9 version. What can I do? Is there anyone who know about this? Is there any other 3d file loader for android? Please help me.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: How to display a local file in the browser?
Yes... I was trying to do that. I am creating ContentProvider which stores data in a table with (for now) only 2 fields: _id (unique identifier) _data (a String which stores the full path of the file) I was unable to call openInputStream or openOutputStream on the Uri cause of documentation was not notifying that it is necessary to override openFile method into ContentProvider. Within the openFile method, I am manually executing a query to get the path of the file associated to the requested content and returning the ParcelFileDescriptor. Now it is working... Maybe I made something wrong with database declaration. That would be perfect if Google releases MediaProvider sources... I hope so. Resume: Create a content provider having _data field. Implement all the required methods. [* I don't know if I made something wrong with query method implementation] Override openFile method. You'll be able to load your content via WebViewElement.loadUrl(content://yourcontentprovider/#); --~--~-~--~~~---~--~~ 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] Yet another android page
http://jinnov.googlepages.com/index.html --~--~-~--~~~---~--~~ 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: How to display a local file in the browser?
I'm refactoring code cause I made a huge number of tests before getting something right. I'll post it ASAP. Thank you for your support. On 9 Set, 20:10, Megha Joshi [EMAIL PROTECTED] wrote: 2008/9/9 [EMAIL PROTECTED] [EMAIL PROTECTED] Yes... I was trying to do that. I am creating ContentProvider which stores data in a table with (for now) only 2 fields: _id (unique identifier) _data (a String which stores the full path of the file) I was unable to call openInputStream or openOutputStream on the Uri cause of documentation was not notifying that it is necessary to override openFile method into ContentProvider. Thanks for the pointer ...we will add this to the docs.. Within the openFile method, I am manually executing a query to get the path of the file associated to the requested content and returning the ParcelFileDescriptor. Yes that is the correct way ... Now it is working... Maybe I made something wrong with database declaration. That would be perfect if Google releases MediaProvider sources... I hope so. I am not sure how MediaProvider is relevant here... Resume: Create a content provider having _data field. Implement all the required methods. [* I don't know if I made something wrong with query method implementation] Override openFile method. You'll be able to load your content via WebViewElement.loadUrl(content://yourcontentprovider/#); It will be helpful to everyone facing the same issue with displaying local files in WebView, if you could share your sample code. --~--~-~--~~~---~--~~ 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: How to display a local file in the browser?
I posted the ContentProvider implementation here: http://lucabelluccini.blogspot.com/2008/09/android-developers-google-group-focus.html Soon the WebView section. --~--~-~--~~~---~--~~ 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] Context menu in MapView in android 0.9
Hello, I would like to handle touch events in the MapView and to show a context menu when the user keeps clicking on the map for a long time. I am not able to show the context menu. Moreover the only listener that gets called is the OnTouchListener, I am writing a LongClickListener but it never gets called. I have just used the standard MapView without extending it. I also Strange thing is that isLongClickable() method returns true but the long click seems not to be called. Am I missing something? Do I need to extends the MapView to catch the OnLongClick event? Please help! Thanks a lot Stefano --~--~-~--~~~---~--~~ 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] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Anyone needs android developers?
Anyone needs Android developers? please email me on [EMAIL PROTECTED] --~--~-~--~~~---~--~~ 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] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Samples
At least the CameraAPISample.zip is broken. Unlike every other sample I have tried so far, this one does not correctly import into ADT-enabled Eclipse. It does not even get recognized as containing a project at all. Please Justin could you fix that?;-) --~--~-~--~~~---~--~~ 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] connecting to 127.0.0.1 via 10.0.2.2 in Beta 9
Could anybody use Socket() for connecting to 127.0.0.1 via 10.0.2.2 in Beta 9? It worked in m5, but doesn't work in in Beta 9. Thank's Vit --~--~-~--~~~---~--~~ 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] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] several wav sounds in Beta 9 plaies bad
Hi! Can anybody say, why several wav sounds in Beta 9 plaies bad? One or two lpays good, but next plays half path or not plays? In m5 all wasgood. Thank's Vit --~--~-~--~~~---~--~~ 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] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Using socket connection in 9 beta
Hi! Can anybody explain why new Socket(10.0.2.2,9009); does not work in 9 beta? It worked in m5. Thank you. Vit --~--~-~--~~~---~--~~ 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] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to display a local file in the browser?
Nothing to do. I wrote a ContentProvider returning a cursor pointing to a database record having '_id' and '_data' columns filled (the last one contains a full path to the file, as remarked on the documentation, in case of binary data). Passing url 'content://polito.mailandroid/1' to WebView method loadUrl, it notifies that there's no supported file. --~--~-~--~~~---~--~~ 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] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Does getLocationFromName work in 0.9?
Sorry to bump, but does this work for anyone? On Sep 3, 10:59 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Does anyone know if getLocationFromName (with a bounding box) works in 0.9? I can use the simpler version just fine: public ListAddressgetFromLocationName(String locationName, int maxResults) When I use the version that accepts a bounding box, I always get a null result: public ListAddressgetFromLocationName(String locationName, int maxResults, double lowerLeftLatitude, double lowerLeftLongitude, double upperRightLatitude, double upperRightLongitude) Has anyone successfully used it? --~--~-~--~~~---~--~~ 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] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Just an Idea
Okay what about GPS with voice would be cool to add to this Android. Also a camera that can be used as a web camera as well! --~--~-~--~~~---~--~~ 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] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Map won't display
Try disabling all other adapters except the one that is connected to the internet and if you are behind a proxy/firewall that you can't disable there are other steps here: http://www.helloandroid.com/node/66 On Sep 4, 8:55 pm, Mark Wyszomierski [EMAIL PROTECTED] wrote: I think you need to add these to your manifest file: manifest xmlns:android=http://schemas.android.com/apk/res/android; package=myfingpackage uses-permission android:name=android.permission.INTERNET / uses-permission android:name=android.permission.ACCESS_COARSE_LOCATION / application android:icon=@drawable/icon android:label=@string/ app_name uses-library android:name=com.google.android.maps / Notice the permissions tags and the uses-library tag. So you can get out to the internets on your emulator huh? I can't on mine, it is most depressing. I don't know what's wrong with it. [EMAIL PROTECTED] wrote: I have subclassed the MapActivity and created the new MapView but when I launch my application it won't display a map. The Maps app that comes with the SDK does work. here is my code: public class perimeter extends MapActivity { protected MapView MyMapView = null; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); MyMapView = new MapView(this,ABC); setContentView(MyMapView); } [EMAIL PROTECTED] protected boolean isRouteDisplayed() { // TODO Auto-generated method stub return true; } } And here is my Manifest file. ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=com.ds.perimeter application android:icon=@drawable/icon android:label=@string/ app_name activity android:name=.perimeter android:label=@string/ app_name intent-filter action android:name=android.intent.action.MAIN / category android:name=android.intent.category.LAUNCHER / /intent-filter /activity uses-library android:name=com.google.android.maps / /application /manifest --~--~-~--~~~---~--~~ 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] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
Lotto Magic: Home Business Produces High Profits For Members
Thank you for your interest in Lotto Magic. So what is Lotto Magic you ask? Well its a Home Business and benefits club/savings club. Meaning you can earn $100s or $1000s per month and gain access to discounts from top name online stores, huge savings on vacations, entertainment tickets such as concerts, movies, and sporting events. I mean, you name it and they will save you a lot of money on it. Plus you earn big commission checks while being entered in the Florida lottery, meaning you could become an instant MILLIONAIRE! http://flalottomagic.net/?p0615 or http://freelottomagic.com/?p0615 Their are 2 different memberships: Team Player and Team Captain.nbsp; nbsp; Team Players get all benefits and are placed in a Lottery Pool with 7 other members. If anyones numbers hit, you each win 10% of the prize money. To join as a Team Player costs $25 per month, but you are not allowed to earn commission as a Team Player. nbsp; http://flalottomagic.net/?p0615 or http://freel.com/group/android-developers?hl=en">http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Map won't display
I have subclassed the MapActivity and created the new MapView but when I launch my application it won't display a map. The Maps app that comes with the SDK does work. here is my code: public class perimeter extends MapActivity { protected MapView MyMapView = null; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); MyMapView = new MapView(this,ABC); setContentView(MyMapView); } @Override protected boolean isRouteDisplayed() { // TODO Auto-generated method stub return true; } } And here is my Manifest file. ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=com.ds.perimeter application android:icon=@drawable/icon android:label=@string/ app_name activity android:name=.perimeter android:label=@string/ app_name intent-filter action android:name=android.intent.action.MAIN / category android:name=android.intent.category.LAUNCHER / /intent-filter /activity uses-library android:name=com.google.android.maps / /application /manifest --~--~-~--~~~---~--~~ 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] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Problems working with Mocked Location providers
Hi all, I am having problems with mocked location providers with Android 0.9. If I understand correctly the only way an application is able to receive location updates is from telnet, using geo commands, right? Is there a way to reading programmatically track data from a kml file as before? I tried with ddms tool but I got only the (0,0,0) location. If so, can you confirm that is currently no more possible to move along a path automatically as before? Thanks for you support. Best regards Stefano --~--~-~--~~~---~--~~ 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] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] maximum version of adb
Hi! I want to go to 0.9_beta, but get the message: Required maximum version of adb: 1.0.18.Current version is 1.0.20 What is the reason? --~--~-~--~~~---~--~~ 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] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] duplicate entry: classes.dex
Hi! What may be reason of error: Error generating final archive: duplicate entry: classes.dex. In 5-th SDK all was OK. 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] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html 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've seen the same effect, but using a test provider does not help either: I've registered a LocationListener and it gets called only once, even if i change the position every x seconds. But registering a listener seems to be the way to detect location changes asynchronously. Using the geo command on the emulator via telnet seems to break things, too - using it takes me to the northern atlantic, no matter what i set the coordinates to. So i guess GPS support in the emulator is seriously broken... any ideas how to test a GPS-dependent App that needs location change updates? --~--~-~--~~~---~--~~ 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] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Simple Mock Location Provider
Here is what i have done: private void setTestLocation(double lat, double lng) { Location location = new Location(gps); location.setLatitude(lat); location.setLongitude(lng); locationManager.setTestProviderLocation(gps, location); } Using LocationManager.GPS_PROVIDER is better style, i guess, but calling this with: setTestLocation(40.738412973944534,-73.98468017578125); takes your emulator straight to Manhattan. :-) The tools that come with 0.9 beta seem to be broken, so using KML/GPX replay via eclipse does not work (at least for me and some other people). On 25 Aug., 21:23, CG [EMAIL PROTECTED] wrote: Hi, I'd just like to create to get alocation(not tracking, just get the last postion fixed), but for my mocklocationprovider, I'd like this fix change time to time. I tried the old method by creating a new directory under thelocation directory but it seems it does not work anymore (as documented by the way :-) ). I also add the test providers with the method : public static void addMyMockLocationProvider(LocationManager locmgr) { String mocLocationProvider = LocationManager.GPS_PROVIDER; if (locmgr.getProvider(mocLocationProvider) == null || ! locmgr.isProviderEnabled(mocLocationProvider)) { locmgr.addTestProvider(mocLocationProvider, false, false, false, false, false, false, false, 0, 5); locmgr.setTestProviderEnabled(mocLocationProvider, true); } } But I still don't have the position given in KML file I send thanks to DDMS (or even GPX files) (I import files and then push on the PLAY button when clickable). I have the folowing error in the logcat: 08-25 19:11:30.926: ERROR/LocationManagerService(52): isProviderEnabled got exception: 08-25 19:11:30.926: ERROR/LocationManagerService(52): java.lang.IllegalArgumentException: provider=network 08-25 19:11:30.926: ERROR/LocationManagerService(52): at com.android.server.LocationManagerService._isProviderEnabled(LocationManagerService.java: 1145) 08-25 19:11:30.926: ERROR/LocationManagerService(52): at com.android.server.LocationManagerService.isProviderEnabled(LocationManagerService.java: 1131) 08-25 19:11:30.926: ERROR/LocationManagerService(52): at android.location.ILocationManager $Stub.onTransact(ILocationManager.java:211) I can't also succeed in having my currentlocationin the standard maps application. The system still returns 0, 0 ! Does anyone here can provide a quick step by step solution to have a mocklocationprovider working ? Thx ! --~--~-~--~~~---~--~~ 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] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: java.net.SocketException: unknown error
oh thks! i'll try it :) On Aug 25, 2:49 am, dai [EMAIL PROTECTED] wrote: Did you add uses-permission android:name=android.permission.INTERNET / to your manifest? This tag is mandatory for beta 0.9 version. Without it, you could not connect to the internet. On 8月25日, 午前9:30, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I try to consume my soap webservice writted with cxf apache. Java client works fine and now, i want to create android client. I found a sample =http://groups.google.com/group/android-developers/browse_thread/threa... And i try to update it to work with the last android sdk version. (0.9 beta) So i decided to use ksoap2 snapshot + SE extension and write a sample.. the source code : public class Adder extends Activity { private static final String SOAP_ACTION = RegistrationService; private static final String METHOD_NAME = register; private static final String NAMESPACE = http:// unknown.namespace; private static final String URL = http://192.168.0.5:8080/poker- flex/ws/RegistrationService?wsdl; /** Called when the activity is first created. */ @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); setContentView(R.layout.main); findViewById(R.id.cmdCalculate).setOnClickListener(new OnClickListener() { public void onClick(View view) { ((TextView)findViewById(R.id.lblStatus)).setText(... Invoking Web Service ...); SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME); SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11); envelope.setOutputSoapObject(request); Transport androidHttpTransport = new HttpTransportSE (URL); try { androidHttpTransport.call(SOAP_ACTION, envelope); Object result = envelope.bodyIn; ((TextView)findViewById(R.id.lblStatus)).setText(result.toString()); } catch(Throwable E) { ((TextView)findViewById(R.id.lblStatus)).setText(ERROR: + E.getClass().getName() + : + E.getMessage()); } } }); } } but I have an exception during calling androidHttpTransport.call(SOAP_ACTION, envelope); at the line 68 from the file HttpTransportSE.java connection.connect(); = java.net.SocketException: unknown error someone use successfully cxf and android client? :-/ --~--~-~--~~~---~--~~ 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] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] java.net.SocketException: unknown error
Hi, I try to consume my soap webservice writted with cxf apache. Java client works fine and now, i want to create android client. I found a sample = http://groups.google.com/group/android-developers/browse_thread/thread/9b246db7d612a6b5/ And i try to update it to work with the last android sdk version. (0.9 beta) So i decided to use ksoap2 snapshot + SE extension and write a sample.. the source code : public class Adder extends Activity { private static final String SOAP_ACTION = RegistrationService; private static final String METHOD_NAME = register; private static final String NAMESPACE = http:// unknown.namespace; private static final String URL = http://192.168.0.5:8080/poker- flex/ws/RegistrationService?wsdl; /** Called when the activity is first created. */ @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); setContentView(R.layout.main); findViewById(R.id.cmdCalculate).setOnClickListener(new OnClickListener() { public void onClick(View view) { ((TextView)findViewById(R.id.lblStatus)).setText(... Invoking Web Service ...); SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME); SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11); envelope.setOutputSoapObject(request); Transport androidHttpTransport = new HttpTransportSE (URL); try { androidHttpTransport.call(SOAP_ACTION, envelope); Object result = envelope.bodyIn; ((TextView)findViewById(R.id.lblStatus)).setText(result.toString()); } catch(Throwable E) { ((TextView)findViewById(R.id.lblStatus)).setText(ERROR: + E.getClass().getName() + : + E.getMessage()); } } }); } } but I have an exception during calling androidHttpTransport.call(SOAP_ACTION, envelope); at the line 68 from the file HttpTransportSE.java connection.connect(); = java.net.SocketException: unknown error someone use successfully cxf and android client? :-/ --~--~-~--~~~---~--~~ 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] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: java.net.SocketException: unknown error
thks it's working. ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=fr.sokaris.poker.android uses-permission android:name=android.permission.INTERNET / ... On 25 août, 09:37, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: oh thks! i'll try it :) On Aug 25, 2:49 am, dai [EMAIL PROTECTED] wrote: Did you add uses-permission android:name=android.permission.INTERNET / to your manifest? This tag is mandatory for beta 0.9 version. Without it, you could not connect to the internet. On 8月25日, 午前9:30, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I try to consume my soap webservice writted with cxf apache. Java client works fine and now, i want to create android client. I found a sample =http://groups.google.com/group/android-developers/browse_thread/threa... And i try to update it to work with the last android sdk version. (0.9 beta) So i decided to use ksoap2 snapshot + SE extension and write a sample.. the source code : public class Adder extends Activity { private static final String SOAP_ACTION = RegistrationService; private static final String METHOD_NAME = register; private static final String NAMESPACE = http:// unknown.namespace; private static final String URL = http://192.168.0.5:8080/poker- flex/ws/RegistrationService?wsdl; /** Called when the activity is first created. */ @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); setContentView(R.layout.main); findViewById(R.id.cmdCalculate).setOnClickListener(new OnClickListener() { public void onClick(View view) { ((TextView)findViewById(R.id.lblStatus)).setText(... Invoking Web Service ...); SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME); SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11); envelope.setOutputSoapObject(request); Transport androidHttpTransport = new HttpTransportSE (URL); try { androidHttpTransport.call(SOAP_ACTION, envelope); Object result = envelope.bodyIn; ((TextView)findViewById(R.id.lblStatus)).setText(result.toString()); } catch(Throwable E) { ((TextView)findViewById(R.id.lblStatus)).setText(ERROR: + E.getClass().getName() + : + E.getMessage()); } } }); } } but I have an exception during calling androidHttpTransport.call(SOAP_ACTION, envelope); at the line 68 from the file HttpTransportSE.java connection.connect(); = java.net.SocketException: unknown error someone use successfully cxf and android client? :-/ --~--~-~--~~~---~--~~ 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] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] ksoap2, android and cxf
i'm currently write a webservice with cxf and i want to consume it with android. so i decided to use ksoap2 (with se standard extension). my android code : SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME); request.addProperty(register, test); // what kind of name may i need to use? SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11); envelope.setOutputSoapObject(request); Transport androidHttpTransport = new HttpTransportSE (URL); androidHttpTransport.debug = true; try { androidHttpTransport.call(SOAP_ACTION, envelope); Object result = envelope.bodyIn; ... my android client send this xml request : v:Envelope xmlns:i=http://www.w3.org/2001/XMLSchema-instance; xmlns:d=http://www.w3.org/2001/XMLSchema; xmlns:c=http:// schemas.xmlsoap.org/soap/encoding/ xmlns:v=http:// schemas.xmlsoap.org/soap/envelope/v:Header /v:Bodyregister id=o0 c:root=1register i:type=d:stringtest/register/ register/v:Body/v:Envelope but my service throw in exception with this message : INFO LoggerInterceptor - | class : [EMAIL PROTECTED] | method name : register | arguments : | 0 - null | exception : parameter is null | time execution : 0 ms how may i recieve test instead of null from parameter value? --~--~-~--~~~---~--~~ 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] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to display a local file in the browser?
So, creating a content provider, which returns the same content of the file, would be accessed by loadUrl from webview, without any url filtering? Such as, for example... content://my.mailclient/231 Should retrieve the content of file 231.html: content provider acts as webserver. Is it right? On 24 Ago, 00:07, Megha Joshi [EMAIL PROTECTED] wrote: In that case you should use the content provider option mentioned earlier...Using a content provider would allow images as the content provider would be used for image loading too. Another alternative is to put the image inline, using the data:// scheme. On Fri, Aug 22, 2008 at 4:47 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I already done that but there's another limit: data rendered via loadData are not able to load remote resources (img src=http://...;). On 21 Ago, 22:21, Megha Joshi [EMAIL PROTECTED] wrote: On Wed, Aug 20, 2008 at 4:46 PM, Megha Joshi [EMAIL PROTECTED] wrote: For security reasons, WebView does not allow file: access any more. If you want the link to be loaded in your activity, you should provide a WebViewClient and implement shouldOverrideUrlLoading with { return false; } This option does not work anymore, sorry for the confusion! So the only way to load local file contents into WebView, is as Gil pointed out ...by loading the contents with loadData()/ Sample code: static final int MAXFILESIZE = 8096; String path = uri.getPath(); File f = new File(path); final long length = f.length(); if (!f.exists() || length MAXFILESIZE) { return; } // typecast to int is safe as long as MAXFILESIZE MAXINT byte[] array = new byte[(int)length]; try { InputStream is = new FileInputStream(f); is.read(array); is.close(); } catch (FileNotFoundException ex) { // Checked for file existance already, so this should not happen return; } catch (IOException ex) { // read or close failed Log.e(LOGTAG, Failed to access file: + path, ex); return; } mWebView.loadData(new String(array), mimeType, null); There is a 8KB limit on the file size. So if your data is more that 8KB, you should create a content provider for your files and then the use the ContentResolver.openContentURI()... On Wed, Aug 20, 2008 at 4:34 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I used WebView to display rich content emails (I'm writing a mail client). It worked well loading URI such as file://sdcard/filewhateveryouwant.xxx ... Now I upgraded to 0.9 and Android OS is displaying me a page with The requested file was not found. Maybe a PERMISSION issue? On 19 Ago, 20:36, Megha Joshi [EMAIL PROTECTED] wrote: Browser does not support viewing local files... On Tue, Aug 19, 2008 at 12:38 AM, Peli [EMAIL PROTECTED] wrote: Is it possible to open a local file in the browser? In the Android browser, I tried menu / go to: file:///sdcard/test.html I always receive the error message: Web page not available. The web page at file:///sdcard/test.html could not be loaded as: The requested file was not found. even though the files exist in /sdcard/test.html. Do I have to use a different URL, or put files into a different folder? Peli PS: From within an application, there seems to be a way to load local files: The prefix file:///android_asset/ will cause WebView to load content from the current application's assets folder. http://code.google.com/android/reference/android/webkit/WebView.html --~--~-~--~~~---~--~~ 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] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to display a local file in the browser?
1) For static files, you can use R class and use the browser to render them 2) For runtime-generated files or out-of-resouces class, you can't use file:// URIs anymore 2)a) A possible solution: manually open the file and provide file content as string, mimetype and encoding 2)a)issue) WebView must be used calling loadData method, which doesn't allow load content from network (so you can't make it render external images) 2)b) Another possible solution: create a content provider which returns file content, mimetype and encoding by accessing a content:// URI. Theorically you can use WebView calling loadUrl method, which renders the page correctly Anyone has snippet code for contentprovider returning file content? I've a lot of work to do and any help would be appreciated. On 25 Ago, 01:51, handschuh [EMAIL PROTECTED] wrote: Why does this limit exists? If one wants to display html-code that has been fetched to view ONCE, this html-code has to be written in a content provider? On Aug 24, 12:49 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: So, creating a content provider, which returns the same content of the file, would be accessed by loadUrl from webview, without any url filtering? Such as, for example... content://my.mailclient/231 Should retrieve the content of file 231.html: content provider acts as webserver. Is it right? On 24 Ago, 00:07, Megha Joshi [EMAIL PROTECTED] wrote: In that case you should use the content provider option mentioned earlier...Using a content provider would allow images as the content provider would be used for image loading too. Another alternative is to put the image inline, using the data:// scheme. On Fri, Aug 22, 2008 at 4:47 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I already done that but there's another limit: data rendered via loadData arenotable to load remote resources (img src=http://...;). On 21 Ago, 22:21, Megha Joshi [EMAIL PROTECTED] wrote: On Wed, Aug 20, 2008 at 4:46 PM, Megha Joshi [EMAIL PROTECTED] wrote: For security reasons, WebView doesnotallow file: access any more. If you want the link to be loaded in your activity, you should provide a WebViewClient and implement shouldOverrideUrlLoading with { return false; } This option doesnotwork anymore, sorry for the confusion! So the only way to load local file contents into WebView, is as Gil pointed out ...by loading the contents with loadData()/ Sample code: static final int MAXFILESIZE = 8096; String path = uri.getPath(); File f = new File(path); final long length = f.length(); if (!f.exists() || length MAXFILESIZE) { return; } // typecast to int is safe as long as MAXFILESIZE MAXINT byte[] array = new byte[(int)length]; try { InputStream is = new FileInputStream(f); is.read(array); is.close(); } catch (FileNotFoundException ex) { // Checked for file existance already, so this shouldnot happen return; } catch (IOException ex) { // read or close failed Log.e(LOGTAG, Failed to access file: + path, ex); return; } mWebView.loadData(new String(array), mimeType, null); There is a 8KB limit on the file size. So if your data is more that 8KB, you should create a content provider for your files and then the use the ContentResolver.openContentURI()... On Wed, Aug 20, 2008 at 4:34 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I used WebView to display rich content emails (I'm writing a mail client). It worked well loading URI such as file://sdcard/filewhateveryouwant.xxx ... Now I upgraded to 0.9 and Android OS is displaying me apagewith The requested file wasnotfound. Maybe a PERMISSION issue? On 19 Ago, 20:36, Megha Joshi [EMAIL PROTECTED] wrote: Browser doesnotsupport viewing local files... On Tue, Aug 19, 2008 at 12:38 AM, Peli [EMAIL PROTECTED] wrote: Is it possible to open a local file in the browser? In the Android browser, I tried menu / go to: file:///sdcard/test.html I always receive the error message: Webpagenotavailable. Thewebpageat file:///sdcard/test.html couldnotbe loaded as: The requested file wasnotfound. even though the files exist in /sdcard/test.html. Do I have to use a different URL, or put files into a different folder? Peli PS: From within an application, there seems to be a way to load local files: The prefix file:///android_asset/ will cause WebView to load content from the current
[android-developers] Re: How to display a local file in the browser?
I already done that but there's another limit: data rendered via loadData are not able to load remote resources (img src=http://...;). On 21 Ago, 22:21, Megha Joshi [EMAIL PROTECTED] wrote: On Wed, Aug 20, 2008 at 4:46 PM, Megha Joshi [EMAIL PROTECTED] wrote: For security reasons, WebView does not allow file: access any more. If you want the link to be loaded in your activity, you should provide a WebViewClient and implement shouldOverrideUrlLoading with { return false; } This option does not work anymore, sorry for the confusion! So the only way to load local file contents into WebView, is as Gil pointed out ...by loading the contents with loadData()/ Sample code: static final int MAXFILESIZE = 8096; String path = uri.getPath(); File f = new File(path); final long length = f.length(); if (!f.exists() || length MAXFILESIZE) { return; } // typecast to int is safe as long as MAXFILESIZE MAXINT byte[] array = new byte[(int)length]; try { InputStream is = new FileInputStream(f); is.read(array); is.close(); } catch (FileNotFoundException ex) { // Checked for file existance already, so this should not happen return; } catch (IOException ex) { // read or close failed Log.e(LOGTAG, Failed to access file: + path, ex); return; } mWebView.loadData(new String(array), mimeType, null); There is a 8KB limit on the file size. So if your data is more that 8KB, you should create a content provider for your files and then the use the ContentResolver.openContentURI()... On Wed, Aug 20, 2008 at 4:34 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I used WebView to display rich content emails (I'm writing a mail client). It worked well loading URI such as file://sdcard/filewhateveryouwant.xxx ... Now I upgraded to 0.9 and Android OS is displaying me a page with The requested file was not found. Maybe a PERMISSION issue? On 19 Ago, 20:36, Megha Joshi [EMAIL PROTECTED] wrote: Browser does not support viewing local files... On Tue, Aug 19, 2008 at 12:38 AM, Peli [EMAIL PROTECTED] wrote: Is it possible to open a local file in the browser? In the Android browser, I tried menu / go to: file:///sdcard/test.html I always receive the error message: Web page not available. The web page at file:///sdcard/test.html could not be loaded as: The requested file was not found. even though the files exist in /sdcard/test.html. Do I have to use a different URL, or put files into a different folder? Peli PS: From within an application, there seems to be a way to load local files: The prefix file:///android_asset/ will cause WebView to load content from the current application's assets folder. http://code.google.com/android/reference/android/webkit/WebView.html --~--~-~--~~~---~--~~ 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] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to display a local file in the browser?
I tried but I can only render plain or simple html content. When emails contain network references (such as images), loadData is not able to retrieve them. I need a local path: reachable from browser where I have rd/wr premission On 21 Ago, 03:34, Gil [EMAIL PROTECTED] wrote: Sorry for my bad English earlier. Recently I had to solve a similar problem. I decided to load the contents of the file myself and then call loadData in an Activity which includes a WebView. That trick worked for me. --~--~-~--~~~---~--~~ 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] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: I can't run m3 simulator after I test 0.9 simulator
Following your advice, I have solved the problem. Thank you all. Regards On 8月21日, 下午7时09分, Eric [EMAIL PROTECTED] wrote: You are in luck, I had similar problem as you and found the solution. Use the wipe data command, it will del all the apps you installed. But at least your emulator will start and you can re-install them.. Windows: emulator -wipe-data Mac/Linux: ./emulator -wipe-data Cheers Eric Portable Electonics Ltdwww.hdmp4.com On Aug 21, 8:50 pm, Mark Murphy [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: I decompressed the 0.9 SDK in another directory. After I had run the simulator in 0.9 SDK, I found my m3 simulator didn't work, it stayed in red eye, Do you know how to solve this problem? Thanks. The emulator stores data, such as the stuff you load onto it, in a disk image. http://code.google.com/android/reference/emulator.html#diskimages I would imagine the runtime images differ between SDK releases. Try renaming or deleting the appropriate directory, then running the emulator: Linux and OS X: ~/.android Windows: C:\Documents and Settings\user\Local Settings\Application Data\Android If you are going to be moving back-and-forth between SDK releases frequently, you may wish to try using the -data switch on the emulator, so you can keep separate copies of your M5 and 0.9 emulator images. -- Mark Murphy (a Commons Guy)http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.1 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] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Remote 3GP video in 0.9 SDK
I spent most of a day using the emulator in 0.9 surfing to sample video files on video contest provider sites, I must have tried playing 100's of files. Not one played. I have been able to encode a mp4 (mp4v/mp4a codecs) video file and load it from the browser (enter url in browser, probably due to mime type returned from server, it gets passed to the media player which then does its own http get request (which in it self it bugged, reported)). Problem is the audio is distorted, like playing a 45 record at 33 is best description. I have tried numerous audio bit rates and sample rates, to no avail, it is either distorted or it crashes media player. Where if anywhere are serious and complete specs on supported media player transports, encapsulation formats and supported codes and subspecs like sample, stream and frame rates supported? Can whoever wrote the media player provide any test video files that actually work? Oh and by the way, I'm sure that writing tons of different media player applications is interesting and all, but i'm pretty sure users in the end will want to click on links in the broswer and have video and audio play, not type or copy/paste them into standalone players. This is a place where android can be a iPhone killer, because ATT and Apple are trying so hard to control content delivery so they can wring more money out of the users pockets. At the moment Android is failing here. On Aug 20, 3:19 pm, Maklouf [EMAIL PROTECTED] wrote: Hi there, Is rtsp or any other formats going to be supported in the final release? where can we find the complete specs of the media capabilities? We want to build an application to stream Live content to an android device (eg Live content from a web cam), is this possible with the current SDK? From what I have read in this forum you can only stream already complete encorded files. Regards. Maklouf On Aug 19, 2:35 pm, Justin (Google Employee) [EMAIL PROTECTED] wrote: Snowcrash, thanks for pointing this out! To elaborate on reasonably interleaved... What determines reasonably is dependent on many factors like network bandwidth, network latency, and buffer size. In general you want to have a chunk of audio for a certain unit of time followed by a corresponding chunk of video for the same amount of time, your video creation software should be formatting the stream that for you anyway. The next question is how large a unit of playback time this should be. To repeat, the best answer to this question is dependent on network conditions, buffer size, and bitrate, factors which may change over time and be different from Android device to Android device. Having said all that, a good guideline is to packetize your stream into 0.5 second parts. Your results may vary and I encourage you to test for your actual applications, but this is a reasonable place to start experimenting. Regards, Justin Android Team @ Google On Aug 19, 1:03 pm, Megha Joshi [EMAIL PROTECTED] wrote: Yes, you can use QuickTime Pro to create progressive streamable format: Steps below: 1. Open the video file in Quick Time Pro. 2. Goto File Export 3. Select type as 'Movie to 3G' 4. Click Options 5. Select file format as 3gpp 6. In the drop down menu below the file format, select 'Streaming' from the list of available options (Audio, Video, Text, Streaming, Advanced) 7. Select the required maximum packet size and maximum packet duration 8. Click Save On Tue, Aug 19, 2008 at 6:44 AM, snowcrash [EMAIL PROTECTED] wrote: Hi there, your video filehttp://www.jsharkey.org/downloads/dailytest.3gp doesn't conform to the specifications stated in the source code: Mediaplayercan 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. For your file, ' strings dailytest.3gp | grep -n mdat\|moov ' returns: 4:k:mdat 2773:moov which is a violation of (1.) where 'moov' has to precede any 'mdat'. But what 'reasonably interleaved' means is still mysterious. Perhaps someone from Google reading here can shed some light on this. Regards, 131071 On 19 Aug., 07:07, Jeffrey Sharkey [EMAIL PROTECTED] wrote: Also, just to follow-up on this more, I installed lighttpd locally on the same computer as the emulator. I also made sure to add the 3GP video mime-type. This way, I could try using http://10.0.2.2/dailytest.3gp; as my test URL from the emulator, which should bypass even the emulator's bridge NAT. Still came back with the same errors. :( Interestingly, the player only made a HEAD request this time, and didn't begin streaming the data with a GET request. Here is the HEAD details from the lighttpd server, showing the correct mimetype: HTTP/1.1 200 OK Content-Type
[android-developers] Re: Remote 3GP video in 0.9 SDK
A bit thin on details, which version of squeeze, you made a file with a 3gp extension...what encapsulation and codecs and rates were used that worked? How was it played/transported, from a url, (link in a browser), a file on the sd card, http, rtsp, what server was used to stream the rtsp? On Aug 21, 11:05 am, Travis Choma [EMAIL PROTECTED] wrote: For what it's worth all our 3gp videos play fine in 0.9. We encoded them with Sorenson Squeeze with progressive streaming turned on. On Aug 21, 1:48 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I spent most of a day using the emulator in 0.9 surfing to sample video files on video contest provider sites, I must have tried playing 100's of files. Not one played. I have been able to encode a mp4 (mp4v/mp4a codecs) video file and load it from the browser (enter url in browser, probably due to mime type returned from server, it gets passed to the media player which then does its own http get request (which in it self it bugged, reported)). Problem is the audio is distorted, like playing a 45 record at 33 is best description. I have tried numerous audio bit rates and sample rates, to no avail, it is either distorted or it crashes media player. Where if anywhere are serious and complete specs on supported media player transports, encapsulation formats and supported codes and subspecs like sample, stream and frame rates supported? Can whoever wrote the media player provide any test video files that actually work? Oh and by the way, I'm sure that writing tons of different media player applications is interesting and all, but i'm pretty sure users in the end will want to click on links in the broswer and have video and audio play, not type or copy/paste them into standalone players. This is a place where android can be a iPhone killer, because ATT and Apple are trying so hard to control content delivery so they can wring more money out of the users pockets. At the moment Android is failing here. On Aug 20, 3:19 pm, Maklouf [EMAIL PROTECTED] wrote: Hi there, Is rtsp or any other formats going to be supported in the final release? where can we find the complete specs of the media capabilities? We want to build an application to stream Live content to an android device (eg Live content from a web cam), is this possible with the current SDK? From what I have read in this forum you can only stream already complete encorded files. Regards. Maklouf On Aug 19, 2:35 pm, Justin (Google Employee) [EMAIL PROTECTED] wrote: Snowcrash, thanks for pointing this out! To elaborate on reasonably interleaved... What determines reasonably is dependent on many factors like network bandwidth, network latency, and buffer size. In general you want to have a chunk of audio for a certain unit of time followed by a corresponding chunk of video for the same amount of time, your video creation software should be formatting the stream that for you anyway. The next question is how large a unit of playback time this should be. To repeat, the best answer to this question is dependent on network conditions, buffer size, and bitrate, factors which may change over time and be different from Android device to Android device. Having said all that, a good guideline is to packetize your stream into 0.5 second parts. Your results may vary and I encourage you to test for your actual applications, but this is a reasonable place to start experimenting. Regards, Justin Android Team @ Google On Aug 19, 1:03 pm, Megha Joshi [EMAIL PROTECTED] wrote: Yes, you can use QuickTime Pro to create progressive streamable format: Steps below: 1. Open the video file in Quick Time Pro. 2. Goto File Export 3. Select type as 'Movie to 3G' 4. Click Options 5. Select file format as 3gpp 6. In the drop down menu below the file format, select 'Streaming' from the list of available options (Audio, Video, Text, Streaming, Advanced) 7. Select the required maximum packet size and maximum packet duration 8. Click Save On Tue, Aug 19, 2008 at 6:44 AM, snowcrash [EMAIL PROTECTED] wrote: Hi there, your video filehttp://www.jsharkey.org/downloads/dailytest.3gp doesn't conform to the specifications stated in the source code: Mediaplayercan 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. For your file, ' strings dailytest.3gp | grep -n mdat\|moov ' returns: 4:k:mdat 2773:moov which is a violation of (1.) where 'moov' has to precede any 'mdat'. But what 'reasonably interleaved' means is still mysterious. Perhaps someone from Google reading here can shed some light
[android-developers] Why is video so broken, there is a serious media stack hiding in there.
According to this article http://www.gearlog.com/2007/11/fresh_hot_specs_googles_androi.php there is a serious media stack available. I have seen http requests from a client identifying itself as User- Agent: PVCore/5.02.00.00. This matches the name of the product referred to in the article. So what seems broken? As I mentioned in an earlier post, I spent a day browsing video content provider sites that had a multitude of sample download, progressive download and streaming links to test. None worked. Not one all day, and I was picking the low res stuff too. Part of the problem is that mime types are not configured in the Android browser, open a .3gp link, you see the bytes in the browser like they are a text file. The only mime type that I have noticed that gets handed off to the media player is the one associated with .mp4, video/mp4. Try opening a .sdp file, mime type application/sdp, that describes a rtsp video feed and you get unsupported content message. It seems that there is the capability to handle more media types than the iPhone can, yet the integration between the browser and the media player is so bad that the media player is basically worthless. 1. When will mime types be associated in the browser, so non programmers can use it to open media links, you know - users? 2. How can I associate mime types with the existing media player now? 3. Why is there no UI that I can find at all in the media player to navigate to content? --~--~-~--~~~---~--~~ 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] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Icon Pack
Is there a way to get the Android Desktop Icons (Browser, Folder, etc..) as PNGs with Alpha? - Gavin Greenwalt --~--~-~--~~~---~--~~ 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] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Images
I apologize if this double posts. I posted this a half hour ago and it never went up so I assume something went wrong. 1) Is it possible to extract the icons as PNGs and 2) are the Backgrounds also extractable? (From the SDK)/Emulator. Thanks, Gavin Greenwalt --~--~-~--~~~---~--~~ 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] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: .mp4 get from Safari, changes over to User-Agent: PVCore/5.02.00.00
Yeah, I just realized its not called Safari, you know the other web kit browser, the one in Android. On Aug 20, 1:18 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: When whatever that is identifying itself as User-Agent: PVCore/ 5.02.00.00 does a get request it is sending junk after the request header final crlf. Often it is ascii value zero bytes, but not always, seems the byte length being sent out on the socket is larger than the actual request, maybe the buffer length instead of the request length. --~--~-~--~~~---~--~~ 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] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to display a local file in the browser?
Wow! Thank you for the tip. I'll tell you if it works in few minutes... On 21 Ago, 01:46, Megha Joshi [EMAIL PROTECTED] wrote: For security reasons, WebView does not allow file: access any more. If you want the link to be loaded in your activity, you should provide a WebViewClient and implement shouldOverrideUrlLoading with { return false; } On Wed, Aug 20, 2008 at 4:34 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I used WebView to display rich content emails (I'm writing a mail client). It worked well loading URI such as file://sdcard/filewhateveryouwant.xxx ... Now I upgraded to 0.9 and Android OS is displaying me a page with The requested file was not found. Maybe a PERMISSION issue? On 19 Ago, 20:36, Megha Joshi [EMAIL PROTECTED] wrote: Browser does not support viewing local files... On Tue, Aug 19, 2008 at 12:38 AM, Peli [EMAIL PROTECTED] wrote: Is it possible to open a local file in the browser? In the Android browser, I tried menu / go to: file:///sdcard/test.html I always receive the error message: Web page not available. The web page at file:///sdcard/test.html could not be loaded as: The requested file was not found. even though the files exist in /sdcard/test.html. Do I have to use a different URL, or put files into a different folder? Peli PS: From within an application, there seems to be a way to load local files: The prefix file:///android_asset/ will cause WebView to load content from the current application's assets folder. http://code.google.com/android/reference/android/webkit/WebView.html --~--~-~--~~~---~--~~ 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] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to display a local file in the browser?
Mh... Nothing to do... I wrote: WebView bodypartsWV = (WebView) findViewById(R.id.mail_bodyparts); WebViewClient mWVC = new WebViewClient() { @Override public boolean shouldOverrideUrlLoading(WebView view, String url) { return false; } }; bodypartsWV.setWebViewClient(mWVC); bodypartsWV.loadUrl(file:// + message.getContents().get(selectedUrl).getContentUrl()); But it is not working... On 21 Ago, 01:46, Megha Joshi [EMAIL PROTECTED] wrote: For security reasons, WebView does not allow file: access any more. If you want the link to be loaded in your activity, you should provide a WebViewClient and implement shouldOverrideUrlLoading with { return false; } On Wed, Aug 20, 2008 at 4:34 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I used WebView to display rich content emails (I'm writing a mail client). It worked well loading URI such as file://sdcard/filewhateveryouwant.xxx ... Now I upgraded to 0.9 and Android OS is displaying me a page with The requested file was not found. Maybe a PERMISSION issue? On 19 Ago, 20:36, Megha Joshi [EMAIL PROTECTED] wrote: Browser does not support viewing local files... On Tue, Aug 19, 2008 at 12:38 AM, Peli [EMAIL PROTECTED] wrote: Is it possible to open a local file in the browser? In the Android browser, I tried menu / go to: file:///sdcard/test.html I always receive the error message: Web page not available. The web page at file:///sdcard/test.html could not be loaded as: The requested file was not found. even though the files exist in /sdcard/test.html. Do I have to use a different URL, or put files into a different folder? Peli PS: From within an application, there seems to be a way to load local files: The prefix file:///android_asset/ will cause WebView to load content from the current application's assets folder. http://code.google.com/android/reference/android/webkit/WebView.html --~--~-~--~~~---~--~~ 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] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] I can't run m3 simulator after I test 0.9 simulator
Hi All, I decompressed the 0.9 SDK in another directory. After I had run the simulator in 0.9 SDK, I found my m3 simulator didn't work, it stayed in red eye, Do you know how to solve this problem? Thanks. Regards --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Geolocation provider emulation and sms format for this stuff
Location aware is a big draw for android, but this link does not appear to be working right now: http://code.google.com/android/reference/geo Is there a better reference for geographic functions? Does someone have a standard format for embedding geo location data in an SMS message? I can invent one, but would expect some sort of proposed standard somewhere. --~--~-~--~~~---~--~~ 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] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] AndroidGL - 0.4
Hello Folks, I've updated the Android OpenGL tutorials to reflect the new EGL/ Surface API in Android 0.9 See: http://code.google.com/p/android-gl Thanks! --brendan --~--~-~--~~~---~--~~ 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] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: OpenGL and Android layouts
Yes you can, you should use an overlay. for more details see here http://tkcodesharing.blogspot.com/2008/05/porting-monolithandroid-from-m3-to-m5.html --~--~-~--~~~---~--~~ 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] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Android Emulator fails to start on the eeePC running Mandriva 2008.1
): New shared user SharedUserName{com.google.android.core/com.google}: id=1 D/( 507): zip_openZipFile(/system/app/ContactsProvider.apk) D/( 507): zip_openZipFile(/system/app/GoogleAppsProvider.apk) D/( 507): zip_openZipFile(/system/app/MasfProxyService.apk) D/( 507): zip_openZipFile(/system/app/MediaProvider.apk) D/( 507): zip_openZipFile(/system/app/SettingsProvider.apk) D/( 507): zip_openZipFile(/system/app/TelephonyProvider.apk) D/( 507): zip_openZipFile(/system/app/Browser.apk) D/( 507): zip_openZipFile(/system/app/Contacts.apk) D/( 507): zip_openZipFile(/system/app/Development.apk) D/( 507): zip_openZipFile(/system/app/Fallback.apk) I/dalvikvm-heap( 507): GC! (61 sec since last GC) I/dalvikvm-heap( 507): GC old usage 68.7%; now 0.746MB used / 1.493MB soft max (2.062MB real max) I/dalvikvm-heap( 507): GC freed 5374 objects / 356640 bytes in 168ms D/( 507): zip_openZipFile(/system/app/GTalkSettings.apk) D/( 507): zip_openZipFile(/system/app/GoogleApps.apk) D/( 507): zip_openZipFile(/system/app/Home.apk) D/( 507): zip_openZipFile(/system/app/ImProvider.apk) D/( 507): zip_openZipFile(/system/app/Maps.apk) D/( 507): zip_openZipFile(/system/app/Phone.apk) D/( 507): zip_openZipFile(/system/app/gtalkservice.apk) D/PackageManager( 507): Scanning app dir /data/app W/PackageManager( 507): Granting new permission android.permission.WRITE_CONTACTS to [EMAIL PROTECTED] W/PackageManager( 507): Granting new permission android.permission.READ_CONTACTS to [EMAIL PROTECTED] W/PackageManager( 507): Granting new permission android.permission.ADD_SYSTEM_SERVICE to [EMAIL PROTECTED] W/PackageManager( 507): Granting new permission android.permission.SYSTEM_ALERT_WINDOW to [EMAIL PROTECTED] W/PackageManager( 507): Granting new permission android.permission.WRITE_CONTACTS to [EMAIL PROTECTED] W/PackageManager( 507): Granting new permission android.permission.WRITE_SETTINGS to [EMAIL PROTECTED] W/PackageManager( 507): Granting new permission android.permission.BROADCAST_STICKY to [EMAIL PROTECTED] W/PackageManager( 507): Granting new permission android.permission.READ_CONTACTS to [EMAIL PROTECTED] W/PackageManager( 507): Granting new permission android.permission.CALL_PHONE to android.server.PackageManagerService [EMAIL PROTECTED] W/PackageManager( 507): Granting new permission android.permission.INTERNAL_SYSTEM_WINDOW to [EMAIL PROTECTED] W/PackageManager( 507): Granting new permission android.permission.WRITE_SETTINGS to [EMAIL PROTECTED] W/PackageManager( 507): Granting new permission android.permission.BROADCAST_STICKY to [EMAIL PROTECTED] W/PackageManager( 507): Granting new permission android.permission.RECEIVE_BOOT_COMPLETED to [EMAIL PROTECTED] W/PackageManager( 507): Granting new permission com.google.android.gtalkservice.permission.GTALK_SERVICE to [EMAIL PROTECTED] W/PackageManager( 507): Granting new permission android.permission.CALL_PHONE to android.server.PackageManagerService [EMAIL PROTECTED] W/PackageManager( 507): Granting new permission android.permission.ACCESS_LOCATION to [EMAIL PROTECTED] W/PackageManager( 507): Granting new permission com.google.android.maps.permission.READ_MY_MAPS to [EMAIL PROTECTED] W/PackageManager( 507): Granting new permission com.google.android.maps.permission.WRITE_MY_MAPS to [EMAIL PROTECTED] W/PackageManager( 507): Granting new permission android.permission.ACCESS_CELL_ID to [EMAIL PROTECTED] W/PackageManager( 507): Granting new permission android.permission.ACCESS_ASSISTED_GPS to [EMAIL PROTECTED] W/PackageManager( 507): Granting new permission android.permission.ACCESS_GPS to android.server.PackageManagerService [EMAIL PROTECTED] D/( 507): removing file '/data/system/packages-backup.xml' D/( 507): unable to unlink '/data/system/packages- backup.xml' (errno=2) I/dalvikvm-heap( 507): GC! (6497ms since last GC) I/dalvikvm-heap( 507): GC old usage 57.3%; now 0.855MB used / 1.710MB soft max (2.062MB real max) I/dalvikvm-heap( 507): GC freed 5446 objects / 315752 bytes in 118ms I/ServiceManager( 502): ServiceManager: addService(package, 0x135a0) I/SystemServer( 507): Starting Content Manager. I/Zygote ( 507): Process: zygote socket opened D/dalvikvm( 528): DexOpt: --- BEGIN 'Browser.apk' (bootstrap=0) --- D/dalvikvm( 528): DexOpt: waiting for verify+opt, pid=535 binder_open: 537:537 binder_mmap: 537 42641000-42a41000 (4096 K) vma 71 pagep 5f I/jdwp( 537): prepping for JDWP over ADB I/jdwp( 537): PID sent as '0219' to ADB I/jdwp( 537): trying to receive file descriptor from ADB binder_flush: 507 woke 1 threads binder_flush: 537 woke 2 threads I/ActivityManager( 507): Starting app process com.google.process.content to host service {com.google.android.googleapps/ com.google.android.googleapps.GoogleLoginService}: pid=537 I/ServiceManager( 502): ServiceManager
[android-developers] Android Tutorial - XML View inflation
This tutorial (http://developerlife.com/tutorials/?p=303) will show you how to instantiate or inflate a View from XML; this is useful for components that don't provide a Java API to tweak with certain style attributes. The Button class is used as an example; you can only get certain styles to show up via XML that aren't available via the Java API. --~--~-~--~~~---~--~~ 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] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Android Tutorial - Option and Context menu
This tutorial (http://developerlife.com/tutorials/?p=304) will show you how to create options menu (hooks into the MENU button) and context menu (press and hold a component). --~--~-~--~~~---~--~~ 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] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Good Android Book
If you are looking for a great introductory book to get started with the Android SDK, then you are in luck. Finally, there's a great intro book that's available now in electronic form (PDF, and Kindle) and print form (from amazon, etc). You can find a full review of this book here on developerlife - http://developerlife.com/theblog/?p=465. --~--~-~--~~~---~--~~ 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] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---