How to Develop Application for Mozilla Firefox OS Mobile

Tuesday 6 January 2015



Intro to Firefox OS:-

            Firefox OS is a new mobile operating system developed by Mozilla's Boot to Gecko (B2G) project. It uses a Linux kernel and boots into a Gecko-based runtime engine, which lets users run applications developed entirely using HTMLJavaScript, and other open web application APIs.

Firefox OS (also referred to by its codename "Boot to Gecko" or "B2G") is Mozilla's open source mobile operating system, based a Linux kernel, which boots into a Gecko-based runtime engine that lets users run applications developed entirely using HTMLCSSJavaScript, and open web application APIs. Firefox OS is a mobile operating system that's free from proprietary technology while still a powerful platform that provides application developers an opportunity to create excellent products. In addition, it's flexible and capable enough to make the end user happy.


Advantages:-

For mobile application developers, the open web apps project offers these advantages:
  • Simplicity: Develop on a single technology stack (HTML5/CSS/JavaScript) and deliver across all platforms, from smartphones to tablets to desktops.
  • Standards: The technology stack is defined by standards bodies (W3C and Ecma) that operate in the open, rather than by particular technology or platform vendors.
  • Freedom: You're not locked in to a vendor-controlled ecosystem. You can distribute your app through the Firefox Marketplace, your own website, or any other store based on Mozilla's open app store technology.
  • Reach: You have the potential to reach Firefox's 450 million desktop users, as well as users of other desktop browsers and mobile users.

Steps to developing a Web app:-


1. Develop your app using open Web technologies.
You probably already know at least a bit about HTML, CSS, and JavaScript. The Learn section of this website has resources to help you ramp up even more. As a mobile app developer, you already have a Mobile First approach to Web design.
2. Add an app manifest.
All that inherently separates a Web app from a normal website is a single, JSON-format text file.
3. Publish the app, either on your own site or in an app store (or both).
Publishing it yourself requires adding some code to your site to manage installing and updating the app in users' browsers.
Creating an app manifest:-
           This section details the critical details you need to create and use an app manifest.

Conventions: file name, location, and format

  • Name: manifest.webapp (you must use the .webapp extension)
  • Location: your app's root directory
  • Format: JSON (must be valid JSON)

Requirements for submitting to the Firefox Marketplace:-

If you want to publish your app to the Firefox Marketplace, your app manifest must contain the following fields:
  • name
  • description
  • launch_path (for Packaged Apps)
  • icons (1 icon of 128×128 required, 1 icon of 512×512 recommended)
  • developer
  • default_locale (if locales is defined)
  • type (for privileged and internal (certified) apps)

Requirements for generic Open Web Apps:-

If you're building a generic Open Web App that will not be published in the Firefox Marketplace, your app manifest must contain the following fields below:
  • name
  • description
  • icons (1 icon of 128×128 required, 1 icon of 512×512 recommended)

App manifest validation

If you're submitting to the Firefox Marketplace, your app manifest must pass Marketplace Validation.
Try our App Validator, which will help you identify any errors. Or you can use this API to validate your app manifest.

Updating manifests

For information on updating apps, see Updating apps.

Example manifest

The following is a minimal manifest. You can copy it into a text file and replace the values with your own information.
    {
      "name": "My App",
      "description": "My elevator pitch goes here",
      "launch_path": "/index.html",
      "icons": {
        "512": "/img/icon-512.png",
        "128": "/img/icon-128.png"
      },
      "developer": {
        "name": "Your name or organization",
        "url": "http://your-homepage-here.org"
      },
      "default_locale": "en"
    }
Read more ...

How to create shortcut for Shutdown on window 7/8/8.1

Tuesday 11 November 2014

How to create shortcut for Shutdown on window 7/8/8.1


        Today in this tutorail i will show you How to create shortcut for Shutdown on window 7/8/8.1


           If you’re shutting down your computer using the Start menu, you’re doing too much work! Create a shortcut to make your computing life a little easier. This is even more useful in Windows 8, where the Shutdown option is hidden behind several menus. Follow this guide to create a shutdown shortcut in any version of Windows.


Desktop->right click->New->Shortcut

For shutdown type shutdown –s –f –t 00

Following command


Command
Command line
Restart
Shutdown -r -f -t 00
Shut Down
Shutdown -s -f -t 00
Hybrid Shut Down
Shutdown -s -f -t 00 -hybrid
Sleep
Rundll32.exe powrprof.dll,SetSuspendState Sleep
Hibernate
Shutdown -h
Lock
Rundll32 User32.dll,LockWorkStation
Sign Off
Shutdown -l
Switch Users
Tsdiscon.exe












Read more ...

HOW TO RUN LINUX TERMINAL ON WINDOWS

Tuesday 21 October 2014






Get that Linux feeling - on Windows

What... 


 ...is it? 

            Cygwin is: a large collection of GNU and Open Source tools which provide functionality similar to a Linux distribution on Windows. a DLL (cygwin1.dll) which provides substantial POSIX API functionality.


 ...isn't it?

      Cygwin is not: a way to run native Linux apps on Windows. You must rebuild your application from source if you want it to run on Windows. a way to magically make native Windows apps aware of UNIX® functionality like signals, ptys, etc. Again, you need to build your apps from source if you want to take advantage of Cygwin functionality.


                      The Cygwin DLL currently works with all recent, commercially released x86 32 bit and 64 bit versions of Windows, starting with Windows XP SP3.

Read more ...

How To Create Hotspot ?

Saturday 4 October 2014

PC Tricks.







Laptop or pc
 (window 8.1/8/7)

NOTE: MAKE SURE WI-FI IS ON IN YOUR LAPTOP OR PC.

Step 1:Open Cmd as Administrator..

Step 2:Type netsh wlan show drivers & press Enter.
Read more ...

HTML AND CSS

Thursday 2 October 2014


HOW TO CREATE DROP DOWN MENU USING 

HTML AND CSS




CSS PART:


HTML PART:


DEMO:

Read more ...

EASY STEP TO HIDE PRIVATE DATA OR FILE

Tuesday 30 September 2014

EASY STEP TO HIDE PRIVATE DATA OR FILE






STEP 1:OPEN NOTEPAD.

STEP 2: COPY THE CONTENT BELOW GIVEN IN THE NOTEPAD.

copy:


STEP 3: PRESS CTR+H,
               Find what:ashok
               Replace with:Enter your Password(EG:123456)
               AND PRESS ON REPLACE.

STEP 4:SAVE THAT FILE AS LOCKER.bat

STEP 5:CLICK ON LOCKER.bat FILE.
               
STEP 6:NEW FOLDER WILL BE CREATED AS LOCKER.
               SAVE DATA OR FILE IN THAT LOCKER FOLDER.

STEP 7: TO HIDE THAT FOLDER ; PRESS LOCKER.bat FILE AND ENTER KEY Y.
                THE LOCKER FOLDER WILL BE HIDEEN

STEP 8:TO OPEN THAT FOLDER AGAIN CLICK ON LOCKER.bat FILE
               ENTER YOUR PASSWORD(EG:123456)



THANK YOU
Read more ...