Due to ease of use, I'm considering to fold my 10 apps back into 1. Or two at the most, but either way, we'll not be using a library. Whoever uses my app will be able to access the level they want at by entering the the level in the settings display. I already have that feature in there, but right now it's protected.
The database keeps track of everything by level as well. The only adjustment which needs to be made, though, is going to be kind of a painful one. That's the one that tracks the start and ending quiz numbers. These aren't distinguished by level. I can do a couple of things - either add a database table which includes level in the key, or enhance the storage of it into local settings with by adding a level to the key.
So, the first thing we'll do is unset it (the core library) from being a library, and see if it displays the MobFox ad test.
So, it's not really compiling. So let's delete the mobfox lib and jar.
Ok, now it's crashing on an NPE in the databasehelper - we need to make the database available to this part of the app again.
Ok - it's running - and the add still isn't displaying. Also, this horrible message is still showing up:
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.IllegalArgumentException: already added: Lcom/mobfox/R$attr;
[2011-08-20 20:05:42 - JlptQuiz5Full] Dx at com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:123)
[2011-08-20 20:05:42 - JlptQuiz5Full] Dx at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
[2011-08-20 20:05:42 - JlptQuiz5Full] Dx 1 error; aborting
[2011-08-20 20:05:42 - JlptQuiz5Full] Conversion to Dalvik format failed with error 1
But, that is for a different project now.
So, now what? I"m running out of options. Simplify? Remove height, location and animation.
<com.mobfox.sdk.MobFoxView android:id="@+id/mobFoxView"
android:layout_width="fill_parent" android:layout_height="wrap_content"
publisherId="1c8b07052f7c4e4a7aafb10f515cd6dc" mode="test"
/>
Ah - that did it. Let's put back in the height, and leave location and animation out.
Ouch - my wired connection to the android keeps getting lost.
Ok, if I hold it upright, it seems to work. And with height set, it works. Now, let's try for, say, location.
What a hassle with this wire. I'm not sure if this affects the charging as well.
What about these wireless connectors you can use for unlocked phones? I tried one and it didn't work at all. I think it must be bluetooth.
Ok, it's up now and location works. So the culprit was the animation, looks like. I'd like to see what happens if we do the live...
Nothing. Shouldn't admob be filling in or something?
One of the advantages of going to a single project will be avoiding this incredibly long builds of whole workspace that run minutes. And the animation appears to have been the other culprit.
Ok, this "adbWireless" is actually working here in my house, although I didn't an Panera. It may have something to do with the local network.
I think I"ve made some progress, finally. The problem all along may have been the "animation". But why don't I see any backfill? Why no ads whatsoever in live mode?
I'll pick this up on tomorrow or Monday.
No comments:
Post a Comment