[App][Source]Browser - Windows Phone 8 Apps and Games

Hello fellow XDA's,
I know it's maybe stupid to ask you for this - but i feel little confused when i am looking for information about "how to build a web browser for windows phone8" so i was thinking if is it possible to share some old code for beginners.
Looking for easy web browser just for training purposes:good:

You might be able to find some old ones floating around, though probably not anything for the new frameworks (WP8.1, etc.).
The usual and easy approach is to start with a simple XAML app that has a WebBrowser control filling most of the layout. Then you add whatever controls you want (URL bar, etc.) around that, wire up the relevant events and any data storage you want to have (bookmarks, data synch, etc.) in the back-end C# or VB pages.
If you want to get Fancy and try implementing a different rendering engine than the built-in IE-based one... well, good luck! You'll need to do quite a lot of work just to port one to Windows Phone, although WebKit minus the JavaScript JIT should be possible (it was ported for RT last year). Then you'd need to create a XAML control to display it, or else use the DirectX APIs to draw it directly in a C++ app.

Related

[Q] learning how to develop apps

i want to start making apps for android but dont know where to stat i have the sdk on my desktop but thats about it. If someone could please help me or push me in the next step please do so.
Just go to the dev guide on the Android website to start making your first Hello World app. As for language, Android (I could be wrong) uses Java. Again, I could be wrong.
Sent from my GT-I9000M using XDA App
Indeed, Android uses Java. I'd suggest learning it before attempting to program for Android or else you'll feel like it's gonna be too difficult. There's plenty of books on Java, and some powerful Google searching will lead you to step-by-step guides to learning Java.
Also, go through the Android Dev Center for a lot of information. There's plenty of guides there on things like 'how to design your app to flow with the overall android feel' and 'designing icons to fit general android homescreen look'.
You're gonna want to download Eclipse for Java Programming. It's a free Java development environment much like Dreamweaver and Visual Studio are for web development.
Oh, and PLAN! Like any good development project, your project will not get anywhere if you don't know where to start and when to end it.
Plan first. Then plan the planned elements. Java is object-based programming, and just like building a house each object needs to be solid or else it'll crumble to pieces.
Same here. Thx for the advice.
elindemann said:
Indeed, Android uses Java. I'd suggest learning it before attempting to program for Android or else you'll feel like it's gonna be too difficult. There's plenty of books on Java, and some powerful Google searching will lead you to step-by-step guides to learning Java.
Also, go through the Android Dev Center for a lot of information. There's plenty of guides there on things like 'how to design your app to flow with the overall android feel' and 'designing icons to fit general android homescreen look'.
You're gonna want to download Eclipse for Java Programming. It's a free Java development environment much like Dreamweaver and Visual Studio are for web development.
Oh, and PLAN! Like any good development project, your project will not get anywhere if you don't know where to start and when to end it.
Plan first. Then plan the planned elements. Java is object-based programming, and just like building a house each object needs to be solid or else it'll crumble to pieces.
Click to expand...
Click to collapse
Actually, you're doing things the hard HARD ...HARD way....
if you want to develop apps for android, Titanium Mobile (appcelerator.com) is the best way to go. It takes far less time to learn JavaScript , CSS and HTML then it does to learn pure JAVA, and then learn to implement Android's API.
There are a few things that Titanium Mobile can't do, but they are always working on it to make it better. And of course - it's free
I've made a few apps using it. Including an HTML eBook reader, Chinese Flashcard App, and a Simple Chat Client.
Their JavaScript API takes a bit to get used to, but after that, you can easily spit out a simple app in about a day or so.
I have a web-app Template that lets me dump a Web-app (html/css/js) into a project, and spits out a nice new shiny Android app ready for the market.... I also wrote code that lets you access the Menu Button on android too. So it's not like using PhoneGap where it's just a Browser session with an icon on your phone.
PM me if you're interested, and i'll show you everything i learned about Titanium Mobile so far (i'm still learning actually). Or if you want an app done, i can do it for you... free if it's easy enough
DaoMingJin said:
Actually, you're doing things the hard HARD ...HARD way....
if you want to develop apps for android, Titanium Mobile (appcelerator.com) is the best way to go. It takes far less time to learn JavaScript , CSS and HTML then it does to learn pure JAVA, and then learn to implement Android's API.
There are a few things that Titanium Mobile can't do, but they are always working on it to make it better. And of course - it's free
I've made a few apps using it. Including an HTML eBook reader, Chinese Flashcard App, and a Simple Chat Client.
Their JavaScript API takes a bit to get used to, but after that, you can easily spit out a simple app in about a day or so.
I have a web-app Template that lets me dump a Web-app (html/css/js) into a project, and spits out a nice new shiny Android app ready for the market.... I also wrote code that lets you access the Menu Button on android too. So it's not like using PhoneGap where it's just a Browser session with an icon on your phone.
PM me if you're interested, and i'll show you everything i learned about Titanium Mobile so far (i'm still learning actually). Or if you want an app done, i can do it for you... free if it's easy enough
Click to expand...
Click to collapse
Wow, I'm very interested. I might check it out.
sent from my pimp hero running Froyo CM6 and the XDA app
If you know the C or C++ language you could try out MoSync, depends what you like, some programmers like the level of control and speed you get from C++. If your content with simpler apps then maybe phonegap or appcellerator for you.
I guess that when mobile apps get more sophisticated javascript programs will be just as complex as C++ programs.
Thats my view, but then I like C++ better.
/Tony
MoSyncTony said:
If you know the C or C++ language you could try out MoSync, depends what you like, some programmers like the level of control and speed you get from C++. If your content with simpler apps then maybe phonegap or appcellerator for you.
I guess that when mobile apps get more sophisticated javascript programs will be just as complex as C++ programs.
Thats my view, but then I like C++ better.
/Tony
Click to expand...
Click to collapse
It really depends on how much control and you really need. If you're going to write games, then you do need speed that C++ and the Native Application Development API on android can give you. If you're writing a social networking app, the speed of C++ would really be an overkill.
As far as i've read, PhoneGap still has a lot of issues. And the build process is a bit more complicated than on Titanium Mobile.
If you're just using the regular Android API to write apps, i don't notice a lot of difference in speed execution between writing it in pure Java, or using Titanium mobile (using native code and UI elements - i don't mean putting everything into a WebView).
The current app that i'm writing now i don't think can be written using Titanium Mobile or PhoneGap (unless i added some native functions and did my own fork of PhoneGap).
More or less, i'm writing an App for Android and JRE/Linux systems that will allow me to enumerate, and access USB status bits, and USB data frames of a given USB device, and then allowing that USB device to be accessed through a TCP or UDP connection.
I might be able to do this with Titanium Mobile, but i don't think i can. As the only files you're allowed to access are on the SD card, application data directory, and temp directory.... i think there's one other place you're allowed to access too, but i never used it. However later today i might just try to see if i can access the /Dev/DSP01 (aka sound card) on an android device. If i can, i think i could write it using titanium mobile. I'm already halfway done with this app in pure java, so i wouldn't actually rewrite it in Titanium Mobile now.
DaoMingJin said:
if you want to develop apps for android, Titanium Mobile (appcelerator.com) is the best way to go.
Click to expand...
Click to collapse
Thanx mate!
If you looking a book or something to teach you the basics Beginning Java Programming for Dummies and Android Application Development in 24 Hours are good reads.
I'd rather not fill the forum with more threads so I'm just going to ask my question here. What is the best way to read the android dev guide on the device itself? Just going to the site directly? Ideally I'd like a pdf or something designed to be read on a small screen. The site can have formatting issues when read on a small screen.
Sent from my SPH-D700 using XDA App
I've been developing for a long time (nearly 30 years), and whenever I need to learn a new language I start with the Sams range, "Teach yourself whatever language in X days/hours". They're pretty good and this is available for Kindle, which is great if you use the Amazon Kindle app...
http://www.amazon.co.uk/Teach-Yours...1_fkmr2_2?ie=UTF8&qid=1287485537&sr=8-2-fkmr2
It obviously costs, but I really do rate those books as brilliant starting points. The rest is google and friends on here.
Hope this helps - good luck mate.
Personally, I've been coding in Java for what... four years now? I'm feeling dwarfed here by johncmolyneux but honestly, the best way to learn is to not use an IDE like Eclipse, but to use something that you have to hand-code everything yourself, such as Geany! You learn fairly quickly after writing a few applications.
If you are thinking "titanium", "mosync" or "phone gap" it is worth doing a bit of background research. There are several extremely powerful tools out there that can help you build cross platform apps - these are among the top ones.
bit more discussion about this here: http://forum.xda-developers.com/showthread.php?p=16703287#post16703287
There are a few useful reports comparing them - check out ours by googling "triballabs cross platform"
The Google App Inventor makes it pretty easy to create your own Android apps. Best part is you don't need to learn any programming languages. You won't be creating anything too complicated like a video game for example, but it's a good start nonetheless.
http://appinventor.googlelabs.com/about/
If you want to learn the basics of Java, then please check out a book called as "Head First Java". They really explain the basics with the help of real life examples to make things much simpler so that people understand.
Beginner app projects
I'm also just getting started with app development. Something I've been looking for is a beginner app project. Wish I could find a walkthrough of a simple app like a game of Hangman or something like that. I've been through the android developer training web site and got some good info but some things I'm still a little stuck on. Id Love to see an actual app (rather than just a mock up of some fields and buttons) and then a slightly dumbed down explanation of the code. Might be a lot to ask but man it would be great!

[Q] Phone Audit with desktop application

If anyone is familiar with Speccy for the PC they know more or less what I am looking for.
I am looking for an app that does a thorough audit of a phone (Android platform) but not only displays it on the phone (plenty of apps do that). Id want it to export the audit to a file that can then be opened on a desktop application with a easier to navigate and study interface.
Currently like I said there is a number of applications that can do part of this as an added feature, but I have not seen any dedicated app to do an audit of the phone, things from programs, spaced used, network, hardware, permissions for particular programs, etc. Id like it to be as thorough as possible, but to be viewable in a reasonably ok interface on a desktop.
Browser maybe preferably for the linux and iOS users so that it isn't tied down to one Operating system.
Any ideas of something like this, or anyone working on something similar?
sorry for reviving this thread but I'm interested as well.

[Q] User generated layouts

Hi all
I am developing an app in which I would like to allow user-generated content. Specifically, this will be a remote control application, and I would like people to be able to add custom layouts, capable of sending "events" through the app, but I am not sure how to do so.
There are a couple of ways I have been looking at. The first is using a WebView so that this content can be developed in HTML. This would be nice and easy from their point of view, but it does have it's downsides, especially where security is concerned. If I was to do this, I would want to bind a "send" Javascript interface to my app, but disallow any other Javascript (I do not, for example, want it to be able to relay the button presses to some other place). I'm not sure exactly how I could do this.
The second way I can see would be to use an XML file and build up the layout from that. Here, the only way I could see it to parse the XML file and programatically build the layout. This seems a lot of work, and I would rather avoid that.
A third way would be to import a layout purely as an image plus an XML file describing hot-spots for triggering events. This seems to have too many limitations.
The final option is to expose an interface to other apps, and allow users to build separate applications which hook in to provide these layouts. This seems a terrible approach for such a simple objective.
So, does anyone know of a simple way to do what I am after, or any comments on the options listed above? Has anyone done anything similar, or know of an open-source project which acheives something similar?
Thanks in advance

Control Adobe apps (specifically Premiere Pro) with Android?

I believe there are some apps for iOS that allow you to control various adobe desktop applications to make processes such as color correcting, a bit easier and more realistic, because you can actually use your hands.
I am wondering if anything of the sort exists for Android. I've been searching and haven't found a thing, but figured I should open it up to the masses. Also, any devs reading this wanna develop? I'll beta test

build YouTube app for Windows 10

How do I build a YouTube app for Windows 10 Mobile
I want learn how to build YouTube app
Help plz
Well you need to tell more info than just asking for help. What is the thing you need help with? What YouTube app you are talking about? AFAIK you need a source code for the app if you want to build it with Visual Studio so do you have it?
You need get YouTube API , using Visual Studio dev app.
https://visualstudio.com
李晓萌 said:
You need get YouTube API , using Visual Studio dev app.
https://visualstudio.com
Click to expand...
Click to collapse
How is this?, And then what ?
I_am_Egyptian_and_proud said:
How is this?, And then what ?
Click to expand...
Click to collapse
You have any programming skills at all?
hene193 said:
Well you need to tell more info than just asking for help. What is the thing you need help with? What YouTube app you are talking about? AFAIK you need a source code for the app if you want to build it with Visual Studio so do you have it?
Click to expand...
Click to collapse
I have an idea for it. Somebody just need to wrap the m.youtube.com web mobile app to be more like a native app, since it's already almost feature complete, and its Material design already, so you guys won't bother much on design. And just maybe add some little native things there like Native Windows Video Player API and controls, maybe casting too, some CSS modifications on the web app's features and looks too, like making the tabs hide when you're scrolling down, and will show up when you scroll up again (just like the YouTube app) (which is not present on current mobile web app) or some custom animations too, ability to scroll through tabs with swipe (currently not possible on mobile web app's CSS rn), maybe a more native rewrap of dialogs on the mobile web app, native to Windows, I don't care if it's Material design on this aspect as since Windows design APIs is still incomplete btw, as long as it's responsive and interactable than the CSS ones, and also maybe native PiP on the app, ability to collapse the player/video page if you swipe down on it or tap collapse button, the whole video page will collapse and fade and the native player will be small at the side, also ability to dismiss it to end the remove or stop the video too.
The good thing with this is you wont need an access to YouTube API (I think) (which is also very restrictive and limited) since you're just wrapping some parts of the web app instead of remaking it.
This is all theoretical btw, since I know few of programming and developing bc I'm more of a UX designer myself. I hope this is possible. And hope someone brave see this idea and really do this. We'll back you with our support
PrinceKicksters said:
I have an idea for it. Somebody just need to wrap the m.youtube.com web mobile app to be more like a native app, since it's already almost feature complete, and its Material design already, so you guys won't bother much on design. And just maybe add some little native things there like Native Windows Video Player API and controls, maybe casting too, some CSS modifications on the web app's features and looks too, like making the tabs hide when you're scrolling down, and will show up when you scroll up again (just like the YouTube app) (which is not present on current mobile web app) or some custom animations too, ability to scroll through tabs with swipe (currently not possible on mobile web app's CSS rn), maybe a more native rewrap of dialogs on the mobile web app, native to Windows, I don't care if it's Material design on this aspect as since Windows design APIs is still incomplete btw, as long as it's responsive and interactable than the CSS ones, and also maybe native PiP on the app, ability to collapse the player/video page if you swipe down on it or tap collapse button, the whole video page will collapse and fade and the native player will be small at the side, also ability to dismiss it to end the remove or stop the video too.
The good thing with this is you wont need an access to YouTube API (I think) (which is also very restrictive and limited) since you're just wrapping some parts of the web app instead of remaking it.
This is all theoretical btw, since I know few of programming and developing bc I'm more of a UX designer myself. I hope this is possible. And hope someone brave see this idea and really do this. We'll back you with our support
Click to expand...
Click to collapse
So what you want to do is create an appx with a webview inside with the uri m.youtube.com basicly, more complex app would be using Youtube API.
Please don't make a web wrapper :crying: . There are enough of those in the Store already and I'm pretty sure the YouTube APIs aren't that restricted, haven't you guys downloaded myTube already?
Instead, search for the YouTube Data API and figure out how to use HTTP requests to send/receive JSON to use data from Google into your app.
This is to want to reivent the wheel, poius ja exixte several clients of Youtube available in the store and for free

Categories

Resources