Skip to content

Commit

Permalink
Update readme add Firebase stub config file
Browse files Browse the repository at this point in the history
  • Loading branch information
Iktwo committed Aug 24, 2016
1 parent 6755650 commit ae9a689
Show file tree
Hide file tree
Showing 5 changed files with 80 additions and 34 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,16 @@ Requires Qt >= 5.5

#TODO
* Add wallpaper picker.
* Support themes.
* Add support for themes.
* Add intro screen to configure theme.
* Add home screens and favorites bar.
* Support icon themes.
* Investigate if it is possible to integrate widgets.

# Anaylitics

This project uses Firebase Analytics to collect usage data.

#How to compile

There are no external dependencies, if you have Qt >= 5.5 for Android configured just open the project with QtCreator or follow this instructions if you don't want to use QtCreator http://doc.qt.io/qt-5/deployment-android.html
In order to build this project you need to use Gradle. There are no Qt/QML dependencies. If you have Qt >= 5.5 for Android open the project with QtCreator or follow this instructions if you don't want to use QtCreator http://doc.qt.io/qt-5/deployment-android.html passing --gradle to the androiddeployqt tool.
60 changes: 30 additions & 30 deletions src/android/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.iktwo.qutelauncher"
android:installLocation="auto"
android:versionCode="4"
android:versionName="0.04">
package="com.iktwo.qutelauncher"
android:installLocation="auto"
android:versionCode="4"
android:versionName="0.04">

<application
android:name="org.qtproject.qt5.android.bindings.QtApplication"
Expand All @@ -18,64 +18,65 @@
android:label="Qutelauncher"
android:launchMode="singleInstance"
android:screenOrientation="unspecified">

<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.HOME"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.HOME" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>

<meta-data
android:name="android.app.lib_name"
android:value="qute-launcher"/>
android:value="qute-launcher" />
<meta-data
android:name="android.app.qt_sources_resource_id"
android:resource="@array/qt_sources"/>
android:resource="@array/qt_sources" />
<meta-data
android:name="android.app.repository"
android:value="default"/>
android:value="default" />
<meta-data
android:name="android.app.qt_libs_resource_id"
android:resource="@array/qt_libs"/>
android:resource="@array/qt_libs" />
<meta-data
android:name="android.app.bundled_libs_resource_id"
android:resource="@array/bundled_libs"/>
android:resource="@array/bundled_libs" />
<!-- Deploy Qt libs as part of package -->
<meta-data
android:name="android.app.bundle_local_qt_libs"
android:value="-- %%BUNDLE_LOCAL_QT_LIBS%% --"/>
android:value="-- %%BUNDLE_LOCAL_QT_LIBS%% --" />
<meta-data
android:name="android.app.bundled_in_lib_resource_id"
android:resource="@array/bundled_in_lib"/>
android:resource="@array/bundled_in_lib" />
<meta-data
android:name="android.app.bundled_in_assets_resource_id"
android:resource="@array/bundled_in_assets"/>
android:resource="@array/bundled_in_assets" />
<!-- Run with local libs -->
<meta-data
android:name="android.app.use_local_qt_libs"
android:value="-- %%USE_LOCAL_QT_LIBS%% --"/>
android:value="-- %%USE_LOCAL_QT_LIBS%% --" />
<meta-data
android:name="android.app.libs_prefix"
android:value="/data/local/tmp/qt/"/>
android:value="/data/local/tmp/qt/" />
<meta-data
android:name="android.app.load_local_libs"
android:value="-- %%INSERT_LOCAL_LIBS%% --"/>
android:value="-- %%INSERT_LOCAL_LIBS%% --" />
<meta-data
android:name="android.app.load_local_jars"
android:value="-- %%INSERT_LOCAL_JARS%% --"/>
android:value="-- %%INSERT_LOCAL_JARS%% --" />
<meta-data
android:name="android.app.static_init_classes"
android:value="-- %%INSERT_INIT_CLASSES%% --"/>
android:value="-- %%INSERT_INIT_CLASSES%% --" />
<!-- Messages maps -->
<meta-data
android:name="android.app.ministro_not_found_msg"
android:value="@string/ministro_not_found_msg"/>
android:value="@string/ministro_not_found_msg" />
<meta-data
android:name="android.app.ministro_needed_msg"
android:value="@string/ministro_needed_msg"/>
android:value="@string/ministro_needed_msg" />
<meta-data
android:name="android.app.fatal_error_msg"
android:value="@string/fatal_error_msg"/>
android:value="@string/fatal_error_msg" />
<!-- Messages maps -->

<!-- Splash screen -->
Expand All @@ -85,25 +86,24 @@
<!-- Splash screen -->
</activity>

<service
android:name="com.iktwo.qutelauncher.CustomFirebaseMessagingService">
<service android:name="com.iktwo.qutelauncher.CustomFirebaseMessagingService">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT"/>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</service>

</application>

<uses-sdk
android:minSdkVersion="16"
android:targetSdkVersion="23"/>
android:targetSdkVersion="23" />

<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"/>
android:smallScreens="true" />

<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
</manifest>
42 changes: 42 additions & 0 deletions src/android/google-services.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"project_info": {
"project_number": "",
"firebase_url": "https://qutelauncher.firebaseio.com",
"project_id": "qutelauncher",
"storage_bucket": "qutelauncher.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "",
"android_client_info": {
"package_name": "com.iktwo.qutelauncher"
}
},
"oauth_client": [
],
"api_key": [
{
"current_key": ""
}
],
"services": {
"analytics_service": {
"status": 1
},
"appinvite_service": {
"status": 2,
"other_platform_oauth_client": [
{
"client_type": 3
}
]
},
"ads_service": {
"status": 2
}
}
}
],
"configuration_version": "1"
}
2 changes: 1 addition & 1 deletion src/android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
androidBuildToolsVersion=24.0.1
androidCompileSdkVersion=24
buildDir=.build
qt5AndroidDir=/Users/isaacsh/Qt/5.6/android_armv7/src/android/java
qt5AndroidDir=/home/iktwo/Qt/5.7/android_armv7/src/android/java
2 changes: 1 addition & 1 deletion src/android/local.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# This file must *NOT* be checked into Version Control Systems,
# as it contains information specific to your local configuration.

sdk.dir=/Users/isaacsh/Library/Android/sdk
sdk.dir=/opt/android-sdk

0 comments on commit ae9a689

Please sign in to comment.