Manifest file issue - android

well i have a small app that i am building. so i have 10 activity and inside one of them i have 6 TextView that are gonna open another activity and when i try to come back to the subactivity of the main activity i dont have the back arow. so i want to put them the back arrow. i gave this where im having issue with.
here is my manifest.xlm file
<application
android:allowBackup="true"
android:icon="#mipmap/ic_launcher"
android:label="#string/app_name"
android:roundIcon="#mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="#style/AppTheme">
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".CenturyActivity"
android:label="Centure Auto Parts"
android:parentActivityName=".MainActivity" />
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".MainActivity" />
<activity
android:name=".AlshamaliActivity"
android:label="Al Shamali Auto Parts"
android:parentActivityName=".MainActivity" />
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".MainActivity" />
<activity
android:name=".IndusActivity"
android:label="Indus Auto Parts"
android:parentActivityName=".MainActivity" />
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".MainActivity" />
<activity
android:name=".MayadActivity"
android:label="Al Mayad Auto Parts"
android:parentActivityName=".MainActivity" />
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".MainActivity" />
<activity
android:name=".ImparialActivity"
android:label="Imperial Auto Parts"
android:parentActivityName=".MainActivity" />
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".MainActivity" />
<activity
android:name=".AisinActivity"
android:label="AISIN Gallery Auto Parts"
android:parentActivityName=".MainActivity" />
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".MainActivity" />
<activity
android:name=".SpdcActivity"
android:label="SPDC Warehouse"
android:parentActivityName=".MainActivity" />
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".MainActivity" />
<activity
android:name=".ImwhouseActivity"
android:label="Imperial Warehouse"
android:parentActivityName=".MainActivity" />
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".MainActivity" />
<activity
android:name=".WshamaliActivity"
android:label="Al Shamali Warehouse"
android:parentActivityName=".MainActivity" />
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".MainActivity" />
**<activity**
android:name=".HeadOfficeActivity"
android:label="Head Office"
android:parentActivityName=".MainActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".MainActivity" />
</activity>
<activity
android:name=".HrActivity"
android:label="HR Team"
android:parentActivityName=".HeadOfficeActivity"/>
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".HeadOfficeActivity"/>
<activity
android:name=".SalesActivity"
android:label="Sales Team"
android:parentActivityName=".HeadOfficeActivity"/>
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".HeadOfficeActivity"/>
<activity
android:name=".PurchActivity"
android:label="Purchase Team"
android:parentActivityName=".HeadOfficeActivity"/>
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".HeadOfficeActivity"/>
<activity
android:name=".AccountsActivity"
android:label="Accounts Team"
android:parentActivityName=".HeadOfficeActivity"/>
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".HeadOfficeActivity"/>
<activity
android:name=".ItActivity"
android:label="IT Team"
android:parentActivityName=".HeadOfficeActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".HeadOfficeActivity"/>
</activity>
</application>

Related

Installation error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED? installation failed

I am developing a small application that lists data from mysql sever But I'm getting the below error while i'm trying to run the code.
Installation error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED
Please can any one help me to sort out this error.
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.kosalgeek.android.androidphpmysql">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<application
android:allowBackup="true"
android:icon="#mipmap/ic_launcher"
android:label="#string/app_name"
android:supportsRtl="true"
android:theme="#style/AppTheme"
tools:replace="#android:icon">
<activity
android:name=".ListActivity"
android:label="#string/title_activity_list"
android:theme="#style/AppTheme.NoActionBar">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
/>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".DetailActivity"
android:label="#string/title_activity_detail"
android:parentActivityName=".ListActivity"
android:theme="#style/AppTheme.NoActionBar">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.kosalgeek.android.androidphpmysql.ListActivity" />
</activity>
<activity
android:name=".InsertActivity"
android:label="#string/title_activity_insert"
android:parentActivityName=".ListActivity"
android:theme="#style/AppTheme.NoActionBar">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.kosalgeek.android.androidphpmysql.ListActivity" />
</activity>
</application>
</manifest>
Try
1) removing all android:parentActivityName=".ListActivity" attributes
2) removing all
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.kosalgeek.android.androidphpmysql.ListActivity" />

My receiver doesn't receive alarm manager

