Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 12-22-2012, 08:31 AM   #136
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021142
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
okay so... to get this working on as many devices as we can:

The gui is the issue. since on the 3 the level of separation of the kindlet from the python layer makes handling updated files require some home-brewed methods of file watching.

It's also tricky to test locally. As the gui won't "run" on a pc, without wrapping it in something (the snake game amongst others does actually have examples of this)

so - to recap - I don't want to do it as a kindlet. I will repurpose this code to be a launcher for the Gnuboy games on the 3 perhaps.

So what do we use? And how do we get around the separation from python.


One thought would be to implement a pure c interface to the soundcloud API. as it happens someone did this a few years back - hopefully the code isn't too rotten. It was...
Spoiler:

That would require -loauth -lssl -lcrypto support.

So, to that end, I saw about building a liboauth with buildroot last night. and am playing with getting the buildroot libraries and resources available to the Toolchain.

so far I have

CFLAGS="-U_FORTIFY_SOURCE -fno-stack-protector -O2 -fno-finite-math-only -ffast-math -march=armv6j -mtune=arm1136jf-s -mfpu=vfp -pipe -fomit-frame-pointer -fPIC" /opt/arm-2007q3/bin/arm-none-linux-gnueabi-gcc test.c -o test `~/GIT/buildroot-2012.03/output/host/usr/bin/pkg-config gtk+-2.0 --cflags` -L~/GIT/buildroot/output/host/usr/arm-unknown-linux-gnueabi/sysroot/lib/ -L./lib/ -lgtk-directfb-2.0 -lgdk-directfb-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lpixman-1 -lpng12 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lfontconfig -lfreetype -lz -lexpat -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -ljpeg -ldirectfb-1.2 -lfusion -ldirect-1.2 -loauth -lssl -lcrypto -lcrypto1 -I./usr/include -I./usr/include/directfb


which does actually build now on the PC at least. however.. the use of the directFB calls and oauth does mean for now this nerfs my local testing. Therefore I will carry on building the Touch version and simply backport the code to the 3 when happy.

Thus allowing for local testing.

Just thought I should share the the project isn't entirely stalled. just in a holding pattern while we get the ui sorted.

Last edited by twobob; 12-24-2012 at 06:08 AM.
twobob is offline   Reply With Quote
Old 12-22-2012, 09:52 AM   #137
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021142
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
and to test it locally

~/k3-dev $ CFLAGS="-fno-stack-protector -O2 -fno-finite-math-only -ffast-math -pipe" gcc test.c -o test `pkg-config gtk+-2.0 --cflags --libs`-I./usr/include -I./usr/include/directfb

works fine now
twobob is offline   Reply With Quote
Old 12-22-2012, 03:21 PM   #138
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021142
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
http://docs.python.org/release/2.4.2...ingPython.html
Spoiler:

One for you to have a run through there qlob.

gonna be needing that RSN I imagine.
nm I read it

and one for me http://www.gtk.org/api/2.6/gtk/gtk-General.html oh and http://ehuss.net/shared/ since I am having to re write that windows specific c-soundcloud library - ho hum

EDIT: Okay I think I got the library rewritten enough to build under linux, linked and running on the PC. next up test it doesnt explode a kindle and then invoke some methods.

I successfully instantiated an instance of the Kloud Api object before concluding testing for the night. seems to work okay.

EDIT: But it blows up on transferring data and wont play nice on my other kindle.
Will investigate reintegrating python via c. if it aint broke...

Last edited by twobob; 12-24-2012 at 06:07 AM.
twobob is offline   Reply With Quote
Old 12-24-2012, 12:32 AM   #139
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021142
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
doh.

another few hours burned on silliness.
https://github.com/soundcloud/soundc...thon/issues/17

ah well. back to testing on the Touch then now it works too

Assuming we are still going to use mplayer we should probably look at:
http://www.mplayerhq.hu/DOCS/tech/slave.txt

which means we probably want to pump a fifo? maybe?
http://developer.gnome.org/glib/stab...-Channels.html

