Discussion on SafeOrbit +IAP +AdMob +Leaderboard +Achievements

7 comments found.

good luck with sales

Thanks.

hy when i import the code in eclipse he show me 16 errors like this Description Resource Path Location Type AudioAttributes cannot be resolved to a type AndroidAudio.java /SafeOrbit/src/com/mdv/safeorbit/audio line 43 Java Problem

Hi, in eclipse go to Window->Preferences->Android, and browse for the sdk folder in the adt installation folder, then click Apply.

When I push the share button, I am getting “unfortunately, xxx has stopped” warning.

E/AndroidRuntime(27043): at com.mdv.safeorbit.network.ShareAction.getShareMessage(ShareAction.java:21) E/AndroidRuntime(27043): at com.mdv.safeorbit.network.ShareAction.shareGame(ShareAction.java:14) E/AndroidRuntime(27043): at com.mdv.safeorbit.screens.PlayScreen.updateGameOver(PlayScreen.java:595) E/AndroidRuntime(27043): at com.mdv.safeorbit.screens.PlayScreen.update(PlayScreen.java:234) E/AndroidRuntime(27043): at com.mdv.safeorbit.runnable.GameRenderView.run(GameRenderView.java:45)

Have you modified the ShareAction class?

I didn’t change shareaction class

The problem is with the strings that are returned, check if they are null.

after i unzip the file and open the project with android studio and enable In-app Purchases with Achievements and Leaderboard then when i try to run app on note 3 it gives me many errors

07-14 16:37:04.481 1820-1820/? E/SamsungIME: SwiftkeyWrapper-inputKey 07-14 16:37:04.861 1820-1820/? E/SamsungIME: AbstractCandidateLayout-setCandidates suggestions count : 9 07-14 16:37:04.861 1820-1820/? E/SamsungIME: AbstractCandidateLayout-setCandidates fontSize : 19.0 07-14 16:37:04.861 1820-1820/? E/SamsungIME: AbstractCandidateLayout-setCandidates typeFace : class android.graphics.Typeface 07-14 16:37:04.861 1820-1820/? E/SamsungIME: AbstractCandidateLayout-setCandidates topPadding : 33 07-14 16:37:04.861 1820-1820/? E/SamsungIME: AbstractCandidateLayout-setCandidates bottomPadding : 33 07-14 16:37:04.861 1820-1820/? E/SamsungIME: AbstractCandidateLayout-setCandidates height : 126 07-14 16:37:04.861 1820-1820/? E/SamsungIME: AbstractCandidateLayout-setCandidates maxWidth : 1080 07-14 16:37:04.861 1820-1820/? E/SamsungIME: AbstractCandidateLayout-setCandidates finished : 3 07-14 16:37:05.021 293-1047/? E/NetlinkEvent: NetlinkEvent::FindParam(): Parameter ‘TIME_NS’ not found 07-14 16:37:26.511 16426-16733/? E/MediaPlayer-JNI: QCMediaPlayer mediaplayer NOT present 07-14 16:37:26.651 307-10109/? E/AudioSink: received unknown event type: 1 inside CallbackWrapper ! 07-14 16:37:40.941 10125-10168/? E/SQLiteLog: (1) no such table: mmsconfig 07-14 16:37:42.991 16426-16733/? E/MediaPlayer-JNI: QCMediaPlayer mediaplayer NOT present 07-14 16:37:43.121 307-10199/? E/AudioSink: received unknown event type: 1 inside CallbackWrapper ! 07-14 16:37:43.771 300-300/? E/SMD: DCD ON 07-14 16:37:46.771 300-300/? E/SMD: DCD ON 07-14 16:37:47.801 293-1047/? E/NetlinkEvent: NetlinkEvent::FindParam(): Parameter ‘TIME_NS’ not found 07-14 16:37:58.771 300-300/? E/SMD: DCD ON 07-14 16:37:59.061 761-1330/? E/Watchdog: !@Sync 152 07-14 16:37:59.311 293-1047/? E/NetlinkEvent: NetlinkEvent::FindParam(): Parameter ‘TIME_NS’ not found 07-14 16:42:21.991 761-1116/? E/MotionRecognitionService: handler : SCREEN_OFF end 07-14 16:42:22.001 761-1137/? E/native: do suspend true 07-14 16:42:22.021 1820-10705/? E/SamsungIME: lang.getLanguageCode():en, lang.getCountryCode():GB 07-14 16:42:22.021 1820-10705/? E/SamsungIME: lang.getLanguageCode():ar, lang.getCountryCode(): 07-14 16:42:22.051 761-1165/? E/Sensors: Acc old sensor_state 513, new sensor_state : 512 en : 0 07-14 16:42:22.081 311-311/? E/SELinux: [DEBUG] get_category: variable seinfo: default sensitivity: NULL, cateogry: NULL 07-14 16:42:22.081 311-311/? E/SELinux: [DEBUG] get_category: variable seinfo: app_data_file sensitivity: NULL, cateogry: NULL 07-14 16:42:22.551 1820-1820/? E/SamsungIME: mOCRHelper is null 07-14 16:42:22.581 4318-4318/? E/AASAservice-TokenRule: parseToken() : TokenFile is null 07-14 16:42:22.581 4318-4318/? E/AASAservice-UpdateReceiver: AASARuleUpdateResult() : Rule file is not exist. 07-14 16:42:22.731 761-788/? E/ActivityManager: checkUser: useridlist=null, currentuser=0 07-14 16:42:22.731 761-788/? E/ActivityManager: checkUser: useridlist=null, currentuser=0 07-14 16:42:22.731 761-788/? E/ActivityManager: checkUser: useridlist=null, currentuser=0 07-14 16:42:22.731 761-788/? E/ActivityManager: checkUser: useridlist=null, currentuser=0 07-14 16:42:22.811 10722-10722/? E/SELinux: [DEBUG] get_category: variable seinfo: untrusted sensitivity: NULL, cateogry: NULL 07-14 16:42:23.321 265-548/? E/Vold: Failed to find mounted volume for /storage/extSdCard/Android/data/sstream.app/cache/

E/GooglePlayServicesUtil: The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.

Add Google Play Services to your project.

and how to make encryption key for my app also

The encryption key can be any string of 16 characters.

com.google.android.gms.common.internal.zzj$zza.zzc(Unknown Source) at com.google.android.gms.common.internal.zzj$zza.zzv(Unknown Source) at com.google.android.gms.common.internal.zzj$zzc.zzqx(Unknown Source) at com.google.android.gms.common.internal.zzj$zzb.handleMessage(Unknown Source)

This can be caused because the app id is incorrect. You need to copy the app id from the Game Services and put it in the app_id field from strings.xml.

very great job, nicely done ! i wish you big sales

Thanks.

by
by
by
by
by
by