Comments (14)
@jakecraige I have just started playing around with your addon (and cordova for the first time as well) but in regards to the open android project command
issue, since Android Studio it is based on Intellij I found that open -a /Applications/Android\ Studio.app
would be a command to open Android studio and open -a /Applications/Android\ Studio.app file.txt
to open a file. Not sure if that is exactly what you are looking for but the only thing that I could find that comes close to it.
from ember-cli-cordova.
@Globegitter Thanks for the input. Do you know what type of file android studio would want to open? Maybe the whole folder?
Pretty much if you find the open command that will open the proper file I'd love to accept a PR or add it myself. I'm guessing Android Studio would be a good default since it's "blessed" for Android Dev
from ember-cli-cordova.
@jakecraige Right now I am just working on this as a side project, so progress is slow, but as soon as I make some substantial progress (which might be a few more weeks) I'l look into making a PR.
from ember-cli-cordova.
Sounds awesome, thanks. I've also been working with android a lot recently
so I've had some other ideas to ease development on them
On Aug 8, 2014 5:12 AM, "Markus Padourek" [email protected] wrote:
@jakecraige https://github.com/jakecraige Right now I am just working
on this as a side project, so progress is slow, but as soon as I make some
substantial progress (which might be a few more weeks) I'l look into making
a PR.—
Reply to this email directly or view it on GitHub
#32 (comment)
.
from ember-cli-cordova.
So I am building a mobile app that sharing code base with my website, mainly controllers, but I need different templates per platform some are shared some are different so I was thinking, if you had a folder structure like this.
templates
-templates
-controllers
-etc
-androidtemplates
-iostemplates
or
-mobile template
then when it builds if it finds a template in the secondary folders to use that template instead of the one from the core templates folder, happy to hear other suggestions on how to manage this
from ember-cli-cordova.
@billybonks In your case, it sounds like separate projects with an addon for shared code would solve that?
from ember-cli-cordova.
I was thinking that as well but thought I would ask if it would have any
space here first
On Sep 1, 2014 8:43 AM, "Jake Craige" [email protected] wrote:
@billybonks https://github.com/billybonks In your case, it sounds like
separate projects with an addon for shared code would solve that?—
Reply to this email directly or view it on GitHub
#32 (comment)
.
from ember-cli-cordova.
@billybonks One thing I've seen before which I like is some sort of file extension. So things like my-template.android.hbs
and my-controller.ios.js
I think that could definitely have a place here. Multi-platform support occasionally needs specific things added/disabled for certain platforms and something like that would be a nice way to do it
from ember-cli-cordova.
That sounds good. Because you can see the platform for each file.
On Sep 1, 2014 10:42 PM, "Jake Craige" [email protected] wrote:
@billybonks https://github.com/billybonks One thing I've seen before
which I like is some sort of file extension. So things like
my-template.android.hbs and my-controller.ios.js I think that could
definitely have a place here. Multi-platform support occasionally needs
specific things added/disabled for certain platforms and something like
that would be a nice way to do it—
Reply to this email directly or view it on GitHub
#32 (comment)
.
from ember-cli-cordova.
Ok so if i open android studio using the .project file it works great, my project doesnt contain a studio.app file, so its probably best to point it to the .project, secondly the open command, my command env doesn't contain this command. I see there is a npm package called open, but its not being used in the project. If I attempt to open the the ios app, it does seem as if its using the open command. could you maybe give me a pointer as to how this is working. im trying to understand if it uses the user preferences for a particular file type
from ember-cli-cordova.
@billybonks I hadn't heard of that npm project. We should definitely add it and use it instead. I work on a Mac so open works for me. That project looks to be cross platform so it would be a great addition to this.
from ember-cli-cordova.
what does console.log('This platform is ' + process.platform); return on ios?, i may make a change to the open npm project, because i think its better that we run the command through your run command util. just need to make sure its currently compatible with mac
from ember-cli-cordova.
@billybonks I'm guessing you mean in node? I get
> console.log('This platform is ' + process.platform);
This platform is darwin
from ember-cli-cordova.
Closing this issue as i'll just use labels for "nice to haves" instead. It will keep the conversation more directed in each issue rather than in one thread of all sorts of thing.
Anyone who wants to implement any of the "nice to haves" feel free to go for it.
from ember-cli-cordova.
Related Issues (20)
- Error running ember generate cordoba-init com.test.app --platform=android HOT 2
- Building to "Production" causing parse error. HOT 1
- Ajax request failing in cordova/phonegap app on real device HOT 1
- Connection To Server Unsuccessful HOT 2
- Deprecation in ember 2.1: The `initialize` method for Application initializer 'cordova:in-app-livereload' should take only one argument
- Need Maintainers HOT 8
- Bump npm-version HOT 8
- How can I prevent the browser from opening when the app starts? HOT 5
- [META][FEAT] ember-cli platforms integration
- Can't get any form of livereload working for iOS HOT 2
- Bump the npm-version HOT 2
- Does ember-cli-cordova support the POD structure? HOT 3
- Configuration based way to know if you are building with Cordova
- ENOENT: no such file or directory, uv_chdir HOT 1
- Android: Cordova Defaut Splash Screen is Blank HOT 1
- Failed to install 'cordova-plugin-whitelist' HOT 7
- cordova-starter-kit HOT 1
- Hybrid app not connecting to couchdb data in aws. HOT 1
- Getting Started ember generate cordova-init com.poeticsystems.hello --platform=android HOT 1
- DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade toat least ember-cli-babel 6.6.0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ember-cli-cordova.