One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
var url = require('electron').remote.getCurrentWindow().webContents.browserWindowOptions.url; | |
onload = () => { | |
const webview = document.querySelector('webview') | |
webview.src = url; | |
} |
var url = "http://localhost" | |
var window = new electron.BrowserWindow({ | |
width: width, height: height, | |
x: display.bounds.x, | |
y: display.bounds.y, | |
frame: false, | |
fullscreen: true, | |
show: true, | |
resizable: false, | |
url : wUrl |
package com.superbro.myride.search.view; | |
import android.graphics.Bitmap; | |
import android.os.Bundle; | |
import android.support.annotation.Nullable; | |
import android.support.v4.app.Fragment; | |
import android.view.LayoutInflater; | |
import android.view.View; | |
import android.view.ViewGroup; | |
import android.widget.ImageView; |
public static InetAddress[] getLocalInetAddress() { | |
ArrayList<InetAddress> addresses = new ArrayList<InetAddress>(); | |
try { | |
Enumeration<NetworkInterface> en = NetworkInterface.getNetworkInterfaces(); | |
while( en.hasMoreElements()) { | |
NetworkInterface intf = en.nextElement(); | |
for (Enumeration<InetAddress> enumIpAddr = intf.getInetAddresses(); enumIpAddr.hasMoreElements();) { | |
InetAddress inetAddress = enumIpAddr.nextElement(); | |
if (!inetAddress.isLoopbackAddress()) { | |
addresses.add(inetAddress); |
<uses-permission android:name="android.permission.CAMERA"/> | |
<application | |
android:icon="@drawable/ic_launcher" | |
android:label="@string/app_name" > | |
<activity android:name="com.google.zxing.client.android.CaptureActivity" | |
android:screenOrientation="landscape" | |
android:configChanges="orientation|keyboardHidden" | |
android:theme="@android:style/Theme.NoTitleBar.Fullscreen" |