david.martin | 17 Apr 11:16 2014
Picon

Keyboard covering forms in Android app

Hello everyone,

I have a PhoneGap app with lots of forms, since the objective of the app is mostly to provide a nice user interface to a database. However, whenever the user tries to edit an input field that is close to the bottom, the Android keyboard will pop up and cover the field, so that the user cannot see what he/she is writing.

Do you know if there is a workaround for this? Has anyone come across this issue on their apps?

Regards,
David Martín.

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
 
To compile in the cloud, check out build.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
zwz | 17 Apr 09:22 2014
Picon

How to support secure websocket in phonegap for andoird


Websocket is supported with the plug-in from
https://github.com/mkuklis/phonegap-websocket. However, it seems that
the plug-in doesnot support the secure websocket.

Here is what I have done: I add the plug-in in my app. My app can
connect to my server with "ws://myserver". And then I modify my server
and my app a little. I test the app in my desktop-chrome browser, and it
can talk to my server with "wss://myserver". But when I compile and
install it on my android phone, it just stops working. The "close"
event happens on WebSocket object.

Any hints?

Rebin Joseph | 17 Apr 07:12 2014
Picon

Geolocation is not working in PhoneGap build

Dear All,

Geolocation API is not working an not getting lat and long. I use this function

getGeoLocation = function() {
        if (navigator.geolocation) {
            navigator.geolocation.getCurrentPosition(function(position) {
                $scope.$apply(function() {
                    $scope.data.Latitude = parseFloat(position.coords.latitude).toFixed(4);
                    $scope.data.Longitude = parseFloat(position.coords.longitude).toFixed(4);
                });
            }, function() {
                Alert.error(Messages.E1058['en']);
            });
        } else {
            Alert.error(Messages.E1058['en']);
        }
    };

config.xml has the plugin

    <gap:plugin name="org.apache.cordova.geolocation" version="0.3.6" />

Please advice

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
 
To compile in the cloud, check out build.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Chris Anderson | 17 Apr 00:22 2014
Picon

Subprojects via plugin.xml?

I'm doing a source plugin of Couchbase Lite (because the compiled plugin isn't compatible with PhoneGap Build) and this is raising some questions about how to get the plugin.xml to express some things I need. My current roadblock is that I need to do the equivalent of dragging and dropping the CouchbaseLite.xcodeproj into the sidebar of the generated Cordova app. This is the same as how CordovaLib is included in the project. Once that is in there I need to muck around with Header Search Paths and Target Dependencies, among other things.

I started a write up of the actual steps here: https://github.com/couchbaselabs/CouchbaseLiteiOS-SourceApp

Once I figure out what needs to happen, I guess the next step is write pull requests to cordova so that it can run the transforms on the Xcode project that I need... am I insane or is this a tractable project?

Cheers,
Chris 





--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
 
To compile in the cloud, check out build.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Conchita Bautista | 17 Apr 00:13 2014
Picon

ios orientation change Objective C

Hello, im trying to catch the event rotation before it finished, i have the following code (im using the tableview plugin):

[[UIDevice currentDevice] beginGeneratingDeviceOrientationNotifications];

[[NSNotificationCenter defaultCenter]
   addObserver:self selector: <at> selector(orientationChanged:)
   name:UIDeviceOrientationDidChangeNotification
   object:nil];


And the function ( i have to hide the tableview and recalculate the webview, but this function is called not only when i change orientation of ipad, even when i do any movement of the device, why?????

- (void) orientationChanged:(NSNotification *)note{
// redimensiona al girar y cierra el menu
//bug: cualquier movimiento lo toma como giro



   BOOL isInPortrait = UIDeviceOrientationIsPortrait([[UIDevice currentDevice] orientation]);
   NSLog( <at> "portrait?: %hhd",isInPortrait);
   if(nil != _mainTableView && YES != [_mainTableView isHidden]){
  // [self.webView setFrame:_originalWebViewFrame];
    [_mainTableView setHidden:YES];
    }
CGRect screenBounds = [[UIScreen mainScreen] bounds];
         self.webView.frame= CGRectMake(0, 0, screenBounds.size.width, screenBounds.size.height);
[self.webView  stringByEvaluatingJavaScriptFromString: <at> "var e = document.createEvent('Events'); e.initEvent('orientationchange', true, false); document.dispatchEvent(e);"];
if(isInPortrait==0){
 self.webView.frame= CGRectMake(0, 0, screenBounds.size.height, screenBounds.size.width);
}
  
   }



thanks in advance

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
 
To compile in the cloud, check out build.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
陈奇孝 | 16 Apr 15:17 2014
Picon

about the hide softKeyboard

hi
  I use phonegap 3.0 I need to Hide the softKeyboard but it no work

<activity android:screenOrientation="portrait"

            android:windowSoftInputMode="stateAlwaysHidden|adjustResize" 

            android:label=" <at> string/app_name" android:name="kzl_store">

            <intent-filter>

                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />

            </intent-filter>

        </activity>

how can i hide softKeyboard

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
 
To compile in the cloud, check out build.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Simone Manduchi | 16 Apr 22:00 2014
Picon

APK exports doesn't change

Hi,
I'm new to phonegap.

I created the environment

> phonegap create 0SC  -n MYname -i com.example.0SC
(and the first strange thing is that remains "Helloworld"... )
anyway I've set JAVA_HOME in cmd and build android in "0SC"

Well, after this, I went to eclipse and I've imported the existing project (again it's strange that the new project names are: HelloWorld and HelloWorld-Cordovalib instead of "MYname")
but anyway I've edited Helloworld-->www-->index.html (everything ok) but when I try to export the APK (and I must disable Auto Building, otherwise I would receive conversion to dalvik format failed with error 1) the APK is created but it is the default version (Helloworld and default index).
I can't see none of the modifications I've done.

Why?

Thank you very much,

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
 
To compile in the cloud, check out build.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
goodman ray | 16 Apr 17:45 2014
Picon

401 basic authentication prompt

Hello Guys

I am new to developing using phonegap, I have created a simple application that uses an ajax request for some data.

I was wondering if it is possible to handle ajax calls that return 401 basic authentication as a browser would, i.e. the browser pops up a dialog for the user and handles the resubmission etc.

At present I get a 401 response back to my app but no "native" pop up.

Thanks

Andrew

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
 
To compile in the cloud, check out build.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
usagi | 16 Apr 09:26 2014
Picon

Worklight QR code scanner application for Android throws autofoucs exception on Nexus 5

Hi,
I developed QR code scanner application for Android using Worklight IDE.
It works perfectly on Xperia.
However, when I run my app on Nexus 5 and launch the scanner, application quits, throwing autofocus exception.
Any solutions?

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
 
To compile in the cloud, check out build.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
usagi | 16 Apr 09:14 2014
Picon

QR code scanner application doesn't work on Nexus 5

Hi,
I developed QR code scanner application for Android using Worklight IDE.
My application works perfectly fine on Xperia.
However, when I get it run on Nexus 5, "auto-focus" error exception occurs and application quits after that.
Is anyone facing the same issue?

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
 
To compile in the cloud, check out build.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
kegita | 16 Apr 18:24 2014
Picon

Windows Phone 8 geolocation

Hi! I'm confused about geolocation info in windows phone 8, because the Phonegap API not support this platform. So, which is the way to obtain this info????

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
 
To compile in the cloud, check out build.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.

Gmane