Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 24 Oct 2014, 08:11
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
Android programming using Puppy Linux
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [13 Posts]  
Author Message
tronkel


Joined: 30 Sep 2005
Posts: 1101
Location: Vienna Austria

PostPosted: Sun 24 Apr 2011, 05:56    Post subject:  Android programming using Puppy Linux
Subject description: Works in latest spup-100
 

Google have just stolen a march on Apple iPhone with their new App Inventor system that allows you to program your Android smartphone over the internet and without knowing any code. Connect the phone to your Puppy PC using USB.

Its still in Beta under Google Labs , but anyone with a Gmail account can use it. Simply connect your Android smartphone to your PC running say, Puppy SPUP-100. The built-in Seamonkey browser seems to have a problem with the Blocks Editor though, (in which you simply use jigsaw-like components to build your object events and their associated handlers). Just install Firefox 4 as a work-around.

You'll also need to have a Java JRE runtime installed. See the "learn" toolbar item within App Inventor to check out and troubleshoot your Java installation.

This is serious fun. Even 6-year-olds will be building Android apps in no time - no kidding! Attached screen dumps were taken from Within Firefox 4 running under the latest SPUP.

Puppy Linux is now your Android friend as well.
jigsaw.jpg
Description 
jpg

 Download 
Filename  jigsaw.jpg 
Filesize  36.34 KB 
Downloaded  636 Time(s) 
Fidi.jpg
Description 
jpg

 Download 
Filename  Fidi.jpg 
Filesize  78.43 KB 
Downloaded  581 Time(s) 

_________________
Life is too short to spend it in front of a computer
Back to top
View user's profile Send private message Visit poster's website AIM Address 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: Sun 24 Apr 2011, 06:19    Post subject:  

Which android phone have you got and do you recommend it?
If this visual building of apps can be done for a phone shouldnt it be possible with some hacking, to visually build puppy apps too?

_________________

ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_

<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
Back to top
View user's profile Send private message Visit poster's website 
tronkel


Joined: 30 Sep 2005
Posts: 1101
Location: Vienna Austria

PostPosted: Sun 24 Apr 2011, 07:26    Post subject:  

@aarf

I use a Motorola Defy. It's a very good smartphone that I can recommend and works fine with App Inventor. (Android 2.1 Eclair is the OS).

Google do not specify which programming language is used within App Inventor. It's not Java and only runs inside of the App Inventor application from within a browser. It seems to be a big secret at least for now.

You're quite right though - something similar for Puppy development would be amazingly handy to have. A big job to implement, but who knows what's possible.

_________________
Life is too short to spend it in front of a computer
Back to top
View user's profile Send private message Visit poster's website AIM Address 
disciple

Joined: 20 May 2006
Posts: 6449
Location: Auckland, New Zealand

PostPosted: Tue 26 Apr 2011, 02:56    Post subject:  

Quote:
Google have just stolen a march on Apple iPhone

I'm not sure I'd put it that way: letting you program your iPhone would be very contradictory to Apple's belief that Apple should control what software you can install on your iPhone and what it can do Wink

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Tue 26 Apr 2011, 10:38    Post subject:  

How easy is it?
Could a fish use it?
Do you need a smartphone?

A fish could use it and creating apps does not
require a smart-phone
and I suppose you could run the apps on the Android emulator for the Eeepc . . .

Smile
Screenshot.png
Description 
png

 Download 
Filename  Screenshot.png 
Filesize  76.25 KB 
Downloaded  458 Time(s) 

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
tronkel


Joined: 30 Sep 2005
Posts: 1101
Location: Vienna Austria

PostPosted: Tue 26 Apr 2011, 12:06    Post subject:  

Lobster wrote:

Quote:
How easy is it?
Could a fish use it?
Do you need a smartphone?


How easy is it?
If I can manage it anyone can.

Could a fish use it?
A chip can allow you to program a computer. Fish & Chips is a wonderful thing (Blighty export) and should produce amazing software.

Do you need a smartphone?
Ideally you do need an Android Smartphone. If you don't have one of these, you can use the emulator that's embedded in the Google App Inventor.

_________________
Life is too short to spend it in front of a computer
Back to top
View user's profile Send private message Visit poster's website AIM Address 
Lord_Solrac2

