[android-developers] Re: Getting Object from ContentProvider

2010-08-13 Thread Natanael Arndt
. Natanael Just my RUB 0,02. -- Kostya 12.08.2010 17:47, Natanael Arndt пишет: Thank you, it should be Jena-Statements and Resources, which I want to provide. Do the Objects need to implement Serializable for your first way? Natanael Am 12.08.2010 13:42, schrieb Kostya Vasilyev: Natanael

[android-developers] Getting Object from ContentProvider

2010-08-12 Thread Natanael Arndt
Hello, I have a custom class, which represents my data-structure. This custom class is in a normal Java-library, which is included in both projects. I have one Project with a ContentProvider which provides this data to Activities of other Projects. And an other Project with an Activity, where I

[android-developers] Re: Getting Object from ContentProvider

2010-08-12 Thread Natanael Arndt
. Another way is to break down your data structure into individual pieces and store and retrieve them individually. Define various ContentProvider URIs to access different parts of the data structure. -- Kostya 12.08.2010 15:12, Natanael Arndt пишет: Hello, I have a custom class, which represents my

[android-developers] ContentProvider and query

2010-07-26 Thread Natanael Arndt
Hello, is it possible, to query an ContentProvider from within an other ContentProvider? Natanael -- 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

[android-developers] ContentProvider onCreate() onDestroy()

2010-06-30 Thread Natanael Arndt
Hello, when writing a ContentProvider I have to implement the onCreate()-method, in which I establish my database connection. But to write the changes I made to the database I have to close the database on some point. Does something like a onDestroy()-method exist for ContentProviders or is

[android-developers] Re: ContentProvider onCreate() onDestroy()

2010-06-30 Thread Natanael Arndt
Thank you, but when should I or is than the best time to save database changes to the filesystem? Natanael On 30.06.2010 18:36, Dianne Hackborn wrote: Content providers are never destroyed. They exist for the entire lifetime of their process. On Wed, Jun 30, 2010 at 2:19 AM, Natanael Arndt

[android-developers] Re: ContentProvider onCreate() onDestroy()

2010-06-30 Thread Natanael Arndt
. On Wed, Jun 30, 2010 at 11:30 AM, Natanael Arndt natana...@gmx.de mailto:natana...@gmx.de wrote: Thank you, but when should I or is than the best time to save database changes to the filesystem? Natanael On 30.06.2010 18:36, Dianne Hackborn wrote: Content providers

[android-developers] Write an own Contacts Content Provider

2010-05-19 Thread Natanael Arndt
Hello, how can I write an own Content Provider, which Provides Contact-information. I've seen this on a Phone with HTC Sense, when you create a new contact, you can decide wether it is a google-contact or a sim-contact. Maybe this is the same as the facebook, last.fm and VZ-Netzwerke-App

[android-developers] Re: Does eclair run on ADP2

2010-03-11 Thread Natanael Arndt
Am 10.03.10 18:39, schrieb Mike dg: There is not an official developer rom available. And I don't think you can build it yourself without massive modifications yet. (Could be wrong on that account) You should be able to find a handful of unofficial roms based on 2.0/2.1 that will run on an ADP2.

[android-developers] What phone to buy for development?

2010-03-11 Thread Natanael Arndt
Hello, I want to start developing an application for android and want to buy a phone for this task. But I don't really know, which one would be the best. I've heard of the ADP2 from Google, which is nearly the same as the HTC Magic. But what exactly are the differences? Is it possible to

[android-developers] Re: What phone to buy for development?

2010-03-11 Thread Natanael Arndt
Am 11.03.10 15:24, schrieb Mark Murphy: Natanael Arndt wrote: Hello, I want to start developing an application for android and want to buy a phone for this task. But I don't really know, which one would be the best. I've heard of the ADP2 from Google, which is nearly the same as the HTC Magic

[android-developers] Re: What phone to buy for development?

2010-03-11 Thread Natanael Arndt
Am 11.03.10 15:42, schrieb Mark Murphy: Natanael Arndt wrote: is it also possible to install an other Android version on a consumer phone, e.g the version from here[1] if I don't want the vodafone branding on the HTC Magic? Not usually. You can root some phones and install alternative

[android-developers] Does eclair run on ADP2

2010-03-10 Thread Natanael Arndt
Hello, I want to buy the ADP2 (HTC Magic) but I wonder if also Android 2.1 is available for it. Because I've heard that eclair doesn't run on HTC Magic as you can get it in the stores. Natanael -- You received this message because you are subscribed to the Google Groups Android Developers