Bitcoin Forum
November 09, 2024, 07:07:17 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 3 4 »  All
  Print  
Author Topic: free source for bitcoin iPhone App  (Read 44562 times)
udibr (OP)
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
April 08, 2011, 12:41:32 AM
 #1

Source at https://github.com/udibr/bitcoinApp

I've managed to run the entire bitcoind on iPhone (both sim and device) on a separate thread inside an App.
The App acts as a client and communicates using the regular RPC-JSON with the bitcoind.
The changes I had to do to bitcoin code are minimal and are described in the "Add bitcoin.org project" section of
https://github.com/udibr/bitcoinApp/blob/master/build-iOS.txt
(at some point I hope they will be merged into the master repo)

For now the only command I have implemented on the client side is "getinfo" but it should be easy to use it as a template and add all commands.

The client is implemented using Three20 package (the same SDK used by the facebook App) so it already has non-trivial features, out of the box.
For example:
* on the info page if you drag the table all the way down you can force it to refresh its content
* every bitcoind command appears as an icon on the launcher screen. It is possible to re-arrange (or delete) these icons, allowing for very nice App customization.

There are many things that needs improvement:
* the client/server response time is slow and not what you expect from an App.
* It takes a while for the daemon to start and until then if you press on the info (getinfo) button you get an error.
* If you put the App in the background the entire thing crashes...
but its a start...
once we will have something reasonable I will try to put it on the App store (not sure what Steve will have to say on this.)

Enjoy, Udi

Clarithium
Member
**
Offline Offline

Activity: 93
Merit: 10


View Profile WWW
April 08, 2011, 12:43:52 AM
 #2

This is a very good idea that I have been waiting for.

While waiting for its App Store release, why not put on a repo for Jailbroken iPod, iPhone's or iPads? Cheesy

I make websites for bitcoins! Will help you host!Click Here
Bitcoin Mining Rigs
1CrNUxx8E9ds1jQ1dexp9FFjhcuUqupdmN
udibr (OP)
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
April 08, 2011, 02:12:51 AM
 #3

I dont have much knowledge in jail-broken dev, but if you want, sign up for an Ad Hoc version at
http://bit.ly/g4FNZX
kangasbros
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1006



View Profile
April 08, 2011, 07:04:22 AM
 #4

I already submitted one Bitcoin iPhone app, but apple rejected because "not useful"-clause. It was just very simple app for following the market stats of Bitcoin. Will put source code to github when I have time...

Anonymous
Guest

April 08, 2011, 07:28:30 AM
 #5

This is a very good idea that I have been waiting for.

While waiting for its App Store release, why not put on a repo for Jailbroken iPod, iPhone's or iPads? Cheesy

Coincidentally I just jailbroke an ipod touch so yes  Cheesy
M4v3R
Hero Member
*****
Offline Offline

Activity: 607
Merit: 500


View Profile
April 08, 2011, 01:36:49 PM
 #6

I dont have much knowledge in jail-broken dev, but if you want, sign up for an Ad Hoc version at
http://bit.ly/g4FNZX


I've did this. Do you provide a build for iPhone 3G? Because I've registered but I have nothing there, except for an information that the developer needs to provide build for my model.
Jered Kenna (TradeHill)
Sr. Member
****
Offline Offline

Activity: 420
Merit: 250



View Profile WWW
April 08, 2011, 09:38:24 PM
 #7

I already submitted one Bitcoin iPhone app, but apple rejected because "not useful"-clause. It was just very simple app for following the market stats of Bitcoin. Will put source code to github when I have time...

Implying everything that makes it to the app store is useful wtf? That seems like it has a good use too.

moneyandtech.com
@moneyandtech @jeredkenna
M4v3R
Hero Member
*****
Offline Offline

Activity: 607
Merit: 500


View Profile
April 09, 2011, 04:39:40 AM
 #8

