[Logo] FantasticX Support - FantasticX Support
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Messages posted by: cyleung703
Forum Index » Profile for cyleung703 » Messages posted by cyleung703
Author Message
I am already following the step. But I cannot find the token on Logcat.

For the Menifest.xml

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

<permission android:name="com.mobile.cooking.permission.C2D_MESSAGE" android:protectionLevel="signature" />

<uses-permission android:name="com.mobile.cooking.permission.C2D_MESSAGE" />

<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />

<uses-permission android:name="android.permission.WAKE_LOCK" />

<uses-permission android:name="android.permission.VIBRATE" />

<service android:name="com.mobile.cooking.FantasticPushReceiver" />
<receiver
android:name="com.google.android.c2dm.C2DMBroadcastReceiver"
android:permission="com.google.android.c2dm.permission.SEND" >
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<category android:name="com.mobile.cooking" />
</intent-filter>
<intent-filter>
<action android:name="com.google.android.c2dm.intent.REGISTRATION" />
<category android:name="com.mobile.cooking" />
</intent-filter>
</receiver>


When I change my setting of my app, the error :

Processing of multipart/form-data request failed. No space left on device
I copy the code of, but I have 2 error.

Message message = new Message.Builder(regId).build();

regId is highlighted.
Message: regId cannot be resolved to a variable

Result result = sender.send(message, 5);

.send is highlighted.
Message: The method send(Message, String, int) in the type Sender is not applicable for the arguments (Message, int)
 
Forum Index » Profile for cyleung703 » Messages posted by cyleung703
Go to:   
Powered by JForum 2.1.9 © JForum Team