Hirdetés
- AMD Navi Radeon™ RX 9xxx sorozat
- Friss alaplapszériát avat az ASRock
- Bluetooth hangszórók
- Azonnali processzoros kérdések órája
- Épített vízhűtés (nem kompakt) topic
- Az elmúlt 30 év legjobb processzorai
- Gaming notebook topik
- OLED monitor topic
- AMD Ryzen 9 / 7 / 5 9***(X) "Zen 5" (AM5)
- Bambu Lab 3D nyomtatók
Új hozzászólás Aktív témák
-
RexpecT
addikt
Sikerült elakadnom GCM implementálásánál, de maga a probléma nem ehhez kapcsolódik, hanem az alábbi hibaüzenetet dobja az app:
"Unable to find explicit activity class {com.example.testhttps/com.example.testhttps.GCMIntentService}; have you declared this activity in your AndroidManifest.xml?"
Gomb:
Button gcmButton=(Button) findViewById(R.id.gcmButton);
gcmButton.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View view) {
Intent gcmIntent= new Intent(context,GCMIntentService.class);
startActivity(gcmIntent);
}
});Manifest:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.testhttps"
android:versionCode="1"
android:versionName="1.0">
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
<uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE"/>
<uses-permission android:name="android.permission.GET_ACCOUNTS"/>
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-permission android:name="android.permission.USE_CREDENTIALS"/>
<uses-permission android:name="android.permission.READ_OWNER_DATA"/>
<permission
android:name="com.example.testhttps.permission.C2D_MESSAGE"
android:protectionLevel="signature"/>
<uses-permission android:name="com.example.testhttps.permission.C2D_MESSAGE"/>
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="17"/>
<application
android:name="com.example.testhttps.MyApplication"
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme">
<activity
android:name="com.example.testhttps.TestHttpsMain"
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="com.example.database.ViewRecord"
android:label="@string/title_activity_view_record">
</activity>
<activity
android:name="com.example.bluetooth.DeviceListActivity"
android:label="@string/title_activity_device_list_activity">
</activity>
<activity
android:name=".GCMMainActivity"
android:label="@string/title_activity_gcm_main_activity">
</activity>
<service
android:name="com.example.service.MyService"
android:enabled="true"
android:icon="@drawable/ic_launcher"
android:label="MyService"/>
<receiver
android:name="com.google.android.gcm.GCMBroadcastReceiver"
android:permission="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="com.example.testhttps"/>
</intent-filter>
</receiver>
<service
android:enabled="true"
android:name=".GCMIntentService">
</service>
</application>
</manifest>Ennek pedig elvileg így mennie kellene...
Új hozzászólás Aktív témák
- Dell Precision 7560 Workstation i7-11850H 32GB RAM 1TB SSD Nvidia RTX A3000 6GB 1 év garancia
- í kilenc! AKCIÓS PRECÍZIÓS KÉSZÜLÉK! 7560 i9-11950H 64GB RAM 1TB SSD Nvidia RTX A3000 6GB 1 év gar
- GIGA AKCIÓ! Lenovo ThinkPad P15 Gen 2 Intel i7-11850H 32GB 1000GB Nvidia RTX A4000 1 év garancia
- UFC (Auchan) Gamer szék szőnyeggel
- Akció!!! Lenovo ThinkPad P15 Gen 1 Intel i7-10875H 32GB 1000GB Nvidia Quadro RTX 3000 1 év garancia
- HIBÁTLAN iPhone 13 256GB Pink -1 ÉV GARANCIA - Kártyafüggetlen, MS3732
- Apple iPhone 15 Pro 128 GB 1 év Garancia Beszámítás Házhozszállítás
- Apple iPhone 15 Pro 128GB, Kártyafüggetlen, 1 Év Garanciával
- BESZÁMÍTÁS! MSI B760M i7 14700K 32GB DDR5 1TB SSD RX 9070 XT 16GB Lian Li Lancool 207 Digital 750W
- GYÖNYÖRŰ iPhone 13 Mini 128GB Midnight - 1 ÉV GARANCIA -Kártyafüggetlen, MS4195, 94% Akksi
Állásajánlatok
Cég: Laptopműhely Bt.
Város: Budapest
Cég: PCMENTOR SZERVIZ KFT.
Város: Budapest


