From GWD to SDK - Samsung Gear S2

Hi to all
Is there a way to take the work done with the Gear Watch Designer and pass it under the TIzen SDK control?
That is: I would like to be able to make all the graphical work with the GWD and then add code with the SDK...
Do you think that is it possibile?
Thanks
GS
ITALY

It is possible to parse the XML from GWD into JavaScript(or more likely JSON). I don't have any experience with the latter two languages, so I don't really know where to go from there. This would likely be the biggest hurdle considering the .gwd(and .tpk) files are packaged more or less identically to the SDK, so you should be able to drag/drop right into a project or open the file directly. It would be nice to see Samsung implement a feature in GWD to export to a SDK project. This would seriously cut down on development time for watch faces(and potentially other apps) since you can see how the face looks as you're working on it instead of loading it to an emulator/watch every time you want to see your changes.

Related

How do i develop a C# or C++ app to copy files

Basically what i want to do is what M2DC does.
i want the program to list all the .zip files that are in a certain theme folder and then when you apply the theme, it unzips the file and copies whatever is in that file and copy it to the windows folder.
Please help me.
i know NOTHING about programming.
you dont even need to show me, even if you give me a link that give me the necessary information to help me do so.
btw, i have Visual Studio 2008.
http://msdn.microsoft.com/en-us/windowsmobile/default.aspx
that is microsofts windows mobile developer center you may find some stuff there, but if you have no programing experience you may just want to get the developer of m2dc to help you out getting started
best of luck
forgot to mention i already looked there.
good tutorials. just none of which help me in this situation.
kidnamedAlbert said:
Basically what i want to do is what M2DC does.
i want the program to list all the .zip files that are in a certain theme folder and then when you apply the theme, it unzips the file and copies whatever is in that file and copy it to the windows folder.
Please help me.
i know NOTHING about programming.
you dont even need to show me, even if you give me a link that give me the necessary information to help me do so.
btw, i have Visual Studio 2008.
Click to expand...
Click to collapse
Did you download the free copy of visual studio?
bedaweed said:
Did you download the free copy of visual studio?
Click to expand...
Click to collapse
i have the full version
the only reason he would have asked is that you have to have the full version for windows mobile development....
okay well i do.
but im not a programmer so i need some help.
i started trying to jump in just recently, mostly i've just been skinning before so i am in the same boat
this is the c++ library reference, it may provide some help.
http://msdn.microsoft.com/en-us/library/cscc687y.aspx
the code should be the same on a pc performing the same operation
so such code exmpls should be fine too
i tried to do some searching but it appears that there is not very many beginners tutorials for windows mobile so I will just put a couple of suggestions out there.
If you have never written code before I would recommend starting with C#
I personally use C++ but that is because I started writing C++ while still in high school before C# even existed. From what I can tell C# would be a much less painful experience that learning c++.
If you are not all that interested in learning the ins and outs of programming I would take a took at mortscript because that basically gives you just about everything that you would need and I just checked the documentation they have everything you need, the ability to unzip files and make a simple gui
Whenever looking about learning a new programming language you will do best to look for a "Hello World" example, whenever I learna new language / platform (like i am currently doing with android) I always look for a hello world example so that I can get something simple up and running
I end up getting a lot of information from http://www.codeproject.com/ and http://www.pocketpcdn.com/ sometimes the information is outdated, but it is usually pretty good.
The latest and greatest programming website is stackoverflow.com You can ask a question and Usually you will get an answer to your question in a day or so.
If you are ever interested in looking at some C++ things you can look at the full M2DC source code by downloading the zip file from the google code page (latest source code). In the zip file there is a sln file somewhere, that is the entire solution for the program. You should be able to open that file with you copy of visual studio and build a fully working copy of M2DC
good luck
How to teach programming in one post...
Well I don't know where to start, Developing C# apps for PPC is similar to developing desktop apps. The best way to learn is to see what others have done and copy across the code you need (Lookup Popfly Development ).
I'd try and find the code for this in a Normal WinForms app to do this and then port it across to the PPC App.
I'd do it in C#. The un-zipping maybe complicated, I'm not sure what ZIP code is in the .Net Compact Framework.
Let me know if you need any help, I might even knock some code together for ya.
Ta
Dave
mpenguin14 said:
i tried to do some searching but it appears that there is not very many beginners tutorials for windows mobile so I will just put a couple of suggestions out there.
If you have never written code before I would recommend starting with C#
I personally use C++ but that is because I started writing C++ while still in high school before C# even existed. From what I can tell C# would be a much less painful experience that learning c++.
If you are not all that interested in learning the ins and outs of programming I would take a took at mortscript because that basically gives you just about everything that you would need and I just checked the documentation they have everything you need, the ability to unzip files and make a simple gui
Whenever looking about learning a new programming language you will do best to look for a "Hello World" example, whenever I learna new language / platform (like i am currently doing with android) I always look for a hello world example so that I can get something simple up and running
I end up getting a lot of information from http://www.codeproject.com/ and http://www.pocketpcdn.com/ sometimes the information is outdated, but it is usually pretty good.
The latest and greatest programming website is stackoverflow.com You can ask a question and Usually you will get an answer to your question in a day or so.
If you are ever interested in looking at some C++ things you can look at the full M2DC source code by downloading the zip file from the google code page (latest source code). In the zip file there is a sln file somewhere, that is the entire solution for the program. You should be able to open that file with you copy of visual studio and build a fully working copy of M2DC
good luck
Click to expand...
Click to collapse
actually thats the first thing i tried(using m2dc as a template)
but i was super confused.
i tried taking out unessicary things like softkeys, background, internet, etc. but it didnt want to build. and plus, i probably did it all wrong.
if i cant get a good mortscript to do it, ill look into those websites you recommended me.
im in high school right now and im trying to find classing that will teach me some basic programming.
my school is filled with idiots though.
but im moving to a different city, so maybe they can teach me better than i would here.
thanks again.

