A bit offtopic, but it is not about the language... in windows you can
access the memory of any process with applications like TSearch :)


Anyway in C++ an C you can create shared memory, it is useful
to access some info from diferents processes.

In Linux you can watch which shared memory segments (and semaphores) are
created in the system with ipcs.

more info: http://www.ecst.csuchico.edu/~beej/guide/ipc/shmem.html

  regards!


On 3/26/08, tim jones <[EMAIL PROTECTED]> wrote:
>
>
> Yes, but that would be a security and othe problems. I am not sure
> about toehr languages, but C++ is not going to allow you to let other
> applications access to it's memory scopes.
>
>
>
>
> On Tue, Mar 25, 2008 at 10:31 AM, Pepel <[EMAIL PROTECTED]> wrote:
> > shared memory is just to share the memory from one app to another, but I
> > don't know if it can be used in android :)
> >
> >  regards,
> >
> >
> >
> >
> > On 3/25/08, tim jones <[EMAIL PROTECTED]> wrote:
> > >
> > > On Mon, Mar 24, 2008 at 10:53 PM, novice <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Oh Ok. Well, In that case, will it be advisable say to hit the
> > > > database every 15 minutes or so. Wat about the processing over
> heads?
> > >
> > >
> > >
> > > It's minor.
> > >
> > > >
> > > > On Mar 24, 5:56 pm, "[EMAIL PROTECTED]"
> > > > <[EMAIL PROTECTED]> wrote:
> > > > > You do not want an in memory data structure, because your
> components
> > > > > get killed when android out of memory.
> > >
> > >
> > >
> > > It's a little more complicated than that. The scope of the data will
> > > be in one piece of software, and I know of no way to allow an app to
> > > share its data structure out of scope or even out of the app itself.
> > > That would be a security issue and I do not think any language would
> > > allow such programming methods.
> > >
> > >
> > >
> > >
> > > > >
> > > > > On Mar 24, 2:02 am, novice <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > >
> > > > >
> > > > > > I do not want to hit the database and want an in memory data
> > > > > > structure.
> > > > >
> > > > > > On Mar 24, 4:58 am, "[EMAIL PROTECTED]"
> > > > >
> > > > > > <[EMAIL PROTECTED]> wrote:
> > > > > > > ...and access database through content provider.
> > > > >
> > > > > > > On Mar 23, 2:05 pm, "tim jones" <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > > > > That is what a database is for.
> > > > >
> > > > > > > > On Fri, Mar 21, 2008 at 12:57 AM, novice <[EMAIL PROTECTED]>
> > wrote:
> > > > >
> > > > > > > > > I have written a set of services which start at Boot up, I
> > want them
> > > > > > > > > to share a common data structure which they can update and
> > modify. Any
> > > > > > > > > idea how and where to create such a data structure and how
> to
> > make
> > > > > > > > > different services access this data structure?- Hide
> quoted
> > text -
> > > > >
> > > > > > > - Show quoted text -- Hide quoted text -
> > > > >
> > > > > - Show quoted text -
> > > > >
> > > >
> > >
> > >
> > >
> >
> >
> >
> > --
>
> > Pepel
>
> > >
> >
>
> >
>


-- 
Pepel

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to