Menu

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.

Show posts Menu

Topics - ampos

#21
I have try running "deviceshell.bat" (after installing novaterm/pdk-device-install) and putty says "network error: connection refused"

Perhaps something has changed on webos 3.0.5?
#22
Off Topic / Cydia "plugins"
2012-Feb-14
Here is a list of (great) programs to install on iOS with Cydia:

-SBSettings: creates a custom drop down menu (similar to iOS5 notification system)

-Intelliscren (iOS 4) or InstelliscreenX (iOS 5): See in the LockScreen your emails, dates, facebook...

-AdBlocker

-BTSatck GPS: connect to external GPS receivers

-CardSwitcher: multitask as in WebOS

-Five Icon Dock: put 5 icons in the dock.

-Folder Closer: autoclose folders after app launch

-iFile: File Manager and viewer, in any iOS folder.

-No Spot: remove the spot (search) screen

-ProTube: great sustitute of YoutTube app.

-SBBrightness: place a brightness slider to homescreen.

-SpringFlash: fast flashlight (I set it to double click in "power" button)


All this plugins are installed using Cydia on a Jailbroken iOS device. Notice that Jailbroking a iOS device is not illegal, as a recent US sentence said.
#23
Published today:

https://developer.apple.com/news/index.php?id=02062012a

QuoteAdhering to Guidelines on Third-Party Marketing Services
Feb 6, 2012

Once you build a great app, you want everyone to know about it. However, when you promote your app, you should avoid using services that advertise or guarantee top placement in App Store charts. Even if you are not personally engaged in manipulating App Store chart rankings or user reviews, employing services that do so on your behalf may result in the loss of your Apple Developer Program membership. Get helpful tips and resources on marketing your apps the right way from the App Store Resource Center.
#24
Pos eso, que me sale ese mensaje, que el VAT ha caduco o es erroneo, y no consigo que me coja nada... mi DNI es 52000000Z y pongo ES52000000Z y sin Z y nada, que no quiere...

Y ya no recuerdo qué es lo que puse ahí...
#25
Do you have a little girl (around 6 y.o.) at home? Then I need her voice!  :P

If you want to help me, record her reading the numbers from 1 to 26 and A to Z and sent me the wav/mp3 files. I do not need a file for each word, I will edit/cut it here.

The tone has to be strong and funny. I am attaching a sample file I borrowed from a similar game.

Thank you.

[attachment deleted by admin]
#26
My next app, DOTS & LINES, is a kid's "join the dots" game. It has 200 pictures. I plan to sell it with 50 enabled and InApp purchases for the rest.

On WebOS and Android I have to use Paypal for the InApp, so my question is if it will be fine to limit it to paypal payment or release a "plus" version with the 200 pictures enabled, so people without paypal can buy it, or people that does not trust me/paypal enough can have the full version. Of course, if there is a full version out there, the full version can be pirated...

What about a "lite" version with 5 or 10 pictures enabled, and InApp purchases for 50, 100 and 200 pictures? Are demos/lite not worth the effort? Somewhere I read that lite versions only work for people not buying the full version; if there is a full version, some people will just bought it, and perhaps they do not like it a lot, but ->it is a sale!<-

Another idea could be to release the full game and the demo/lite a few months later, when start sales drop. Glowing Sky was on sale 3 months on WebOS until the free app was released. It only sold 15 copies during this 3 months and +100 sales when the demo was out. Anyway, I think it was because a flame war was on the comments (it was set as Pixi compatible and it was not working), so this flame war/1star/5stars/ManyComments just upped the app in the Market sales list. Yes, if you hit the "hot" list your app will sell.

More ideas are wellcomed.
#27
My upcoming game is a "dots and lines" "paint" program for childs: you click numbers/letters on a secuence order to get a hidden picture, with a few variations.

It is called... DOTS AND LINES :D Yes, this name is not on iOS.

I am designing the icon, and it is... ugly.

I would be nice if some you guys can desing something for me... the 512x512 and/or 114x114 ones.

If you want to know, the game is using a sheet of paper as background, so perhaps it could go also on the icon.

Anyway, thank you.
#28
Announcements / 10.205 new?
2011-Dec-17
What does this mean?

QuoteWebOS:
   //    New libs included. Can use WebOS 3.x features now. Please check for
   //    PDL_GetPDKVersion() > 100 if you want features unavailable on 1.4.5
#29
Off Topic / Error on itunes?
2011-Dec-16
Is someone else having problems loggin today to Apple?

I get password error on iphone AppStore and web Developer portal sign in...
#30
Can we have HIBERNATE millisecs?

In my latest program, I have a delay of N seconds every now and then.