I wanna be the guy! ...uhm, I mean... I wanna be a android developer!

So yeah... this hasn't been easy.
I'm not gonna spend time getting into my coding history... but I wanna expand to Android. Usually I'm able to just get myself to a point in which I can start writing code, and then from thereon I can learn whatever I need to learn... but that's based on languages where I have a compiler, or can even do most of my coding from notepad+/PFE... I won't say I'm used to things being simple, but getting into a new coding language as at least been generally direct enough so that I can dive nose first into some good 'ol T&E.
I keep hearing Eclipse being mentioned, but honestly the furthest I get before I'm confused is the Android SDK Manager (and it's megaton of downloads).
I just want to get to the point where I can start messing with values, strings, functions and see how much different it'll be from what I'm used to when I try to make key inputs trigger functions.
While I am not able to code myself, (I made the Hello World and that was it) I do have experience with the Android SDK due to some debugging I have needed to do.
Eclipse keeps being mentioned because it's the officially preferred IDE for Android, as it counts with an official plugin.
The sequence is the following.
1) Install the SDK.
2) Install the necessary modules. You should know what you're going to program in advance so that you Install the relevant ones.
3) Install Eclipse.
4) Install the ADT plugin for Eclipse (instructions can be found in the site, but it's basically adding a repository and installing its contents).
5) Code!
Logseman said:
While I am not able to code myself, (I made the Hello World and that was it) I do have experience with the Android SDK due to some debugging I have needed to do.
Eclipse keeps being mentioned because it's the officially preferred IDE for Android, as it counts with an official plugin.
The sequence is the following.
1) Install the SDK.
2) Install the necessary modules. You should know what you're going to program in advance so that you Install the relevant ones.
3) Install Eclipse.
4) Install the ADT plugin for Eclipse (instructions can be found in the site, but it's basically adding a repository and installing its contents).
5) Code!
Click to expand...
Click to collapse
What he said. This is the only way to get started. And buy a book, Amazon has some great ones that will get you started on what you need to do from start to finish. The coding is almost the easy part, but theres a lot more involved in making it "work" with Android. Eclipse/Android SDK is the only way to do that. Just launch the SDK and let it do its thing for a couple hours and you're good!

[Q] Objective C to Java cross-platform development

What to do for converting an iphone game to android platform.?
Could anyone provide me some links/materials over this?
Your best bet might be porting it manually, since the platforms are very different, and even if such a converter exists, the conversion will be far from perfect, you'd still have to do some things manually.
some of iphone games are in android now, so i think if you tried to google it you can see answers but it needs time to study. and yes there is no converter for it and you must do it manually like editing the manifest or copying IOS platform to Android and edit it to run.

Developing Android apps using MoSync and HTML

