Does anyone know what i need to put to make the below have its only heading so i can split different types up.
Code:
<?xml version="1.0" encoding="UTF-16" standalone="yes"?>
<Items>
<Item name="Help" group="[B]test[/B]" checked="true">
<Tip>Help</Tip>
<Guid type="P">76164568-f00e-11db-8314-0800200c9a66</Guid>
</Item>
</Items>
Code:
<?xml version="1.0" encoding="UTF-16" standalone="yes"?>
<Items>
<Item name="Adobe Reader LE" group="[B]System[/B]" checked="true">
<Tip>Adobe Reader LE</Tip>
<Guid type="p">820697b6-f803-45e4-9b4b-d38814a71fbc</Guid>
</Item>
</Items>
or am i missing something!!!
i have some doubts related to view flipper in android
1>when to use setAnimation and setInAnimation/setOutAnimation? or what the difference between them?
2>can u decipher push_left_in.xml in animation folder(available in sample folder in sdk) as i have to make push_right_in.xml ?
HTML:
<set xmlns:android="http://schemas.android.com/apk/res/android">
<translate android:fromXDelta="100%p" android:toXDelta="0" android:duration="300"/>
<alpha android:fromAlpha="0.0" android:toAlpha="1.0" android:duration="300" />
</set>
I'm finishing my application and got to test in various devices. I have tested into Galaxy SIII running 4.0.x and 4.1.x versions, and with some 2.3.3+ devices (I have heavily tested into 2.3.x devices, because on my mind, the bugs was to appear more into OLD devices).
My problem comes with Sony Xperia U. When I tested with 2.3.7 ROM, my application worked fine, but when I upgraded these devices (I have access to 2 xperia u devices), my application Broadcast Receiver of SMS isn't being triggered.
I have double checked my permissions and I repeat: It works in various others devices. After looking into logcat, I saw some messages:
Force stop package <mypackagename> and one line below:
Start proc com.sonyericsson.eventstream
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
There is some trick I'm missing? Also, I have decompiled some application that receives SMS, and they use the same permissions...
Here is my receivers and permissions:
Code:
<!-- Incoming SMS receiver -->
<receiver android:name="<mypackage>.ReceiverMessages" >
<intent-filter android:priority="2147483647" >
<action android:name="android.provider.Telephony.SMS_RECEIVED" />
</intent-filter>
</receiver>
<!-- Device boot receiver -->
<receiver android:name="<mypackage>.ReceiverAppBoot" >
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>
<!-- Shutdown request receiver -->
<receiver android:name="<mypackage>.ReceiverShutdown" >
<intent-filter>
<action android:name="android.intent.action.ACTION_SHUTDOWN" />
</intent-filter>
</receiver>
<!-- Outgoing call receiver -->
<receiver android:name="<mypackage>.ReceiverOutgoingCalls" >
<intent-filter android:priority="2147483647" >
<action android:name="android.intent.action.NEW_OUTGOING_CALL" />
</intent-filter>
</receiver>
<!-- Incoming call receiver -->
<receiver android:name="<mypackage>.ReceiverIncomingCalls" >
<intent-filter android:priority="2147483647" >
<action android:name="android.intent.action.PHONE_STATE" />
</intent-filter>
</receiver>
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
<uses-permission android:name="android.permission.RECEIVE_SMS" />
<uses-permission android:name="android.permission.READ_SMS" />
<uses-permission android:name="android.permission.SEND_SMS" />
<uses-permission android:name="android.permission.WRITE_SMS" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.WRITE_CONTACTS" />
<uses-permission android:name="android.permission.READ_CALL_LOG" />
<uses-permission android:name="android.permission.WRITE_CALL_LOG" />
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.ACTION_SHUTDOWN" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="com.android.vending.CHECK_LICENSE" />
Thanks.
1. I have SGYD GT-S6102 and making the clock in the middle is really hard since the phone is dual-sim. Does anyone know how to do it on a dual-sim version phone? I found many threads to help, but none of them worked.
2. I need to remove the number "1" on the status bar which shows that you are currently using sim 1 (number 2 for sim 2). Is there a way I can remove it? (Pic added)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Regards,
RoyaLKurTx3
change the clocks gravity to center in status_bar.xml
you may have to give it its own layout to stop it overlapping other icons like
delete
<com.android.systemui.statusbar.Clock android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" androidaddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
under the line that starts and ends
<com.android.systemui.statusbar.StatusBarView............... xmlns:android="http://schemas.android.com/apk/res/android">
place the following
<LinearLayout android:gravity="center" androidrientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.Clock android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:textSize="26.5dip" android:textStyle="bold" android:gravity="center" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="false" android:layout_weight="1.0" />
</LinearLayout>
change the coding to your taste
marcussmith2626 said:
change the clocks gravity to center in status_bar.xml
you may have to give it its own layout to stop it overlapping other icons like
delete
<com.android.systemui.statusbar.Clock android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" androidaddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
under the line that starts and ends
<com.android.systemui.statusbar.StatusBarView............... xmlns:android="http://schemas.android.com/apk/res/android">
place the following
<LinearLayout android:gravity="center" androidrientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.Clock android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:textSize="26.5dip" android:textStyle="bold" android:gravity="center" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="false" android:layout_weight="1.0" />
</LinearLayout>
change the coding to your taste
Click to expand...
Click to collapse
Yep it worked Just 2 problems with it, other icons are getting on it, and when something pops up like a text message, it doesnt get hidden like all icons, it stays there.
And for the number 1 icon, I made it as a 1x1 transparent image and it is hidden but there is a blank space which is ugly and unneeded.
Is there a way to continue other icons from it's place?
Regards,
RoyaLKurTx3
Not come across that problem with a notification overlay not going away
You may have to edit your status_bar.xml layouts and define the notification area separately
if you look on my statusbar thread (link in my signature) download say the black Transparent Patch & decompile that SystemUI.apk to compare with your SystemUI.apk as that has center clock I think from memory
just play around with the layouts for notifications - can't really help you anymore
the gap will be there as it's still displaying your blank image - I don't know what code needs to be removed
Sorry, double post.
marcussmith2626 said:
Not come across that problem with a notification overlay not going away
You may have to edit your status_bar.xml layouts and define the notification area separately
if you look on my statusbar thread (link in my signature) download say the black Transparent Patch & decompile that SystemUI.apk to compare with your SystemUI.apk as that has center clock I think from memory
just play around with the layouts for notifications - can't really help you anymore
the gap will be there as it's still displaying your blank image - I don't know what code needs to be removed
Click to expand...
Click to collapse
When I copy something from ur status_bar of BlackPatchS3 to my status_bar, I get FC. Can you suggest what I should change?
My status_bar.xml:
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background="#ff000000" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.Clock android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:textSize="16.0dip" android:textStyle="bold" android:gravity="center" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="false" android:layout_weight="1.0" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
<com.android.systemui.statusbar.BatteryText android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="8.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
</ImageSwitcher>
<com.android.systemui.statusbar.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@*android:style/TextAppearance.StatusBar.Ticker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@*android:style/TextAppearance.StatusBar.Ticker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.TickerView>
</LinearLayout>
<com.android.systemui.statusbar.DateView android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:id="@id/date" android:background="#ff000000" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</com.android.systemui.statusbar.StatusBarView>
BlackPatchS3 status_bar.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background="@drawable/statusbar_backgrounddj" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:textColor="#ff09a9ec" android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.Clock android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:textSize="26.5dip" android:textStyle="bold" android:gravity="center" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="false" android:layout_weight="1.0" />
</LinearLayout>
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.IconMerger android:gravity="left" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="3.0dip" android:paddingRight="70.0px" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
<LinearLayout android:gravity="right" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
<com.android.systemui.statusbar.SignalText android:textSize="26.5dip" android:textStyle="bold" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<com.android.systemui.statusbar.BatteryText android:textSize="16.5dip" android:typeface="serif" android:textStyle="bold" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:background="@drawable/statusbar_dj" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="8.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
</ImageSwitcher>
<com.android.systemui.statusbar.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@*android:style/TextAppearance.StatusBar.Ticker" android:textSize="15.0dip" android:textColor="#ffffffff" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@*android:style/TextAppearance.StatusBar.Ticker" android:textSize="15.0dip" android:textColor="#ffffffff" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.TickerView>
</LinearLayout>
<com.android.systemui.statusbar.DateView android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:textColor="#0033b5e5" android:gravity="left|center" android:id="@id/date" android:background="#00000000" android:paddingLeft="0.0px" android:paddingRight="0.0px" android:layout_width="0.0dip" android:layout_height="fill_parent" android:singleLine="true" />
<com.android.systemui.statusbar.BatteryBar android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:gravity="center_vertical" android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.StatusBarView>
Not really you will just have to play around
remember if you copy anything with an @iD or @drawable value it must have the same value in values.xml & the corresponding png in the drawables folder
Anything starting com needs the corresponding small & xml files
You just need to trial & error
marcussmith2626 said:
Not really you will just have to play around
remember if you copy anything with an @iD or @drawable value it must have the same value in values.xml & the corresponding png in the drawables folder
Anything starting com needs the corresponding small & xml files
You just need to trial & error
Click to expand...
Click to collapse
didnt succeed :/
marcussmith2626 said:
Not really you will just have to play around
remember if you copy anything with an @iD or @drawable value it must have the same value in values.xml & the corresponding png in the drawables folder
Anything starting com needs the corresponding small & xml files
You just need to trial & error
Click to expand...
Click to collapse
cmon please dude ._. i suck at editing :/
RoyaLKurTx3 said:
cmon please dude ._. i suck at editing :/
Click to expand...
Click to collapse
With respect I'm not here to do it all for you - iv told you how to do alot of things not just in this thread - iv other things to do in my life - if you can't work out be happy with what you got
marcussmith2626 said:
With respect I'm not here to do it all for you - iv told you how to do alot of things not just in this thread - iv other things to do in my life - if you can't work out be happy with what you got
Click to expand...
Click to collapse
hehe np but thanks for everything
Tanks for all the help, i decided to buy and S4 mini. much better.
Hey guys,
First timer here made a small test app recently, then i realized that wen u install the apk the permissions were not shown even though i wrote them in the manifest following the permissions guide in android.developer.com... i would like some help with this, a video tutorial will do great but screenshots guide will do fine aswell.
thanks in advance guys
Do it like this:
Code:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
... >
<uses-sdk
... />
[COLOR="Blue"]<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />[/COLOR]
<application
... >
<activity
... >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<!-- Your other components -->
</application>
</manifest>
However, some permissions won't be shown as they are development or system permissions which cannot be granted to normal apps.
Which one are you talking about?
Mocolocoroco said:
Hey guys,
First timer here made a small test app recently, then i realized that wen u install the apk the permissions were not shown even though i wrote them in the manifest following the permissions guide in android.developer.com... i would like some help with this, a video tutorial will do great but screenshots guide will do fine aswell.
thanks in advance guys
Click to expand...
Click to collapse
if you are using eclipse as die you may use the "Manifest" Editor which can easy generate your manifest and your permissions.
If you are using Android Studio with latest SDK then there is an Auto completing.
If you want to add permissions be carefulll. some devices will not be able to download your app.
Use use-feature and disable required if you still want the app listed in playstore for devices which has (for example) no Bluetooth or camera
Here is an example of one of my apps.
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="de.seiboldsoft.myapp
android:versionCode="10"
android:versionName="1">
<uses-sdk
android:minSdkVersion="11"
android:targetSdkVersion="17" />
<permission
android:name="de.seiboldsoft.myapp.permission.C2D_MESSAGE"
androidrotectionLevel="signature" />
<uses-feature
android:name="android.hardware.camera.autofocus"
android:required="false" />
<uses-feature
android:name="android.hardware.camera.flash"
android:required="false" />
<uses-feature android:name="android.hardware.location" />
<uses-feature
android:name="android.hardware.location.gps"
android:required="false" />
<uses-feature
android:name="android.hardware.microphone"
android:required="false" />
<uses-feature
android:name="android.hardware.camera"
android:required="false" />
<uses-feature
android:name="android.hardware.telephony"
android:required="false" />
<uses-feature
android:name="android.hardware.bluetooth"
android:required="false" />
<uses-feature
android:name="android.hardware.touchscreen"
android:required="false" />
<uses-feature
android:name="android.hardware.wifi"
android:required="false" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.ACTION_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.DISABLE_KEYGUARD" />
<uses-permission android:name="android.permission.SEND_SMS" />
<uses-permission android:name="android.permission.RECEIVE_SMS" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.READ_SMS" />
<uses-permission android:name="android.permission.WRITE_SMS" />
<uses-permission android:name="android.permission.SEND_SMS" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
<uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS" />
<uses-permission android:name="android.permission.BATTERY_STATS" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="de.seiboldsoft.theftspy.permission.C2D_MESSAGE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.READ_CALL_LOG" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.WRITE_CONTACTS" />
<uses-permission android:name="android.permission.INSTALL_PACKAGES" />
<uses-permission android:name="android.permission.DELETE_PACKAGES" />
<uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<uses-permission android:name="com.android.vending.BILLING" />
<uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="com.android.vending.BILLING" />
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
<uses-permission android:name="android.permission.ACCESS_SUPERUSER" />
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
<uses-permission android:name="android.permission.UPDATE_DEVICE_STATS" />
<uses-permission android:name="android.permission.BIND_ACCESSIBILITY_SERVICE" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/myapp"
android:largeHeap="true"
android:logo="@drawable/ic_launcher"
android:launchMode="singleTop"
android:theme="@android:style/Theme.Black">
<receiver
android:name="com.google.android.gcm.GCMBroadcastReceiver"
androidermission="com.google.android.c2dm.permission.SEND">
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<action android:name="com.google.android.c2dm.intent.REGISTRATION" />
<category android:name="de.seiboldsoft.myapp" />
</intent-filter>
</receiver>
<activity
android:name=".activities.StartAcitvity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:label="@string/myapp"
android:launchMode="singleInstance"
android:theme="@style/Theme.Transparent">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<service android:name="GCMIntentService" />
<activity android:name=".modules.AlarmActivity"></activity>
<service
android:name="AndroidService"
android:exported="false"
android:label="@string/myapp" />
<service android:name=".modules.ModulCamera" />
<!-- cropped lots of stuff -->
</application>
</manifest>
thanks
but do any of these permissions listed show on screen wen the user tries to install m apk?
Mocolocoroco said:
but do any of these permissions listed show on screen wen the user tries to install m apk?
Click to expand...
Click to collapse
Most permissions are shown when the app is installed. However, not all are shown.
Which one do you have problems with?
i tried this for starters
<uses-permission android:name="android.permission.RECEIVE_SMS" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.FLASHLIGHT"/>
<android.permission-group.ACCESSIBILITY_FEATURES />
and none of them seem to appear wen i install,any suggestions?
Mocolocoroco said:
i tried this for starters
<uses-permission android:name="android.permission.RECEIVE_SMS" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.FLASHLIGHT"/>
<android.permission-group.ACCESSIBILITY_FEATURES />
and none of them seem to appear wen i install,any suggestions?
Click to expand...
Click to collapse
Maybe you put them into the wrong place of the XML. Could you please provide more of the file?
(You can delete all Activities except one if you want to. But please let one tag of each kind stay there so that we see whether it is in the right place or not. )
<uses-sdk
....
<uses-permission android:name="android.permission.RECEIVE_SMS" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.FLASHLIGHT"/>
<android.permission-group.ACCESSIBILITY_FEATURES />
<application
...
<activity
<intent-filter>
</activity>
</application>
</manifest>
Mocolocoroco said:
<uses-sdk
....
<uses-permission android:name="android.permission.RECEIVE_SMS" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.FLASHLIGHT"/>
<android.permission-group.ACCESSIBILITY_FEATURES />
<application
...
<activity
<intent-filter>
</activity>
</application>
</manifest>
Click to expand...
Click to collapse
You've got a <manifest> tag at the beginning, too, right?
Are you able to install the app?
The only thing left which I can offer is that you send one of us your project and we will check it.
You can remove all stuff that is not related to this. And then we will try.
Everything else is difficult. You know, we're not sitting next to you.
yea i hav the <manifest open and yes im able to install the app aswell....and how will i send u the manifest file? or do u want the apk?
Mocolocoroco said:
yea i hav the <manifest open and yes im able to install the app aswell....and how will i send u the manifest file? or do u want the apk?
Click to expand...
Click to collapse
Well, with the apk I can check whether I see the permissions.
With the manifest I can try it out myself.
You can upload it to dropbox or something like that and send me the download link via PM.
alrite it will take awhile cause ill hav to make a dropbox account...shall i upload the manifest file in a word or how do i send the manifest to you?
Mocolocoroco said:
alrite it will take awhile cause ill hav to make a dropbox account...shall i upload the manifest file in a word or how do i send the manifest to you?
Click to expand...
Click to collapse
Just upload the xml.
If you want it to be accessible for everyone, you can also post it as an attachement on XDA.
I'll wait.
the xml file is not getting uploaded ill just pm u the dropbox links now
Mocolocoroco said:
the xml file is not getting uploaded ill just pm u the dropbox links now
Click to expand...
Click to collapse
Thanks. Got your PM and the file. You can delete the apk if you want to.
OK. Tested the manifest you sent to me.
To do that I created a new project and replaced the manifest. I installed it on an emulator and went to the settings. This is what I see for the app:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Will test it on a real device now.
On the device I see the permissions, too.
Should I send you the project files?
yea if u cud send them that would be great...and how do i use them to change my current project???
Mocolocoroco said:
yea if u cud send them that would be great...and how do i use them to change my current project???
Click to expand...
Click to collapse
My test project.
I don't know how much this will help you. Could you please post a screenshot of your directory structure (or send it to me via PM)?
Maybe that is the problem.
what do you mean by the directory structure? as in the package explorer?