我已经在这里待了大约3天查找各种网站以供参考,但我被困住了.我正在使用滑动和标签布局,为您提供标准的虚拟部分片段.但我有3个单独的片段,我想显示不同的.xml布局.这是困扰我的代码部分:
import java.util.Locale;
import android.app.ActionBar;
import android.app.FragmentTransaction;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import android.support.v4.view.ViewPager;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
public class MainActivity extends FragmentActivity implements ActionBar.TabListener {
/**
* The {@link android.support.v4.view.PagerAdapter} that will provide
* fragments for each of the sections. We use a
* {@link android.support.v4.app.FragmentPagerAdapter} derivative, which
* will keep every loaded fragment in memory. If this becomes too memory
* intensive, it may be best to …Run Code Online (Sandbox Code Playgroud) 香港专业教育学院曾试图在Android开发人员上搜索记事本的教程,但它似乎与最近的更改脱机了.
我需要的是一个由用户使用3-4个edittext框和2个日期框创建的数据库,并存储为1个文件我可以回顾...
但我不知道从哪里开始数据库..
香港专业教育学院阅读有关如何制作一个的教程,但我无法找出需要根据我的需要改变数据库编码的内容,
当我点击一个添加按钮时,我创建了一个生成随机单词的单词,当我点击一个添加按钮但是这并不告诉我需要做什么才能从我的文本输入框和日期选择器中获取信息并在列表视图中显示它们..
对此的任何帮助都会很棒.
PS.我没有找人为我做这个想要了解数据库.