Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / App Game Kit 108.20 & 108.21

Author
Message
xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 30th Mar 2014 17:44
No way it don't work for me. Don't know why.
It work 1/100.
And sometime crash with SIGSEGV and a malloc error.

Don't know what to do. I need to test with the timeout value in the function.

Long life to Steve!
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 31st Mar 2014 02:16
Quote: "It work 1/100.
And sometime crash with SIGSEGV and a malloc error."


It's possible these two are related, when there is memory corruption anything can happen. With a crash you should get a stack trace in the LogCat which is usually patchy at best on Android but sometimes it is useful, if you paste it here I'll see if there is anything of interest.

As mentioned in the PM it worked for me with a clean app with only the HTTP commands.
f098f
10
Years of Service
User Offline
Joined: 28th Mar 2014
Location:
Posted: 2nd Apr 2014 21:11
Any news on the following functions(especially geolocation)?

Quote: "
01/27/2014 11:09 AM 3,293 GameCenterAchievementsReset.htm
01/27/2014 11:09 AM 3,314 GetCompassExists.htm
01/27/2014 11:09 AM 3,379 GetGeolocationExists.htm
01/27/2014 11:09 AM 3,330 GetGyrometerExists.htm
01/27/2014 11:09 AM 3,354 GetInclinometerExists.htm
01/27/2014 11:09 AM 3,355 GetLightSensorExists.htm
01/27/2014 11:09 AM 3,290 GetNFCExists.htm
01/27/2014 11:09 AM 3,334 GetNotificationType.htm
01/27/2014 11:09 AM 3,395 GetOrientationSensorExists.htm
01/27/2014 11:09 AM 3,489 GetRawCompassNorth.htm
01/27/2014 11:09 AM 3,395 GetRawFirstNFCDevice.htm
01/27/2014 11:09 AM 3,309 GetRawGeoCity.htm
01/27/2014 11:09 AM 3,333 GetRawGeoCountry.htm
01/27/2014 11:09 AM 3,339 GetRawGeoLatitude.htm
01/27/2014 11:09 AM 3,347 GetRawGeoLongitude.htm
01/27/2014 11:09 AM 3,358 GetRawGeoPostalCode.htm
01/27/2014 11:09 AM 3,340 GetRawGeoState.htm
01/27/2014 11:09 AM 3,315 GetRawGyroVelocityX.htm
01/27/2014 11:09 AM 3,315 GetRawGyroVelocityY.htm
01/27/2014 11:09 AM 3,315 GetRawGyroVelocityZ.htm
01/27/2014 11:09 AM 3,308 GetRawInclinoPitch.htm
01/27/2014 11:09 AM 3,300 GetRawInclinoRoll.htm
01/27/2014 11:09 AM 3,292 GetRawInclinoYaw.htm
01/27/2014 11:09 AM 3,335 GetRawLightLevel.htm
01/27/2014 11:09 AM 3,403 GetRawNextNFCDevice.htm
01/27/2014 11:09 AM 3,291 GetRawNFCCount.htm
01/27/2014 11:09 AM 3,492 GetRawNFCData.htm
01/27/2014 11:09 AM 3,570 GetRawNFCDataState.htm
01/27/2014 11:09 AM 3,439 GetRawNFCName.htm
01/27/2014 11:09 AM 3,353 GetRawOrientationW.htm
01/27/2014 11:09 AM 3,352 GetRawOrientationX.htm
01/27/2014 11:09 AM 3,352 GetRawOrientationY.htm
01/27/2014 11:09 AM 3,352 GetRawOrientationZ.htm
01/27/2014 11:09 AM 3,217 IsSoundRecording.htm
01/27/2014 11:09 AM 3,300 RecordSound.htm
01/27/2014 11:09 AM 3,551 SendRawNFCData.htm
01/27/2014 11:09 AM 3,425 SetNotificationImage.htm
01/27/2014 11:09 AM 3,402 SetNotificationText.htm
01/27/2014 11:09 AM 3,225 StopSoundRecording.htm
"
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 2nd Apr 2014 23:46
Most of those commands are specific to Ultrabooks and were added for the Codeproject/Intel competition. All of the Geolocation and Gyro commands are Ultrabook sensor only, as are the light level commands. Any command containing Raw is specific to a particular platform.

bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 2nd Apr 2014 23:59
Gekko are you only testing on 1 android device or you have various ones?

i remember that i had 1 android tablet that caused a lot of problems, and i just forgot all about it. its not worth wasting time when all works on 10 other devices
f098f
10
Years of Service
User Offline
Joined: 28th Mar 2014
Location:
Posted: 3rd Apr 2014 00:05
So no Gyro/Accel., GPS, Sound Record, NFC, Light, Light Sensor support in AppGameKit? I didn't see platform notes in any of those..