Meh, Now I see on the Testflight app, that a build is available, but it's only compatible with iOS 4.3, which is beyond me (4.2.1 was the latest version to run on older iPhones).
Clarithium
Member
**
Offline Offline

Activity: 93
Merit: 10


View Profile WWW
April 09, 2011, 05:09:50 AM
 #9

Great... I have an iPhone 3G.  Guess mine isn't supported..?

That's just stupid.

I make websites for bitcoins! Will help you host!Click Here
Bitcoin Mining Rigs
1CrNUxx8E9ds1jQ1dexp9FFjhcuUqupdmN
udibr (OP)
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
April 09, 2011, 11:45:07 AM
 #10

No problem, I'll build a new version which goes back to iOS 4.0 (going back to 3.1.3 will really limit what I can do.)
So PLEASE register your devices for testing if you havent done so already at http://bit.ly/g4FNZX .
Its not enough to signup for the site, you need to register your device

Thanks, Udi
udibr (OP)
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
April 09, 2011, 12:51:10 PM
 #11

0.0.5 crashes on iPhone 3G. Working on it
udibr (OP)
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
April 09, 2011, 03:49:45 PM
 #12

OK a fix at http://bit.ly/glCBLi
if you want to join, signup and register your device (two different button presses) so I will be able to update the version with your unique device number (UDID)

For now there is a long time after starting the App in which you get an Error message on some of the screens, so just wait a little bit or just move around between the pages until the App starts to work.

Again, this is a test program, so the Apps wallet may be lost in future versions (be careful)
Mike Hearn
Legendary
*
Offline Offline

Activity: 1526
Merit: 1134


View Profile
April 10, 2011, 11:57:53 PM
 #13

I'd be worried about this trashing the battery life and/or internal storage. BitCoin is super read/write heavy during the indexing phase. The software wasn't really designed with mobiles in mind. Startup time in particular is going to be "not excellent" even after the block chain is fully downloaded. It takes several seconds even on a high end MacBook, and architecturally that's hard to fix.

However it's definitely a good way to test what Apples reviewer team thinks of it.
Clarithium
Member
**
Offline Offline

Activity: 93
Merit: 10


View Profile WWW
April 11, 2011, 01:32:43 AM
 #14

Just registered my iPhone 3G :]

I make websites for bitcoins! Will help you host!Click Here
Bitcoin Mining Rigs
1CrNUxx8E9ds1jQ1dexp9FFjhcuUqupdmN
Rawrr00
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
April 12, 2011, 02:31:56 AM
 #15

Registered iphone 3gs
udibr (OP)
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
April 16, 2011, 02:25:22 AM
 #16

In the latest release 0.0.13 I have added the option to connect to a remote bitcoin server/daemon.
So you can have your bitcoin machine running in the cloud and connect to it while on the move.

If your interested, you are welcomed to join the team of testers at http://bit.ly/g4FNZX
Escalion
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
April 28, 2011, 09:32:48 AM
 #17

Would anyone have an issue with me going through the code on this and releasing it on the app store?

(I have a developer account)
udibr (OP)
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
April 28, 2011, 10:34:57 PM
 #18

I've already submitted a more advance version of it (1.0.2) to Apple.
The latest message I got from them on April 25 was  "...review process will require additional time..."

udibr (OP)
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
April 28, 2011, 10:48:23 PM
 #19

I continue to update my changes to bitcoin code at https://github.com/udibr/bitcoin
I will have to decide what to do with the App part, once I get an answer from Apple
udibr (OP)
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
May 05, 2011, 08:03:47 PM
 #20

I was called by a person from Apple: App was rejected by Apple because "...it involves intermediate currency..."
I've asked why Apps such as PayPal and Venmo are accepted and he replied that he "does not have time to elaborate"
I then asked if they allow just a console to a remote node (not located on iPhone) and he said that this will also be an App that involves intermediate currency and there for will not be allowed...


Pages: [1] 2 3 4 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!