February 24, 2013
Samsung Galaxy Note 8.0 specs and hands-on
12 comments:
Author:
tec
at
2/24/2013 01:03:00 pm
Labels:
galaxy note 8 specifications,
note 8,
Samsung galaxy note 8
Thickness: 7.95mm
Weight: 338g
Display: 8 inch
Resolution: 1280 x 800 pixel
Ram: 2GB
Processor: Quad-core Samsung Exynos processor/1.6 GHz( this is awesome )
Internal storage: 16GB/32GB
MicroSD support: Yes
Primary Camera: 5 MP
Secondary camera: 1.2 MP (front-facing)
Check this out for more info and hands on vid: http://www.theverge.com/2013/2/23/4021698/samsung-galaxy-note-8-0-hands-on-preview
Read More
Weight: 338g
Display: 8 inch
Resolution: 1280 x 800 pixel
Ram: 2GB
Processor: Quad-core Samsung Exynos processor/1.6 GHz( this is awesome )
Internal storage: 16GB/32GB
MicroSD support: Yes
Primary Camera: 5 MP
Secondary camera: 1.2 MP (front-facing)
Check this out for more info and hands on vid: http://www.theverge.com/2013/2/23/4021698/samsung-galaxy-note-8-0-hands-on-preview
February 23, 2013
Java transparent widget
Cool widget in java
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.Toolkit;
import java.awt.event.MouseEvent;
import java.io.File;
import java.net.Socket;
import java.text.DecimalFormat;
import java.util.Calendar;
import java.util.Scanner;
import javax.swing.JDialog;
import javax.swing.JLabel;
import javax.swing.WindowConstants;
public class Status {
public static void main(String[] args) {
final int w = 130;
final int h = 500;
Dimension x = Toolkit.getDefaultToolkit().getScreenSize();
final JDialog d = new JDialog();
d.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
d.setUndecorated(true);
d.setSize(w, h);
d.setBackground(new Color(0, 0, 0, 0));
d.setBounds(x.width - w - 20, 20, w, h);
d.setAlwaysOnTop(true);
JLabel l = new JLabel();
l.setBackground(new Color(0, 0, 0, 0));
l.setForeground(new Color(255, 255, 255));
try {
l.setFont(Font.createFont(Font.TRUETYPE_FONT, l.getClass().getResourceAsStream("/consola.ttf")).deriveFont(Font.PLAIN, 13));
} catch (Exception e) {
l.setFont(l.getFont().deriveFont(Font.PLAIN, 13));
e.printStackTrace();
}
l.setBorder(javax.swing.BorderFactory.createMatteBorder(5, 0, 0, 0, new Color(255, 255, 255)));
l.setVerticalAlignment(l.TOP);
l.setHorizontalAlignment(l.LEFT);
d.add(l);
d.setVisible(true);
String user = System.getProperty("user.name");
String os = System.getProperty("os.name");
double ram = 0;
try {
Process p = Runtime.getRuntime().exec("wmic OS get TotalVisibleMemorySize /Value");
Scanner scan = new Scanner(p.getInputStream());
while (scan.hasNext()) {
String temp = scan.nextLine();
//System.out.println(temp);
if (temp.startsWith("TotalVisibleMemorySize")) {
ram = Long.parseLong(temp.split("=")[1]);
//System.out.println("RAM :" + ram);
break;
}
}
} catch (Exception e) {
}
d.addMouseMotionListener(new java.awt.event.MouseMotionListener() {
@Override
public void mouseDragged(MouseEvent e) {
d.setBounds(e.getXOnScreen(), e.getYOnScreen(), d.getWidth(), d.getHeight());
}
@Override
public void mouseMoved(MouseEvent e) {
}
});
d.addMouseListener(new java.awt.event.MouseListener() {
@Override
public void mouseClicked(MouseEvent e) {
}
@Override
public void mousePressed(MouseEvent e) {
}
@Override
public void mouseReleased(MouseEvent e) {
if (e.getButton() == MouseEvent.BUTTON2) {
System.exit(0);
}
}
@Override
public void mouseEntered(MouseEvent e) {
}
@Override
public void mouseExited(MouseEvent e) {
}
});
long itime = Calendar.getInstance().getTimeInMillis();
while (true) {
StringBuilder status = new StringBuilder();
status.append("Current user: ").append(user);
status.append("
------------------");
Calendar c = Calendar.getInstance();
status.append("
Time: ").append(c.get(Calendar.HOUR_OF_DAY)).append(":").append(c.get(Calendar.MINUTE)).append(":").append(c.get(Calendar.SECOND));
status.append("
Date: ").append(c.get(Calendar.DATE)).append("/").append(c.get(Calendar.MONTH) + 1).append("/").append(c.get(Calendar.YEAR));
status.append("
------------------");
status.append("
OS: " + os);
status.append("
Memory: ").append(new DecimalFormat("#.##").format(ram / 1024 / 1024)).append(" GB");
status.append("
------------------");
File[] f = File.listRoots();
long total = 0;
long free = 0;
for (int i = 0; i < f.length; i++) {
total = f[i].getTotalSpace();
free = f[i].getFreeSpace();
if (total > 0) {
long p = (free * 100 / total);
status.append("
").append(f[i].getAbsolutePath().replace(File.separator, "")).append(" ").append(total / 1024 / 1024 / 1024).append(" GB");
status.append("
").append(p).append("% free : ").append(free / 1024 / 1024 / 1024).append(" GB");
}
}
status.append("
------------------");
try {
Socket s = new Socket("www.google.com", 80);
s.getInputStream();
s.setSoTimeout(500);
s.close();
status.append("
Internet: On");
} catch (Exception e) {
status.append("
Internet: Off");
}
status.append("
Uptime: ").append((c.getTimeInMillis() - itime) / 1000).append(" s");
status.append("
------------------");
//status.append("
Geek.Manish");
status.append("");
l.setText(status.toString());
try {
Thread.sleep(1000);
} catch (Exception e) {
}
}
}
}
January 25, 2013
HTML, JavaScript Snake v1.2
Because Retro is cool!
Source:
Download: http://pastebin.com/raw.php?i=gEdVMMJG
Demo: http://pastehtml.com/view/cqkp8hmf1.html
Read More
Source:
Download: http://pastebin.com/raw.php?i=gEdVMMJG
Demo: http://pastehtml.com/view/cqkp8hmf1.html
January 13, 2013
Most popular 2D and 3D game engines for Android
2 comments:
Author:
tec
at
1/13/2013 01:51:00 pm
Labels:
2D 3D game engines for android,
android game engines,
game programming
Planning to begin Android game development and want to pick best game engine to begin with? Here's a list of most popular and widely used Android game engines for 2D and 3D game programming. Pick one that suits you most.
Read More
- Dwarf-fw (Android 3D Framework)
- Mages (Android Game Engine)
- jMonkeyEngine (Java Based 3D Game Engine)
- Android-2D-Engine (Android Game)
- YoghurtGum (Android Game Engine)
- AndEngine (Android Game Engine)
- Angle (Android Game Engine)
- Catcake (Android Game Engine)
- jPCT-AE (Android Game 3D Engine)
Subscribe to:
Posts (Atom)