Why use them in your marketing and on the website?
xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 3rd Apr 2014 02:37
Yes i have only the Nexus 5... and i bought it thinking it's the best to test the android as it's from google.

Long life to Steve!
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 3rd Apr 2014 11:01 Edited at: 3rd Apr 2014 11:03
Quote: "Why use them in your marketing and on the website?"


I don't work for TGC, so I can't answer that, although I can't find where it advertises these features for all platforms, only an indication that it is for selected platforms only...



But if my memory serves me correctly, the commands were added so that people could use AppGameKit to enter the Codeproject competition. They won over $36,000 worth of prizes between them so it was worthwhile. Unfortunately these features weren't on the roadmap for all devices, but I'd certainly like to see them too after V2 is completed.

Attachments

Login to view attachments
bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 3rd Apr 2014 14:12
Gekko, I tested my AGK1 android app on Nexus7, samsung s3, 3 different unbranded chinese tablets, and 4 different unbranded chinese phones. all worked fine apart from 1 tablet.

android is like PC, your app will fail on some hardware as there are so many different configs its impossible to make it work 100% on all
Ched80
13
Years of Service
User Offline
Joined: 18th Sep 2010
Location: Peterborough, UK
Posted: 5th Apr 2014 17:11
Can someone explain how this line has an "irregular number of brackets" as claimed by the IDE?

Quote: "FacebookPostOnMyWall(FB_link,FB_picture,FB_name,FB_caption,Description$)"


BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 5th Apr 2014 19:01
Have you checked the line prior to it?

Ched80
13
Years of Service
User Offline
Joined: 18th Sep 2010
Location: Peterborough, UK
Posted: 5th Apr 2014 19:07
Yup. The code compiles fine if I comment this line out it's a weird one.

Naphier
13
Years of Service
User Offline
Joined: 2nd Oct 2010
Location: St Petersburg, Florida
Posted: 5th Apr 2014 19:15

AGK parser is on meth?

I get mysteries like this frequently.
Is there possibly some non-alphanumeric characters in your description$ , than name$ or caption$?
Are any of those strings declared at the end of a file?
I've had issues with the compiler reading the end of files so I've made a habit of having 2 extra lines and a comment tick at the end.
Does the error still occur if you have something like this:
FacebookPostOnMyWall( "" , "" , "" , "" , "" )
?
Also try putting in some spaces around your parameters, the parser can be pretty wonky at times... I think (hope) Paul's going to make some good improvements on this in v2.

Ched80
13
Years of Service
User Offline
Joined: 18th Sep 2010
Location: Peterborough, UK
Posted: 5th Apr 2014 19:49
Cheers Naphier - code now works thanks - I replaced the constants with the actual contents and it compiled

Chuffed.

Leo Phoenix
15
Years of Service
User Offline
Joined: 24th Apr 2009
Location: South London, England
Posted: 4th Jun 2014 12:33
Annoying bug: when playing videos in full-screen, causes crashes at random times. Change the video example to full-screen and you'll see it. Using build 108

andromedapps.com
Leo Phoenix
15
Years of Service
User Offline
Joined: 24th Apr 2009
Location: South London, England
Posted: 4th Jun 2014 12:34
*On Windows, I haven't tested it elsewhere

andromedapps.com
IBOL
Retired Moderator
20
Years of Service
User Offline
Joined: 30th Mar 2004
Location: @IBOL17
Posted: 10th Jun 2014 22:49
Mr. Paul Johnston,
AGK developer (I surmise)

I need to contact you as soon as possible about my game, Approaching Infinity, which is programmed in AGK.

Please contact me : saunders72 [at] Hotmail [dot] com

Thanks,
Bob

JimHawkins
14
Years of Service
User Offline
Joined: 26th Jul 2009
Location: Hull - UK
Posted: 11th Jun 2014 00:39
@IBOL - That's NOT the way to do it. Fill in the contact form for Support on the TGC main page. That way somebody will field it.

-- Jim - When is there going to be a release?
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 11th Jul 2014 10:25 Edited at: 11th Jul 2014 10:26
IBOL, Paul's email address is at the bottom of each of his posts such as this one: http://forum.thegamecreators.com/?m=forum_view&t=209719&b=41&msg=2506095#m2506095

Also I forgot to create my artwork for your game 256x256 I think it was? Is it too late?
tricianess12
9
Years of Service
User Offline
Joined: 12th Aug 2014
Location: USA
Posted: 12th Aug 2014 12:50
Finally, I am free as a bird...

Login to post a reply

Server time is: 2024-05-12 22:40:27
Your offset time is: 2024-05-12 22:40:27