I'm try to send a notification at specific time, I search online some solution but code won't work.
I user alarm manager with BroadcastReceiver, but BroadcastReceiver never receive my alarm. Why?
Manifest.xml:
<receiver android:name=".AlarmReceiver"/>
<uses-permission android:name="android.permission.WAKE_LOCK" />
MainActivity.class:
...
AlarmManager am = (AlarmManager) getSystemService(Context.ALARM_SERVICE);
Intent i = new Intent(MainActivity.this, AlarmReceiver.class);
PendingIntent pi = PendingIntent.getBroadcast(MainActivity.this, 0, i, 0);
Calendar c = Calendar.getInstance();
c.set(Calendar.HOUR_OF_DAY, hour); // hour is an int selected from user
c.set(Calendar.MINUTE, minute); // minute is an int selected from user
am.set(AlarmManager.RTC_WAKEUP, c.getTimeInMillis(), pi);
My Receiver:
public class AlarmReceiver extends BroadcastReceiver {
#Override
public void onReceive(Context context, Intent intent) {
Log.d("ALARM RECEIVER", "Alarm received");
// do stuff...
}
}
--edit -- Add full manifest
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.mycompany.daniel.diabetegestazionale">
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<application
android:allowBackup="true"
android:icon="#drawable/icon"
android:label="#string/app_name"
android:supportsRtl="true"
android:theme="#style/AppTheme">
<activity android:name=".LoginActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".SignInActivity"
android:label="#string/title_activity_signin"
android:parentActivityName=".LoginActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.mycompany.daniel.diabetegestazionale.LoginActivity" />
</activity>
<activity
android:name=".MainActivity"
android:label="#string/app_name"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".InformationActivity"
android:label="#string/title_activity_information"
android:parentActivityName=".MainActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.mycompany.daniel.diabetegestazionale.MainActivity" />
</activity>
<activity
android:name=".AcquiringDataActivity"
android:label="#string/title_activity_acquiringData"
android:parentActivityName=".MainActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.mycompany.daniel.diabetegestazionale.MainActivity" />
</activity>
<activity
android:name=".GraphActivity"
android:label="#string/title_activity_graph"
android:parentActivityName=".MainActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.mycompany.daniel.diabetegestazionale.MainActivity" />
</activity>
<activity
android:name=".NoteActivity"
android:label="#string/title_activity_note"
android:parentActivityName=".MainActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.mycompany.daniel.diabetegestazionale.MainActivity" />
</activity>
<activity
android:name=".MealActivity"
android:label="#string/title_activity_meal"
android:parentActivityName=".MainActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.mycompany.daniel.diabetegestazionale.MainActivity" />
</activity>
<activity
android:name=".PhoneNumbersActivity"
android:label="#string/title_activity_phoneNumbers"
android:parentActivityName=".MainActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.mycompany.daniel.diabetegestazionale.MainActivity" />
</activity>
<activity
android:name=".InfoDetailActivity"
android:label="#string/title_activity_information"
android:parentActivityName=".InformationActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.mycompany.daniel.diabetegestazionale.InformationActivity" />
</activity>
<activity
android:name=".RecoveryActivity"
android:label="#string/title_activity_recoveryPassword"
android:parentActivityName=".LoginActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.mycompany.daniel.diabetegestazionale.LoginActivity" />
</activity>
<activity
android:name=".QuestionAnswerActivity"
android:label="#string/title_activity_recoveryPassword"
android:parentActivityName=".RecoveryActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.mycompany.daniel.diabetegestazionale.RecoveryActivity" />
</activity>
<activity
android:name=".RecoveryActivitySetPassword"
android:label="#string/title_activity_recoveryPassword"
android:parentActivityName=".QuestionAnswerActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.mycompany.daniel.diabetegestazionale.QuestionAnswerActivity" />
</activity>
<activity
android:name=".NoteDetailedActivity"
android:label="#string/title_activity_note"
android:parentActivityName=".NoteActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.mycompany.daniel.diabetegestazionale.NoteActivity" />
</activity>
<activity
android:name=".WriteNoteActivity"
android:label="#string/title_activity_note"
android:parentActivityName=".NoteActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.mycompany.daniel.diabetegestazionale.NoteActivity" />
</activity>
<activity
android:name=".DetailedPhoneNumbersActivity"
android:label="#string/title_activity_phoneNumbers"
android:parentActivityName=".PhoneNumbersActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.mycompany.daniel.diabetegestazionale.PhoneNumbersActivity" />
</activity>
<activity
android:name=".ModifyPhoneContactActivity"
android:label="#string/title_activity_phoneNumbers"
android:parentActivityName=".DetailedPhoneNumbersActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.mycompany.daniel.diabetegestazionale.DetailedPhoneNumbersActivity" />
</activity>
<activity
android:name=".CreateNewContactActivity"
android:label="#string/title_activity_create_contact"
android:parentActivityName=".PhoneNumbersActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.mycompany.daniel.diabetegestazionale.PhoneNumbersActivity" />
</activity>
<activity
android:name=".AllInsertionsActivity"
android:label="#string/title_activity_all_insertions"
android:parentActivityName=".GraphActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.mycompany.daniel.diabetegestazionale.GraphActivity" />
</activity>
<activity android:name=".SearchFoodActivity"
android:label="#string/title_activity_search_food"
android:parentActivityName=".MealActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.mycompany.daniel.diabetegestazionale.MealActivity" />
</activity>
</application>
<service
android:name=".AlarmService"
android:enabled="true" />
<receiver android:name=".AlarmReceiver"/>
</manifest>
change this
</application>
<service
android:name=".AlarmService"
android:enabled="true" />
<receiver android:name=".AlarmReceiver"/>
to
<service
android:name=".AlarmService"
android:enabled="true" />
<receiver android:name=".AlarmReceiver"/>
</application>

