|
|
2008-10-15
, 03:20
|
|
Posts: 164 |
Thanked: 18 times |
Joined on Dec 2007
|
#62
|
|
|
2008-10-15
, 04:34
|
|
|
Posts: 213 |
Thanked: 27 times |
Joined on Oct 2007
@ Detroit, MI
|
#63
|
|
|
2008-10-15
, 04:52
|
|
Posts: 164 |
Thanked: 18 times |
Joined on Dec 2007
|
#64
|
|
|
2008-10-15
, 06:50
|
|
|
Posts: 4,930 |
Thanked: 2,272 times |
Joined on Oct 2007
|
#65
|
|
|
2008-10-15
, 07:46
|
|
|
Posts: 4,707 |
Thanked: 4,643 times |
Joined on Oct 2007
@ Bulgaria
|
#66
|
What I think is happening is Bundyo is running a System call that is hanging and just waiting for the command to stop before closing... so Maemo thinks the App is hung, not knowing it was designed that way.
|
|
2008-10-15
, 08:26
|
|
|
Posts: 291 |
Thanked: 124 times |
Joined on Feb 2006
@ Trier, Germany
|
#68
|
|
|
2008-10-15
, 09:18
|
|
|
Posts: 4,707 |
Thanked: 4,643 times |
Joined on Oct 2007
@ Bulgaria
|
#69
|


| The Following User Says Thank You to Bundyo For This Useful Post: | ||
|
|
2008-10-15
, 09:26
|
|
|
Posts: 4,707 |
Thanked: 4,643 times |
Joined on Oct 2007
@ Bulgaria
|
#70
|
using GLib;
using Gtk;
using Gdk;
using Hildon;
using Osso;
public string apptitle;
public string exttext;
public string filename;
static void println (string str) {
stdout.printf ("%s\n", str);
}
public class mainProgram : Hildon.Program {
private Hildon.Window window;
private Label label;
private Pid pid;
construct {
window = new Hildon.Window ();
window.set_icon_from_file ("/usr/share/pixmaps/"+apptitle.down()+".png");
window.destroy += Gtk.main_quit;
add_window (window);
label = new Label(exttext);
window.add(label);
Environment.set_application_name (apptitle);
window.map_event += activate;
window.show_all();
}
private bool activate() {
string[] buf = new string[1];
buf[0] = filename;
Process.spawn_async( null, buf, null, SpawnFlags.DO_NOT_REAP_CHILD, null, out this.pid );
ChildWatch.add (this.pid, child_exited);
return false;
}
private void child_exited (Pid pid, int status) {
Gtk.main_quit();
}
static int main (string[] args) {
Osso.Context ctx;
Gtk.init (ref args);
apptitle = args[1];
filename = args[2];
exttext = args[3];
ctx = new Osso.Context(apptitle, "0.2", false, null);
if (ctx.display_state_on() != Osso.Error.OK)
println("Error: Osso Initialize failed.\n");
var prg = new mainProgram ();
Gtk.main();
return 0;
}
}
| The Following User Says Thank You to Bundyo For This Useful Post: | ||
![]() |
| Tags |
| debian, firefox, gimp, java, openoffice |
| Thread Tools | |
|
"TAR ERROR
ERROR! ERROR! ERROR!
TAR FAILED!
(MAYBE OUT OF SPACE ERROR)
Unable to install EASY DEBIAN IMAGE FILE"
How did you go about fixing it?