I would like to save energy inserting a HIBERNATE command, but then it will not return control to the user until he touches the screen.

Currntly I am using

Code (glbasic) Select
delay=6000
repeat
   sleep 100
   dec delay,100
   if mouseaxis(3)=1 then delay=0
until delay<0


Does sleep also save battery?
#31
Scores on different Android devices using AnTuTu Benchmark free:

https://market.android.com/details?id=com.antutu.ABenchMark

My devices:

COBY 7024: 3035

AndroTouch: 5500 (around this figure, dont remeber now)
#32
I am asking myself if to put a lite/demo version with link to full version has sense on Android, since any purchase can be rejected before 15 minutes timeframe expires...
#33
Strange, 2 days ago I can compile for Android with no problems, but now, witout touching anything, I can compile...

Quote_______________________________________
*** Configuration: ANDROID ***
precompiling:
GPC - GLBasic Precompiler V.10.104 SN:90a22027 - 3D, NET
Wordcount:1704 commands
compile+link:
running Android build-script...
BUILD STAGE 1: Compile and pack
     [echo] Creating output directories if needed...
     [echo] Compiling aidl files into Java classes...
     [echo] Compiling RenderScript files into Java classes and RenderScript bytecode...
     [echo] Generating R.java / Manifest.java from the resources...
     [echo] Converting compiled files and external libraries into D:\Programas\GLBasic\Proyectos\GlowingSky\distribute\Android\bin\classes.dex...
     [echo] Packaging resources
     [echo] No key.store and key.alias properties found in build.properties.
     [echo] Please sign D:\Programas\GLBasic\Proyectos\GlowingSky\distribute\Android\bin\glbasic-unsigned.apk manually
     [echo] and run zipalign from the Android SDK tools.

BUILD SUCCESSFUL
Total time: 6 seconds
BUILD STAGE 2: Install on device
     [echo] Creating output directories if needed...
     [echo] Compiling aidl files into Java classes...
     [echo] Compiling RenderScript files into Java classes and RenderScript bytecode...
     [echo] Generating R.java / Manifest.java from the resources...
     [echo] Converting compiled files and external libraries into D:\Programas\GLBasic\Proyectos\GlowingSky\distribute\Android\bin\classes.dex...
     [echo] Packaging resources
     [echo] Running zip align on final apk...
     [echo] Debug Package: D:\Programas\GLBasic\Proyectos\GlowingSky\distribute\Android\bin\glbasic-debug.apk
     [echo] Installing D:\Programas\GLBasic\Proyectos\GlowingSky\distribute\Android\bin\glbasic-debug.apk onto default emulator or device...

BUILD FAILED
D:\Programas\GLBasic\Compiler\platform\android\android-sdk-windows\tools\ant\main_rules.xml:641: The following error occurred while executing this line:
D:\Programas\GLBasic\Compiler\platform\android\android-sdk-windows\tools\ant\main_rules.xml:271: exec returned: 1

Total time: 7 seconds
finished Android build-script.
Android=D:\Programas\GLBasic\Proyectos\GlowingSky\distribute\Android
success
_______________________________________
*** Finished ***
Elapsed: 21.9 sec. Time: 03:19
Build: 1 succeeded.

Quote*** Configuration: ANDROID ***
precompiling:
GPC - GLBasic Precompiler V.10.104 SN:90a22027 - 3D, NET
"Sandscape.gbas"(189) warning : probably unassigned variable : fin
"Sandscape.gbas"(194) warning : probably unassigned variable : mx
"Sandscape.gbas"(194) warning : probably unassigned variable : my
"Sandscape.gbas"(194) warning : probably unassigned variable : b1
"Sandscape.gbas"(194) warning : probably unassigned variable : b2
"Sandscape.gbas"(246) warning : probably unassigned variable : Rrgb
"Sandscape.gbas"(426) warning : probably unassigned variable : sx
"Sandscape.gbas"(426) warning : probably unassigned variable : sy
"Sandscape.gbas"(560) warning : probably unassigned variable : vv
"Sandscape.gbas"(774) warning : probably unassigned variable : piu
Wordcount:794 commands
compile+link:
running Android build-script...
BUILD STAGE 1: Compile and pack
     [echo] Creating output directories if needed...
     [echo] Compiling aidl files into Java classes...
     [echo] Compiling RenderScript files into Java classes and RenderScript bytecode...
     [echo] Generating R.java / Manifest.java from the resources...

BUILD FAILED
D:\Programas\GLBasic\Compiler\platform\android\android-sdk-windows\tools\ant\main_rules.xml:310: null returned: 1

