Giter Site home page Giter Site logo

Comments (6)

tyczj avatar tyczj commented on September 25, 2024

first if you imported the library into your project you dont not need to touch the jar file, in fact it might cause problems if you also import the jar file. second post your manifest

from extendedcalendarview.

gaglileo avatar gaglileo commented on September 25, 2024

I just imported the code into a new project, and then imported the jar in my other project. This is the manifest:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.calendario"
    android:versionCode="1"
    android:versionName="1.0" >

    <uses-sdk
        android:minSdkVersion="14"
        android:targetSdkVersion="19" />

    <uses-permission android:name="android.permission.READ_CALENDAR" />
    <uses-permission android:name="android.permission.WRITE_CALENDAR" />



    <application
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme" >
        <activity
            android:name="com.example.calendario.MainActivity"
            android:label="@string/app_name" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
         <provider
            android:name="com.tyczj.extendedcalendarview.CalendarProvider"
            android:authorities="com.tyczj.extendedcalendarview.calendarprovider" />
    </application>

</manifest>

from extendedcalendarview.

tyczj avatar tyczj commented on September 25, 2024

as I said you do NOTHING with the jar file, you need to import the whole library project into your project not just the jar

from extendedcalendarview.

gaglileo avatar gaglileo commented on September 25, 2024

I did it. Only import the folder, from the build path, in the library window, I added a Class Folder, and I selected the root folder of ExtendedCalendarView, previously added in my workspace.
But I have always the same error.

from extendedcalendarview.

tyczj avatar tyczj commented on September 25, 2024

no import the project into your workspace in eclipse, right click on your project and go to properties, click on Android. under the Library section click the add button and find ExtendedCalendarView, click apply then ok and you are done. that is how you import a library project with resources, it is no different than importing google play services or something into your project

from extendedcalendarview.

gaglileo avatar gaglileo commented on September 25, 2024

Thanks for helping me. Problem is solved, I was wrong to import classes into my project. I had to reference it.

from extendedcalendarview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.