How to write a cydia app - objective-c

I was wondering about to create a cydia tweak running on iphone startup and hooking some iphone feature as sms or call.
So I wanted to know where should I start:
How to write a cydia application (xCode? Toolchain? which toolchain? how to install it?)
Where can I found documentation about the hooking methods of the mobile substrate?
How can I star my application on iPhone startup?
I'd be glad if someone can link me THE VERY NOOB guide on how to start jb developpement (I juste develop "officially")
Thanks everybody

I know there are other ways of doing this, but if your a licensed iOS Developer you can simply sign the code in your App and put it on to one of your registered testing Devices that's jailbroken and follow the step by step instructions below:
Download iFile from the Cydia Store. I would suggest paying for it, but you can find other sources where you can get a cracked version. Then use iFile on the device and go into the following directory:
var/mobile/Applications/YourAppName
Select YourAppName.app folder
Tap the zip file button, (between + and trash buttons at bottom of display)
You will be prompted to name the zip file and hit create.
That's the zip file you submit to Cydia, you can email it to yourself from within iFile, or if you want use a program like DiskAid to pull it from your Device. DONE!
TESTING
To test you need to copy the .app file into the following directory:
var/stash/Applications
Exit iFile and Delete your app from the devise. Respring, Reboot, or Restart.
The icon will then be on your desktop.
HOPE THIS HELPS SOMEONE!!!
Note: This is against Apple policy, but if you don't tell I won't ;)

Related

Downloading a deployed app packaged from a Windows Phone device

I've recently had some data loss. I would like to be able to download my compiled app package that I have deployed on my phone. I haven't been able to download the app package that I have uploaded in the store (as they are nearly identical), so if there is a way to do that, that would be amenable as well.
Is there a way to download the app package from a device or from the Store page?
Edit: I should note that by "Store Page" I mean "App Submission Page".
You can download the xap file manually from the application's store page. For example, I have a game that I haven't updated in forever (forgive me) :)
Number Munchers XL
Scroll down to the very bottom on the left side of the page, and you will see
Download and install manually
Learn more
Click on that and you should be greeted with a XAP file download.

Application stuck at "Powered by Titanium screen"

I'm trying to run an app made on Titanium in my cellphone. At first it was working fine, until i decided to debug my code. After that whenever i try to run it on my cellphone, it gets stuck # the powered by titanium screen (that red one).
I tried to delete my build folder as some people said after a bit o research but it won't work.
How can i solve this?
What I would try to do is:
clean the project (it also deletes the build folder, but I think it also cleans some more stuff in there).
when the app starts try to set an alert in app.js as the first thing - see if this alert shows, and if it does - move it to the next step until you find a place where it is no longer shown which might indicate that this is where you problem is.
Look at the device logs - if it's an android device open ddms and look at the logs while you run the app - see if anything pops up. If it's an iPhone on xCode you have some sort of console viewer for the phone (sorry - can't remember the name right now).
make sure you are not still running under debug mode.
BTW - you didn't mention if it happens on iPhone or Android? does it happens on the simulator as well?
I was having the same issue. From digging through Appcelerator's Jira I found we weren't alone, and also got a workaround that allows us to get past the splash screen. Check to see if there is a deploy.json file located in your application's directory on the device. If so delete it!
Here is more info on the issue https://jira.appcelerator.org/browse/TIMOB-16086.
It's rated as a high priority to be corrected for the 3.3.0 SDK release.

How to test Phonegap application on Phonegap emulator

I am using Phonegap build to generate executable files for each platform. Each time I make changes in my code, I have to upload the code on phonegap build and generate new Apk file (for android). I don't want to test on real device, How can I test my code on phonegap emulator??
Getting started guides are very confusing for beginners like me. Please help me out.
You can download the AVD from http://developer.android.com/sdk/index.html. Click on DOWNLOAD FOR OTHER PLATFORMS and choose installer_r22.2.1-windows.exe if you are a windows user. Once you have installed it go to the install dir and execute SDK Manager.exe and download the virtual device images you need. Then execute AVD Manager.exe, create a virtual device and you are ready to go.
I Know I'm late but you can use this to test, then generate your apk when you're done.
Only for chrome

Install an IPA through USB?

After using the "iPhone Configuration Utility" program to install IPA applications to my iPhone on the go, I wondered how this process worked. Within a few Google searches, I found out about "MobileDevice.framework" and the "MobileDevice Library" connected to it. After reading an article of all the Known Functions in the library, I found one called "AMDeviceInstallApplication". I thought this would work once I saw install, but I'm currently perplexed on how to use it.
TL;DR I have IPA files and I want to make an Xcode program (for Mac) that installs the IPA's application to a connected iOS device when a button is pressed.
Also, don't worry about the application not being signed correctly. It is signed with a provisioning profile installed on devices [the application] will be used with.
If you're still interested in this problem I've written a blog entry on how to install apps on a connected iPad / iPhone without using Xcode or iTunes.
This method allows you to run a Terminal command to install an iPA file.
http://pervasivecode.blogspot.co.uk/2012/06/install-ios-app-ipa-file-without-xcode.html
I suppose you could bundle up the terminal commands in your application and use it that way?
I found a simple way to install iPa file to real iPhone or iPad:
Connect iPhone to Mac via USB and follow the below steps:
Steps to follow:
Open Xcode
Click on Window
Select Devices and Simulators
Drag and drop the IPA files into it
App got installed on the iPad

How to put your application on your iphone?

So I made my first iphone application; I want to test for memory leaks and the general feel and design of the user interface, so how do I put it on my iphone?
There is documentation on the developer portal which guides you through provisioning a phone for development purposes. Using Xcode you can set your target to the device after you follow the steps in the dev portal (really simple, but I'd like you to read them from there to ensure you are actually in the program) then you will be able to build and run or build and debug and it will install the app to your phone, where it will run and you can debug it there, attach instruments, etc.
EDIT: Link as requested.