我正在开发一个名为色盲的Android应用程序,用于色盲。 扫描功能已在我的项目中完成。 唯一的问题是,我需要一个颜色库来支持我的项目。 我正在为我的应用程序使用mysqlite数据库,我将颜色代码和名称添加到数据库, 但问题是那里的代码太多了 所以我需要一个色库。
下图是关于样本编码添加颜色代码和数据库的名称
这对我的项目来说还不够。
请帮忙。
答案 0 :(得分:3)
您不需要为颜色值制作数据库表 您可以在项目的res / values文件夹中创建colors.xml文件。
Redirect to blade file use this method:-
return view('your viewfile')->with(compact('data'));
or
Redirect to method in controller use this technique:-
use Illuminate\Support\Facades\Redirect; // Add this in top of controller
return Redirect::to('/searchItem')->with(compact('data'));