Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement "entry point" #1

Open
lucasduffey opened this issue May 6, 2016 · 3 comments
Open

implement "entry point" #1

lucasduffey opened this issue May 6, 2016 · 3 comments

Comments

@lucasduffey
Copy link
Owner

lucasduffey commented May 6, 2016

find list of the onCreate functions

Example: MainActivity::onCreate # it doesn't necessarily have to use this format...

this will be implemented after most of the method metadata is squared away

@lucasduffey
Copy link
Owner Author

lucasduffey commented May 28, 2016

AndroidManifest.xml

manifest.package == "com.??.trust"

manifest.application has many activities, but one of these is both:

  • activity.intent-filter.action == "android.intent.action.MAIN" # denotes entry point
  • activity.intent-filter.category == "android.intent.category.LAUNCHER"

@lucasduffey
Copy link
Owner Author

lucasduffey commented Sep 30, 2016

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="11" android:="1.8" package="com.xxxxx.uuuuuuu" platformBuildVersionCode="21" platformBuildVersionName="5.0">
    <uses-sdk android:="14" android:="19" />
    <uses-permission android:="android.permission.ACCESS_WIFI_STATE" />
    <uses-permission android:="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:="android.permission.GET_ACCOUNTS" />
    <uses-permission android:="android.permission.INTERNET" />
    <uses-permission android:="android.permission.RECEIVE_BOOT_COMPLETED" />
    <uses-feature android:="android.hardware.telephony" android:="false" />
    <application android:="@style/AppTheme" android:="@string/app_name" android:="@drawable/ic_launcher" android:=".XXXXXXApplication" android:="true">
        <activity android:="@string/app_name" android:=".MainActivity">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />   # THIS IS IT!!!
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity android:="@string/app_name" android:="o.ʿ" />
        <activity android:="@string/app_name" android:="o.ˌ" />
        <activity android:="@string/app_name" android:="o.ﹳ" />
        <receiver android:=".XXXXXReceiver">
            <intent-filter>
                <action android:name="android.intent.action.BOOT_COMPLETED" />
            </intent-filter>
        </receiver>
    </application>
</manifest>

@lucasduffey
Copy link
Owner Author

dependent on #34

@lucasduffey lucasduffey changed the title need "entrypoint" implement "entrypoint" Oct 1, 2016
@lucasduffey lucasduffey changed the title implement "entrypoint" implement "entry point" Oct 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant