VB.NET problem - Raspberry Pi Q&A, Help & Troubleshooting

Hi ,
I just registered to this forum, because I recently I've been starting to use RPI.
Since my best knowledge in programming is VB.net I made my program in Visual Studio 2010.
On my windows computer my program runs just fine.
I found on the internet that I could run that program using MONO on RPI so I installed it.
Few days ago I tried to run some simple forms and programs on RPI with mono (in comand promt : $ mono MyProg.exe)
and it worked.
Now I completed my program, so I copied it on Raspberry Pi and launched it.
Problem is that Form of program shows only for few seconds and also not complete.
After that in Comand Promt shows a lot of lines why this program wasn't properly executed, but I don't really understand it.
I hope someone can help .
With regards
PS: I can also post Comand promt report if it would be helpfull

matonja1000 said:
Hi ,
I just registered to this forum, because I recently I've been starting to use RPI.
Since my best knowledge in programming is VB.net I made my program in Visual Studio 2010.
On my windows computer my program runs just fine.
I found on the internet that I could run that program using MONO on RPI so I installed it.
Few days ago I tried to run some simple forms and programs on RPI with mono (in comand promt : $ mono MyProg.exe)
and it worked.
Now I completed my program, so I copied it on Raspberry Pi and launched it.
Problem is that Form of program shows only for few seconds and also not complete.
After that in Comand Promt shows a lot of lines why this program wasn't properly executed, but I don't really understand it.
I hope someone can help .
With regards
PS: I can also post Comand promt report if it would be helpfull
Click to expand...
Click to collapse
While I am not a Visual Basic expert if you can post the command prompt report I will be happy to take a look at it for you and see what I can figure out.

shimp208 said:
While I am not a Visual Basic expert if you can post the command prompt report I will be happy to take a look at it for you and see what I can figure out.
Click to expand...
Click to collapse
I'm posting 3 images. One of them also shows how program was starting to launch properly but the chrashed.
Problem is since I'm new I can't post outside link.
shrani.si/f/6/3J/3CDJrNW9/img20140221105920.jpg
shrani.si/f/K/OW/4Sm7AneI/img20140221105903.jpg
shrani.si/f/3J/h6/446I9fs0/img20140221105841.jpg

matonja1000 said:
I'm posting 3 images. One of them also shows how program was starting to launch properly but the chrashed.
Problem is since I'm new I can't post outside link.
shrani.si/f/6/3J/3CDJrNW9/img20140221105920.jpg
shrani.si/f/K/OW/4Sm7AneI/img20140221105903.jpg
shrani.si/f/3J/h6/446I9fs0/img20140221105841.jpg
Click to expand...
Click to collapse
I managed to start it with wine.
Thanks anyway.

Use Wine,
It is similar to "Mono".
Google for how you can install it.

Related

eMbedded Visual Basic Runtime needed

Has anyone managed to successfully run any apps that needs 'embedded Visual Runtime Basic'
I downloaded it from MS and loaded it to the tytn II and then loaded the app which appears to install successfully, but when i launch the app i just get 2 loading (spinning) icons then nothing.
the app i want to run is GPS DIS pro 3.4 which needs VB runtime files to work.
I had the same problem on the HTC P300i also.
Any tips/help is appreciated.
I have a evb program on my tilt that I wrote a couple years back and it runs just fine. Im not familiar with that program so I cant really help you with it but you can definately run evb programs on the tilt/kaiser/tytn II.
Thanks Ren13B,
which VB Runtime file did you load? (link please)
I tried another app that needed VB Runtime also but that wouldnt load also.
ps. are you driving an R100?
Sorry I dont remember where I got it. I just did a google search for it because the link they give you if you dont have it installed is now dead. Doing a quick search now pulls up http://msdn.microsoft.com/mobility/windowsmobile/downloads/evb.aspx which should provide you with what you need. That page states the runtime is no longer supported on anything past Pocket PC 2003 so that might be your problem.
I drive a RX-8 right now. Renesis13B
Thanks Ren13B,
That is the link that i used already. I had some other posts that indicated that it should be installed on the device and not the storage card, which i have done.
Some others like yourself have indicated that they have gotten it running in WM6, but none of my 2 apps being GPS DIS pro3.4 and Geoapps GPS Stealth 1.00.
Could you try them and let me know if you can get them to run?
Cheers!
PS. Ever thought about dropping in a 20B???
Sure, I can try them. Can you post links for them or pm the links if they arent free apps?
I had a 2nd gen RX7 that I wanted to put a 20B in but it was too costly at the time. Im keeping the RX8 relatively stock for now. Cant afford to have car troubles these days.
Nevermind..i found a trial version. Trying it now.
Doesnt run on mine either. I get the same two spinning icons and nothing else happens.
try a soft reset,
when i did that i got a tad further. (to the point where it tells me that i have used X number of 15 tries.
Thanks

Java for Gmail application

First, I really have done extensive searching and can't seem to find the answer:
I have ATT Tilt with new ROM (1.62). Is there any Java update/midlet that will allow the Gmail app to be downloaded and work on my device? As it stands now, it won't even download from the Gmail site.
Thanks in advance.
Java
I would recomend esmertec java.
You can find it out there, it is not free ware, but since your phone probably came with it like my tilt from att, so licenseing shouldn't be an issue.
Threre are wonderful people out there that have taken apart roms and have all applications that came on the stock rom.
look here and good hunting.
http://forum.xda-developers.com/showthread.php?t=317533&highlight=java
servergod said:
I would recomend esmertec java.
You can find it out there, it is not free ware, but since your phone probably came with it like my tilt from att, so licenseing shouldn't be an issue.
Threre are wonderful people out there that have taken apart roms and have all applications that came on the stock rom.
look here and good hunting.
http://forum.xda-developers.com/showthread.php?t=317533&highlight=java
Click to expand...
Click to collapse
I think I have read every thread in this forum having to do with trying to get the Gmail Java app to work. There are folks that say "Gmail works for me", but do not give any details as to their device, version, or other particulars. I have yet to run across a thread that succinctly explains how to get the Kaiser/Tilt to properly use the Gmail Java app. This is surprising to me because I am utterly impressed by many of the people on this forum and what they do. Much of it is beyond me, but I do enjoy the forum very much and have learned quite a bit from it.
Gmail being as popular as it is, I would have believed that one of our "geniuses" would have sorted it out by now.
Maybe soon???
daesdaemar said:
I think I have read every thread in this forum having to do with trying to get the Gmail Java app to work. There are folks that say "Gmail works for me", but do not give any details as to their device, version, or other particulars. I have yet to run across a thread that succinctly explains how to get the Kaiser/Tilt to properly use the Gmail Java app. This is surprising to me because I am utterly impressed by many of the people on this forum and what they do. Much of it is beyond me, but I do enjoy the forum very much and have learned quite a bit from it.
Gmail being as popular as it is, I would have believed that one of our "geniuses" would have sorted it out by now.
Maybe soon???
Click to expand...
Click to collapse
Last time I checked, GMail is not working on WinMo phones at this time, Google even has it as a known issue and has not been able to fix it
http://mail.google.com/support/bin/answer.py?hl=en&answer=52870
hope this helps
Why don't you just check your GMAIL through the Mail application included in the ROM? Or am I missing something?
doctajay said:
Why don't you just check your GMAIL through the Mail application included in the ROM? Or am I missing something?
Click to expand...
Click to collapse
The Gmail Java app is supposed to be really great...
I use it and its very simple...install the Java on your device..after that, install the gmail app, it will automatically pair up with the java manager and your set to go...its great, and smooth!
Malik05 said:
I use it and its very simple...install the Java on your device..after that, install the gmail app, it will automatically pair up with the java manager and your set to go...its great, and smooth!
Click to expand...
Click to collapse
Please, which Java are you using? Do you have a link?
How about including some links to the app to make this post? Please update the first post with the download link and findings to make this post more usable to all.
Thanks!
I just use the regular mail application... but I assume he is talking about this GMail Application go to the link with your phone.
Im about to check it out and see if its any better....
Going to http://gmail.com/app installs fine if you have Esmertec Java 20070802 installed. If you don't have this, you can search for CloudyFa esmertec jbed to download the cab.
*Edit* spoke too soon. Gives me an error message about this program requiring a data connection when trying to refresh or download mail. I'll play with it some more...
me too
mine was doing that yesterday... uninstalled then went back to www.gmail.com/app (on my phone) reinstalled and now everything seems to be copacetic
Have you tried this ive been using this with gmail and aol
http://www.seven.com/products/consumers/index.html
just use midlet manager
http://handheld.softpedia.com/get/Emulators/Inetent-Java-MIDlet-Manager-38908.shtml
never tried it on that one, but im sure it will work
IBM
hello guys, i looked into this thread earlier and tried to get it to work on my device. esmertic java didn't work for me, so i got the IBM Java Virtual Machine, i installed that first then went to http:\\gmail.com\app and downloaded the app and now it works perfectly and the app is really great. you can dowload the IBM jvm from here.
I think there's something wrong with the .jad file that we get from gmail.com/app. But you can get the actual jar file at http://www.gmail.com/app/v1.0.0/en/gmail-g.jar
Download it, transfer to sdcard and run it (install), make sure you have java installed... i'm using cloudyfa_esmertec_jbed... it work great...
i have v1.5 jar link, but eventually lost it... still searching through google.. or perhaps somebody could help...
tugas2khas said:
I think there's something wrong with the .jad file that we get from gmail.com/app. But you can get the actual jar file at http://www.gmail.com/app/v1.0.0/en/gmail-g.jar
Download it, transfer to sdcard and run it (install), make sure you have java installed... i'm using cloudyfa_esmertec_jbed... it work great...
i have v1.5 jar link, but eventually lost it... still searching through google.. or perhaps somebody could help...
Click to expand...
Click to collapse
That direct link is a good find. But, you're right, they are up to version 1.5 now. Would be great to find that link.
Here it is: http://gmail.com/app/v1.5.0/L1/gmail-g.jar
And here is an older version: http://gmail.com/app/v1.1.1/L1/gmail-g.jar
master athlon said:
hello guys, i looked into this thread earlier and tried to get it to work on my device. esmertic java didn't work for me, so i got the IBM Java Virtual Machine, i installed that first then went to http:\\gmail.com\app and downloaded the app and now it works perfectly and the app is really great. you can dowload the IBM jvm from here.
Click to expand...
Click to collapse
I received this email from IBM:
Thank you for your interest in the "Websphere Everyplace Micro Environment" (WEME), the IBM Java ME solution (NOT JavaSE). For small volumes business deployments and individual copies for personal use, the IBM Java ME virtual machine (WEME) may be purchased from our business partner, Handango for $25 USD. All of our Java runtimes that are available from Handango are Java ME certified and we provide solutions for various Java ME profiles and operating systems.
IBM no longer provides free evaluation or trial copies in the open on the IBM web site or IBM Direct Sales. It is only available under IBM SWG OEM Contracts.
i use esmertec's java and downloaded gmail's java app and its been working beautifully for a long time. definitely would not use the pop process, as you'll get a new email whenever you send emails as well. quite annoying...
gmail mobile
HELP.
Att Tilt. I am too newbie to put all the threads together. If someone could walk me thru all the steps I need to take to get the gmail mobile app to work and also after its downloaded is there a way to shortcut it to the home/today screen. I've got the HTC homescreen and the other one. I found this link on the gmail help site:
http://groups.google.com/group/gmai...?lnk=gst&q=gmail+mobile+tilt#dfaf2289978e9159
How do I check if I have the right JAVA or not? Please senior members start from the beginning step by step. Thanks

[Developement] Computer App to Control Phone

i know we have a few applications that allow us to use our phone's screen and keyboard to control our computer, and while it is cool, it's just not something that i have a use for currently. i was wondering if there were any apps that you know of that allow me to have a window on my comp that is my home screen on my phone and control things on the phone from the comp. i hate when i am working on my themes and i get 100 texts and i have to go from using the comp it using the phone and back and forth. WM had several apps like that and i loved them when i was running windows but now i run linux(ubuntu 8.10) and i would love to be able to type texts and run apps on my phone while using the computer keyboard.
i have looked through the market and can't seem to find anything on there and i was hoping someone could point me to one elsewhere or if i missed one on the market. thanks in advance
That would be cool. A VNC Server has already been ported to iPhone, so it's probably not too difficult for someone who knows what they're doing (i.e, not me =P)
It would definitely be great to be able to type text messages and whatnot using the computer's keyboard and screen instead of that tiny little G1 keyboard.
or if there are some commands i can run from adb shell that would work too, all i have been able to figure out how to do is play an mp3 on the phone by typing the command. cool but not what i would like.
alright, for those that care i have figured out how to start an app on the phone by using the adb shell commands, and i can even start to compose a text if i do it correctly
to start the messaging app you need to type in the adb shell(or android terminal but the point is to be able to do it from the comp
adb shell
am start -a android.intent.action.MAIN -n com.android.mms/com.android.mms.ui.ConversationList
the above line brings up the conversation list to allow you to choose a list, but i have yet to figure out how to atually pick a convo from that page
to bring up the compose message to start a new text type in the following
am start -a android.intent.action.MAIN -n com.android.mms/com.android.mms.ui.ComposeMessageActivity
from there i can input the number to send the message to but not what i want the text to say,
input text <string> #that inputs a single word and no more after the word text
so if i were to type
'input text hello android' my phone would act as if i had just typed hello, this also works on the home screen to search your contacts. i am working on in[utting more than one word and also choosing your conversation from the comp
Cool! nice progress. Maybe other Android intents can be used...
progress
i know i can start any app by knowing the commands for it now and typing it in. but for right now my main concern is getting a multi word string to appear in the text box. if i can get that then i just need to figure out how to attach "input keyevent 66" to it as well so it runs cleanly. key 66 is the enter key and i figured out several others along the way but i will list them later. i pulled the input file from the /system/bin directory and maybe someone else should have a look at it and figure out how to acheive multi word texts without placing "_" between all the words, cause right now that's where i'm at. i'm attaching the file for the guru's to take a look at. obviously it isn't saved as a .txt file on the phone but that's how i uploaded it to here.
CALLING THE ANDROID GURU'S TAKE A LOOK AT THIS
Cool. Once you figure out a bunch of commands, I could try making a user interface for it as a project...
just wanna drop this lines here, there is an app from motorola MPT Motorola Phone tools, and it does all that you want and more, the phone can be connected to the pc via USB or Bluetooth... you can send receive msg, phone calls, see and edit contacts, drop images, ringtones browse the files etc
juangil said:
just wanna drop this lines here, there is an app from motorola MPT Motorola Phone tools, and it does all that you want and more, the phone can be connected to the pc via USB or Bluetooth... you can send receive msg, phone calls, see and edit contacts, drop images, ringtones browse the files etc
Click to expand...
Click to collapse
Im not sure if you know that your posting in a forum dedicated to the G1/android but MPT supports, as the name would suggest, motorola phones only.
juangil said:
just wanna drop this lines here, there is an app from motorola MPT Motorola Phone tools, and it does all that you want and more, the phone can be connected to the pc via USB or Bluetooth... you can send receive msg, phone calls, see and edit contacts, drop images, ringtones browse the files etc
Click to expand...
Click to collapse
does said program work with the G1? i can't imagine moto being nice and making a program that works for everyone else's phone
kp126 said:
Im not sure if you know that your posting in a forum dedicated to the G1/android but MPT supports, as the name would suggest, motorola phones only.
Click to expand...
Click to collapse
yeah I know, my bad.. just wanted to put an example of an app (that of course is only for motorola) for any1 wanting to do something like it
i know there's several out there for different phones, but nothing for android. hell i'd be satisfied if i could just have the emulator read from my phone and let me control it that way. right now i don't like what i have to do to send a text
input text hello
input keyevent 62
input text android
input keyevent 66
that is a whole lot of typing for a simple text that says "hello android" and then sends it
would it be possible to write a program that takes what you type and breaks it into one word or one letter segments and runs the proper keyevent for each charecter there?
from what i remember of my programming in java and visual basic from years ago is that it would basically be set to read an input and use a case method to say if $input=="hello" then adb shell input text hello. it would be easier i would assume to just break it down into words and place "adb keyevent 62" between each word to input the spaces, and at the end of the line of input you would have to have the code "input keyevent 66"
i have the keyevent mapped out for each button and such on the phone if anyone is interested. i will see what i can come up with on my own though for now
Hope!
I would <3 who ever release's this in some form or another =)
I could really use an application that lets me use my phone from my computer. Preferably it'd show the desktop of the phone, and allow remote access to all the features.
I don't know if it's possible, but it sounds like some of you are progressing, so I hope for the best.
that is the goal, but right now i think i want to just get a java script written by the end of the week next week that reads the key i press on the computer and inputs it into the phone. so i have a lot of relearning to do since i haven't written javascript in 4 years and even then it was just simple stuff to be run in a console. if someone wants to take whatever i get done and run with it to make a FREE APP then by all means. if i find my work in a paid app then you better hope the US gov't can't find you cause i'll be at your door ready to kick your ass.
i'm not sure how one would go about coding the computer to display the phone desktop, but however it gets done i would prefer it to be written in java so all users of linux, mac, and windows can use it.
alright i have found a program that allows me to display the phone screen on the computer using java *hooray* but it does not switch to landscape when the phone does, and i can't control the phone from the app. it was written so that people could do presentations with the phone instead of using the emulator. the gist of it is described here
http://groups.google.com/group/cw-android/browse_thread/thread/d2dbcabee6bcba1a
i have already emailed the developer asking politely to see the code and for permission to try and run with it to make the ideal app. at this point the only thing i could come up with would be to make a javascript that had a case for each key on the keyboard and when a key is pressed it sends the corresponding command(adb shell input keyevent ##) to the phone. this would work fine to use the arrow keys to control the phone, and i am not sure how to code the mouse into it yet. i will be waiting for a response from the dev hopefully he will give his permission and blessing for us to use the app.
Tubaking182,
Perhaps I could offer some help. Brad Fitz has written a program that injects keys into the Linux input layer. Perhaps the source code to his project can help you. It appears to contain a key code map. Here is the link to his code:
http://github.com/bradfitz/android-misc/blob/master/type.pl
Also, here is a link to his live journal entry regarding his program.
http://brad.livejournal.com/2400054.html
All of this would be wonderful to have with my G1. I wish all involved the best of luck!
the developer of the program i posted gives his blessing but he claims what we are trying to do is impossible without certain firmware. he claims that android does not support remote control. i have already proven it can be done though but you have to use keyvalues instead of the mouse. i don't know much java, but i know i need a case switch that executes adb shell input keyevent when i press a key on the computer. if someone wants to tell me the proper syntax and java command to run a run a command then awesome i can write this up *hopfully* and start testing it.
would it work if i typed it as
int key = evt.getKeyCode();
switch (key){
case 65: run.exec(adb shell input keyevent 29);
break;
what would be the proper way to execute the adb command
tubaking182 said:
the developer of the program i posted gives his blessing but he claims what we are trying to do is impossible without certain firmware. he claims that android does not support remote control. i have already proven it can be done though but you have to use keyvalues instead of the mouse. i don't know much java, but i know i need a case switch that executes adb shell input keyevent when i press a key on the computer. if someone wants to tell me the proper syntax and java command to run a run a command then awesome i can write this up *hopfully* and start testing it.
would it work if i typed it as
int key = evt.getKeyCode();
switch (key){
case 65: run.exec(adb shell input keyevent 29);
break;
what would be the proper way to execute the adb command
Click to expand...
Click to collapse
I've been doing Java for about 4 or 5 years now, nothing to fancy, but anyway,
Code:
int key = evt.getKeyCode();
switch (key)
{
case 65:
Runtime.getRuntime().exec("adb shell input keyevent 29"); // I dont know if this is what you "run" variable is referring to. and you would need quotes around your command as it takes a String parameter.
break;

Remote Apps on TP

Hi All,
I wanted to share with you something that I think could develop into something quite useful (and cool ). I have successfully managed to launch remote applications from my Linux server onto my TP (similar to Citrix). For those that might be somewhat skeptical I've attached a screenshot below. And yes, your eyes do not deceive you – it most certainly is Word 2007 running! But before everyone starts jumping up and down with excitement, it's not an TP application that I've developed – more proof of concept.
If people are interested in trying this out themselves please let me know and I'll put up some instructions. Just a wording of warning though, this is a little fiddly and requires the user to use CLI via Executah and also a Linux PC (not sure how to achieve this with a Windows PC).
Also, if there are any Xterm/XServer/WebOS Developer experts for the TP here that can help me, please come forward as I would like to push this to be more GUI based so I could really use some help.
Thank you.
How does this compare to splashtop remote?
Wow very neat!
Don't run Linux so not for me but i'd find this useful if someone knew a way to do this via windows?
idealz said:
How does this compare to splashtop remote?
Click to expand...
Click to collapse
it's not as advance as splashtop. It's merely just a remote application running on a linux server. The example I posted was of word running via wine on my ubuntu server. However, I've managed to get rdesktop installed on the touchpad which means there is a possibility of running a windows application. I will try this out and see if it works.
I will report back as soon as I have some info. I post a screenshot of a windows app running, asumming I can get one to run.

Create, Edit & Install A Custom Watch Face for the Gear 2 Neo

This is not a full blown, how to program tutorial. It's a simple "Getting started with Tizen SDK for Wearables"
First, you will need to Download and Install the Tizen SDK for Wearables.
Once installed, Start the Tizen IDE.
We need to make a quick emulator to emulate our Gear 2 Neo.
On the lower left panel, the Connection Explorer, click on the first icon to start the Emulator Manager.
Click "Add New".
Choose a Name in the Detail panel, ie 'Gear2Neo'
Change the 'Density' to 278. Leave the rest of the settings default.
Click [Confirm]
Give it a moment to create your emulator.
Now your Gear 2 Neo emulator has been created.
Start your emulator by clicking the blue 'Play/Run' button at the bottom of your newly created emulator.
You can minimize the Connection Explorer now.
Once the emulator starts, you can choose to right click on it, and click "Always on top"
Next, Maximize the Tizen IDE.
Let's start playing with a sample project.
Click File > New > Tizen Wearable Web Project.
In the new window, click Sample > Web App > ClockWidget > and choose a Project name (ie. MyWatchFace)
You will now be back to the Tizen IDE and you will have a project (MyWatchFace?) in the Project Explorer.
Double click on the name of the project and you will see the project files.
You can edit these with custom images and code or you can just test the stock project.
At the top of the Tizen IDE, click on the green Play/Run button. This will install and start the project on the emulator. It will also build a file in your Project Explorer named the same as your project, but ending with a .wgt extention. In this case, MyWatchFace.wgt. This file can be pushed directly to your Gear 2 via USB using SDB.
At this point you should have a pretty plain and simple black watchface on your emulator thanks to the sample we just built, but let's add a custom background.
Make a custom 320x320 pixel image to use as a background with photoshop, gimp, etc. I'll name mine 'mywatchface.jpg'. Now paste it into your Project Explorer.
While you are in the Project Explorer, double click on the css folder.
Next, double click on the style.css to open that style file.
Locate the background: #000 line and replace it with this line.. background: url(../mywatchface.jpg);
Click the Save icon to save the style.css.
Click the green Play/Run button to install and build the new version.
If you don't see the new watch face load immediately on the emulator, you may need to go into settings on the emulator and select the new watch face.
Now that we have played with the ClockWidget sample and edited the css to add a custom background, we can play around with java coding and more down the road, but let's put this watch face onto our Gear 2 Neo.
You will need to copy the MyWatchFace.wgt file that was built in the Project Explorer into the same directory that your SDB.exe is located... (ie. C:\Tizen\tizen-wearable-sdk\tools)
It's easier if you make sure that the emulator is no longer running.
Turn on USB Debugging (Settings/Gear Info) and then plug your watch into your PC/Laptop via USB.
If you have issues with your computer detecting your watch, you may need to install the Samsung USB drivers for your watch.
Start a CMD Prompt
Switch to the directory with the SDB.exe and MyWatchFace.wgt
Run a simple test to see if the watch is being seen..
Type: sdb devices
If you get an error, something is wrong. You should see "List of devices attached" and one should be a series of numbers and letters and display as "SM-R381"
Now that you know the device can be seen, you can push your watch face to the Gear 2 Neo.
Type: sdb install MyWatchFace.wgt
You will see text scroll by and then it will indicate that it is done. You should now have a new watch face on your watch!!
To manually uninstall the watch face, you will need to look at in your Project Explorer, Open the config.xml and click the Source tab at the bottom to locate the package id for this app.. In my case, it's package="rlfNgozRkA"
Type: sdb uninstall rlfNgozRkA
Now have fun. Share your experiences, ask questions.. and most of all.. Share your custom watch faces here for everyone. As a community we can all help each other learn how to program for our Tizen wearables.
<- Please click Thank You!
Breach said:
This is not a full blown, how to program tutorial. It's a simple "Getting started with Tizen SDK for Wearables"//cut//Thank You!
Click to expand...
Click to collapse
Thank you for this .. . it is a great way for us to start!
I actually would like to make a 24 hour analogue watch face --something like military time or international time, but to start off this will be very helpful!
I noticed when I DL the Tizen SDK, I thought it asked me to install Java --how much of that do I need to install (there seem to be several Java options for my Windows 7 64bit system! Or, can I skip that?
sorry to bug you with such a basic question, but I am trying to get it right step-by-step! :good:
Awesome, Thanks for taking the time to make this :victory:
markbc01 said:
Thank you for this .. . it is a great way for us to start!
I actually would like to make a 24 hour analogue watch face --something like military time or international time, but to start off this will be very helpful!
I noticed when I DL the Tizen SDK, I thought it asked me to install Java --how much of that do I need to install (there seem to be several Java options for my Windows 7 64bit system! Or, can I skip that?
sorry to bug you with such a basic question, but I am trying to get it right step-by-step! :good:
Click to expand...
Click to collapse
I already had Java JDK installed, but you can grab it here if you need it...
http://www.oracle.com/technetwork/java/javase/downloads/jdk-7-netbeans-download-432126.html
Once installed, you will probably want to put it into your Environmental Variables.. Just right click on the "This PC" icon on your desktop. Then click 'Properties' and then 'Advanced System Settings', then click the [Enviromental Variables] button. Scroll down until you find PATH. It should have a several paths, add the following to the beginning... C:\Program Files\Java\jdk1.7.0_51\bin; (Note that this path will depend on where you installed the Java JDK and the version)
You can save it. To test it.. Open a CMD Prompt and type javac and if you get an error, something didn't work.
neonfreak20 said:
Awesome, Thanks for taking the time to make this :victory:
Click to expand...
Click to collapse
It was my pleasure. I am learning too.. but I figured I would share what I learn so that we can all learn together..
.
.
thank you soo much for this , had this installed for a while now been playing around a bit but this has been so helpful.
only problem I have is my background image isn't showing up ,
I have background: url(../mywatchface.jpg); set in the style.css and pasted "mywatchface.jpg" into "mywwatchface" project but when I set the above and hit save then the green start, it loads however the watch emulator that is open doesn't change , and I have no errors in the problems box.
ex-28 said:
thank you soo much for this , had this installed for a while now been playing around a bit but this has been so helpful.
only problem I have is my background image isn't showing up ,
I have background: url(../mywatchface.jpg); set in the style.css and pasted "mywatchface.jpg" into "mywwatchface" project but when I set the above and hit save then the green start, it loads however the watch emulator that is open doesn't change , and I have no errors in the problems box.
Click to expand...
Click to collapse
I was having this issue also, and it may not be the answer to your issue but to the right of the play button (to run it on the emulator), there is a dropdown. Make sure you select the one you want to run. By default, mine kept running the same one.
thanks for the reply but I wonder if this has something to do with it .
when the emulator opends , I get an error see screen shot.
compositor warning your screen does not support OpenGL.
Falling back to software engine.
when I click ok I get the watch face but still no background under the play button menue its set to mywatchface
im running windows 7 Enterprise 32 bit.
trying to good it but all I can come up with is for Linux users.
ex-28 said:
thank you soo much for this , had this installed for a while now been playing around a bit but this has been so helpful.
only problem I have is my background image isn't showing up ,
I have background: url(../mywatchface.jpg); set in the style.css and pasted "mywatchface.jpg" into "mywwatchface" project but when I set the above and hit save then the green start, it loads however the watch emulator that is open doesn't change , and I have no errors in the problems box.
Click to expand...
Click to collapse
Is the image the proper size (320 x 320)? Are you sure you saved it as a jpg? (If you save as a png or something else, you will need to edit the background url.) Are you sure the mywatchface.jpg is in the root of your project and not in the css or js folder? Are you sure there is no typo in your style.css?
I noticed that in your comment, there is a typo in your project name. Is there a typo in your project name or only in your comment above?
Breach said:
Is the image the proper size (320 x 320)? Are you sure you saved it as a jpg? (If you save as a png or something else, you will need to edit the background url.) Are you sure the mywatchface.jpg is in the root of your project and not in the css or js folder? Are you sure there is no typo in your style.css?
I noticed that in your comment, there is a typo in your project name. Is there a typo in your project name or only in your comment above?
Click to expand...
Click to collapse
type only in comment as far as I see. and I belive the image is in the correct folder.
mywatchface.jpg looking at it it was at 320x240 changed it now to 320x320.
testing in a second here
yup same results wont load the background I just see the black background with a white digital watch and the date under it as in screenshot.
sorry I attached screenshot now forgot it.
ex-28 said:
type only in comment as far as I see. and I belive the image is in the correct folder.
mywatchface.jpg looking at it it was at 320x240 changed it now to 320x320.
testing in a second here
yup same results wont load the background I just see the black background with a white digital watch and the date under it as in screenshot.
sorry I attached screenshot now forgot it.
Click to expand...
Click to collapse
What are the settings in your emulator?
ex-28 said:
thank you soo much for this , had this installed for a while now been playing around a bit but this has been so helpful.
Click to expand...
Click to collapse
What version of the Tizen for Wearables IDE are you running? Version : 1.0.0b1 ?
Breach said:
What are the settings in your emulator?
Click to expand...
Click to collapse
just clock and display
helps if I select the watch face I guess.,. lol now I get it , thank you soo much
Breach said:
What are the settings in your emulator?
What version of the Tizen for Wearables IDE are you running? Version : 1.0.0b1 ?
Click to expand...
Click to collapse
running
Version : 1.0.0b2
Build id : 20140411-1449
ex-28 said:
helps if I select the watch face I guess.,. lol now I get it , thank you soo much
Click to expand...
Click to collapse
Glad we got it sorted out. Enjoy.. After you get it tweaked the way you like, give it a custom name and feel free to share your watchface.wgt here for everyone to try out.
Breach said:
Glad we got it sorted out. Enjoy.. After you get it tweaked the way you like, give it a custom name and feel free to share your watchface.wgt here for everyone to try out.
Click to expand...
Click to collapse
maybe add that to the op that once you make the changes you have to go into settings on the emulator and select the new watch face , lol , I just had a brain fart moment there. but totally forgot and maybe helpful for new users
ex-28 said:
maybe add that to the op that once you make the changes you have to go into settings on the emulator and select the new watch face , lol , I just had a brain fart moment there. but totally forgot and maybe helpful for new users
Click to expand...
Click to collapse
Done.
only problem I had I was getting an error so I deleated my project compleatlly and started over , but its still throwing the same error.
when I click on the green Play/Run button to start the project under problems window I have Description Resource Path Location Type
Expected '===' and instead saw '=='. main.js /MyWatchFace/js line 135 JavaScript Problem
it highlights this if (e.keyName == 'back') {
removed and restarted it again and same thing. any ideas ?
this is happening before I make any changes to any files , and just following the steps in op
Here are a couple very basic animated analog watch faces as samples..
.
them are nice ! iris pulse looks good
Q is there anyway to have shortcuts at the bottom on an analog clock ? just wondering if possible.
and when we pop a .wgt into the tools folder and install it via cmd , how do you uninstall it ? as theres no package id in the sdk anymore
ex-28 said:
only problem I had I was getting an error so I deleated my project compleatlly and started over , but its still throwing the same error.
when I click on the green Play/Run button to start the project under problems window I have Description Resource Path Location Type
Expected '===' and instead saw '=='. main.js /MyWatchFace/js line 135 JavaScript Problem
it highlights this if (e.keyName == 'back') {
removed and restarted it again and same thing. any ideas ?
this is happening before I make any changes to any files , and just following the steps in op
Click to expand...
Click to collapse
That makes no sense, first because there was no change made to the main.js, and secondly because that is the eventListener and it should be '==' and not '==='

Categories

Resources