Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Malkom

Pages: [1] 2 3 ... 18
1
Wish List / Re: linux design support?
« on: April 19, 2013, 07:20:41 AM »
I thought I read  in an old post here, in the past, that there was support for linux?
Did I miss remember or am I confused or did it fail & was taken away?

I am running ubuntu 12.10 if that matters.

I see you posted in HyperNext Studio forums so guess you mean Linux for HyperNext Studio . Yes there was some development carried out but never resulted in a finished version due to some Quicktime dependency problems etc.



2
News / HAC forums now fully open again
« on: April 18, 2013, 01:41:34 PM »
Hello

HAC forums are now fully open again for posting.

Malkom

3
News / HAC downloads etc
« on: February 04, 2013, 10:11:40 PM »
HAC and New Website (4th February 2013 )

HAC downloads, forum registrations and Buy button are now working again.

Hopefully the website and forums will still help HAC users in developing their Android apps. Although the forums are currently Read-Only, there are still many posts about installing HAC, dealing with Windows issues and developing Android apps. Our HAC tutorials blog is still running and contains a wide range of Android development information..

4
News / HAC hiatus
« on: January 20, 2013, 09:56:53 PM »
HAC and its forums now share HyperNext's webserver as due to other commitments I'll be away for a while and unable to help HAC customers and users.

Hopefully the website and forums will still help HAC users in developing their Android apps. Although the forums are now Read-Only, there are still many posts about installing HAC, dealing with Windows issues and developing Android apps. Our HAC tutorials blog is still running and contains a wide range of Android development information.

Regrettably its been necessary to disable the Buy buttons and HAC installer downloads but this shouldn't affect most users.

Thank you again to our forum users and others for submitting such valuable feedback.

I hope you find it easy to make your own HAC Android apps.

Malkom

5
HAC Bug Reporting / Re: Error messages when building Android project
« on: January 18, 2013, 12:14:05 PM »
Hi Malkom,

I set the path to my SDK manually and it seems to be working. At least this part. Many thanks for your help.

But when I am launching the Emulator, starting ADB and press Run Android - nothing happens. I started the Hypernext Creator also with administration rights but the emulator is doing nothing. The emulator itself is working so I can select apps etc.

The sample application e.g. HelloWorld Landscape is not running (also nowhere visible on the emulator device). I checked the devices, seems ok.

Any idea?

Many thanks
Richard
Hi Richard

Thats good news you got Java path working.

About the Hello World app not working. I'm not sure if you are using the DDMS debugger as it gives a lot of info on the installation progress and running of apps.
If not, it can be run from the HAC's Go menu - option Debugger DDMS

About the emulators. The one supplied with the HAC Easy Installer works quite well but we have found the later emulators struggle even on fast PCs. By struggle, I mean that sometimes they do not respond first time to installing a HAC app on them and this shows up in the DDMS activity log. Normally with the emulators I have DDMS working and only try to install/run an app on the emulator when DDMS shows the emulator is idling.

I hope this helps.

Malkom

6
Kindle Fire / Re: Button Issues
« on: January 18, 2013, 08:48:39 AM »
I've been using HAC for a few days and noticed a couple of anomalies as it concerns button functions:

1. Programming a button to be invisible with ButtonSetView(button,0) leaves an artifact of itself in the form of its 3-D bevel. It does this on Kindle, Nexus and the emulator. It does not do this in the HAC runtime. I played around with the ButtonSetBevel function but it does not affect the appearance of the artifact. I do find that GotoCard (the same card) refreshes the card and the artifacts are gone but it makes the program slower. In the meantime, I am hiding the artifacts behind a canvas of the same card color.

2. ButtonSetMode(button,0) does not disable a button. Even though ButtonModeFN indicates that it's disabled, the button still functions and is not grayed out. It works in the HAC runtime but not in the emulator or an android device.

Are these known bugs or am I missing something ? I'm running JDK V6 and SDK 2.3.1 V9 with my primary target being Kindle Fire w/latest update from Amazon.

Any info you can provide is appreciated, Thanks - Ian

Hi Ian

Thank you for finding these button bugs.

I have just made a buttons project and confirmed on an Android tablet that
 - the disable does not work.
 - the hide command does leave a trace.

These used to work but were probably broken a few builds back when the screen refresh and controls were overhauled.

I'll check the other controls for similar problems and the bug fixes should be done for v1.17.

Malkom
 


7
HAC Bug Reporting / Re: Error messages when building Android project
« on: January 17, 2013, 08:48:16 PM »
Hi Richard

Thank you for the log file it has helped a lot.

There seems to be a problem in Phase 6 of the build - it should change directory into the Java bin directory

for example on my dev machine:-

cd "C:\Program Files\Java\jdk1.6.0_21\bin\"

However, in your log file this step simply gives

cd ""

as if the Java directory is not specified in HAC's path preferences.


You can check that HAC's path prefs are set correctly via the HAC menu Android with option Android Paths


