Using external packages

by Faber Fedor » Sat, 14 Mar 2009 04:40:16 GMT


Sponsored Links
 Before I start banging my head against a wall, is there any reason I won't
be able to use an external package like
iCal4j< http://wiki.modularity.net.au/ical4j/index.php?title=Main_Page> ;in
my Android app?  I want to d/l an iCalendar file, parse it, and store
it
in my Android app.

-- 

Faber Fedor
Linux New Jersey
 http://linuxnj.com 
faberfedor.blogspot.com

--~--~---------~--~----~------------~-------~--~----~



Using external packages

by Mark Murphy » Sat, 14 Mar 2009 04:49:36 GMT


 


 http://wiki.modularity.net.au/ical4j/index.php?title=FAQ 

According to them, it works, if you include the dependencies.

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com 
Android App Developer Training:  http://commonsware.com/training.html 

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. getAssets(); crashing

Hello!

I've been trying to learn a bit how to program on android.

I want to draw different things depending on the settings the user
choose.
While I was able to create a setting file and save it, I have trouble
reading other files in my assets folder.

Those file simple contains information about what should be displayed.

The problem is, as read over and over again on the internet, I'm
using  "getAssets().open(m_Path);"
Which crash.
I tried separating and found out that simply calling getAssets()
crashes everything.

I'm not familliar with eclipse yet and I can't seems to find anything
of help in either "output", "LogCat" or anything. Still I see it
crashes for a null pointer.

The class in which I call this extends my mainActivity (I got only onw
for now anyway)

Is there something missing in my manifest, project properties or
anything similar preventing me from calling getAssets()?


Thank you.

-- 

2. Cannot install App on HTC Hero

I have an application (which contains an NDK component) which will not
install on my HTC Hero (OS ver = 2.1u1) It does install on the
emulator, and on a Motorola Droid (OS ver = 2.2).  The following is
the logcat which seems to indicate some problem with installing my .so
file.

Does anyone have an idea at to what might be wrong here?

Thanks

02-03 12:02:07.131: WARN/dalvikvm(92): disableGcForExternalAlloc: true
02-03 12:02:07.131: INFO/ActivityManager(92): Starting activity:
Intent { dat=file:///sdcard/download/oubliettelite.1.3.apk
cmp=com.android.packageinstaller/.InstallAppProgress (has extras) }
02-03 12:02:08.101: INFO/ActivityManager(92): Displayed activity
com.android.packageinstaller/.InstallAppProgress: 930 ms (total 930
ms)
02-03 12:02:08.101: WARN/dalvikvm(92): disableGcForExternalAlloc:
false
02-03 12:02:08.921: DEBUG/PackageParser(92): Scanning package: /data/
app/vmdl49598.tmp
02-03 12:02:10.291: INFO/PackageManager(92): /data/app/vmdl49598.tmp
changed; unpacking
02-03 12:02:10.341: DEBUG/PackageManager(92): Caching shared lib lib/
armeabi/liboubliette-jni.so
02-03 12:02:10.351: WARN/PackageManager(92): Failed to cache package
shared libs
02-03 12:02:10.351: WARN/PackageManager(92): java.io.IOException:
Parent directory of file does not exist: /data/data/
com.gabysoft.oubliettelite/lib/tmp49599tmp
02-03 12:02:10.351: WARN/PackageManager(92):     at
java.io.File.createNewFile(File.java:1263)
02-03 12:02:10.351: WARN/PackageManager(92):     at
java.io.File.createTempFile(File.java:1330)
02-03 12:02:10.351: WARN/PackageManager(92):     at
com.android.server.PackageManagerService.cacheSharedLibLI(PackageManagerService.java:
2971)
02-03 12:02:10.351: WARN/PackageManager(92):     at
com.android.server.PackageManagerService.cachePackageSharedLibsForAbiLI(PackageManagerService.java:
2912)
02-03 12:02:10.351: WARN/PackageManager(92):     at
com.android.server.PackageManagerService.cachePackageSharedLibsLI(PackageManagerService.java:
2936)
02-03 12:02:10.351: WARN/PackageManager(92):     at
com.android.server.PackageManagerService.scanPackageLI(PackageManagerService.java:
2520)
02-03 12:02:10.351: WARN/PackageManager(92):     at
com.android.server.PackageManagerService.installNewPackageLI(PackageManagerService.java:
3863)
02-03 12:02:10.351: WARN/PackageManager(92):     at
com.android.server.PackageManagerService.installPackageLI(PackageManagerService.java:
4323)
02-03 12:02:10.351: WARN/PackageManager(92):     at
com.android.server.PackageManagerService.access
$1600(PackageManagerService.java:109)
02-03 12:02:10.351: WARN/PackageManager(92):     at
com.android.server.PackageManagerService
$5.run(PackageManagerService.java:3795)
02-03 12:02:10.351: WARN/PackageManager(92):     at
android.os.Handler.handleCallback(Handler.java:609)
02-03 12:02:10.351: WARN/PackageManager(92):     at
android.os.Handler.dispatchMessage(Handler.java:92)
02-03 12:02:10.351: WARN/PackageManager(92):     at
android.os.Looper.loop(Looper.java:123)
02-03 12:02:10.351: WARN/PackageManager(92):     at
android.os.HandlerThread.run(HandlerThread.java:60)
02-03 12:02:10.351: WARN/PackageManager(92): Package couldn't be
installed in /data/app/com.gabysoft.oubliettelite.apk

-- 

3. Not able to install .APK file .

4. hey if you get the 32 bit errorhey if you get the 32 bit error

5. Keeping Synced App State

6. Feedback for my brand new Android app

7. Did the Honeycomb platform package go away?