[android-developers] Re: Library Project No Class Def Error (Eclipse)
Jonathan S: com.dsi.client.lib.UniMagII is class that manages interaction with a Mag Stripe Reader on the headset jack. The ctor gets an app context from the client. Please let me know if you have other questions. On Friday, January 23, 2015 at 4:34:28 PM UTC-5, Jonathan S wrote: > > What is com.dsi.client.lib.UniMagII for? > > On Friday, January 23, 2015 at 3:13:30 PM UTC-5, pdm-tex wrote: >> >> I have an Android library project that is giving me a problem. To test it >> I have a client application. If I add the library project in the Android >> settings my client application runs fine. To test the library I remove the >> setting for the library in the Android properties page. If I take the jar >> file that is created in the library's bin directory and add it to the >> clients lib directory. I would think it would run. Instead, I am getting a >> NoClassDefFoundError. >> The client is able to instantiate one class from the library. The called >> method inside the library is where the No Class Def shows up. >> >> I have to disclose that this was working and I had been able to even use >> obfuscated versions of my library. I cannot imagine what I might have >> changed, but if you know of any subtle path setting or something please let >> me know. I am attaching a stack trace. the library classes are all in >> com.dsi.client.lib, the test is com.dsi.winwardsample. >> > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [android-developers] Re: Library Project No Class Def Error (Eclipse)
Hi:, you have to import corret R Package for this fixes. Thanks pdm-tex wrote: >Jonathan S: > >com.dsi.client.lib.UniMagII is class that manages interaction with a Mag >Stripe Reader on the headset jack. The ctor gets an app context from the >client. Please let me know if you have other questions. > >On Friday, January 23, 2015 at 4:34:28 PM UTC-5, Jonathan S wrote: > >What is com.dsi.client.lib.UniMagII for? > >On Friday, January 23, 2015 at 3:13:30 PM UTC-5, pdm-tex wrote: > >I have an Android library project that is giving me a problem. To test it I >have a client application. If I add the library project in the Android >settings my client application runs fine. To test the library I remove the >setting for the library in the Android properties page. If I take the jar file >that is created in the library's bin directory and add it to the clients lib >directory. I would think it would run. Instead, I am getting a >NoClassDefFoundError. > >The client is able to instantiate one class from the library. The called >method inside the library is where the No Class Def shows up. > > >I have to disclose that this was working and I had been able to even use >obfuscated versions of my library. I cannot imagine what I might have >changed, but if you know of any subtle path setting or something please let me >know. I am attaching a stack trace. the library classes are all in >com.dsi.client.lib, the test is com.dsi.winwardsample. > >-- >You received this message because you are subscribed to the Google >Groups "Android Developers" group. >To post to this group, send email to android-developers@googlegroups.com >To unsubscribe from this group, send email to >android-developers+unsubscr...@googlegroups.com >For more options, visit this group at >http://groups.google.com/group/android-developers?hl=en >--- >You received this message because you are subscribed to the Google Groups >"Android Developers" group. >To unsubscribe from this group and stop receiving emails from it, send an >email to android-developers+unsubscr...@googlegroups.com. >For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Re: Library Project No Class Def Error (Eclipse)
Okay, you supposed to get this error if this class is not FOUND by runtime. Check your dependency for that library. On Monday, January 26, 2015 at 10:25:21 AM UTC-5, pdm-tex wrote: > > Jonathan S: > com.dsi.client.lib.UniMagII is class that manages interaction with a Mag > Stripe Reader on the headset jack. The ctor gets an app context from the > client. Please let me know if you have other questions. > > On Friday, January 23, 2015 at 4:34:28 PM UTC-5, Jonathan S wrote: >> >> What is com.dsi.client.lib.UniMagII for? >> >> On Friday, January 23, 2015 at 3:13:30 PM UTC-5, pdm-tex wrote: >>> >>> I have an Android library project that is giving me a problem. To test >>> it I have a client application. If I add the library project in the >>> Android settings my client application runs fine. To test the library I >>> remove the setting for the library in the Android properties page. If I >>> take the jar file that is created in the library's bin directory and add it >>> to the clients lib directory. I would think it would run. Instead, I am >>> getting a NoClassDefFoundError. >>> The client is able to instantiate one class from the library. The >>> called method inside the library is where the No Class Def shows up. >>> >>> I have to disclose that this was working and I had been able to even use >>> obfuscated versions of my library. I cannot imagine what I might have >>> changed, but if you know of any subtle path setting or something please let >>> me know. I am attaching a stack trace. the library classes are all in >>> com.dsi.client.lib, the test is com.dsi.winwardsample. >>> >> -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [android-developers] CallLog.Calls.DURATION value is not showing exact Active call duration it considers ringing time as well
I notice the same and I am trying to find out a solution Em 19/01/2015 07:25, "Aruna" escreveu: > Hello, > > I am trying to fetch the call duration from CallLog.Calls table, below 5.0 > (Lollipop) releases the call DURATION is considered only when the call is > accepted by other party, but in the latest 5.0 release I noticed that the > CallLog.Calls.DURATION column gets populated and shows non-zero value, it > is considering Ringing time also as call duration. > > Is there any reason why duration includes ringing time as well where as > duration should hold only active all duration time. > > Could you please provide details on this? > > Thanks, > Aruna > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Android Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-developers+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.