Can't start with ionic

Hi there!

I am completly new to ionic (I am a senior programmer and worked with ExtJS for 7 years), and got stuck in the beginning. Can somebody help me?

I have just created a brand new project from sidemenus template. I have not added any code lines to it.
It is running fine with “ionic serve”

Then I have added android platform, and could succesfully build the android app.
When runnning this unsigned app from my android smartphone, I am getting “App not installed. The package appears to be corrupt.”

What could be wrong with this?

  1. I have installed angular-ui-grid from cli, it has added the folder and files to MyApp/node_modules dir.
    using “angular.module(‘MyApp’, [‘ionic’, ‘ui.grid’])” makes blank screen.
    Okey, doc says you should include its js and css in the index.html.

But is “www” has no “node_modules” subdir, so I must manually copy the “angular-ui-grid” under “www” ??? (and add the includes in html?)

I thought ionic has some kind of automatic cli function for it, like plugin add .

But “ionic plugin add angular-ui-grid” raises error “no plugin.xml”, seems this ui grid is not a plugin.

  1. Is it really true, that SQLite is running in emulator or in device only?
    That will really slow my development

my ionic info is:
Cordova CLI: 6.5.0
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 7
Node Version: v7.5.0
Xcode version: Not installed

I feel myself completely miserable and frustrated that I lost 2 days and could not figure out above my 3 points.

Thank you for your help in advance.

Regards: Gabor

[quote=“liftkeeper, post:1, topic:80511”]1)
[…]

Then I have added android platform, and could succesfully build the android app.When runnning this unsigned app from my android smartphone, I am getting “App not installed. The package appears to be corrupt.”

What could be wrong with this?
[/quote]

How exactly did you add the platform and build the app? We need the specific steps you took.
Quick fix try: Remove the android platform, readd it and try to build again. Maybe it was just a fluke?

How are you adding SQLite to your project?

That appears to be intended for use with Angular 1, so it’s not going to work with Ionic 2. Ionic has a grid component.

Yes. You can use wrappers like ionic-storage that will gracefully use a variety of backends (including ones that will work in browsers), but it’s key/value only, not true SQL.

Hello,

Thanks the responses for both of you, but yesterday I started with phonegap and could set up a demo project in 30 minutes what is running from builded apk in my phone and in chrome (with Ripple).
I have inserted into a list 20 000 records, so that is more than enough for me.

I will buy the JQX widgets for UI, and I will use the latest Jquery or Jquery mobile (not decided which)

I think I am far away from Angular JS, maybe in a next project I will give a try for ionic again.

Thanks,

Regards> Gabor