Re: [android-developers] Can we use a scrollview inside linear layout?

2011-11-06 Thread paulb
Yes, the ListView does automagically scroll as the number of items increase larger than the display area. On Mon, Nov 7, 2011 at 6:07 AM, KK dioxide.softw...@gmail.com wrote: Thanks for the quick tip, I'll try it out. I've a question though. Is it the case that the lisview inherently supports

Re: [android-developers] How do I develop a Eclipse plugin on top of google's ADT?

2011-09-29 Thread paulb
An ADT-dependent plug-in for developing Android PhoneGap projects is open sourced at http://code.google.com/a/eclipselabs.org/p/mobile-web-development-with-phonegap/ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Paypal using Webview

2011-06-25 Thread paulb
For a PhoneGap plugin see https://github.com/phonegap/phonegap-plugins/tree/master/Android/PayPalPlugin. For a straight WebView integration, see https://github.com/carlst/ppmpl Both of these provide a JavaScript mapping to the PayPal MPL Android library. They do not cover the full API, but do

Re: [android-developers] Re: AppWidget Stopped !!!

2011-03-17 Thread paulb
G'day mate, I don't know if you have read this section of the documentation, but I am reposting it here in case you have missed it: - The updatePeriodMillis attribute defines how often the App Widget framework should request an update from the AppWidgetProvider by calling

Re: [android-developers] Question on layouts

2011-03-03 Thread paulb
G;day mate, FrameLayouts are usually only used forshowing one item at a time. You can layout multiple views, but they will all be laid on top of each other. There is a use for this, but I suspect not for your description of the problem. I would use a RelativeLayout - they make my life so much

[android-developers] Re: WebView; SDK

2011-01-26 Thread paulb
The WebView tutorial doesn't work in the 2.3 emulator because of http://code.google.com/p/android/issues/detail?id=12987 You should use 2.2 instead. On Jan 25, 1:49 pm, TreKing treking...@gmail.com wrote: On Fri, Jan 21, 2011 at 11:34 AM, TGundhus tgundhu...@gmail.com wrote: Here is a link to

[android-developers] Re: Porting Javascript Application to Andriod

2010-12-09 Thread paulb
See http://developer.android.com/guide/webapps/webview.html (Note that it does not yet work on the 2.3 emulator, but should work fine with 2.2) Paul On Dec 9, 1:26 am, cuil yahoo cuilya...@gmail.com wrote: Hey, We have an application written in Javascript. We want to port it to android .We

[android-developers] Making Toast with JavaScript, Android and the 2.3 emulator

2010-12-07 Thread paulb
I'm working through Building Web Apps in WebView (http:// developer.android.com/guide/webapps/webview.html). The JavaScript function successfully makes Toast when I deploy the app to a device running Froyo or to a 2.2 emulator. However, when I try to run in the 2.3 emulator, it crashes. Any

Re: [android-developers] Re: Stopping activity problem

2010-11-22 Thread paulb
Can you close the activities after you activate the next one? Then, you will only ever have open one activity. On Tue, Nov 23, 2010 at 12:50 AM, umakantpatil umakantpat...@gmail.com wrote: In short, question is how to close B activity from activity A. ? On Nov 22, 6:34 pm, umakantpatil

Re: [android-developers] Re: Internal storage on emulator

2010-11-07 Thread paulb
. -mike On Nov 6, 9:02 pm, paulb pbizan...@gmail.com wrote: G'day mate, I think you are looking for the emulator option -partition-size maybe. You can simply use your existing virtual device and invoke it like so:     ~/android-sdk-linux_86/tools/emulator -avd MyEmulator -partition-size 1024

Re: [android-developers] Custom Protocol Handler

2010-11-07 Thread paulb
custom URLs to Javascript invoking Java via objects you add to the WebView via addJavascriptInterface(). On Sat, Nov 6, 2010 at 9:30 PM, paulb pbizan...@gmail.com wrote: G'day guys, I am hoping to... -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http

Re: [android-developers] Custom Protocol Handler

2010-11-07 Thread paulb
I thought so - that is how I have used it in the past. Thanks for your help anyway. On Mon, Nov 8, 2010 at 10:03 AM, Mark Murphy mmur...@commonsware.com wrote: 2010/11/7 paulb pbizan...@gmail.com: Mark, I could not find a way to get shouldOverrideUrlLoading() to return objects to the webpage

[android-developers] Custom Protocol Handler

2010-11-06 Thread paulb
it needs to be loaded when the application first starts. I have also attempted to use URL.setURLStreamHandlerFactory. This works for creating URL objects within the code, but it does not seem to be associated with the WebView. Any ideas on how to get this working? Cheers paulb -- You

Re: [android-developers] Internal storage on emulator

2010-11-06 Thread paulb
G'day mate, I think you are looking for the emulator option -partition-size maybe. You can simply use your existing virtual device and invoke it like so: ~/android-sdk-linux_86/tools/emulator -avd MyEmulator -partition-size 1024 That creates a 1GB partition. On Sun, Nov 7, 2010 at 12:45

Re: [android-developers] How can I hide views when the soft keyboard is up?

