我正在阅读android源代码,因为我没有得到 OPEN GL ES库做什么以及做 EGL library什么.
这两个图书馆之间有什么关系吗?
我查看了http://www.khronos.org/opengles/documentation/opengles1_0/html/ 但仍未获得.
我正想通过方法的签名glVertexPointer是
void glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer)
任何人都可以帮助我理解第三个论点的stride作用.
stride谷歌搜索后得到了这个定义
Amount of bytes from the beginning of one element to the beginning of the following element. If you pass a zero as stride, it means they are tightly packed. If you have an array of floats, which contains vertices like this, x1,y1,z1,x2,y2,z2... and so on, you can set stride to either zero (as tightly packed), or 12 (3 floats*4 bytes each …
我在这里阅读了以下陈述
By default, all components of the same application run in the same process and most applications should not change this. However, if one needs to control which process a certain component belongs to, he can do so in the manifest file. The manifest entry for each type of component element—<activity>, <service>, <receiver>, and <provider>—supports an android:process attribute that can specify a process in which that component should run. One can set this attribute so that each component …
android android-manifest android-service android-contentprovider android-activity
我正在查看下面给出的命令输出
adb shell dumpsys meminfo com.imangi.templerun
但是,我无法正确理解这一点.
任何人都可以帮我理解这个吗?

出于好奇,我想知道应用程序图标存储在Android设备的文件系统上的哪个位置。
就像我在设备主屏幕上可以找到各种应用程序的快捷方式一样,这些图标文件(或图像)存储在其中。是仅在应用程序包(.apk)内还是Android将其存储在其他位置?
如果仅在应用程序包中,Android是否会从每个apk加载所有图像并在首次启动时加载它?
我创建了一个带有文本块和图像的LongListSelector,然后如何点击图像在我的列表中显示所选项目名称,然后点击项目名称以显示消息框?下面是我绑定名称和图像的代码:
<phone:PhoneApplicationPage.Resources>
<DataTemplate x:Key="TileDataTemplate">
<Grid Background="{StaticResource TransparentBrush}"
Margin="0, 0, 0, 12" Height="60">
<TextBlock Text="{Binding Name}" Margin="60, 10, 0, 0" FontSize="24" Height="60">
</TextBlock>
<Image x:Name="GetName" Tap="GetName_Tap" Grid.Column="0" Source="/Assets/AppBar/Delete.png" Height="40" Width="40"
Margin="0, 6, 0, 5" HorizontalAlignment="Right" VerticalAlignment="Top" />
</Grid>
</DataTemplate>
</phone:PhoneApplicationPage.Resources>
<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
<phone:LongListSelector
SelectionChanged="MainLongListSelector_SelectionChanged"
Margin="10,6,0,0"
ItemsSource="{Binding Staff.Items}"
LayoutMode="Grid"
GridCellSize="400,80"
ItemTemplate="{StaticResource TileDataTemplate}"
/>
</Grid>
Run Code Online (Sandbox Code Playgroud)
代码背后:
private void MainLongListSelector_SelectionChanged(object sender, SelectionChangedEventArgs e)
{
MessageBox.Show("Hi");
}
private void GetName_Tap(object sender, System.Windows.Input.GestureEventArgs e)
{
LongListSelector selector = sender as LongListSelector;
StaffData data = …Run Code Online (Sandbox Code Playgroud)