I'd like to share a very easy way to rapidly create reasonably sophisticated android phone apps using a simple technique I've been working on. The short version: I'm importing complete HTML websites into an open source android IDE and compiling them into .apk's. The resulting apps look good and perform well.
Here's the basic technique:
1: Download and install the free MoSync SDK.
2:Open up your HTML editor and create a multipage website, scaled to phone screen dimensions. Feel free to include phone numbers, links and so on. compile and save it somewhere.
3: Go to the MoSync project folder you're working with, and replace the contents of the "LocalFiles" folder with the copied contents of your compiled website. Be sure to copy all the folders and files from your site over. Once you have done this, either reopen or refresh the conents of the folder in MoSync.
4. Connect your phone ( you can also run in emulation ) and locate it within MoSync, then compile and send the app over. It will install and launch.
... that's really about it. The only thing I've seen so far is that the over apk size can't be larger than 5MB's or so without the phone refusing to launch the app. Your mileage may vary, but this technique is great for folks like me that have solid HTML experience but are somewhat new to Android development and would like to create something simple but functional while they aquire the new Android skills. Hope this was helpful!

Question Android Studio for GW4 watchfaces

Newbie amateur dev question. I want to use Android Studio to develop a watch face app (not just a Watch Face Studio customization) for a GW4 that I'm about to buy (I've previously used Tizen Studio for similar Active2 projects). I selected New Project, Wear OS, Watch Face, Kotlin. That creates what looks like ready-to-go code for a simple watchface. I started an Android 11.0 Wear OS 3 emulator and built the project (debug variant), following the instructions to first set the Launch option to Nothing.
I then clicked Run. The app installed on the emulator (it's listed under Settings, App Info), but it does not appear in the list of available watch faces, so I can't run it.
Any idea what I'm doing wrong (or where I should ask if this is the wrong place)? This is literally my first attempt at anything with WearOS.
Android Studio Bumblebee 2021.1.1 Patch 1
emulator: Android 11.0 Wear OS 3 - Preview
More generally, is there a tutorial somewhere for using Android Studio to develop apps for the GW4? The Samsung Developers site just points to the Android Developers site, where I don't see anything specific to either the GW4 or to Samsung. Is there a specific emulator to use for the GW4? How do apps need to be signed to run on the GW4? Etc.
You have own GW4 for tests?
I ask because without own device harder...
Samsung offer remote... RTL Service with "real" GW4 device(s)...
Galaxy Watch - Remote Test Lab - Samsung Developers
RTL(Remote Test Lab) allows users to install and test applications over the web.
developer.samsung.com
More stupid Questions...
Windows User?
This is all I found on Youtube.. but he seems Linux ..
Best Regards
adfree said:
You have own GW4 for tests?
I ask because without own device harder...
Samsung offer remote... RTL Service with "real" GW4 device(s)...
Galaxy Watch - Remote Test Lab - Samsung Developers
RTL(Remote Test Lab) allows users to install and test applications over the web.
developer.samsung.com
More stupid Questions...
Windows User?
This is all I found on Youtube.. but he seems Linux ..
Best Regards
Click to expand...
Click to collapse
Thanks, adfree! No, I don't have a GW4 yet. I was hoping to explore how easy it is to port my personal apps from Tizen to WearOS before I decide to buy one. Usually I find it easiest to debug everything on an emulator before trying on the physical device, but the RTL Service sounds like a good alternative, so I'll take a look at that.
Yes, I'm on WIndows, but that video still looks like a helpful resource.
I've actually gotten hello-world apps to run on the WearOS emulator. It's just the watch-face app that I'm having trouble with, since for some reason it does not appear on the emulator's list of watch faces to launch.
You saw this?
Firmware and Combination Firmware and FOTA Delta and CSC change and...
Looks like it could be harder since Tizen... A Stock Firmware for netOdin/Odin not available yet... B Combination Firmware not available yet C FOTA Delta File for study I have...
forum.xda-developers.com
Firmware and Combination Firmware and FOTA Delta and CSC change and...
Looks like it could be harder since Tizen... A Stock Firmware for netOdin/Odin not available yet... B Combination Firmware not available yet C FOTA Delta File for study I have...
forum.xda-developers.com
If I remember correct Video is how it looks on AVD...
Best Regards
adfree said:
If I remember correct Video is how it looks on AVD...
Best Regards
Click to expand...
Click to collapse
Thanks, I'll look through that as well.

Categories

Resources