Jump to content

IPB


- - - - -

Add text box to springboard


54 replies to this topic

#41 gingerwill199

  • Members
  • 261 posts

Posted 20 July 2011 - 03:57 PM

C0dehacker could you plz add the code to the original code so the textbox is visible when keybopard up :)

#42 iAdde

  • Members
  • 344 posts

Posted 20 July 2011 - 05:22 PM

4.1 does have the "original" notifications popup:)?

#43 PaulBird

  • Members
  • 536 posts

Posted 20 July 2011 - 05:33 PM

could codehaker or helios plz post their source code for this tweak, i want to study it:) also where did u learn mobilestrate programming?

#44 Hacker

  • Members
  • 12,266 posts
  • iPhone:iPhone 4S
  • iPod touch:iPod touch 4G, iPod touch 2G, iPod touch 1G
  • iPad:iPad 2
  • Mac:MacBook Pro
  • Apple TV:Apple TV 2G

Posted 20 July 2011 - 10:57 PM

(sorry if you've already got this working, only skimmed it)

As the textfield its too low down the screen for the keyboard to appear while letting you see what your typing when the user clicks the textfield and the keyboard will appear (but hasn't) comes up I'd capture a UIImage of the screen at that point, display it as the background image of a UIButton covering the entire screen (added just below the textfield), animate the button + text field up as the keyboard animates into view.
Then when try click done or tap the rest of the screen dismiss the keyboard and animate the image back to its normal position. After the animation remove the fullscreen image/button.

Personally I like the idea of faking the effect of moving springboard up and down then actually messing with springboard.

(I'll try coding it up in the morning)

Developer of : SwipeSelection - CardSwitcher - Emblem - MountainCenter - Check


#45 Hacker

  • Members
  • 12,266 posts
  • iPhone:iPhone 4S
  • iPod touch:iPod touch 4G, iPod touch 2G, iPod touch 1G
  • iPad:iPad 2
  • Mac:MacBook Pro
  • Apple TV:Apple TV 2G

Posted 20 July 2011 - 11:11 PM

View PostNexusOneRulez, on 20 July 2011 - 05:33 PM, said:

could codehaker or helios plz post their source code for this tweak, i want to study it:) also where did u learn mobilestrate programming?
Mobile substrate programming is just normal iOS development (Obj-C) but rather then your code being executed by an app it's embedded into an existing part of iOS.

Like this "textfield on springboard please". The code they posted is just (in English rather the objc).
%hook-into-("Sprongboard")

-()A-Bit-Of-Code-you-know-will-get-run{
    %do-what-is-meant-to-happen;

    TextField = [new textfield];
    [springboard addView:TextField];
}

%end-customizations



That's just pseudo code meant to show non programmers what it does. (it would never compile).

Tweak development is mostly just probing iOS with class dump + Cycript, then trial & error.

Developer of : SwipeSelection - CardSwitcher - Emblem - MountainCenter - Check


#46 PaulBird

  • Members
  • 536 posts

Posted 21 July 2011 - 12:02 AM

thank u for the brief tutorial :)

and how do i do a class dump?
sorry.. : \

#47 C0deH4cker

  • Members
  • 501 posts

Posted 21 July 2011 - 01:15 AM

Get class dump z from ininjas repo, then run:

su
alpine
cd /var/mobile
mkdir dump
mkdir dump/SpringBoard
class-dump-z -H -o dump/SpringBoard /System/Library/CoreServices/SpringBoard.app/SpringBoard

Posted Image
Coming July 1st

#48 PaulBird

  • Members
  • 536 posts

Posted 21 July 2011 - 01:43 AM

wow:) thank u very much!!! lol i forgot that our repo had that :P silly ol' me

#49 PaulBird

  • Members
  • 536 posts

Posted 21 July 2011 - 01:55 AM

lol dw, ik :D im from Googles (PaulBird)!

#50 C0deH4cker

  • Members
  • 501 posts

Posted 22 July 2011 - 02:13 AM

Theres no [nobbc] tag on this site?
Posted Image
Coming July 1st

#51 PaulBird

  • Members
  • 536 posts

Posted 22 July 2011 - 02:16 AM

View PostC0deH4cker, on 21 July 2011 - 01:15 AM, said:

Get class dump z from ininjas repo, then run:

su
alpine
cd /var/mobile
mkdir dump
mkdir dump/SpringBoard
class-dump-z -H -o dump/SpringBoard /System/Library/CoreServices/SpringBoard.app/SpringBoard


is there anyway to get passed the encyption when trying a class dump of an appstore app :( ? ty

#52 C0deH4cker

  • Members
  • 501 posts

Posted 22 July 2011 - 07:29 PM

You have to crack it. Its legal as long as you dont redistribute it.
Posted Image
Coming July 1st

#53 PaulBird

  • Members
  • 536 posts

Posted 23 July 2011 - 01:39 AM

aight

:D

thanks

#54 computer

  • Members
  • 1,567 posts
  • iPhone:iPhone 4S
  • iPod touch:iPod touch 4G

Posted 26 April 2012 - 05:00 AM

Bump. So is there a deb I can download for this?

#55 ill_graphics

  • Members
  • 25 posts

Posted 28 February 2013 - 01:31 PM

Did anyone get this to work & compiled? I find this kind of interesting & have a friend that would find this quite useful. Thanks in advance