آموزش های این وب سایت به صورت رایگان در دسترس است. اطلاعات بیشتر
بروز خطا
   [message]
اشتراک در سوال
رای ها
[dataList]

نحوه استفاده از پارسه parse

sagheb95  10 سال پیش  10 سال پیش
0 0

سلام دوستان ، من ارسال نوتیفیکیشن از طریق پارسه رو در برنامم قرار دادم ، در پارسه هم ثبت نام کردم و تغییرات لازم رو انجام دادم ، اما وقتی از طریق سایت پارسه میخوام پیامی بفرستم با این متن No registered devices رو به رو میشم . 

برنامه رو روی گوشی نصب کردم و بدون مشکل اجرا میشه ، لطفا راهنمایی بفرمائید.

ممنون

0 0
نام پکیج رو در قسمت منیفست تغییر بدید حتما. باید نام پکیج خود برنامه باشه نه پارس (10 سال پیش)
 برای این سوال 3 پاسخ وجود دارد.
پاسخ به سوال 
sagheb95  10 سال پیش
0 0

این مانیفست منه  ، کجاش مشکل داره :

 <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="ir.worldart.apk.r.ketaberahtosheh"
android:versionCode="7"
android:versionName="3.7" >

<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="18" />

<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="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />

<!--
IMPORTANT: Change "ir.worldart.apk.r.ketaberahtosheh.permission.C2D_MESSAGE" in the lines below
to match your app's package name + ".permission.C2D_MESSAGE".
-->
<permission android:protectionLevel="signature"
android:name="ir.worldart.apk.r.ketaberahtosheh.permission.C2D_MESSAGE" />
<uses-permission android:name="ir.worldart.apk.r.ketaberahtosheh.permission.C2D_MESSAGE" />

<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="ir.worldart.apk.r.ketaberahtosheh.Main"
android:label="main" >
</activity>

<activity
android:name="ir.worldart.apk.r.ketaberahtosheh.ShowDastan"
android:screenOrientation="portrait"
android:label="@string/title_activity_show_dastan" >
</activity>

<activity
android:name="ir.worldart.apk.r.ketaberahtosheh.HadisAdapter"
android:screenOrientation="portrait"
android:label="@string/title_activity_show_dastan" >
</activity>

<activity
android:name="ir.worldart.apk.r.ketaberahtosheh.hadismain"
android:screenOrientation="portrait"
android:label="@string/title_activity_show_dastan" >
</activity>

<activity
android:name="ir.worldart.apk.r.ketaberahtosheh.ShowHadis"
android:screenOrientation="portrait"
android:label="@string/title_activity_show_dastan" >
</activity>

<activity
android:name="ir.worldart.apk.r.ketaberahtosheh.cheragh"
android:screenOrientation="portrait"
android:label="@string/title_activity_show_dastan" >
</activity>
<activity
android:name="ir.worldart.apk.r.ketaberahtosheh.text"
android:screenOrientation="portrait"
android:label="@string/title_activity_show_dastan" >
</activity>
<activity
android:name="ir.worldart.apk.r.ketaberahtosheh.About"
android:screenOrientation="portrait"
android:label="@string/title_activity_show_dastan" >
</activity>
<activity
android:name="ir.worldart.apk.r.ketaberahtosheh.zekr"
android:screenOrientation="portrait"
android:label="@string/title_activity_show_dastan" >
</activity>
<activity
android:name="ir.worldart.apk.r.ketaberahtosheh.p1"
android:screenOrientation="portrait"
android:label="@string/title_activity_show_dastan" >
</activity>
<activity
android:name="ir.worldart.apk.r.ketaberahtosheh.Doa"
android:screenOrientation="portrait"
android:label="@string/title_activity_show_dastan" >
</activity>
<activity
android:name="ir.worldart.apk.r.ketaberahtosheh.ashora"
android:screenOrientation="portrait"
android:label="@string/title_activity_show_dastan" >
</activity>
<activity
android:name="ir.worldart.apk.r.ketaberahtosheh.komeil"
android:screenOrientation="portrait"
android:label="@string/title_activity_show_dastan" >
</activity>
<activity
android:name="ir.worldart.apk.r.ketaberahtosheh.nodbeh"
android:screenOrientation="portrait"
android:label="@string/title_activity_show_dastan" >
</activity>
<activity
android:name="ir.worldart.apk.r.ketaberahtosheh.tavasol"
android:screenOrientation="portrait"
android:label="@string/title_activity_show_dastan" >
</activity>
<activity
android:name="ir.worldart.apk.r.ketaberahtosheh.Search"
android:screenOrientation="portrait"
android:label="@string/title_activity_search" >
</activity>
<activity
android:name="ir.worldart.apk.r.ketaberahtosheh.myApplication"
android:screenOrientation="portrait"
android:label="@string/title_activity_search" >
</activity>
<activity
android:name="ir.worldart.apk.r.ketaberahtosheh.email"
android:screenOrientation="portrait"
android:label="@string/title_activity_search" >
</activity>
<activity
android:name="ir.worldart.apk.r.ketaberahtosheh.Splash"
android:screenOrientation="portrait"
android:label="@string/title_activity_splash" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>

<activity
android:name="ir.worldart.apk.r.ketaberahtosheh.Setting"
android:screenOrientation="portrait"
android:label="@string/title_activity_setting" >
</activity>

<service android:name="com.parse.PushService" />
<receiver android:name="com.parse.ParsePushBroadcastReceiver"
android:exported="false">
<intent-filter>
<action android:name="com.parse.push.intent.RECEIVE" />
<action android:name="com.parse.push.intent.DELETE" />
<action android:name="com.parse.push.intent.OPEN" />
</intent-filter>
</receiver>
<receiver android:name="com.parse.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" />

<!--
IMPORTANT: Change "ir.worldart.apk.r.ketaberahtosheh" to match your app's package name.
-->
<category android:name="ir.worldart.apk.r.ketaberahtosheh" />
</intent-filter>
</receiver>
</application>

</manifest>

+1 0
کلاس اپلیکیشن رو نذاشتی اینجا. مثل کلاس G میمونه (10 سال پیش)
پاسخ به سوال 
علی  10 سال پیش
+1 0

به این شکل مثلا !

 android:name="ir.worldart.apk.r.ketaberahtosheh.ParseApplication"
0 0
ممنون ، حل شد . (10 سال پیش)
پاسخ به سوال 
sagheb95  10 سال پیش
0 0

دوستان من تونستم از parse استفاده کنم و به خوبی هم کار می کنه ، اما یه سئوال :

اینکه برای دریافت اعلان حتما باید نرم افزار در حال اجرا باشه یا خیر ؟ و اینکه میشه کاری کرد برنامه همیشه در پس زمینه در حال اجرا باشه .

دوم اینکه اگر در خصوص شخصی سازی اعلان ها ، مطالبی دارید لینکش رو لطف کنید . 

تشکر از شما

+2 0
خیر، برای دریافت اعلان لازم به اجرای برنامه نیست، برنامه فقط باید در دیوایس کاربر نصب باشه ! (10 سال پیش)

پاسخگویی و مشاهده پاسخ های این سوال تنها برای اعضای ویژه سایت امکان پذیر است .
چنانچه تمایل دارید به همه بخش ها دسترسی داشته باشید میتوانید از این بخش لایسنس این آموزش را خریداری نمایید .