someone else was doing this IIRC. feel free to chip with some tips about controlling mplayer remotely.

I have the gtk main loop running (needs extending with events), I have forked data, I have mplayer, just need a bit of time...


Here was an interesting thing I found: "GtkWorker (Python recipe)"
http://code.activestate.com/recipes/521881/

Notes on fixing the menus popping up in a new window each time
http://stackoverflow.com/questions/1...gnal-is-emitte
Attached Thumbnails
Click image for larger version

Name:	TightVNC: kindle:0.0_083.png
Views:	37
Size:	64.0 KB
ID:	98142   Click image for larger version

Name:	TightVNC: kindle:0.0_084.png
Views:	33
Size:	49.0 KB
ID:	98152   Click image for larger version

Name:	TightVNC: kindle:0.0_085.png
Views:	39
Size:	49.5 KB
ID:	98153   Click image for larger version

Name:	TightVNC: kindle:0.0_086.png
Views:	34
Size:	20.6 KB
ID:	98154   Click image for larger version

Name:	TightVNC: kindle:0.0_087.png
Views:	32
Size:	12.1 KB
ID:	98155   Click image for larger version

Name:	TightVNC: kindle:0.0_088.png
Views:	27
Size:	20.1 KB
ID:	98156   Click image for larger version

Name:	TightVNC: kindle:0.0_089.png
Views:	29
Size:	23.5 KB
ID:	98157  

