[android-beginners] Qualcomm Working with OEMs on More Than Five Android Handsets
http://androidguys.com/2008/04/23/qualcomm-working-with-oems-on-more-than-five-android-handsets/ * Qualcomm Working with OEMs on More Than Five Android Handsets* One of the first companies to actually show Android running, Qualcomm, is expecting to ship phones over the next 12-18 months. Sayeed Choudhury, a product manager for systems software, says that Android phones will have features similar to that of the Apple iPhone only at prices closer to mass market feature phones and with better better links to internet services. What kind of services? Photos and video stuff like Flickr and YouTube is our guess. Google has really thought through what Apple has just begun to unlock. - Choudhury. Qualcomm is also on board with the LiMo Foundation. How does Android compare? Apparently, it's not quite as good yet. Surprising news as they have a one year head start on Google and friends. It's still early days for the LiMo platform but we believe it will get there. Having two flavors of Linux is better than the dozens of proprietary environments we have seen to date. Source: EETimes --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@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-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] T-Mobile first with Android, Qualcomm has 5+ phones in the works
http://www.androidauthority.com/index.php/2008/04/23/t-mobile-first-with-android-qualcomm-has-5-phones-in-the-works/ *T-Mobile first with Android, Qualcomm has 5+ phones in the works* EE Times posted an article yesterday about T-Mobile's plans for open software platforms and, in particular, its plans for the Google Android platform. The company expects to be the first U.S. based carrier to offer an Android based smartphone, something it expects to do later this year, and plans to offer many such devices in the future. In the same story, the EE Times quotes Qualcomm's Sayeed Choudhury, who says that his company is currently working with clients on more than five Android smartphones. He then goes on to say that Android based phones will offer functionality that is similar to Apple's iPhone, yet will be available for purchase at significantly lower prices. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@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-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] How to compute the size of a string in pixel
Hello I need to compute the size of a string I'm drawing with Canvas.drawText() in pixels, to be able to surround it with a rectangle. Do you know if there's a simple way to get the size of the string according to the size of the currently used font? Thanks a lot for your help. Regards, Stefano --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@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-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: How to compute the size of a string in pixel
Look at the documentation of Paint.measureText(): http://code.google.com/android/reference/android/graphics/Paint.html On Thu, Apr 24, 2008 at 6:01 AM, Semeria Stefano [EMAIL PROTECTED] wrote: Hello I need to compute the size of a string I'm drawing with Canvas.drawText() in pixels, to be able to surround it with a rectangle. Do you know if there's a simple way to get the size of the string according to the size of the currently used font? Thanks a lot for your help. Regards, Stefano -- Romain Guy www.curious-creature.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@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-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Demo phone availability
Hi, I was wondering if there was a developer signup program or something for people who want to get a demo phone when they become available to test apps on before releasing? Thanks, Ahmad --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@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-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] ContentProviders and databases
Hello Everyone, Recently I've been trying to figure out how to have a background service push data into a database and then read from that database with another application. Initially I thought about just using the various sql classes available, but then I discovered that the databases for each application are only available to that application. So after snooping around a little bit I found out about ContentProvider. However, I'm still confused about how to use it even after reading the accessing content providers page. I've been looking through DatabaseContentProvider since it seems like I can use databases in conjunction with the ContentProvider, does this mean that the database I create using the contentprovider accessible to all my other applications? How would I access this database from another application? Would it be done with that content://... interface? I'm a bit confused so the way I wrote things out might not make sense, please ask me for clarification on my questions if you need. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@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-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: failure to connect to database
Try searching this forum for mysql ( http://groups.google.com/group/android-developers/search?group=android-developersq=mysql ) or jdbc ( http://groups.google.com/group/android-developers/search?group=android-developersq=jdbc ) . The short answer, however, is that you can't or maybe you can, but it'll be incredibly difficult. Android doesn't have support for arbitrary third-party libraries because they may rely on Java libraries we don't support. Remember, Android does *not* run Java bytecode, despite the fact that code for Android is written in the Java language. The slightly longer answer to this question is that you don't want to do this anyway. JDBC was not a communications protocol that was designed to run over unreliable, high latency, low bandwidth data connections like most cellular devices will have. Using JDBC is most likely going to lead to a horrible experience for users. What is a better idea is to expose your data via an HTTP-based interface. HTTP was built to handle the communications environment that Android devices are most likely to live in. Cheers, Justin Android Team @ Google On Apr 23, 12:37 am, scimitar [EMAIL PROTECTED] wrote: Hi, I'm trying to connect to an external mysql database. The code is something like: try { Class.forName(DBCLASS).newInstance(); } catch (Exception e) { Log.i(DataLayer, unable to load jdbc driver); } // Connect to the database // jdbc:mysql://[hostname][,failoverhost...][:port]/[dbname][?param1=value1][param2=value2]. try { connection = DriverManager.getConnection( DBCONNSTRING + DBHOST + / + DBNAME + ?user= + USER + password= + PASSWORD); } catch (Exception e) { } Basically the 'DriverManager.getConnection()' call fails. The error messages are: D/dalvikvm( 596): Exception Ljava/lang/ClassNotFoundException; from PathClassLoader.java:205 not caught locally D/dalvikvm( 596): NOTE: loadClass 'java.sql.NClob' 0x40069968 threw an exception D/dalvikvm( 596): Exception Ljava/lang/ClassNotFoundException; from PathClassLoader.java:205 not caught locally D/dalvikvm( 596): NOTE: loadClass 'com.mysql.jdbc.LocalizedErrorMessages_en_US' 0x40069968 threw an exception D/dalvikvm( 596): Exception Ljava/lang/ClassNotFoundException; from PathClassLoader.java:205 not caught locally D/dalvikvm( 596): NOTE: loadClass 'com.mysql.jdbc.LocalizedErrorMessages_en' 0x40069968 threw an exception I/dalvikvm-heap( 596): GC! (75 sec since last GC) I/dalvikvm-heap( 596): GC old usage 90.6%; now 0.985MB used / 1.971MB soft max (2.062MB real max) I/dalvikvm-heap( 596): GC freed 1736 objects / 106824 bytes in 56ms D/dalvikvm( 596): Exception Ljava/lang/ClassNotFoundException; from PathClassLoader.java:205 not caught locally D/dalvikvm( 596): NOTE: loadClass 'com.mysql.jdbc.LocalizedErrorMessages' 0x40069968 threw an exception D/dalvikvm( 596): Exception Ljava/lang/ClassNotFoundException; from PathClassLoader.java:205 not caught locally D/dalvikvm( 596): NOTE: loadClass 'com.mysql.jdbc.LocalizedErrorMessages_en_US' 0x40018950 threw an exception D/dalvikvm( 596): Exception Ljava/lang/ClassNotFoundException; from PathClassLoader.java:205 not caught locally D/dalvikvm( 596): NOTE: loadClass 'com.mysql.jdbc.LocalizedErrorMessages_en' 0x40018950 threw an exception D/dalvikvm( 596): Exception Ljava/lang/ClassNotFoundException; from PathClassLoader.java:205 not caught locally D/dalvikvm( 596): NOTE: loadClass 'com.mysql.jdbc.LocalizedErrorMessages' 0x40018950 threw an exception D/dalvikvm( 596): Exception Ljava/lang/RuntimeException; from Messages.java:68 not caught locally W/dalvikvm( 596): Exception Ljava/lang/RuntimeException; thrown during Lcom/mysql/jdbc/Messages;.clinit D/dalvikvm( 596): Exception Ljava/lang/ExceptionInInitializerError; from Util.java:350 not caught locally W/dalvikvm( 596): Exception Ljava/lang/ExceptionInInitializerError; thrown during Lcom/mysql/jdbc/Util;.clinit D/dalvikvm( 596): Exception Ljava/lang/ExceptionInInitializerError; from ViewRoot.java:964 not caught locally D/dalvikvm( 596): Exception Ljava/lang/ExceptionInInitializerError; from ZygoteInit.java:1555 not caught locally I would really appreciate if somebody could help me. thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@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-beginners?hl=en
[android-beginners] Re: Looking for a fast UI platform for embedded linux
I suggest reading through some of the material at code.google.com/ android , and http://code.google.com/android/kb/licensingandoss.html answers several of your questions. I've provided brief answers for some items below. * Performance should be high. Certainly this is a goal for the Android platform. * Memory requirements can be controlled. Mobile devices typically have far less memory than desktop or server computer systems, so this would have been a logical design consideration for Android. * Ease of development Its unclear what kind of development you mean here, system or application? Android itself is based on the Linux kernel ( http://code.google.com/android/what-is-android.html ), so this is a familiar development environment to many system developers. * Customizable: Skins, Animations Take a look at the UI frameworks that Android provides. You are, of course, free to write your own views, Android components are designed to be replaceable and flexible with binding done at *call* time. * Preferrably free http://code.google.com/android/kb/licensingandoss.html . Parts of Android, including the kernel, are already available under open source licenses. More of Android will become available over time, under the Apache 2 License when possible. Cheers, Justin Android Team @ Google On Apr 23, 10:30 am, ilano [EMAIL PROTECTED] wrote: Hi All, I am looking for some good platform for UI development on an embedded linux system. My criteria is as below: * Performance should be high. * Memory requirements can be controlled. * Ease of development * Customizable: Skins, Animations * Preferrably free There are other parameters too. But, these are enough for a feasibility analysis for me right now. Can Android fulfill these requirements? (Or is it only meant for mobile phones?) Is the platform available already? (I found only an SDK on the site). I would appreciate if you can specify any alternatives to the same. I have considered JME, Java Fx, Flash lite, Clutter. (I am not sure if even these are right choices) Thanks in advance for your reply. Regards, Ilano --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@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-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: EditText to String to int
Oh my god... You know Dan, you've been a great sport to me, I can't thank you enough, I should really open my eyes a little more, I'm so very sorry for wasting your time, haha, I feel incredibly stupid... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@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-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: failure to connect to database
Hi Justin, thanks. I'm now trying to connect to a webservice, and for that I need to import java.rmi.RemoteException. But the Android Eclipse plugin is not letting me do that. It is giving the error message: 'The import java.rmi.RemoteException cannot be resolved'. Is it because Android doesn't support this library. What could be the solution for this ? -umar On Apr 24, 4:47 pm, Justin (Google Employee) [EMAIL PROTECTED] wrote: Try searching this forum for mysql (http://groups.google.com/group/android-developers/search?group=androi... ) or jdbc (http://groups.google.com/group/android-developers/search?group=androi... ) . The short answer, however, is that you can't or maybe you can, but it'll be incredibly difficult. Android doesn't have support for arbitrary third-party libraries because they may rely on Java libraries we don't support. Remember, Android does *not* run Java bytecode, despite the fact that code for Android is written in the Java language. The slightly longer answer to this question is that you don't want to do this anyway. JDBC was not a communications protocol that was designed to run over unreliable, high latency, low bandwidth data connections like most cellular devices will have. Using JDBC is most likely going to lead to a horrible experience for users. What is a better idea is to expose your data via an HTTP-based interface. HTTP was built to handle the communications environment that Android devices are most likely to live in. Cheers, Justin Android Team @ Google On Apr 23, 12:37 am, scimitar [EMAIL PROTECTED] wrote: Hi, I'm trying to connect to an external mysql database. The code is something like: try { Class.forName(DBCLASS).newInstance(); } catch (Exception e) { Log.i(DataLayer, unable to load jdbc driver); } // Connect to the database // jdbc:mysql://[hostname][,failoverhost...][:port]/[dbname][?param1=value1][param2=value2]. try { connection = DriverManager.getConnection( DBCONNSTRING + DBHOST + / + DBNAME + ?user= + USER + password= + PASSWORD); } catch (Exception e) { } Basically the 'DriverManager.getConnection()' call fails. The error messages are: D/dalvikvm( 596): Exception Ljava/lang/ClassNotFoundException; from PathClassLoader.java:205 not caught locally D/dalvikvm( 596): NOTE: loadClass 'java.sql.NClob' 0x40069968 threw an exception D/dalvikvm( 596): Exception Ljava/lang/ClassNotFoundException; from PathClassLoader.java:205 not caught locally D/dalvikvm( 596): NOTE: loadClass 'com.mysql.jdbc.LocalizedErrorMessages_en_US' 0x40069968 threw an exception D/dalvikvm( 596): Exception Ljava/lang/ClassNotFoundException; from PathClassLoader.java:205 not caught locally D/dalvikvm( 596): NOTE: loadClass 'com.mysql.jdbc.LocalizedErrorMessages_en' 0x40069968 threw an exception I/dalvikvm-heap( 596): GC! (75 sec since last GC) I/dalvikvm-heap( 596): GC old usage 90.6%; now 0.985MB used / 1.971MB soft max (2.062MB real max) I/dalvikvm-heap( 596): GC freed 1736 objects / 106824 bytes in 56ms D/dalvikvm( 596): Exception Ljava/lang/ClassNotFoundException; from PathClassLoader.java:205 not caught locally D/dalvikvm( 596): NOTE: loadClass 'com.mysql.jdbc.LocalizedErrorMessages' 0x40069968 threw an exception D/dalvikvm( 596): Exception Ljava/lang/ClassNotFoundException; from PathClassLoader.java:205 not caught locally D/dalvikvm( 596): NOTE: loadClass 'com.mysql.jdbc.LocalizedErrorMessages_en_US' 0x40018950 threw an exception D/dalvikvm( 596): Exception Ljava/lang/ClassNotFoundException; from PathClassLoader.java:205 not caught locally D/dalvikvm( 596): NOTE: loadClass 'com.mysql.jdbc.LocalizedErrorMessages_en' 0x40018950 threw an exception D/dalvikvm( 596): Exception Ljava/lang/ClassNotFoundException; from PathClassLoader.java:205 not caught locally D/dalvikvm( 596): NOTE: loadClass 'com.mysql.jdbc.LocalizedErrorMessages' 0x40018950 threw an exception D/dalvikvm( 596): Exception Ljava/lang/RuntimeException; from Messages.java:68 not caught locally W/dalvikvm( 596): Exception Ljava/lang/RuntimeException; thrown during Lcom/mysql/jdbc/Messages;.clinit D/dalvikvm( 596): Exception Ljava/lang/ExceptionInInitializerError; from Util.java:350 not caught locally W/dalvikvm( 596): Exception Ljava/lang/ExceptionInInitializerError; thrown during Lcom/mysql/jdbc/Util;.clinit D/dalvikvm( 596): Exception Ljava/lang/ExceptionInInitializerError; from ViewRoot.java:964 not caught locally D/dalvikvm( 596): Exception Ljava/lang/ExceptionInInitializerError; from ZygoteInit.java:1555 not caught locally I would really appreciate if somebody could help me. thanks.