Android Error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED

im new here (at Stackoverflow and programming android) and just gotten an error thats not covered in my education books etc. Maybe you could cover it, i would be very happy:). Something went wrong with my Manifest thats covered in app->search->main. Heres the Code. One Error is Android Studio showing me at line 92: cause theres no constructor but i guess thats not neccessary.. (i got this error to when i want to install it even when i delete this).
So here it is :
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="de.plaetzmueller.yourworkoutplanner">
<!-- To auto-complete the email text field in the login form with the user's emails -->
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.READ_PROFILE" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<application
android:allowBackup="true"
android:icon="#mipmap/ic_launcher"
android:label="#string/app_name"
android:supportsRtl="true"
android:theme="#style/AppTheme">
<activity
android:name=".LoginScreen"
android:label="#string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".HomeActivity" />
<activity android:name=".ActiveWorkout"
android:label="#string/ActiveWorkout"
android:parentActivityName=".HomeActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".HomeActivity" />
</activity>
<activity android:name=".AddAWorkoutScreen"
android:label="#string/AddWorkoutPlan"
android:parentActivityName=".HomeActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"/>
</activity>
<activity android:name=".Excercises"
android:label="#string/Excercises"
android:parentActivityName=".HomeActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".HomeActivity"/>
</activity>
<activity android:name=".ProgressScreen"
android:label="#string/Progress"
android:parentActivityName=".HomeActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".HomeActivity"/>
</activity>
<activity android:name=".VideoScreen"
android:label="#string/Videos"
android:parentActivityName=".HomeActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".HomeActivity"/>
</activity>
<activity android:name=".FriendList"
android:label="#string/Friends"
android:parentActivityName=".HomeActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".HomeActivity" />
</activity>
<activity android:name=".TrophyActivity"
android:label="#string/Trophys"
android:parentActivityName=".HomeActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".HomeActivity"/>
</activity>
<activity android:name=".SeeMoreActivity"
android:label="#string/SeeMore"
android:parentActivityName=".HomeActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".HomeActivity"/>
</activity>
<activity android:name=".SQLHelper" />
<activity android:name=".VideoScreenNutrion" />
<activity android:name=".VideoScreenExerciseExecution" />
<activity android:name=".VideoScreenStretchingAndWarmingUp" />
<activity android:name=".VideoScreenHowTo"></activity>
</application>
</manifest>
Please check that classes which you've registered as activities really extend Activity. At least I'd be surprised if .SQLHelper is instance of Activity. Than remove all redundant declarations.

Run my app at opening of a file of determinate extension android