I hope this helps

Malkom



8
Games programming / Re: Sound
« on: January 16, 2013, 07:07:27 PM »
Hi

I'm sorry but I can't be specific when those commands will be working but I've been looking at the code today and need to get the Java looping etc worked out then  tested. Plus there are also a few other things to finish before the next update v1.17

For the SoundPlay command - I just made a folder called Local in the project's folder and placed the sound in there.

For instance if your project is called TestSound

TestSound
     Local
          music.mp3

the code is simply
Code: [Select]
@ -- play sound on channel 1 --
SoundPlay(1,'music.mp3')

The above code work both on a G1 Android phone and a Android tablet.

I hope this helps you get started.

Malkom


9
Raspberry Pi / Re: Raspberry Pi - any progress yet?
« on: January 16, 2013, 03:44:58 PM »
Seems a long silence since the Android announcement - any news yet on  Raspberry Pi progress?

Unfortunately no progress as everyone is waiting for the Broadcomm Android video drivers to be released.

http://www.raspberrypi.org/phpBB3/viewforum.php?f=73
 

10
Games programming / Re: Sound
« on: January 16, 2013, 01:54:57 PM »
1 ) Can someone please give some advice how to play a sound file (from the sound library) in a continuous loop.
      (Maybe some sample code?)

2) Is there any way to control the volume of sounds being played?

Hello

I'm sorry for the delay in replying but its taken me a while to check this out as its quite complex.

The SoundPlay command works fine:-

syntax --- SoundPlay(channel,filename)

Code: [Select]
SoundPlay(1,'mysound.mp3')
About the sound and video library - there are problems on some devices with the sound not starting.
Its strange - because if they are attached to a button then the sounds play fine.

Anyhow, I'll get this checked out.

About the HyperNext Studio movie and sound commands that you mentioned in your email - well they are not fully linked in to HAC - but are on the To-Do list - somehow they were missed in the conversion process.
 

Malkom





11
Windows / HAC does not run - Windows 7
« on: January 15, 2013, 11:48:08 AM »
Hello

Just received this help from a HAC user who installed it correctly but couldn't get it to run - after double clicking its icon, HAC just wouldn't start yet no error messages were displayed.

This link helped:-

http://answers.microsoft.com/en-us/windows/forum/windows_vista-windows_programs/quicken-program-wont-open/60c59409-6a3f-454e-8bba-8dad9bf8a3d9

but he found that HAC runs better under Windows 7 - via.... "Windows XP Virtual Machine"

http://lifehacker.com/5245396/set-up-and-use-xp-mode-in-windows-7

Malkom




12
Getting Started / Re: write to a file
« on: January 14, 2013, 03:06:10 PM »
Hi Malkom,

I installed the program again full version and now it seemed to work.
I can create a apk file.

When trying to install it on a android phone or tablet I get the message programm not installed.
Is this because something is missed?

I did once a file from a member here and that was installed, but later I got a message again.

regards,
Dave

Hi Dave

Thanks for the info on this.

Could you please post the full log of when you try to run it on your Android Device - clearing the log first will help.

Also - are you running the DDMS (debugger) ?  - this shows the response from the Android device.
If not, it can be run from the HAC's Go menu - option Debugger DDMS

Malkom

13
Getting Started / Re: write to a file
« on: January 09, 2013, 08:37:54 AM »
Hi Dave

Thanks for the debug info.

It looks like there might be a problem with Java or the Android paths.
In this section of the debug info you posted the path to Java is empty:-

  DONE
PH_6 Android_SignAPK .....TYPE:---   debug.keystore
Debug Key
C:\Users\D vd Hurk\Documents\My Android  projects>cd ""
C:\Users\D vd Hurk\Documents\My Android  projects


We need to check that you have version 6.x of 32 bit Java installed and that your paths are correct.

The file paths can be examined from HAC using its Menu Android - Option Android Paths - and all the check boxes should be ticked green.

These posts might help:-

http://www.hypernextandroid.com/forum/index.php?topic=13.0

http://www.hypernextandroid.com/forum/index.php?topic=119.msg226#msg226


Malkom

14
Getting Started / Re: write to a file
« on: January 07, 2013, 11:21:49 PM »
Is it also possible to use this to connect a file at a server (website)

To read a file from the web there is a UrlExistsFN function and an example project Stock Quote that reads a file (web page) and parses it.

This post gives some detail on fetching a web page

http://www.hypernextandroid.com/forum/index.php?topic=78.msg154#msg154

There is also some info on this in the Help pdf and HAC's built in help.

Malkom

15
Graphics / Re: own backround
« on: January 07, 2013, 11:11:44 PM »
Hi

Actually its a very good question :)

(1) Its always there in you built app so no need to do anything there.

(2) However, its not there by default in your project's folder so you will need to create it - the correct spelling is Local
    This is shown in a post above although its not easy to spot.

I hope this helps.

Malkom




Pages: [1] 2 3 ... 18