Joined: 22 Dec 2010
Posts: 35
Location: Gurabo, Puerto Rico

PostPosted: Wed 27 Apr 2011, 12:56    Post subject:  

Question:: Where can we get this? O.O (No Links Dx)
Back to top
View user's profile Send private message AIM Address Yahoo Messenger 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Wed 27 Apr 2011, 14:27    Post subject:  

Lord_Solrac2 wrote:
Question:: Where can we get this? O.O (No Links Dx)

You get it following this description Smile

Quote:


anyone with a Gmail account can use it. Simply connect your Android smartphone to your PC running say, Puppy SPUP-100. The built-in Seamonkey browser seems to have a problem with the Blocks Editor though, (in which you simply use jigsaw-like components to build your object events and their associated handlers). Just install Firefox 4 as a work-around.

You'll also need to have a Java JRE runtime installed. See the "learn" toolbar item within App Inventor to check out and troubleshoot your Java installation.


Tronkel I have not tested. I do have spup00 and I have two such android phones but this part

Simply connect your Android smartphone to your PC running say, Puppy SPUP-100. ...Just install Firefox 4 as a work-around.

Okay I have that one too but the Java thing how did you get that one.

You'll also need to have a Java JRE runtime installed. See the "learn" toolbar item within App Inventor to check out and troubleshoot your Java installation.

And the first part. I sure have an USB cable to connect but one need to set the Android phone in the right way or it just get charged by the usb connection or try to set up Sony Ericson Suite something Smile

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: Wed 27 Apr 2011, 14:44    Post subject:  

There are java sfs around. They may work with spup100.
_________________

ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_

<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
Back to top
View user's profile Send private message Visit poster's website 
tronkel


Joined: 30 Sep 2005
Posts: 1101
Location: Vienna Austria

PostPosted: Thu 28 Apr 2011, 13:39    Post subject:  

nooby wrote:

Quote:
Okay I have that one too but the Java thing how did you get that one.


Yes, good question. Best thing is to solve these problems step by step. First of all configure Firefox so that it can see your Java installation.

To do this, open the about:config page in Firefox 4. You do this by typing about:config in the address bar. Next thing is to do a search for "java" from within the about:config screen and locate the java.default_java_location_others path item. You need to modify this to your own java path. Mine now reads:

java.default_java_location_others;/mnt/home/java1.6.0_24/bin

Do this by right-clicking the item and select the "modify" option.

Try this. If you need more help, get back to me.

_________________
Life is too short to spend it in front of a computer
Back to top
View user's profile Send private message Visit poster's website AIM Address 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Thu 28 Apr 2011, 13:54    Post subject:  

Tronkel, that seems to be the right way to do it. I would never have known without you telling me so much appreciated that you described it.

I guess I need a java pet or sfs that is apt for the kernel my puppy use?

Ms Windows seems to have two competing jawa things. Some say one of them better than the other. I have not touched Ms Win for years. So good that I can get it going in Puppy . Thanks.

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
tronkel


Joined: 30 Sep 2005
Posts: 1101
Location: Vienna Austria

PostPosted: Thu 28 Apr 2011, 16:51    Post subject:  

@nooby

Go to this link and download the latest Sun-JRE

http://javadl.sun.com/webapps/download/AutoDL?BundleId=48334

Save it in your /mnt/home directory, open a terminal and run the .bin executable from there. This will create a directory containing the java stuff in /mnt/home. Then point Firefox 4 that location.

Or else you can google around for a Puppy sfs or pet for Java. The Puppy Wiki has some links to these as far as I remember. This original Sun-JRE is maybe a tad easier to install. Main thing is that it works.

_________________
Life is too short to spend it in front of a computer
Back to top
View user's profile Send private message Visit poster's website AIM Address 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Thu 28 Apr 2011, 22:12    Post subject:  

From the picture enclosed earlier you can see I started designing an app . . . That was an easy bit
Started to slot in programming modules and it became harder and I thought far better to design apps that work across all smartphones, OS and platforms without being tied to Google vision.

So must learn that HTML5
http://bit.ly/fDBSHq Smile

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [13 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0810s ][ Queries: 12 (0.0064s) ][ GZIP on ]