i'm developing an android app, this app generate text files that contains a Json string, the files are saved using .fr extension.
What i want is that when the user open a file with .fr extension the system run my app.
I read other similar questions in stack and i add an intent filter in my manifest.xml, but it don't run.
If i try to open a file with fr extension android don't show my app in the list.
I try to make this with txt file, is the same problem.
I ask you why it don't run and if i will fix the problem how can i read the file.
thanks.
here my manifest:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.myapp"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="11"
android:targetSdkVersion="21" />
<application
android:allowBackup="true"
android:icon="#drawable/ic_launcher"
android:label="#string/app_name"
android:screenOrientation="portrait"
android:theme="#style/MyTheme" >
<activity
android:name=".Main"
android:screenOrientation="portrait"
android:label="#string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter >
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="application/fr" />
</intent-filter>
</activity>
<activity android:name=".Settings"
android:label="Settings"
android:screenOrientation="portrait"
android:parentActivityName=".Main">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".Main"/>
</activity>
<activity android:name=".Archivio"
android:label="Archivio"
android:screenOrientation="portrait"
android:parentActivityName=".Main">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".Main"/>
</activity>
<activity android:name=".Info"
android:label="Info"
android:screenOrientation="portrait"
android:icon="#drawable/ic_action_about"
android:parentActivityName=".Main">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".Main"/>
</activity>
<activity android:name=".Training"
android:label="Allenamento"
android:screenOrientation="portrait"
android:parentActivityName=".Archivio">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".Main"/>
</activity>
<activity android:name=".GraficoTempoElevazione"
android:label="Allenamento"
android:screenOrientation="portrait"
android:parentActivityName=".Archivio">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".Main"/>
</activity>
<activity android:name=".GraficoTempoPasso"
android:label="Allenamento"
android:screenOrientation="portrait"
android:parentActivityName=".Archivio">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".Main"/>
</activity>
<activity android:name=".GraficoTempoVelocita"
android:label="Allenamento"
android:screenOrientation="portrait"
android:parentActivityName=".Archivio">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".Main"/>
</activity>
<activity android:name=".GraficoDistanzaElevazione"
android:label="Allenamento"
android:screenOrientation="portrait"
android:parentActivityName=".Archivio">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".Main"/>
</activity>
<activity android:name=".GraficoDistanzaPasso"
android:label="Allenamento"
android:screenOrientation="portrait"
android:parentActivityName=".Archivio">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".Main"/>
</activity>
<activity android:name=".GraficoDistanzaVelocita"
android:label="Allenamento"
android:screenOrientation="portrait"
android:parentActivityName=".Archivio">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".Main"/>
</activity>
<activity android:name=".GpsTest"
android:screenOrientation="portrait"
android:label="#string/stringGPS" >
</activity>
<service android:name=".LocationLoggerService">
</service>
</application>
<uses-permission
android:name="android.permission.ACCESS_FINE_LOCATION" />
</manifest>

Cannot update APK on Google Play

