Navigation

    Monaca & Onsen UI
    • Login
    • Search
    • Tags
    • Users
    • Blog
    • Playground
    1. Home
    2. meshileya
    3. Posts
    M
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by meshileya

    • RE: Stuck writing data to details page via JavaScript

      @Fran-Diox

      is angular not working with onsen???..

      when you stated up there that…(just to be sure he is not using angular).

      #curious.

      posted in Onsen UI
      M
      meshileya
    • RE: Onsen UI Angular 2 Components coming soon!

      waiting so much for this to come out…so, i can get my fingers soiled…in the field of development

      posted in News & Announcements
      M
      meshileya
    • RE: My app is not connecting to my server.

      @badlee

      thanks for that…and please, what if in a situation, i am only permitted to send my request into a URL…without having access to the server…how will i go about it pls

      posted in Monaca Tools
      M
      meshileya
    • RE: Shopping App

      nice development you have there…but i know you can surely come up with a cool background too…like…making it glow with color…

      posted in Showcase
      M
      meshileya
    • RE: My app is not connecting to my server.

      am i going to add this to the header of my html pages???
      cos, my previous thought is this…using the whitelist plugin in my cordova, i should be able to egt pass this Content Security Policy

      @Munsterlander suggested that cordova plugin could have been my problem…but, i am definitely lost in this

      NOTE: i do not have access to the database, i was only given a url with different op…to post my request.

      @Andi

      posted in Monaca Tools
      M
      meshileya
    • RE: My app is not connecting to my server.

      This is the appearance of my config file

      <?xml version="1.0" encoding="UTF-8"?>
      <widget xmlns="http://www.w3.org/ns/widgets" id="com.example.helloworld" version="1.0.0">
        <name>TheSlider</name>
        <description/>
        <author/>
        <content src="index.html"/>
        <allow-navigation href="*"/>
        <allow-intent href="itms:*"/>
        <allow-intent href="itms-apps:*"/>
        <preference name="loglevel" value="DEBUG"/>
        <preference name="AndroidLaunchMode" value="singleTop"/>
        <preference name="ErrorUrl" value=""/>
        <preference name="SplashScreen" value="screen"/>
        <preference name="AllowInlineMediaPlayback" value="false"/>
        <preference name="AutoHideSplashScreen" value="true"/>
        <preference name="BackupWebStorage" value="cloud"/>
        <preference name="EnableViewportScale" value="false"/>
        <preference name="FadeSplashScreen" value="true"/>
        <preference name="FadeSplashScreenDuration" value=".25"/>
        <preference name="KeyboardDisplayRequiresUserAction" value="true"/>
        <preference name="MediaPlaybackRequiresUserAction" value="false"/>
        <preference name="ShowSplashScreenSpinner" value="false"/>
        <preference name="SuppressesIncrementalRendering" value="false"/>
        <preference name="TopActivityIndicator" value="gray"/>
        <preference name="GapBetweenPages" value="0"/>
        <preference name="PageLength" value="0"/>
        <preference name="PaginationBreakingMode" value="page"/>
        <preference name="PaginationMode" value="unpaginated"/>
        <feature name="LocalStorage">
          <param name="ios-package" value="CDVLocalStorage"/>
        </feature>
        <preference name="UIWebViewDecelerationSpeed" value="normal"/>
        <preference name="monaca:targetFamilyiPhone" value="1"/>
        <preference name="monaca:targetFamilyiPad" value="1"/>
        <preference name="monaca:WebViewEngine" value="default"/>
        <access origin="*"/>
        <preference name="KeepRunning" value="true"/>
        <preference name="monaca:AndroidIsPackageNameSeparate" value="false"/>
        <preference name="DisallowOverscroll" value="true"/>
        <preference name="Orientation" value="default"/>
        <preference name="SplashScreenDelay" value="1000"/>
        <preference name="Fullscreen" value="false"/>
      </widget>
      
      
      posted in Monaca Tools
      M
      meshileya
    • RE: Monaca debuger prevent network connections on IPhone

      @Andi

      i do not know how to send a private message here…i tried searching for your name/id on gitter…but, couldn’t find you there…and, i do not know, if i can send you the whole project folder…won’t mind doing that

      posted in Monaca Tools
      M
      meshileya
    • RE: Fail to migrate to onsen UI 2 (rc10)

      @matheos

      nice one :smiley:

      posted in Onsen UI
      M
      meshileya
    • RE: Monaca debuger prevent network connections on IPhone

      @Andi
      please, is there any suggestion for any plugin that forces url…because, i am also encountering this problem on my android application, monaca localtoolkit and also the cloud IDE…
      but, if i should test run the html file on its own with my browser, it works fine…

      posted in Monaca Tools
      M
      meshileya
    • My app is not connecting to my server.

      I have an application which ought to be connected to a remote server, but the problem i am encountering is this. If i should test my html file on my browser, it will work fine, and i will be able to send and receive back my data. but, testing with monaca Localtoolkit or building its APK, it won’t connect to the net. I am using angularjs for this connection…

      posted in Monaca Tools
      M
      meshileya
    • RE: Styling Onsen React Components

      @sherscher

      .navigation-bar {
        background-color: #f00;
        height: 50px;
      }
      
      ons-toolbar ~ .page__content {
        top: 50px;
      
      }
      

      if you want to give your tool bar a background color, and if you also want to edit the height of your toolbar

      posted in Onsen UI
      M
      meshileya
    • RE: ons is not defined in my browser console ....

      check this out

      http://tutorial.onsen.io/?framework=vanilla&category=Reference&module=popover

      posted in Onsen UI
      M
      meshileya
    • RE: How can I get the current page name in Onsen 2.0.0 rc.9 ?

      if you want it to appear on your toolbar…this should probably work out for you

       <ons-toolbar>
                  <div class="left">
                      <ons-toolbar-button ng-click="app.slidingMenu.toggleMenu()"><ons-icon icon="bars" style="color:#fff;" ></ons-icon></ons-toolbar-button>
                  </div>
                  <div class="center" style="font-size:25px; color:#fff;"> Name</div>
                  <div class="right">
            <ons-toolbar-button>Logout</ons-toolbar-button>
          </div>
              </ons-toolbar>
      
      posted in Onsen UI
      M
      meshileya
    • RE: Onsen UI 2 for Windows 10

      Yes, you can try it out. :) :) :)

      posted in Onsen UI
      M
      meshileya
    • RE: i can't find my MONACA projects

      Fortunately for me, it’s the CORS plugin i installed to my chrome. Whenever it is on, i won’t be able to see all my projects, both online…and at the instance of synchronizing it with my mobile.
      So, it has to be off, before my project can be loaded.

      posted in Monaca Tools
      M
      meshileya
    • i can't find my MONACA projects

      Why am i not seeing my MONACA projects on my dashboard (cloud) and also on my Monaca Debugger (device)…

      posted in Monaca Tools
      M
      meshileya
    • RE: Connection to a remote server

      I have been able to solve it :grinning: :smile: :relaxed: …the problem is this, i was supposed to transform my data from object to URLPARAMS and not to JSON string…
      so, instead of the $http.post i used up there…
      i did something like this

      $http({
          method: 'POST',
          url: "url",
          headers: {'Content-Type': 'application/x-www-form-urlencoded'},
          transformRequest: function(obj) {
              var str = [];
              for(var p in obj)
              str.push(encodeURIComponent(p) + "=" + encodeURIComponent(obj[p]));
              return str.join("&");
          },
          data: {username: $scope.fname, pswd: $scope.lname}
      })
        .success(function(data, status, headers, config) {...
            })
      

      and it worked well…

      posted in Developer Corner
      M
      meshileya
    • RE: Connection to a remote server

      this is my script

       <script>
        var app = angular.module('myapp', [])
        app.controller('empcontroller', function($scope, $http){
        $scope.insertdata=function(){
      //the fname and the lname are the ones i want to send together with the url
        $http.post("url", {'fname':$scope.fname, 'lname':$scope.lname})
        .success(function(data, status, headers, config) {
              console.log(data);
              if ( data.trim() === 'correct') {
                window.location.href = 'homes.html';
              } else {
                $scope.errorMsg = "Login not correct";
              }
            })
            .error(function(data, status, headers, config) {
              $scope.errorMsg = 'Unable to submit form';
            })
        }});</script>
      

      //i already tried the url with the data i want to send…and i am getting my result…
      let me say, i want to post into this url (tutorial.com/Project/mob_req.php?op=uservalidate)
      if i should type that url alone, i am going to get user not registered…but, if i should now do it in this way (tutorial.com/Project/mob_req.php?op=uservalidate&fname=user&lname=pass)…if i should type that into the url…i will get a 1…that’s if the user has been registered already…
      so, what i want to do in this respect is to send something like that…to that URL…i was able to accomplish this task…using my java…so, i want to rebuild the application using onsen…and i am kind of stocked up

      i already tried $http.post, and $http.jsonp…they are both giving me same reply which is…invalid user

      posted in Developer Corner
      M
      meshileya
    • Connection to a remote server

      i am trying to use the code below, to connect to my remote server…and i am expecting it to send the fname and the lname with the url altogether…since they are my textfield.
      after submitting my form, it’s only the url that is always been sent…(since i am always seeing it in my log…)how can i solve this

      $http.post(“url”, {‘fname’:$scope.fname, ‘lname’:$scope.lname})
      .success(function(data, status, headers, config) {…}

      posted in Developer Corner
      M
      meshileya