[android-developers] Application with large number of user facing screens ~ aka Activities
My app needs to have a large number of screens with similar UI structure.The content is the only thing that's changing across all the screens. The screens will also have Buttons to take user events for navigation across screens. From the development perspective, I believe it will not be a good idea write as many activities (e.g 15 screens). How is it possible to write just 1 Activity class and create multiple instances of it/refresh it with different data to capture user events. Any pointers in this regard will help Thx -jaz -- 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
[android-developers] How to read non-english fonts and display in app ?
I am trying to read a raw text file with a non-english font and display the contents in a TextView. However, while reading I donot see the actual characters on the app. It displays special characters ... Code being used is below .. // find the view TextView tv = (TextView)findViewById(R.id.japji); //reads the file as an InputStream String selectedBaani = readBaani(); tv.setText(selectedBaani); // Set the typeface using font used in raw file Typeface tf= Typeface.createFromAsset(getAssets(), GURMUKHI_FONT); tv.setTypeface(tf); Thx jaz -- 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
[android-developers] Re: Manage the home screen
Thanks for your help Romain - jaz On Jan 21, 1:57 pm, Romain Guy wrote: > No :) > > > > > > On Wed, Jan 21, 2009 at 10:56 AM, Jaz wrote: > > > Thanks Romain - > > Is there any capability by which I could arrange these in custom > > layouts over the default home screen ? > > > Thanks > > jaz > > > On Jan 21, 11:19 am, Romain Guy wrote: > >> You need the permission > >> com.android.launcher.permission.INSTALL_SHORTCUT then follows what > >> Browser does > >> here:http://android.git.kernel.org/?p=platform/packages/apps/Browser.git;a... > >> (see the createShortcutIntent() method and how INSTALL_SHORTCUT is > >> used.) > > >> On Wed, Jan 21, 2009 at 7:41 AM, Jaz wrote: > > >> > I am looking for pointers on Androids capability to manage its home > >> > screen. for example I need to put my own application links > >> > programatically in a particular design/UI and manage it . Something > >> > similar to the Nokia E71 home screen interface capabilities > > >> > Would appreciate any help on this. Thanks - jaz > > >> -- > >> Romain Guy > >> Android framework engineer > >> romain...@android.com > > >> Note: please don't send private questions to me, as I don't have time > >> to provide private support. All such questions should be posted on > >> public forums, where I and others can see and answer them > > -- > Romain Guy > Android framework engineer > romain...@android.com > > Note: please don't send private questions to me, as I don't have time > to provide private support. All such questions should be posted on > public forums, where I and others can see and answer them- 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 android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Manage the home screen
Thanks Romain - Is there any capability by which I could arrange these in custom layouts over the default home screen ? Thanks jaz On Jan 21, 11:19 am, Romain Guy wrote: > You need the permission > com.android.launcher.permission.INSTALL_SHORTCUT then follows what > Browser does > here:http://android.git.kernel.org/?p=platform/packages/apps/Browser.git;a... > (see the createShortcutIntent() method and how INSTALL_SHORTCUT is > used.) > > On Wed, Jan 21, 2009 at 7:41 AM, Jaz wrote: > > > I am looking for pointers on Androids capability to manage its home > > screen. for example I need to put my own application links > > programatically in a particular design/UI and manage it . Something > > similar to the Nokia E71 home screen interface capabilities > > > Would appreciate any help on this. Thanks - jaz > > -- > Romain Guy > Android framework engineer > romain...@android.com > > Note: please don't send private questions to me, as I don't have time > to provide private support. All such questions should be posted on > public forums, where I and others can see and answer them --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Manage the home screen
I am looking for pointers on Androids capability to manage its home screen. for example I need to put my own application links programatically in a particular design/UI and manage it . Something similar to the Nokia E71 home screen interface capabilities Would appreciate any help on this. Thanks - jaz --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---