Last edited by twobob; 01-04-2013 at 06:25 PM. Reason: clarity
twobob is offline   Reply With Quote
Old 12-24-2012, 06:52 PM   #140
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021142
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
above display was of http://git.gnome.org/browse/gtk+/tree/demos/gtk-demo
(ref: http://www.gtk.org/api/2.6/gtk/gtk-General.html and http://developer.gnome.org/gtk-tutorial/stable/)

to actually invoke the individual demos one would http://stackoverflow.com/questions/2...-run-gtk-demos

another interesting snippet of code for another project.
Calling https://trac.webkit.org/browser#releases/WebKitGTK (http://webkitgtk.org/?page=download)

Spoiler:
Code:
/*
 * Copyright (C) 2006, 2007 Apple Inc.
 * Copyright (C) 2007 Alp Toker <alp@atoker.com>
 * Copyright (C) 2011 Lukasz Slachciak
 * Copyright (C) 2011 Bob Murphy
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in the
 *    documentation and/or other materials provided with the distribution.
 *
 * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
 * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
#include <gtk/gtk.h>
#include <webkit/webkit.h>
static void destroyWindowCb(GtkWidget* widget, GtkWidget* window);
static gboolean closeWebViewCb(WebKitWebView* webView, GtkWidget* window);
int main(int argc, char* argv[])
{
    // Initialize GTK+
    gtk_init(&argc, &argv);
    // Create an 800x600 window that will contain the browser instance
    GtkWidget *main_window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
    gtk_window_set_default_size(GTK_WINDOW(main_window), 800, 600);
    // Create a browser instance
    WebKitWebView *webView = WEBKIT_WEB_VIEW(webkit_web_view_new());
    // Create a scrollable area, and put the browser instance into it
    GtkWidget *scrolledWindow = gtk_scrolled_window_new(NULL, NULL);
    gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolledWindow),
            GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
    gtk_container_add(GTK_CONTAINER(scrolledWindow), GTK_WIDGET(webView));
    // Set up callbacks so that if either the main window or the browser instance is
    // closed, the program will exit
    g_signal_connect(main_window, "destroy", G_CALLBACK(destroyWindowCb), NULL);
    g_signal_connect(webView, "close-web-view", G_CALLBACK(closeWebViewCb), main_window);
    // Put the scrollable area into the main window
    gtk_container_add(GTK_CONTAINER(main_window), scrolledWindow);    // Load a web page into the browser instance
    webkit_web_view_load_uri(webView, "http://www.webkitgtk.org/");
    // Make sure that when the browser area becomes visible, it will get mouse
    // and keyboard events
    gtk_widget_grab_focus(GTK_WIDGET(webView));
    // Make sure the main window and all its contents are visible
    gtk_widget_show_all(main_window);
    // Run the main GTK+ event loop
    gtk_main();
    return 0;
}
static void destroyWindowCb(GtkWidget* widget, GtkWidget* window)
{
    gtk_main_quit();
}
static gboolean closeWebViewCb(WebKitWebView* webView, GtkWidget* window)
{
    gtk_widget_destroy(window);
    return TRUE;
}

Last edited by twobob; 12-26-2012 at 06:45 PM.
twobob is offline   Reply With Quote
Old 12-24-2012, 08:16 PM   #141
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021142
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Why the menus look horrible...

Why the menus look horrible...
Spoiler:


Quote:
It is important to make the distinction between what GTK+ controls and what the window manager controls. You are able to make recommendations and requests for the size and placement of top-level widgets. However, the window manager has ultimate control of these
features.
Conversely, you can use GTK_WINDOW_POPUP to create a pop-up window, although its name is somewhat misleading in GTK+. Pop-up windows are used for things that are not normally thought of as windows, such as tooltips and menus. Pop-up windows are ignored by the window manager, and therefore, they have no decorations or border frame.

There is no way to minimize or maximize a pop-up window, because the window manager does not know about them. Resize grips are not shown, and default key bindings will not work.

GTK_WINDOW_TOPLEVEL and GTK_WINDOW_POPUP are the only two elements available in the GtkWindowType enumeration. In most cases, you will want to use GTK_WINDOW_TOPLEVEL, unless there is a compelling reason not to.

Note You should not use GTK_WINDOW_POPUP if you only want window manager decorations turned off for the window. Instead, use gtk_window_set_decorated (GtkWindow *window, gboolean show) to turn off window decorations.


Code to start splatting stuff back into gtk into helpful pieces...
Spoiler:

Code:
#!python
# encoding: utf-8
# encoding declaration as specified here http://www.python.org/dev/peps/pep-0263/
import soundcloud
import subprocess 
import sys
import os
from time import sleep
import random
# create client object with app and user credentials
client = soundcloud.Client(client_id='8c882aabb8d9314021b236a291cd874c',
                           client_secret='blahbebalh')
                           
tracks = client.get('/tracks', q = sys.argv[1], limit=5,filter="streamable")
generator = random.Random()
i = 1
temp = {} #initalize dictionary

for track in tracks:
#  temptrk =  u'[{2}] Title: {0}\n ID: {1}'.format(track.title.encode('utf-8'), track.id, i) 
    
    titleage = track.title.encode('utf-8')

    tempy = titleage+'\n'

    temp.update({i:track.id}) #set dictionary key
    i=i + 1
  #  print tempy

#Let's just play the last one for now  

#return full list of links
for listing in range(1,i):
	queryb = listing
	trackid = temp.get(queryb) #retrieve key
	track = client.get('/tracks/{0}'.format(trackid))
	#tempart = "Artist: {0}\nDuration (in secs): {1}".format(track.user.get(u'username'), (track.duration/1000))
	temptitle= track.title.encode('utf-8')
	stream_url = client.get(track.stream_url, allow_redirects=False)
	
# this next bit actually gets returned.

	print "{0}¬{1} &".format(temptitle,stream_url.location)
#print "Track Loading complete"




Thoughts on delimiters. and why we have chosen ¬
Spoiler:
/*

DELIMS:

Excluded US-ASCII Characters disallowed within the URI syntax:

control = <US-ASCII coded characters 00-1F and 7F hexadecimal>
space = <US-ASCII coded character 20 hexadecimal>
delims = "<" | ">" | "#" | "%" | <">
unwise = "{" | "}" | "|" | "\" | "^" | "[" | "]" | "`"
reserved = ";" | "/" | "?" | ":" | "@" | "&" | "=" | "+" | "$" | ","

for base64 the valid charset is:
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwx yz0123456789+/
the = is used as filler for the last bytes, as the length must be mulitple of 3

*/


Okay long story short - I got it all working again. but this time with no stupid lag or asynchrous menuing (well, so far) attached final pic of working playback menu.

next up.. searching.
Attached Thumbnails
Click image for larger version

Name:	TightVNC: kindle:0.0_092.png
Views:	28
Size:	35.3 KB
ID:	98261   Click image for larger version

Name:	TightVNC: kindle:0.0_094.png
Views:	25
Size:	31.2 KB
ID:	98263   Click image for larger version

Name:	TightVNC: kindle:0.0_095.png
Views:	24
Size:	31.6 KB
ID:	98265  

Last edited by twobob; 01-06-2013 at 10:25 PM.
twobob is offline   Reply With Quote
Old 12-27-2012, 01:19 AM   #142
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021142
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
heh. a search box. and mainly working playback.

progress...

thanks qlob for chatting over the options with me. helpful.
Attached Thumbnails
Click image for larger version

Name:	TightVNC: kindle:0.0_096.png
Views:	25
Size:	26.7 KB
ID:	98268  
twobob is offline   Reply With Quote
Old 12-27-2012, 01:47 AM   #143
twowheels
Wizard
twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.
 
twowheels's Avatar
 
Posts: 1,139
Karma: 8184229
Join Date: Nov 2010
Device: KPW/DX/iPad2/5S/Tab3 Past:NewtonOMP>N120> Palm3>3c> iPAQ3850>Droid>K3
Quote:
Originally Posted by twobob View Post
okay so... to get this working on as many devices as we can:

I volunteer to do the Paperwhite port!






twowheels is offline   Reply With Quote
Old 12-27-2012, 10:22 AM   #144
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021142
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Quote:
Originally Posted by twowheels View Post
I volunteer to do the Paperwhite port!

Okay. We were talking about this just last night.

OTG USB, tiny usb soundcard affixed to casing. tidiest form factor was the consideration.

Geekmaster had some good ideas on that.

When something rears it's ugly head (like a PW on my desk) perhaps this will get visited.
Attached Thumbnails
Click image for larger version

Name:	TightVNC: kindle:0.0_097.png
Views:	25
Size:	36.2 KB
ID:	98278   Click image for larger version

Name:	TightVNC: kindle:0.0_098.png
Views:	23
Size:	30.6 KB
ID:	98289   Click image for larger version

Name:	TightVNC: kindle:0.0_099.png
Views:	26
Size:	30.6 KB
ID:	98290  

Last edited by twobob; 12-27-2012 at 05:28 PM.
twobob is offline   Reply With Quote
Old 12-27-2012, 01:41 PM   #145
knc1
Embedded Cheerleader
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 6,562
Karma: 5840130
Join Date: Feb 2012
Device: Too many.
I own a Kpw -
I own two of the OTG-Host adapters which Amazon lists for the K4 and K5 -
Might also work on a Kpw -
Don't know - way down on my list of things to check-out.
Anyone that can beat me to that information - go for it!
knc1 is offline   Reply With Quote
Old 12-28-2012, 03:01 AM   #146
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021142
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
some progress.

still getting used to chucking the widgets around in events.

needed some refactoring but in the main moving along.

nice to test locally.
Attached Thumbnails
Click image for larger version

Name:	TightVNC: kindle:0.0_098.png
Views:	27
Size:	30.6 KB
ID:	98297   Click image for larger version

Name:	TightVNC: kindle:0.0_101.png
Views:	28
Size:	14.1 KB
ID:	98298   Click image for larger version

Name:	TightVNC: kindle:0.0_100.png
Views:	27
Size:	36.3 KB
ID:	98299   Click image for larger version

Name:	TightVNC: kindle:0.0_102.png
Views:	25
Size:	14.2 KB
ID:	98300   Click image for larger version

Name:	TightVNC: kindle:0.0_103.png
Views:	26
Size:	21.9 KB
ID:	98301   Click image for larger version

Name:	L:A_N:application_ID:test_104.png
Views:	27
Size:	9.1 KB
ID:	98302   Click image for larger version

Name:	L:A_N:application_ID:test_105.png
Views:	31
Size:	25.6 KB
ID:	98303  
twobob is offline   Reply With Quote
Old 12-28-2012, 04:25 AM   #147
twowheels
Wizard
twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.
 
twowheels's Avatar
 
Posts: 1,139
Karma: 8184229
Join Date: Nov 2010
Device: KPW/DX/iPad2/5S/Tab3 Past:NewtonOMP>N120> Palm3>3c> iPAQ3850>Droid>K3
Quote:
Originally Posted by twobob View Post
Okay. We were talking about this just last night.
Whoops!! I was joking due to its lack of audio capabilities! Even though I'm a software developer and might be capable, I have nowhere near anything resembling free time!
twowheels is offline   Reply With Quote
Old 12-28-2012, 08:04 AM   #148
knc1
Embedded Cheerleader
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 6,562
Karma: 5840130
Join Date: Feb 2012
Device: Too many.
Quote:
Originally Posted by twobob View Post
some progress.

still getting used to chucking the widgets around in events.

needed some refactoring but in the main moving along.

nice to test locally.
Looking great!

Why not take a tip from Amazon's Current Recommendations (which defaults to on) - -

Ship your first release with the default setting to list the music of artist twobob?
knc1 is offline   Reply With Quote
Old 12-28-2012, 11:15 AM   #149
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021142
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Quote:
Originally Posted by twowheels View Post
Whoops!! I was joking due to its lack of audio capabilities! Even though I'm a software developer and might be capable, I have nowhere near anything resembling free time!
Heh. just playing wid ya.

Whilst it is indeed audio nerfed honestly think it could work on the PW.

Figured you were just joshing with us. No qualms.



"free time": hmmm...
Spoiler:

"time" human construct designed to make trains/workers/slaves work punctually.

"free" human construct designed to describe the state of being before time became such an issue.


You know what? your probably better off without it

twobob is offline   Reply With Quote
Old 12-28-2012, 08:43 PM   #150
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021142
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
more progress.

Tabbed search and results page to get around horrible widget destruction issues.

meh I hate it when pointers go out of scope.

Anyways....
Issues fixed: Huge load lag. This (soundcloud-based) delay has been shifted more properly to the search method.

Results not being displayed properly. (no more stupid duplicates)

Currently Needs addressing:
Can only search on artist. (but the python is nice and separate and can be very easily extended, there is provision for multiple-named scripts also)

Some results oddly wont play and return a 403... could be duff filters. will test on the PC.

moving along slowly though

Oh yeah and we also need to get http://www.gtk.org/api/2.6/gdk/gdk-Input-Devices.html working for the 3...


Artists featured so far:
Attached Thumbnails
Click image for larger version

Name:	TightVNC: kindle:0.0_106.png
Views:	26
Size:	18.5 KB
ID:	98347   Click image for larger version

Name:	TightVNC: kindle:0.0_108.png
Views:	26
Size:	52.4 KB
ID:	98348   Click image for larger version

Name:	TightVNC: kindle:0.0_110.png
Views:	25
Size:	18.6 KB
ID:	98349   Click image for larger version

Name:	TightVNC: kindle:0.0_111.png
Views:	24
Size:	41.6 KB
ID:	98350   Click image for larger version

Name:	TightVNC: kindle:0.0_112.png
Views:	23
Size:	21.6 KB
ID:	98351   Click image for larger version

Name:	TightVNC: kindle:0.0_113.png
Views:	23
Size:	39.8 KB
ID:	98352   Click image for larger version

Name:	TightVNC: kindle:0.0_114.png
Views:	23
Size:	21.5 KB
ID:	98353   Click image for larger version

Name:	TightVNC: kindle:0.0_115.png
Views:	25
Size:	40.1 KB
ID:	98354   Click image for larger version

Name:	TightVNC: kindle:0.0_116.png
Views:	22
Size:	29.0 KB
ID:	98355  

Last edited by twobob; 12-29-2012 at 01:36 AM.
twobob is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump


All times are GMT -4. The time now is 04:45 AM.


MobileRead.com is a privately owned, operated and funded community.