Total time: 1 second
BUILD STAGE 2: Install on device
     [echo] Creating output directories if needed...
     [echo] Compiling aidl files into Java classes...
     [echo] Compiling RenderScript files into Java classes and RenderScript bytecode...
     [echo] Generating R.java / Manifest.java from the resources...

BUILD FAILED
D:\Programas\GLBasic\Compiler\platform\android\android-sdk-windows\tools\ant\main_rules.xml:310: null returned: 1

Total time: 1 second
finished Android build-script.
Android=D:\Programas\GLBasic\Proyectos\Sandscape\distribute\Android
success
_______________________________________
*** Finished ***
Elapsed: 7.4 sec. Time: 03:20
Build: 1 succeeded.

#34
How can I check for memory leaks on WebOS?

My (problematic) app load jpeg files with LOADSPRITEMEM, resizes to something usable (2048x2048) on another array and MEM2SPRITE. ALl the arrays are local, so they are "freed" after each call... around one each 6 seconds.

Can this scenary run into a memory leak, or memory fragmented issue?

One user has said me that if it has Kindle open, my app just closes (so or Kindle or DPF are eating a lot of memory, or both).

The app has always 3 2048x2048 images on memory, a font bitmap and just a few little sprites for buttons.

Here is my jpg loading routine with resize

Code (glbasic) Select
FUNCTION loadjpg: f$,id
LOCAL w%,h%,ok,pix%[],tpix%[]
LOCAL size=maxsize  //2048 for TP

ok=LOADSPRITEMEM(f$,w%,h%,pix%[])

IF w>size OR h>size
LOCAL sx=INTEGER(w/size)
LOCAL sy=INTEGER(h/size)
LOCAL s=(MAX(sx,sy))
sx=INTEGER(w/s);sy=INTEGER(h/s)
DIM tpix%[(sx*sy)]
ok=0
FOR y=0 TO sy-1
FOR x=0 TO sx-1
tpix[ok]=pix[(x*s)+((y*s)*w)]
INC ok
NEXT
NEXT
MEM2SPRITE(tpix%[],id,sx,sy)
ELSE
MEM2SPRITE(pix[],id,w,h)
ENDIF
ENDFUNCTION


The app is running at my house 24 hrs per day, with 1024x768 pixel photos. When I come from work, 75% of the times the app has crashed with a "unknown error" on WebOS.

I did place log-points on the app, and the crash was never inside the loading routine but in the displaying one. Strange.

Any hint?

Is there a way to reserve a fixed amount of memory for jpg loadings?
#35
Tested with JPG and PNG, and on TouchPad AndroTouch and another Android tablet.
#36
GLBasic - en / Triogonometry
2011-Dec-08
I have an object that has to pursue the mouse. Currently I am using

delta.X=sgn(mouse.x-pos.x)
delta.Y=sgn(mouse.y-pos.y)

But this make it moving just in 45º steps, so it ended forming a "cross"

Then I imagine I have to use SIN and COS to calculate delta.x and delta.y, but right now I am a bit dull and dont know how to calculate the angle between the source (my sprite) and target (the mouse)

It should to start as

vector.x=mouse.x-pos.x
vector.y=mouse.y-pos.y

To get a vector starting point of 0,0...

But I have said, I am a bit dull right now.
#37
I want to rotate a 2D sprite, but I dont get it...

Code (glbasic) Select
ROTOSPRITE id,x1,y1,angle

But I want to do it with sprites...

Code (glbasic) Select
X2=X1+W
Y2=Y1+H

STARTPOLY id
   POLYVECTOR x1,y1,0,0
   POLYVECTOR x1,y2,0,h
   POLYVECTOR x2,y2,w,h
   POLYVECTOR x2,y1,w,0
ENDPOLY


In fact, I want to create my custom ROTOZOOMANIM but with polyvector

I have resolved the ZOOM & ANIM parts, but ROTO part is...  :rant:
#38
The letter my little girls wrote to Santa:

"Dear Santa: this year I only want clothes for the poor nude women in my Dad's computer..."

:D :D :D :D :D :D :D :D :D
#39
GLBasic - en / Free images?
2011-Dec-06
For my next project, I need around 200 images. It is a kids game, "dots and lines", so I need some nice and simple draws  =D and cheaps  :D

Real Life sucks, and I have no money to pay (my shop is not generating enough money for an easy life thanks to the crisis), so I would like to know if some of you knows about some website where I can get or check.

Thank you.
#40
I have a color in the form of 0xFFFFFF, and I want it to fade a %, for example, 50%(0xFFFFFF)=0x808080 (divided by 2, each pair)

What is the math formulae? :)