I'm getting this error while trying to upload my APK to Google Play:
Your APK cannot be analyzed using 'aapt dump badging'. Error output:
Failed to run aapt dump badging:
W/ResourceType( 4731): Failure getting entry for 0x7f0b0002 (t=10 e=2) (error -75)
ERROR getting 'android:icon' attribute: attribute is not a string value
I read this and the Google Support page but it seems different because mine is android:icon instead of android:value.
It's important that I get this update out so any help is appreciated.
For reference, and because my app is open source, I'm posting my full manifest file as well:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.andrewq.planets" >
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="com.android.vending.BILLING" />
<application
android:allowBackup="true"
android:icon="#drawable/ic_launcher"
android:label="#string/app_name"
android:theme="#style/AppTheme"
android:value="true">
<!-- Main Activity -->
<activity
android:name=".MainActivity"
android:label="#string/app_name"
android:screenOrientation="sensor"
android:theme="#style/Roboto" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<action android:name="android.intent.action.SEARCH" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<!-- Settings Activity -->
<activity
android:name=".Settings"
android:label="#string/action_settings"
android:parentActivityName=".Settings"
android:screenOrientation="sensor"
android:theme="#style/Roboto" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGalleryActivity" />
<intent-filter>
<action android:name="android.intent.action.ImageGallery" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<!-- Earth Moon Activity -->
<activity
android:name=".SatelliteEarth"
android:label="Moon"
android:parentActivityName=".SatelliteEarth"
android:screenOrientation="sensor"
android:theme="#style/Theme.TranslucentActionBar.ActionBar.Overlay" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGalleryActivity" />
<intent-filter>
<action android:name="android.intent.action.ImageGallery" />
<action android:name="android.intent.action.SEARCH" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<!-- Phobos Activity -->
<activity
android:name=".Phobos"
android:label="Phobos"
android:parentActivityName=".Phobos"
android:screenOrientation="sensor"
android:theme="#style/Theme.TranslucentActionBar.ActionBar.Overlay" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGalleryActivity" />
<intent-filter>
<action android:name="android.intent.action.ImageGallery" />
<action android:name="android.intent.action.SEARCH" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name=".PhobosImageView"
android:label="Phobos"
android:parentActivityName=".MarsActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.MarsActivity" />
</activity>
<!-- Deimos Activity -->
<activity
android:name=".Deimos"
android:label="Deimos"
android:parentActivityName=".Deimos"
android:screenOrientation="sensor"
android:theme="#style/Theme.TranslucentActionBar.ActionBar.Overlay" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGalleryActivity" />
<intent-filter>
<action android:name="android.intent.action.ImageGallery" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name=".DeimosImageView"
android:label="Phobos"
android:parentActivityName=".MarsActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.MarsActivity" />
</activity>
<!-- Moon Activity -->
<activity
android:name=".MoonImageView"
android:label="Moon"
android:parentActivityName=".MainActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.EarthActivity" />
</activity>
<!-- Sun Image View -->
<activity
android:name=".SunImageView"
android:label="Sun"
android:parentActivityName=".MainActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGallery" />
</activity>
<!-- Sun Activity -->
<activity
android:name=".SunActivity"
android:label="Sun"
android:parentActivityName=".MainActivity"
android:theme="#style/Theme.TranslucentActionBar.ActionBar.Overlay" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGallery" />
</activity>
<!-- Mercury Image View -->
<activity
android:name=".MercuryImageView"
android:label="Mercury"
android:parentActivityName=".MainActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGallery" />
</activity>
<!-- Mercury Activity -->
<activity
android:name=".MercuryActivity"
android:label="Mercury"
android:parentActivityName=".MainActivity"
android:theme="#style/Theme.TranslucentActionBar.ActionBar.Overlay" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGallery" />
</activity>
<!-- Venus Image View -->
<activity
android:name=".VenusImageView"
android:label="Venus"
android:parentActivityName=".MainActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGallery" />
</activity>
<!-- Venus Activity -->
<activity
android:name=".VenusActivity"
android:label="Venus"
android:parentActivityName=".MainActivity"
android:theme="#style/Theme.TranslucentActionBar.ActionBar.Overlay" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGallery" />
</activity>
<!-- Earth Image View -->
<activity
android:name=".EarthImageView"
android:label="Earth"
android:parentActivityName=".MainActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGallery" />
</activity>
<!-- Earth Image View -->
<activity
android:name=".EarthActivity"
android:label="Earth"
android:parentActivityName=".MainActivity"
android:theme="#style/Theme.TranslucentActionBar.ActionBar.Overlay" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGallery" />
</activity>
<!-- Mars Image View -->
<activity
android:name=".MarsImageView"
android:label="Mars"
android:parentActivityName=".MainActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGallery" />
</activity>
<activity
android:name=".MarsActivity"
android:label="Mars"
android:parentActivityName=".MainActivity"
android:theme="#style/Theme.TranslucentActionBar.ActionBar.Overlay" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGallery" />
</activity>
<!-- Jupiter Image View -->
<activity
android:name=".JupiterActivity"
android:label="Jupiter"
android:theme="#style/Theme.TranslucentActionBar.ActionBar.Overlay"
android:parentActivityName=".MainActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGallery" />
</activity>
<activity
android:name=".JupiterImageView"
android:label="Jupiter"
android:parentActivityName=".MainActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGallery" />
</activity>
<!-- Saturn Image View -->
<activity
android:name=".SaturnActivity"
android:label="Saturn"
android:theme="#style/Theme.TranslucentActionBar.ActionBar.Overlay"
android:parentActivityName=".MainActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGallery" />
</activity>
<activity
android:name=".SaturnImageView"
android:label="Saturn"
android:parentActivityName=".MainActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGallery" />
</activity>
<!-- Uranus Image View -->
<activity
android:name=".UranusActivity"
android:label="Uranus"
android:theme="#style/Theme.TranslucentActionBar.ActionBar.Overlay"
android:parentActivityName=".MainActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGallery" />
</activity>
<activity
android:name=".UranusImageView"
android:label="Uranus"
android:parentActivityName=".MainActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGallery" />
</activity>
<!-- Neptune Image View -->
<activity
android:name=".NeptuneActivity"
android:label="Neptune"
android:theme="#style/Theme.TranslucentActionBar.ActionBar.Overlay"
android:parentActivityName=".MainActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGallery" />
</activity>
<activity
android:name=".NeptuneImageView"
android:label="Neptune"
android:parentActivityName=".MainActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGallery" />
</activity>
<!-- Pluto Image View -->
<activity
android:name=".PlutoActivity"
android:label="Pluto"
android:theme="#style/Theme.TranslucentActionBar.ActionBar.Overlay"
android:parentActivityName=".MainActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGallery" />
</activity>
<activity
android:name=".PlutoImageView"
android:label="Pluto"
android:parentActivityName=".MainActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGallery" />
</activity>
</application>
</manifest>
There is not android:value parameter for the <application> hive in the Manifest file,
take a look here as to what you can specify as a parameter:
http://developer.android.com/guide/topics/manifest/application-element.html
Thanks for your help Emil. I was able to figure out the problem. I ran a search for the memory address that the error gave me. It took me to my app_name string. The problem was, I had moved my english string file to values-en and made a new one for values-ru but the default folder was empty.

Categories

Resources