Showing posts with label iOS. Show all posts
Showing posts with label iOS. Show all posts

September 09, 2020

Record Whatsapp Video Call with Audio on Android

 Hi all,

Keeping legal things apart, if you want to record video call of your own Whatsapp, please use below information

Android Play Store Apps

  1. AZ Screen Recorder - Video Recorder, Livestream
  2. Cube ACR Call Recorder 

iOS

Use the iOS screen recorder option to record the video

Hope this helps you to record whatsapp video.

Please send your comments and feedback to psrdotcom@gmail.com

June 04, 2014

PhoneGap/Cordova iOS App Full Screen/Hide Status Bar completly

Hi Friends,

When we are working with cross platform application development like PhoneGap/Cordova, we might be facing issue with status bar.

Problem:
Status bar comes on the application though we want to have app in a full screen.

iOS Solution:
  • Add the following 2 keys in .plist file
    • view controller-based status bar appearance: NO
    • status bar is initially hidden : YES

I hope this will help you solving your issue.

Please send your feedback and comments to psrdotcom@gmail.com

December 12, 2013

PhoneGap Installation and running Sample Application on iOS



Pre-requisites


Softwares

•     iOS SDK
•     Xcode command line tools
•     Node.js
•     Cordova (Zip)

Setup Environment Variables


•     NODEJS_HOME
•     CORDOVA_IOS

PATH Environment Variable Update

1) Open a terminal prompt

2) Type sudo vi /etc/launchd.conf (note: this file might not yet exist)

3) Put contents like the following into the file

# Set environment variables here so they are available globally to all apps
# (and Terminal), including those launched via Spotlight.
#
# After editing this file run the following command from the terminal to update
# environment variables globally without needing to reboot.
# NOTE: You will still need to restart the relevant application (including
# Terminal) to pick up the changes!
# grep -E "^setenv" /etc/launchd.conf | xargs -t -L 1 launchctl
#
# See http://www.digitaledgesw.com/node/31
# and http://stackoverflow.com/questions/135688/setting-environment-variables-in-os-x/
#
# Note that you must hardcode the paths below, don't use enviroment variables.
# You also need to surround multiple values in quotes, see MAVEN_OPTS example below.
#

# Nodejs Installed path. By default the path is your home directory->.npm directory path
setenv NODEJS_HOME $HOME/.npm

# Choose the location where you have unzipped the cordova iOS folder
setenv CORDOVA_IOS /cordova-ios


PATH Environment Variable Update

create .bash_profile file in your home folder
Enter the following content

#!/bin/bash
export PATH=$PATH:$NODEJS_HOME:$CORDOVA_IOS/bin

Install phonegap

If you are behind a proxy please set the proxy to npm (Node.js) command
Syntax:-
(For HTTP) $ npm config set proxy http://proxy.company.com:port
(For HTTPS) $ npm config set https-proxy http://proxy.company.com:port

Run the install command

$ sudo npm install -g phonegap
$ sudo npm install -g cordova

Note: If you face any errors
  • Remove the .npm directory from the home folder
  • Upgrade npm (sudo npm install -g npm)
  • Clear the global npm cache (sudo npm cache clear)
  • Clear the user npm cache (npm cache clear)

Create Project

Syntax: phonegap create
$ phonegap create hello com.example.hello "HelloWorld"

By default the skeleton folder structure will be created.
Note: if you didn’t get the default skeleton (www, js, css folders and other files), please copy from the sample-hello-world project of phonegap to your www project folder

$ cd hello
$ cordova platform add ios
$ phonegap build ios



Adding Plugins to your project

Pre-requisites

            •           Install Git
Tip: If you are behind a proxy then please add it your configuration
Syntax: git config —global http.proxy http://proxyusername:proxypassword@server.company:port
Ex: git config —global http.proxy http://abc:123@xyz.com:8081

            •           Add git\bin to your PATH environment variable
            •           You need to download the git files from https://git-wip-us.apache.org. So make sure that the above specified URL is not blocked by your firewall
            •           Navigate to your project directory in command prompt by changing the directory
cd

Note:
If you have some issues download cordova zip (unzip cordova-ios zip) and copy it to your home directory-> ~/.cordova/lib/ios/cordova/3.2.0/

Install Plugin

Syntax: phonegap local plugin add
Ex:- phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git

Tip: If this doesn’t run then try with cordova
Syntax: cordova plugin add
Ex:- cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git

Add the Feature to config.xml (Ex: Accelerometer)

    name="Accelerometer">
        name="ios-package" value="CDVAccelerometer" />
   


Remove Plugin

Syntax: phonegap local plugin remove
Ex:- phonegap local plugin remove https://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git

Tip: If this doesn’t run then try with cordova
Syntax: cordova plugin remove
Ex:- cordova plugin remove https://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git

Alternative
You can install “plugman” to plug and play with plugins by following this link
Using Plugman to Manage Plugins
Note: plugman doesn’t take proxy

References

January 25, 2012

Successfully Jailbroken the iPhone 4 with iOS 4.3.3 in Windows XP

Hi friends,

I have successfully jailbroken the iPhone 4 with iOS 4.3.3 of my friend. After watching lot of videos from Youtube, I followed these steps.


Pre-Requisites:
Download and install latest iTunes on PC
Download Apple iOS 4.3.3 firmware IPSW file
Download latest RedSn0w for Windows

Procedure:
  • Unzip the RedSn0w file and execute the "redsn0w.exe" file (Better to run the exe as "Run as Administrator")
  • Click on "Browse" and select the downloaded iOS 4.3.3 firmware file "iPhone3,1_4.3.3_8J2_Restore.ipsw"
  • Click on "Next"
  • The "iPhone3,1_4.3.3_8J2_Restore.ipsw" file will get processed and patches will be applied to iOS kernel
  • Select the "Install Cydia" option, if it hasn't selected
  • Click "Next"
  • Please see the instructions carefully
  • In this step, you need to switch off the device and iPhone should be connected to PC
  • Now, we need perform very important step of the jailbreaking, i.e. putting iPhone in DFU mode
  • Press and hold the "Power Button" for 3 seconds
  • Now, without leaving the "Power Button", press and hold the "Home" button of the iPhone for 10 Seconds
  • Final step, Leave the "Power Button" but hold the "Home" button of the iPhone device for 15 Seconds
  • You can see on PC that it was successfully entered into DFU mode
  • You can see some commands are running on the iPhone 4 (Don't get scared, no issue with your device)
  • After successfully jailbreak the device, iPhone will get rebooted.

Jailbreak Verification Step:
  • If the device is Jailbreaked then the Cydia app will be installed on your iPhone
  • You can browse the iOS filesystem from it

Problems and Solution:
  • If you have problems in entering into DFU mode, then the iPhone will move to "Restore" mode
  • To come out of "Restore" mode, Press and hold the both "Power Button" and "Home Button" for 10 Seconds
  • Again do the procedure from start

References:
http://www.iphone4jailbreak.org/redsn0w-jailbreak-4-3-3-redsnow-un-tethered-jailbreak.html
https://sites.google.com/a/iphone-dev.com/files/home/

Featured Post

Java Introdcution

Please send your review and feedback to psrdotcom@gmail.com