This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bb.cascades 1.0 | |
import bb.cascades.pickers 1.0 | |
NavigationPane { | |
id: navigationPane | |
Page { | |
titleBar: TitleBar { | |
title: qsTr ("ExiView") | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bb.cascades 1.0 | |
import bb.cascades.pickers 1.0 | |
NavigationPane { | |
id: navigationPane | |
Page { | |
titleBar: TitleBar { | |
title: qsTr ("ExiView") | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bb.cascades 1.0 | |
import bb.cascades.pickers 1.0 | |
NavigationPane { | |
id: navigationPane | |
// The initial page | |
Page { | |
titleBar: TitleBar { | |
title: qsTr ("ExiView") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bb.cascades 1.0 | |
import bb.cascades.pickers 1.0 | |
NavigationPane { | |
id: navigationPane | |
// The initial page | |
Page { | |
titleBar: TitleBar { | |
title: qsTr ("ExiView") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Registration Form</title> | |
</head> | |
<script language="javascript"> | |
function isEmpty(){ | |
if (document.forms['input_form'].imsi.value == "" || document.forms['input_form'].msisdn.value == "" || document.forms['input_form'].sdid.value == ""){ | |
alert("All required values must be inputted."); | |
return false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Copyright (c) E.Y. Baskoro, Research In Motion Limited. | |
* | |
* Permission is hereby granted, free of charge, to any person | |
* obtaining a copy of this software and associated documentation | |
* files (the "Software"), to deal in the Software without | |
* restriction, including without limitation the rights to use, | |
* copy, modify, merge, publish, distribute, sublicense, and/or sell | |
* copies of the Software, and to permit persons to whom the | |
* Software is furnished to do so, subject to the following |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void deleteFile(String path) { | |
if (path.startsWith("file://")) { | |
// do nothing | |
} else if (!path.startsWith("/")) | |
path = "file:///" + path; | |
else if (path.startsWith("//")) | |
path = "file:/" + path; | |
else | |
path = "file://" + path; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This is how to use ScreenSplash.java | |
*/ | |
package com.durianapp.brandapp; | |
import com.durianapp.brandapp.ui.ScreenSplash; | |
public class BrandApp extends UiApplication { | |
public BrandApp() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.durianapp.kertasdanlakban; | |
import net.rim.device.api.ui.UiApplication; | |
public class Lakban extends UiApplication { | |
public Lakban() { | |
pushScreen(new LakbanScreen()); | |
} | |
public static void main(String[] args) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Method to get all bytes from a file. | |
* | |
* @param path | |
* @return | |
* @throws IOException | |
*/ | |
public static byte[] getFileContent(String path) throws IOException { | |
FileConnection file = null; | |
OlderNewer