[android-developers] Re: using INCLUDE layouts

2013-01-29 Thread Peter Stacey
Re-using layouts is described here: http://developer.android.com/training/improving-layouts/reusing-layouts.html After that, you would refer to the individual elements in the included layout, just the same as you would normally. For example, in relation to your textviews, they would be

[android-developers] Re: recommended icon size.

2011-08-13 Thread Peter Stacey
Depends on the screen size of the device if you want to go all the way and provide resources for each possible screen. Otherwise you can rely on Android to scale your resources to different screens. In any case, the you can find full details on the developer website and download an icon pack

[android-developers] Re: Sqlite version in all Android platforms

2011-08-12 Thread Peter Stacey
http://developer.android.com/reference/android/database/sqlite/package-summary.html Last sentence of first paragraph. On Aug 12, 7:57 pm, ndiiie 90 rnd...@gmail.com wrote: Hi guys, I am wonder what is sqlite version in all android platforms? Is it version 3? or is there any version below?

[android-developers] Re: Sqlite version in all Android platforms

2011-08-12 Thread Peter Stacey
12, 2011 at 6:54 AM, Peter Stacey peterst6...@gmail.com wrote: http://developer.android.com/reference/android/database/sqlite/packag... Last sentence of first paragraph. On Aug 12, 7:57 pm, ndiiie 90 rnd...@gmail.com wrote: Hi guys, I am wonder what is sqlite version in all android

[android-developers] Re: Insertion,deletion updation on SQL database in android

2011-08-11 Thread Peter Stacey
http://developer.android.com/guide/topics/data/data-storage.html#db This will help as a start. Then the following sample will demonstrate the basics for you: http://developer.android.com/resources/samples/NotePad/index.html But there are plenty of good books available that go into more detail

[android-developers] Re: Application Life Cycle

2011-08-11 Thread Peter Stacey
Write in or test in onResume() OnResume is called when the activity is first created and also when the activity restarts from a paused or stopped state. On Aug 11, 2:33 am, Aruna, SG abcprivate...@gmail.com wrote: Hi guys, I need to show an advertisement in my app when the application start

[android-developers] Re: Make app fullscreen

2011-08-09 Thread Peter Stacey
What version of Android are you developing for? If it is 1.5 or below, or the following will be helpful: http://developer.android.com/guide/practices/screens-support-1.5.html Regards, Peter On Aug 9, 3:02 am, Kristoffer kris.isak.v...@gmail.com wrote: Hello again. I guess that i did not

[android-developers] Re: Make app fullscreen

2011-08-09 Thread Peter Stacey
The following might help you: http://developer.android.com/guide/practices/screens-support-1.5.html It looks like you might be targeting an early version of Android and as a result, the app is running in screen compatibility mode. Easy fix if that's the case is to target a more current version

[android-developers] Re: Converting to xlarge layouts

2011-08-03 Thread Peter Stacey
Yes, you can have either multiple APKs, or you can have a single APK that delivers its layout based on the version of Android being used. For the multiple APK support of the market, see here: http://android-developers.blogspot.com/2011/07/multiple-apk-support-in-android-market.html And for the

[android-developers] Re: Java Color Coding Issue

2011-08-03 Thread Peter Stacey
do i need to implement anything into the android:onClick= command? Yes; and if you want to target the LinearLayout instead of the Button, the previous example needs to be modified slightly. Instead of setting the Color.rgb(r, g, b) for Button.setBackground; instead do that to the LinearLayout.

[android-developers] Re: how to run apk remotely

2011-08-03 Thread Peter Stacey
There is currently no web based emulator for Android, at least not something that is publicly available. Perhaps a quicker option rather than creating apps in Flash or Silverlight, would be a video demo of the application running, or if it's something you want to demo live to your potential

[android-developers] Re: Youtube Logo

2011-07-01 Thread Peter Stacey
The links are already in the thread. Try the very first one that was posted, which was in the first reply to your question. You won't have to do anything other than click the link, watch, click the next link and then read. On Jun 30, 6:15 pm, JCC banr...@gmail.com wrote: Fine, then mind giving

[android-developers] Re: How to play large size video from sdcard in android

2011-06-24 Thread Peter Stacey
Not yet. You haven't asked enough times...Oh wait. 5 times already today...The same question? Yes, the same basic question 5 times in a 4 hours. Ok, since you asked so many times it must be urgent for me. Oh wait. No it isn't that urgent for me, but I might get around to it when I have a bit

[android-developers] Re: Javascript Code Coverage

2011-06-18 Thread Peter Stacey
No, EMMA won't work for JavaScript. I don't think there is currently anything available for code coverage of JavaScript in Android. If you are using JavaScript inside a WebView for example and have the JavaScript sitting in an assets directory or on a server, then I think you might be currently

[android-developers] Re: screen design

2010-08-09 Thread Peter Stacey
ANK!T, If you haven't read it already, you might find the following information on the developer guide useful: http://developer.android.com/guide/practices/screens_support.html regards, Peter On Aug 9, 7:53 am, A N K ! T ankit.awasth...@gmail.com wrote: i am developing some UI screens.. but