هل يمكن إنشاء برنامج بلغة javascript يعمل بدون متصفح

السلام عليكم

هل يمكن برمجة برنامج بلغة javascript يتم تثبيته و يشتغل في واجهة يمكن تنسيقها ..

و السلام عليكم ..

يرجى الدخول لحسابك أو تسجيل حساب لتستطيع إضافة تعليق
حساب جديد دخول

التعليقات

و عليكم السلام

نعم يمكن ذلك عبر

و يمكن تجميعه في مجلد واحد عبر

و يمكن عمل مثبت لهذا المجلد لـ windows و Mac عبر

أشكرك أخي ..

كيف أحول ملفات html .css .javascript. إلى ملف أندرويد apk.

وشكرا لكم ..

تحتاج إلي android sdk و apache cordova

البارحة كنت أحاول استخدام cordova لكن عندما أصل إلى الأمر :

cordova build android

لا يكمل و يعطيني خطأ هل تعرف حل لهذه المشكلة ؟

لن أستطيع معرفة الخطأ إن لم تعطني مخرج تنفيذ الامر

ERROR building one of the platforms: Error: cmd: Command failed with exit code E

NOENT

You may not have the required environment or OS to build this project

Error: cmd: Command failed with exit code ENOENT

at ChildProcess.whenDone (C:\Users\عبد الرحمن\AppData\Roaming\npm\node_modul

es\phonegap\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn .js:139:23) at emitOne (events.js:77:13) at ChildProcess.emit (events.js:169:7) at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12) at onErrorNT (internal/child_process.js:344:16) at doNTCallback2 (node.js:430:9) at process._tickCallback (node.js:344:17) at Function.Module.runMain (module.js:477:11) at startup (node.js:118:18) at node.js:952:3

لدي لك عدة أسئلة

  • هل ثبت andoid sdk ؟

  • و إذا كان مثبت هل وضعته في مسار النظام بحيث إذا كتبت android في الـ command line يخرج ينفذ ؟

  • هل أضفت بيئة android إلي مشروعك عبر cordova ؟

abdullrahman أضف ردا

نعم قمت بتثبيت android sdk و اضفت بيئة android الى المشروع .

عندما اكتب اندرويد في cmd يخرج التالي :

'xcopy' is not recognized as an internal or external command,

operable program or batch file.

Usage: java [-options] class [args...]

       (to execute a class)

or java [-options] -jar jarfile [args...] (to execute a jar file) where options include: -d32 use a 32-bit data model if available -d64 use a 64-bit data model if available -server to select the "server" VM The default VM is server.

-cp <class search path of directories and zip/jar files>
-classpath <class search path of directories and zip/jar files>
              A ; separated list of directories, JAR archives,
              and ZIP archives to search for class files.
-D<name>=<value>
              set a system property
-verbose:[class|gc|jni]
              enable verbose output
-version      print product version and exit
-version:<value>
              require the specified version to run
-showversion  print product version and continue
-jre-restrict-search | -no-jre-restrict-search
              include/exclude user private JREs in the version search
-? -help      print this help message
-X            print help on non-standard options
-ea[:<packagename>...|:<classname>]
-enableassertions[:<packagename>...|:<classname>]
              enable assertions with specified granularity
-da[:<packagename>...|:<classname>]
-disableassertions[:<packagename>...|:<classname>]
              disable assertions with specified granularity
-esa | -enablesystemassertions
              enable system assertions
-dsa | -disablesystemassertions
              disable system assertions
-agentlib:<libname>[=<options>]
              load native agent library <libname>, e.g. -agentlib:hprof
              see also, -agentlib:jdwp=help and -agentlib:hprof=help
-agentpath:<pathname>[=<options>]
              load native agent library by full pathname
-javaagent:<jarpath>[=<options>]
              load Java programming language agent, see java.lang.instrument

-splash:<imagepath>
              show splash screen with specified image

See

for m

ore details.

نفذ الامر التالي و أعطني المخرج

cordova platforms ls

و حاول حل مشكلة الـ path عبر الاجابة التالية

Installed platforms: android 4.1.1, ios 3.9.1

Available platforms: amazon-fireos, blackberry10, browser, firefoxos, webos, win

dows, windows8, wp8

و حللت مشكلة الـ path

الآن عندما اكتب android يفتح الـ android sdk

رائع و الان عليك من android sdk أن تثبت بيئة العمل المرتبطة بنسخة android . ثم حاول النتفذ الامر الذي لم ينجح في السابق .

سأحاول و آمل أن ينجح الأمر :)

متأسف على اضاعة وقتك