db4o Object Database Android Demos Updated

by German » Thu, 12 Mar 2009 01:19:30 GMT


Sponsored Links
 Hi.

For those of you who never heard about db4o -> it's an Android
complaint open source object database with a thriving user community
( http://developer.db4o.com ). It allows you to store/retrieve POJOs
directly (no tables, no rows, no cursors) without sacrificing speed,
flexibility and reliability.

I'm sending this message to the list because I wanted to let you know
that we've updated the PasswordSafe and MapMe Android demos to work
with both the latest stable version of db4o (v7.4) and Android SDK
(v1.1 r1).

By checking out these examples (tutorial and videos included) you'll
realize how easy and straight forward it's to persist POJOs rather
than relying solely on SQLite.

For more information see:
 http://developer.db4o.com/blogs/community/archive/2009/03/11/db4o-android-demos-updated.aspx 

Enjoy!!

German Viscuso
db4objects
--~--~---------~--~----~------------~-------~--~----~



db4o Object Database Android Demos Updated

by German » Thu, 12 Mar 2009 01:19:34 GMT


 Hi.

For those of you who never heard about db4o -> it's an Android
complaint open source object database with a thriving user community
( http://developer.db4o.com ). It allows you to store/retrieve POJOs
directly (no tables, no rows, no cursors) without sacrificing speed,
flexibility and reliability.

I'm sending this message to the list because I wanted to let you know
that we've updated the PasswordSafe and MapMe Android demos to work
with both the latest stable version of db4o (v7.4) and Android SDK
(v1.1 r1).

By checking out these examples (tutorial and videos included) you'll
realize how easy and straight forward it's to persist POJOs rather
than relying solely on SQLite.

For more information see:
 http://developer.db4o.com/blogs/community/archive/2009/03/11/db4o-android-demos-updated.aspx 

Enjoy!!

German Viscuso
db4objects
--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


db4o Object Database Android Demos Updated

by German » Thu, 12 Mar 2009 01:25:02 GMT


 Hi.

For those of you who never heard about db4o -> it's an Android
complaint open source object database with a thriving user community
( http://developer.db4o.com ). It allows you to store/retrieve POJOs
directly (no tables, no rows, no cursors) without sacrificing speed,
flexibility and reliability.

I'm sending this message to the list because I wanted to let you know
that we've updated the PasswordSafe and MapMe Android demos to work
with both the latest stable version of db4o (v7.4) and Android SDK
(v1.1 r1).

By checking out these examples (tutorial and videos included) you'll
realize how easy and straight forward it's to persist POJOs rather
than relying solely on SQLite.

For more information see:
 http://developer.db4o.com/blogs/community/archive/2009/03/11/db4o-android-demos-updated.aspx 

Enjoy!!

German Viscuso
db4objects

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



db4o Object Database Android Demos Updated

by Muthu Ramadoss » Thu, 12 Mar 2009 01:29:19 GMT


 Wow, this is going to really simplify the content providers. Thanks German.

take care,
Muthu Ramadoss.

 http://linkedin.com/in/tellibitz  +91-9840348914
 http://androidrocks.in  - Android Consulting.







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



db4o Object Database Android Demos Updated

by Sena Gbeckor-Kove » Thu, 12 Mar 2009 08:45:07 GMT


 Will it actually simplify content providers I though there was some  
reason why we can't use object persistence on them.

S








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



db4o Object Database Android Demos Updated

by Muthu Ramadoss » Thu, 12 Mar 2009 10:20:03 GMT


 It just happened the content providers were using the bare bone sql approach
for their early versions. Future versions might  provide ORM as an alternate
persistence strategy within content providers. But given the current design
you are ofcourse free to do whatever in your implementation, including using
dbo or otherwise.

take care,
Muthu Ramadoss.

 http://linkedin.com/in/tellibitz  +91-9840348914
 http://androidrocks.in  - Android Consulting.









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



db4o Object Database Android Demos Updated

by Sena Gbeckor-Kove » Thu, 12 Mar 2009 14:31:23 GMT


 Any idea which is faster and which has a smaller footprint? db4o or  
extremeDB?

S











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



db4o Object Database Android Demos Updated

by Muthu Ramadoss » Thu, 12 Mar 2009 18:55:48 GMT


 Both have an embedded version, so the memory footprint would be smaller in
both cases.

DB4O is open source and has a java api. I think ExtremeDB is C/C++.

You can visit the following links for more info:

 http://www.db4o.com/about/productinformation/db4o/ 

 http://www.mcobject.com/standardedition.shtml 


take care,
Muthu Ramadoss.

 http://linkedin.com/in/tellibitz  +91-9840348914
 http://androidrocks.in  - Android Consulting.











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



db4o Object Database Android Demos Updated

by Sena Gbeckor-Kove » Thu, 12 Mar 2009 21:14:42 GMT


 orry, I meant Perst I knew it was an MCObjects database but couldn't  
rememebr which one.

S


On 12 Mar 2009, at 11:55, Muthu Ramadoss wrote:



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



Other Threads

1. auto stop of app when capture the picture with camera





Not based on what you posted - it could be any of 1,000 different things.
And I doubt anyone's going to sift through that much unformatted code to
find your answer for you.

At the very least post the stack trace of the problem, provide more details,
and explain what you've already tried thus far.

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking

-- 

2. Any body have an idea???

I have been asked to write an function to scramble a bitmap image. A user
can then enter a password and the image will unscramble.

 

I have managed to write the following code that works but takes way to long
to execute due to the setPixels call.

 

I was thinking of an alternate solution of just drawing the original
unscrambled image and then making some sort of transparent overlay bitmap
with some sort of distortion effect. When the user enters the correct
password the overlay fades away.

 

Please help!

 

@Override

protected void onDraw(Canvas canvas)

{

      //Some of the variables are global but I left out that code. This
successfully runs.

 

                int w = bitmap.getWidth();

      int h = bitmap.getHeight();

 

      Bitmap scrambled = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888);

      int[]pixels = new int[w*h];

 

      bitmap.getPixels(pixels, 0, w, 0, 0, w, h);

 

      int color = 0;

      Random random = new Random();

 

      Paint paint = new Paint();

 

      for (int i = 0; i < pixels.length; i++)

      {

            pixels[i] = pixels[random.nextInt(pixels.length - 1)];

      }

 

      scrambled.setPixels(pixels, 0, w, 0, 0, w, h);

      canvas.drawBitmap(scrambled, 0, 0, paint); }

 

-- 

3. How to communicate from Javascript back to an app?

4. Slow connection with Java NIO

5. ImageView selection in Custom ListView?

6. auto stop of app when capture the picture with camera

7. How to determine current screen brightness?