hidden phone icon, and using sip phone instand ...
2012-02-21 00:00
169 查看
1. hidden icon:
edit project AndroidManifest.xml, and delete this line.
<!-- <category android:name="android.intent.category.LAUNCHER" /> -->
2. test the application can be used normally.
am start -n com.shougao.hiddenicon/com.shougao.hiddenicon.HiddeniconActivity
all of them is ok.
3。隐藏android自带的电话图标
<activity android:name="DialtactsActivity"
android:label="@string/launcherDialer"
android:theme="@style/DialtactsTheme"
android:launchMode="singleTask"
android:clearTaskOnLaunch="true"
android:icon="@drawable/ic_launcher_phone"
android:screenOrientation="nosensor"
>
<intent-filter>
<action android:name="android.intent.action.DIAL" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:mimeType="vnd.android.cursor.item/phone" />
<data android:mimeType="vnd.android.cursor.item/person" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.DIAL" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="voicemail" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.DIAL" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
<!-- <category android:name="android.intent.category.LAUNCHER" /> -->
<category android:name="android.intent.category.BROWSABLE" />
</intent-filter>
edit project AndroidManifest.xml, and delete this line.
<!-- <category android:name="android.intent.category.LAUNCHER" /> -->
2. test the application can be used normally.
am start -n com.shougao.hiddenicon/com.shougao.hiddenicon.HiddeniconActivity
all of them is ok.
3。隐藏android自带的电话图标
<activity android:name="DialtactsActivity"
android:label="@string/launcherDialer"
android:theme="@style/DialtactsTheme"
android:launchMode="singleTask"
android:clearTaskOnLaunch="true"
android:icon="@drawable/ic_launcher_phone"
android:screenOrientation="nosensor"
>
<intent-filter>
<action android:name="android.intent.action.DIAL" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:mimeType="vnd.android.cursor.item/phone" />
<data android:mimeType="vnd.android.cursor.item/person" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.DIAL" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="voicemail" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.DIAL" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
<!-- <category android:name="android.intent.category.LAUNCHER" /> -->
<category android:name="android.intent.category.BROWSABLE" />
</intent-filter>
相关文章推荐
- Using Boost Libraries in Windows Store and Phone Applications
- Using Boost Libraries in Windows Store and Phone Applications
- Creating Mobile Games: Using Java ME Platform to Put the Fun into Your Mobile Device and Cell Phone
- (转)Creating a GTK notification area icon using Mono and C#
- Tutorial: SIP using NAPTR and SRV DNS Records
- Internet Communications Using SIP: Delivering VoIP and Multimedia Services with Session Initiation P
- How to get Full Rom Dump / Stock ROM of MT6572 MediaTek Smartphones using SPFT and MTK Droid Root an
- 电子书下载:Professional Windows Phone 7 Application Development: Building Applications and Games Using Visual Studio, Silverl
- Configuring NAT traversal using Kamailio 3.1 and the Rtpproxy server
- Compute and storage clouds using wide area high performance networks
- Creating Custom Annotations and Using Them
- Debugging WebLogic Server Applications Using Eclipse and the WebLogic-Plugin
- Using WPF DataGridHyperLinkColumn Items to open Windows Explorer and open files
- Minimize Code by Using jQuery and Data Templates
- Manipulator Planning and Obstacle Avoidance Using Genetic Algorithm
- [转]Using the Repository Pattern with ASP.NET MVC and Entity Framework
- Engineering and scientific computations using MATLAB
- Error Code: 1175. You are using safe update mode and you tried to update a table
- Build Google IG like Ajax Start Page in 7 days using ASP.NET Ajax and .NET 3.0
- MVC architecture in ASP.Net using C# and Microsoft Data Access Application block