Friday 28 February 2014

Custom Pass Code for Authenticate purpose

Hi,

Today i want to share with you custom keypad with you. i create that and i use this as a passcode . I use it to valid or invalid code. Its for authenticate purpose.

Me and my friend decide to place our code in Appcelerator of All user from appcelerator use that and create awesome application with use this code . its already in Appcelerator marketplace.

Any one can go there and download sample code is free to use.

Link :)

https://marketplace.appcelerator.com/apps/7686

Widget In Appcelerator Marketplace for Picker(iOS)

Again Hi to all

Me and my friend create widget in Appcelerator for picker.

If you want to use same picker multiple time you can use this it reduce the code and also its speed is good .

If any developer reduce the code use this its good.

I want to share my code here but i already publish this in appcelerator marketplace you can take it from there easily and that one is 100% free.

Link :)

https://marketplace.appcelerator.com/apps/7687

Give some idea with animation in Appcelerator

Hi all ,

I just want to share some of my work with you all.

I want to use some animation in appcelerator.

i just want to create animation to creat half round . so it look awesome .

At first i think that how i do this . There are lots of way but i need simple way to create that animation and i use appcelerator default animation .


It look very good i just use default appicon image you can change it your way.

So it look great and make you application attractive.


Here , the source code is available use this

Link :

https://github.com/dharmik/Animation-In-Appceleratoer-For-iOS-

Friday 6 December 2013

Open URL of PDF file in webview in andorid

In appcelerator PDF url is not open directly in webview.

So i suggest you some alternative here.

There are 2 alternative for this .

i hope any of this way may be helps you.

1) Prefer this link with the help of this you can open that PDF in appcelerator http://www.appcelerator.com/blog/2011/09/sharing-project-assets-with-android-intents/

2) Other Alternative

Titanium.Platform.openURL('https://docs.google.com/viewer?url=' + ATTACH YOUR PDF URL);


By this way you can open the PDF in android in Appcelerator or using native intent both ways you have.

Thanks,

Saturday 30 November 2013

GCM PushNotification in Android

Today we learn how to setup GCM push Notification in appcelerator for android.

In this whole process i divided in to 3 steps.

Here we go to start that how configure it.

1) First Step :
     Open this link https://developers.google.com/console/
     than login with you account. Create a new project

    i) "Creating a Google API Project",
    ii)"Enabling the GCM Service"
    iii)"Obtaining an API Key"


Image snap link : http://1.bp.blogspot.com/-AKAcUDtW0gg/UlK8rcpqUQI/AAAAAAAACuI/aq89OFZc2C4/s1600/all_steps.png

2) Second Step :
      Click on this link https://cloud.google.com/console#/project
     You can found you project that you already created.
     Just Click on that and you found the Example: Project Number: 91060sdsdgsd

3) Third Step :
    Now next step open this url https://my.appcelerator.com/apps
    Login with your appcelerator account where you want to configure this vcm.
    Click on your project than at the top side there are two option (Production/Development).
    Click on Development. Now the main menu box will open in that there is 2nd (Second) tab            click on that.
    Now you found in that page Android Push Configuration
    please fill this both fields
    i) Google Cloud Messaging(GCM) API Key:
    ii)Google Cloud Messaging (GCM) sender ID:


when you finish this process you can register use or create user with this code.

Code : ) https://github.com/dharmik/GCM-PushNotification

If any one need help in this please leave comment i will surely help you.

Thanks,
Dharmik

Thursday 14 November 2013

Implement Ti Jasmin in appcelerator

Hi,

I successfully implement Jasmin inappcelerator . i want to share code for implemented Jasmin.

Here the git link. it help you to implement it.


ABOUT IT :

Jasmine is a behavior-driven development framework for testing JavaScript code. It does not depend on any other JavaScript frameworks. It does not require a DOM. And it has a clean, obvious syntax so that you can easily write tests.

It helps me a lot for implement in my current project.

Some of helpful links : http://pivotal.github.io/jasmine/

Source Code Link : https://github.com/dharmik/TiJasmin

If any one face any problem to implement this just Comment your mail address i contact you as soon as possible.

Tuesday 8 October 2013

How to use sugar.js file in Appcelerator ?

// Sugar.js file is very useful in our developing process .

// Today I create one sample  code which contain sugar.js file and it help me a lot.

// Sugar is a Javascript library that extends native objects with helpful methods. It is designed to be intuitive, unobtrusive, and let you do more with less code.

// Sugar provides methods on strings like from, to, first, last, add, and remove to make modifying strings intuitive and readable, as well as others like each, chars, words, lines, paragraphs which allow iterating over chunks of text. Common escaping methods like escapeURL, escapeHTML, and escapeRegExp provide quick shortcuts for string escaping. Multilingual support is also enhanced with shortcut methods to Unicode script blocks, such as Kanji (Chinese and Japanese), Hiragana (Japanese), Hangul (Korean), Greek, Hebrew, and more. 

// sugar gives the Date class much love starting with the Date.create method which can understand dates in just about any format in 15 major languages, including relative formats like "1 hour ago".

// I create one sample project in appcelerator and i really happy to use this file .

And that project is available on Git. :)

https://github.com/dharmik/use-of-sugar.js-file

Helpful Link : )

sugarjs.com

 I hope this code helps you and solve your some problems. :)