I am new to Android.Please help me to learn Android Application programming.If you have any Tutorials for Android then forword me on my mail.Thanks
On Thu, Jul 8, 2010 at 8:33 PM, <android-developers+nore...@googlegroups.com<android-developers%2bnore...@googlegroups.com> > wrote: > Today's Topic Summary > > Group: http://groups.google.com/group/android-developers/topics > > - canvas problem <#129b2961e3429a1e_group_thread_0> [1 Update] > - unable to update the app <#129b2961e3429a1e_group_thread_1> [2 > Updates] > - LiveFolder ? <#129b2961e3429a1e_group_thread_2> [1 Update] > - device not recognised <#129b2961e3429a1e_group_thread_3> [2 Updates] > - Show List View on runtime <#129b2961e3429a1e_group_thread_4> [1 > Update] > - How to detect the end of a scroll <#129b2961e3429a1e_group_thread_5>[1 > Update] > - Android IMEI with letter :O <#129b2961e3429a1e_group_thread_6> [2 > Updates] > - does the backup service on Froyo backup the data of a specific > user<#129b2961e3429a1e_group_thread_7>[1 Update] > - Regarding language support <#129b2961e3429a1e_group_thread_8> [2 > Updates] > - Adding android:targetSdkVersion="4" gives me a sdcard (Permission > denied) <#129b2961e3429a1e_group_thread_9> [5 Updates] > - what hardware platform do you use?<#129b2961e3429a1e_group_thread_10>[1 > Update] > - Starting the emulator in QVGA screen size produces a skewded > DatePicker in default Android > settings<#129b2961e3429a1e_group_thread_11>[1 Update] > - paypal mobile payment allowed? <#129b2961e3429a1e_group_thread_12> [2 > Updates] > - Trying to compile the Voice Dialer, need > help...<#129b2961e3429a1e_group_thread_13>[1 Update] > - android 2.2 Cloud to Device > Messaging<#129b2961e3429a1e_group_thread_14>[1 Update] > - @override <#129b2961e3429a1e_group_thread_15> [1 Update] > > Topic: canvas > problem<http://groups.google.com/group/android-developers/t/55c28ef83439c296> > > tobias429 <ecker...@gmx.de> Jul 08 07:52AM -0700 > ^<#129b2961e3429a1e_digest_top> > > Create your own class e.g. MyView and let it inherit the class View. > Override the onDraw method of this class. > > public class MyView extends View { > > @Override > protected void onDraw(Canvas canvas) { > super.onDraw(canvas); > > //Your own code to paint a circle here > } > > Add an instance of MyView as a view to your linear Layout. This allows > you to draw whatever you want in the "MyView" view in your Layout, and > still use the standard handling for buttons. > > > > Topic: unable to update the > app<http://groups.google.com/group/android-developers/t/dd53cab02c87c6f1> > > feeling3_4 <lanwen.ban...@gmail.com> Jul 08 07:23AM -0700 > ^<#129b2961e3429a1e_digest_top> > > Hi all > > I have old version of my app installed in the G1, and then I copy the > apk file of new version to the SD card. When I install the new version > from SD card, it raises a error: > > 07-08 22:11:05.396: DEBUG/(1748): unable to unlink '/data/data/ > com.android.packageinstaller/files/myapp.apk': No such file or > directory (errno=2) > > Any ideas? Thanks! > > btw: I do not want to uninstall the app, I just want to update the app > when I install the new version of app. > > > > > TreKing <treking...@gmail.com> Jul 08 09:53AM -0500 > ^<#129b2961e3429a1e_digest_top> > > > > and then I copy the apk file of new version to the SD card. > > First question is why you're installing from the SD card? Why not use > adb > directly from your machine? > > > > ------------------------------------------------------------------------------------------------- > TreKing - Chicago transit tracking app for Android-powered devices > http://sites.google.com/site/rezmobileapps/treking > > > > Topic: LiveFolder > ?<http://groups.google.com/group/android-developers/t/5727ec581bb9d947> > > xhy <xhyg...@gmail.com> Jul 08 10:14PM +0800 > ^<#129b2961e3429a1e_digest_top> > > hi all, > Recently,i developed a intrest in the livefolder,But how to start a > activity > from the livefolder ? No "startActivity()" int the source code which i > am > reading,but it can start other activity > .So why? Thanks. > -- > xhy > > > > Topic: device not > recognised<http://groups.google.com/group/android-developers/t/b71bad48713b6980> > > Jags <jag...@gmail.com> Jul 08 06:33AM -0700 > ^<#129b2961e3429a1e_digest_top> > > Hi all I am trying to add my motorola milestone device into PC and > debug in the device. When i put the usb cable, the device opens in > data storage mode and opens the folder. > But when i do a "adb devices" i dont see any device. > > i did the usb_driver fresh installation guide, but it returned > "windows could not find a better driver than currently installed" I > havd pointed to sdpath/usb_driver > > what's wrong and how to resolve this ? > > Thanks in advance > Jags > > > > > Kostya Vasilyev <kmans...@gmail.com> Jul 08 06:00PM +0400 > ^<#129b2961e3429a1e_digest_top> > > Jags, > > I am also using a Moto Milestone. Getting it to work requires two > things: > > 1 - Set "connection mode" to "Portal & Tools" in the phone, besides > enabling usb debugging > 2 - Install a Motorola driver > > -- Kostya > > 08.07.2010 17:33, Jags пишет: > > -- > Kostya Vasilev -- WiFi Manager + pretty widget -- > http://kmansoft.wordpress.com > > > > Topic: Show List View on > runtime<http://groups.google.com/group/android-developers/t/4cb79148ff9b62d4> > > Muhammad Ali <smanaqv...@gmail.com> Jul 08 06:59AM -0700 > ^<#129b2961e3429a1e_digest_top> > > Hello to All! > I am having a problem in UI. I have Two edit text > fields on UI and 1 Add Button. And functionality of a button is to > take values from edit text fields and add them to list. The issue > which I am facing right now is that I don't know how to show that list > (List is not displayed when app UI shows for first time). And size of > list will increase as we add data in list. > > > > Please reply me ASAP. > > Regards > Syed Muhammad Ali Naqvi > > > > Topic: How to detect the end of a > scroll<http://groups.google.com/group/android-developers/t/1fdbbf0a87e20804> > > Dantu <dantu.swar...@gmail.com> Jul 08 06:25AM -0700 > ^<#129b2961e3429a1e_digest_top> > > Hi all, > I am using a HorizontalScrollView, I would like to detect when ever my > scrollbar reaches its end, I know that there is onscrolllistener for > listview , I want a similar kind of thing for any kind of view. Any > insight will be really helpfull > > Regards > Dantu > > > > Topic: Android IMEI with letter > :O<http://groups.google.com/group/android-developers/t/b99ea1408e7ee77b> > > sblantipodi <perini.dav...@dpsoftware.org> Jul 08 05:27AM -0700 > ^<#129b2961e3429a1e_digest_top> > > Hi all, > > after this code: > > TelephonyManager mTelephonyMgr = (TelephonyManager) > getSystemService(Context.TELEPHONY_SERVICE); > pin = mTelephonyMgr.getDeviceId(); > > the pin variable should contain the IMEI number of the phone, > on some phones it returns LETTER and DECIMAL, how it it possible? > > IMEI with letter? :o > > > > > Sean Hodges <seanhodge...@googlemail.com> Jul 08 02:24PM +0100 > ^<#129b2961e3429a1e_digest_top> > > Can you give an example? If you are detecting non-digits, perhaps they > are dashes "-" separating the identifier components? > > Be careful when making assumptions on this value as not all Android > devices are phones, and as far as I'm aware manufacturers could > potentially pass anything back from a getDeviceId() call. Same goes > for other functions, such as getLine1Number(), etc. > > > > On Thu, Jul 8, 2010 at 1:27 PM, sblantipodi > > > > Topic: does the backup service on Froyo backup the data of a specific > user<http://groups.google.com/group/android-developers/t/7286a612aa18465a> > > Zhihong GUO <gzhh...@gmail.com> Jul 08 09:20PM +0800 > ^<#129b2961e3429a1e_digest_top> > > Hi all, > > After checking the API of the backup service, I haven't find any > parameters > related to the google ID of a user. My question is if the backup > service can > backup the data of a specific user, for example, his/her score in a > game; if > so, how > > > > Topic: Regarding language > support<http://groups.google.com/group/android-developers/t/97f6eb9239f7cfa2> > > ameya dandekar <ameya...@gmail.com> Jul 08 06:11PM +0530 > ^<#129b2961e3429a1e_digest_top> > > Hi, > I am currently working on application in which i need to display > lists in different languages, so , is there any API to get the > supported > language list for android ? > I am currently using sdk 1.5. And it is observed that Hindi and > Hebrew are not supported. > So , i need to avoid such languages to be displayed on UI. > > Thanks and Regards, > Ameya > > > > > Mark Murphy <mmur...@commonsware.com> Jul 08 09:12AM -0400 > ^<#129b2961e3429a1e_digest_top> > > > I am currently working on application in which i need to > display > > lists in different languages, so , is there any API to get the > supported > > language list for android ? > > http://developer.android.com/sdk/android-2.2.html#locs > > There are equivalent lists for other Android releases available in the > SDK tab. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://github.com/commonsguy > http://commonsware.com/blog | http://twitter.com/commonsguy > > Android App Developer Books: http://commonsware.com/books > > > > Topic: Adding android:targetSdkVersion="4" gives me a sdcard (Permission > denied)<http://groups.google.com/group/android-developers/t/b8610b3a8f36d303> > > powder <andr...@unidevsolutions.com> Jul 08 04:28AM -0700 > ^<#129b2961e3429a1e_digest_top> > > Hi, > > I have a piece of code that copies a file to the sdcard, it always > worked. But changing the following > line in the Manifest from: > > <uses-sdk android:minSdkVersion="3"/> > > to > > <uses-sdk android:minSdkVersion="3" android:targetSdkVersion="4"/> > > Gives me a error (have not changed anything else). Anyone have an > explanation? > > 07-08 13:13:38.121: ERROR/myApp(266): /mnt/sdcard/myapp/customer.db > (Permission denied) > 07-08 13:13:38.121: ERROR/myApp(266): java.io.FileNotFoundException: / > mnt/sdcard/myappt/customer.db (Permission denied) > 07-08 13:13:38.121: ERROR/myApp(266): at > org.apache.harmony.luni.platform.OSFileSystem.openImpl(Native Method) > 07-08 13:13:38.121: ERROR/myApp(266): at > org.apache.harmony.luni.platform.OSFileSystem.open(OSFileSystem.java: > 152) > > Regards Jonas. > > > > > Mark Murphy <mmur...@commonsware.com> Jul 08 07:34AM -0400 > ^<#129b2961e3429a1e_digest_top> > > The WRITE_EXTERNAL_STORAGE permission was added in API Level 4. By > saying you are targeting that API level, you will need to add that > permission to your manifest. > > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://github.com/commonsguy > http://commonsware.com/blog | http://twitter.com/commonsguy > > Android App Developer Books: http://commonsware.com/books > > > > > powder <andr...@unidevsolutions.com> Jul 08 04:39AM -0700 > ^<#129b2961e3429a1e_digest_top> > > I have this already in my Manifest: > > ... > <uses-permission > android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> > <uses-permission > android:name="android.permission.READ_EXTERNAL_STORAGE"/> > </application> > <uses-sdk android:minSdkVersion="3" android:targetSdkVersion="4"/> > </manifest> > > > > > > Mark Murphy <mmur...@commonsware.com> Jul 08 08:27AM -0400 > ^<#129b2961e3429a1e_digest_top> > > > where does the "/mnt" come from in /mnt/sdcard/myapp/customer.db ? > > > could it be that your path is wrong? should it not be /sdcard/...? > > The path varies by device and Android release. /mnt/sdcard is typical > for Android 2.2, at least in the emulator. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://github.com/commonsguy > http://commonsware.com/blog | http://twitter.com/commonsguy > > Android App Developer Books: http://commonsware.com/books > > > > > Adrian Vintu <adrianvi...@gmail.com> Jul 08 02:31PM +0200 > ^<#129b2961e3429a1e_digest_top> > > thank you Mark. good to know :) > > > > > > Topic: what hardware platform do you > use?<http://groups.google.com/group/android-developers/t/38cfebf2bfbeb0ed> > > Al Sutton <a...@funkyandroid.com> Jul 08 05:03AM -0700 > ^<#129b2961e3429a1e_digest_top> > > It's highly unlikely the G1 will ever see an official update to > Android 2.x or higher, so it is obsolete. > > In the OPs shoes I personally would put the money towards a better > computer as it'll most likely make the whole development process more > pleasant. > > Al. > > > > > Topic: Starting the emulator in QVGA screen size produces a skewded > DatePicker in default Android > settings<http://groups.google.com/group/android-developers/t/b2dffc7add0b4cc5> > > powder <andr...@unidevsolutions.com> Jul 08 04:59AM -0700 > ^<#129b2961e3429a1e_digest_top> > > Hi, > > Starting the emulator with 2.2 and QVGA screen size, going into > Settings, Date & time, uncheck Automatic if set, Set date. > The DatePicker year part is not displayed fully, Only 1/3 of the year > is shown, the rest does not fit the screen. > It seems Android DatePicker do not scale for small screens? > > Regards Jonas. > > > > Topic: paypal mobile payment > allowed?<http://groups.google.com/group/android-developers/t/6c4a20fdb501409b> > > Al Sutton <a...@funkyandroid.com> Jul 08 04:52AM -0700 > ^<#129b2961e3429a1e_digest_top> > > Market makes use of Google Checkout which is probably the cause of > some payment problems. > > At AndAppStore we use PayPal who have a more mature product than > Checkout and extend to more countries. We also pass 100% of payments > to the developer in a direct user to developer transaction which side > steps the need for us to get involved in any tax and legal issues > surrounding the transaction (in the same way a hosting company isn't > involved in transactional issues when they host an eCommerce site for > another company). So it's not that we're small or fast, it's just that > we've set our business model to make use of existing providers who > have well developed services (e.g. PayPal), and workflows that avoid > the need to get involved in the complex legal side of things. > > Hope this helps you understand the differences. > > Al. > > > > > > Denis Souza <denis.so...@gmail.com> Jul 08 04:52AM -0700 > ^<#129b2961e3429a1e_digest_top> > > Well, they did manage to pull it off for AdSense... I would think that > doing the same thing again would be much easier. > > > > > Topic: Trying to compile the Voice Dialer, need > help...<http://groups.google.com/group/android-developers/t/1bbb2d82744e8a6> > > RichardC <richard.crit...@googlemail.com> Jul 08 04:42AM -0700 > ^<#129b2961e3429a1e_digest_top> > > You might stand more chance of a response in: > http://groups.google.com/group/android-platform > > /Richard > > > > > Topic: android 2.2 Cloud to Device > Messaging<http://groups.google.com/group/android-developers/t/5cae89bfe37e0c9b> > > Mark Murphy <mmur...@commonsware.com> Jul 08 07:41AM -0400 > ^<#129b2961e3429a1e_digest_top> > > > We are looking for possibility of extend C2DM to other platform such > as WM. > > Do you work for Google? > > > And want to check the technology or protocol behind android 2.2 Cloud > to > > Device Messaging. > > That is undocumented and proprietary to Google, AFAIK. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://github.com/commonsguy > http://commonsware.com/blog | http://twitter.com/commonsguy > > Android App Developer Books: http://commonsware.com/books > > > > Topic: > @override<http://groups.google.com/group/android-developers/t/c404cc00ec704e9c> > > B Woods <bradleydeanwo...@gmail.com> Jul 08 04:26AM -0700 > ^<#129b2961e3429a1e_digest_top> > > thank you! > > > > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en