Question 1:
I'm trying to get something similar to the above (all of them the same post in which I get one of each on different topics), the difference is that instead of using a Linkedin reply and a personal one, I use a Facebook post.
A:
Thanks to @CodeCaster, I think I've got it down.
If you want a link to your Facebook post, make sure that your Post has a Picture of your avatar and that you have not set that image as your Cover Photo.
If you do, you won't be able to make a link out of that image to your Facebook post.
When you create a Facebook Post from Linkedin, they use your avatar picture and put it on the cover of your Post.
If you have set that avatar picture to be your Cover Photo, you can't link to your post through a FB share.
Q:
Is it possible to query android device memory information from java?
I want to know is it possible to query android device memory information from java or is it possible to list all the application from the android device using java.
A:
Runtime Environment
Android provides JNI based tools called Dalvik VM, which runs on top of Linux. Through JNI, you can access almost all the objects and operations which are available on underlying operating system.
To start with, you can access the basic system information like the RAM size and other things.
RAM Size
Android operating system works on Linux and Linux is based on UNIX system. As UNIX systems, Linux provides various tools to manage the RAM.
The below link provides information about process manager in Linux.
Memory Related Classes
To manipulate the RAM, you need to understand the underlying concepts of Linux.
For Android, Dalvik VM provides basic RAM management. From the above link, you can see that Android uses pmap command to view the total amount of memory.
For more, see this thread.
Other RAM Related Classes
Other than memory, you can access the other components of the Android OS.
There are many different techniques for treating or mitigating pollution in a water supply. For example, chlorine be359ba680
Related links:
Comments