2010-11-04 Thread paulb
Hello, Maybe you want to add the attribute: android:windowSoftInputMode=adjustPan to your activity in the AndroidManifest On Tue, Nov 2, 2010 at 7:43 AM, newobj new...@gmail.com wrote: I have a pretty standard search edit widget on top / search results list widget on bottom activity in

[android-developers] Re: Porting Android to Nokia 5800

2010-10-29 Thread paulb
The thread at http://developer.symbian.org/forum/showthread.php?t=5648 seems to indicate that it's not even possible to boot other Nokia OS's on the 5800, much less Android. On Oct 22, 12:44 am, dino omanovic dino.omanovic...@gmail.com wrote: I'm interested in modding software and I would like

Re: [android-developers] Re: Problem in height of Listview

2010-10-03 Thread paulb
Hey Rocky, If you are still experiencing a problem with the layout, and the RelativeLayout does not work, you can use a solution along the lines of: LinearLayout android:orientation=vertical android:layout_width=fill_parent android:layout_marginBottom=60dp

Re: [android-developers] To finish() an Activity ?

2010-10-03 Thread paulb
Maybe you have a memory leak. http://developer.android.com/resources/articles/avoiding-memory-leaks.html On Thu, Sep 30, 2010 at 4:19 AM, Mark Murphy mmur...@commonsware.com wrote: On Wed, Sep 29, 2010 at 1:13 PM, Emre A. Yavuz eayl...@hotmail.com wrote: Does anybody know why an [app_process]

Re: [android-developers] Database writing with Android App

2010-09-11 Thread paulb
G'day mate, How about using a content provider? That may give you the flexibility to query it as though it were a local database, but design it so it accesses a remote database on another server. If you don't want the data to 'immediately' flow into a data warehouse, you could simply use the SQL

Re: [android-developers] User thread to update UI but still come after, can anyone look at this code and help me?

2010-07-30 Thread paulb
Hello Mystique, When this code starts the thread, it then goes straight back to execute DoSomeTask() while the thread is running, and so most of the time the dialog will be shown after DoSomeTask. Maybe you meant to do something like this: ProgressDialog dialog; final Runnable

Re: [android-developers] User thread to update UI but still come after, can anyone look at this code and help me?

2010-07-30 Thread paulb
Actually, I meant to write runInUIThread instead of closeLoadingDialog in the handler.post statement On Sat, Jul 31, 2010 at 3:16 PM, paulb pbizan...@gmail.com wrote: Hello Mystique, When this code starts the thread, it then goes straight back to execute DoSomeTask() while the thread

Re: [android-developers] Login form implementation options

2010-07-05 Thread paulb
Have you considered a custom dialog? http://developer.android.com/guide/topics/ui/dialogs.html#CustomDialog On Mon, Jul 5, 2010 at 7:53 PM, Tudor Tihan tudorti...@gmail.com wrote: Hello, I am trying to implement a login form for an Android application and I am wondering what options are

Re: [android-developers] How to track URL in each landing page in Webview

2010-06-20 Thread paulb
Hello Shiva, Maybe you want to implement the method shouldOverrideUrlLoading as per: http://developer.android.com/guide/tutorials/views/hello-webview.html On Fri, Jun 18, 2010 at 9:05 PM, Shiva prasad shivu.shiv...@gmail.com wrote: Hi, I am working on webview android application and I am

Re: [android-developers] MapView displays pages different than launching via ACTION_VIEW

2010-06-09 Thread paulb
Hello Anthony, I am not quite sure if this is what you want, but try: myWebView.getSettings().setUseWideViewPort(true); On Sat, Jun 5, 2010 at 2:50 PM, Anthony Stevens biosop...@gmail.com wrote: Help...! My web page displays properly if loaded into a WebView via an ACTION_VIEW Intent. 

Re: [android-developers] Moving from one Activity to another with a pause/delay

2010-06-09 Thread paulb
Pawan, I doubt you could do this in the UI thread. What I would do is to put code in the onClickListener for your button that: - changes the button background/drawable - starts a new thread The thread sleeps for a while and then starts your second activity (and maybe changes the button

Re: [android-developers] my own app store ?

2010-06-09 Thread paulb
Hello Jags, It sounds as though you want to use an appropriate intent. The android documentation does a good job of explaining how to do this: http://developer.android.com/guide/publishing/publishing.html#marketintent Regarding your second query ... yes. You can download the APK from anywhere,

Re: [android-developers] LinearLayout/TextView sizing

2010-06-09 Thread paulb
Matt, One way you could do this is to make it a TableLayout with a TableRow, and then use the attribute android:stretchcolumns=1 as per: http://developer.android.com/guide/topics/ui/layout-objects.html#tablelayout On Wed, Jun 9, 2010 at 1:26 PM, Matt (preinvent) m...@preinvent.com wrote: I'm

Re: [android-developers] Best way for web service calls ??

2010-06-09 Thread paulb
I tend to make RESTful requests over HTTP and expect back JSON results. Everything else seems a bit too heavy. On Thu, Jun 10, 2010 at 3:15 PM, StillALearner k.mad...@gmail.com wrote: Hello, I have been trying to develop an android application for sometime now and i would like to get some