Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8127025
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T07:22:21+00:00 2026-06-06T07:22:21+00:00

I try using ignition-location to get location updates in my Activity. The sample project

  • 0

I try using ignition-location to get location updates in my Activity. The sample project does work. So far I did the following:

  1. Added ignition-location apklib dependency to my pom.xml
  2. Added Annotations to the class (@IgnitedLocationActivity()) and the Location member variable (@IgnitedLocation)
  3. Implemented lifecycle methods: onCreate, onResume, onPause, onStart, onStop, onDestroy
  4. Added plugin configurations from sample pom.xml
  5. Implemented OnIgnitedLocationChangedListener in my Activity

But the Location is not set automagically. There is no log to show because onIgnitedLocationChanged() is not called.

As I understand it ignition-location works by adding certain setters via aspectj to my Activity in the build process. It seems this is not happening to my Activity.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T07:22:23+00:00Added an answer on June 6, 2026 at 7:22 am

    The sample project stopped working when I removed the parent project reference from the sample pom.xml. So I knew it had to do with the poms above the sample project.

    I needed to add the following from the parent pom:

    <plugin>
      <groupId>org.codehaus.mojo</groupId>
      <artifactId>aspectj-maven-plugin</artifactId>
      <version>1.4</version>
      <configuration>
        <aspectLibraries>
          <aspectLibrary>
            <groupId>com.github.ignition</groupId>
            <artifactId>ignition-location</artifactId>
            <type>apklib</type>
          </aspectLibrary>
        </aspectLibraries>
        <source>1.6</source>
      </configuration>
      <executions>
        <execution>
          <phase>process-sources</phase>
          <goals>
            <goal>compile</goal>
          </goals>
        </execution>
      </executions>
    </plugin>
    

    The execution was missing in the sample projects pom.xml.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I try using evt.parent.attr(id) inside jsddm_close, but it doesn't work. <script type=text/javascript src=http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js></script> <script
Whenever i try using php with lighttpd on my iphone i get error 500
Why do i get an error when I try using _ instead of using
I try using let to define an expression definition, but all I get is
every time i try using jquery dialog i get error null when debugging using
Good Morning All, I have code similar to the following try{ using(var tx =
How to get MethodInfo for Array.IndexOf<string>(string[], string) ? I try using this code, but
I have the following code: try { using (var myHttpWebResponse = (HttpWebResponse) httPrequestCreated.GetResponse()) {
I have the following code: try{ using (StreamReader reader = new StreamReader(...), Encoding.ASCII)){ //
When I try using a Name=id and\or x:name=id I get a compiler error: The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.