SkyDrive browser - Windows Phone 7 Software Development

During working on my project, I wrote (for testing purpose and for the future integration), a small test application called SkyDriveBrowser. I hope, source code of this project will be interesting and helpful to novice programmers.
Code is very simple (nothing fancy or colorful ) and demonstrates a few basic techniques to work with SkyDrive using MS Live component for WP7.
For my own purposes, SkyDriveItem class pay some attention to the archives, you don't need that part.
Code is completely free; you may use it in your commercial or fun projects without any limitations even mentioning my name in about box! Enjoy!
UPDATE: I've added compiled .xap to the archive.

Can you post some screenshot ?

wpxbox said:
Can you post some screenshot ?
Click to expand...
Click to collapse
I can but it has no sense at all. My post for developers only; it's not a complete app but useful piece of code. BTW, archive already contains a compiled .xap; you may sideload it to phone/emulator and play yourself

Oh Ok. Got it Thanks

Related

.XAP Marketplace apps free (illegal) downloadable?

According to WPcentral:
Sounds like an innocent blog that reviews apps right? Well the concerns from the Twitter posts is that not only does the site review apps but it also contains download links for the .xap file that is residing on Microsoft's servers.
Even if you download the .xap file, it's going to take some effort to get it installed to your Windows Phone 7.
You will need the developer tools and device that is unlocked for development. While the developer tools are free, you have to be a registered developer to get an unlocked device. You CAN however download the .xap and rename it as a .zip and look at the structure of the app, though we're 99% sure that the real "code" of the app is compiled/encoded/encrypted.
Not many will be able to do much with this downloadable file. That is unless you're a developer looking to download free apps from other developers. Still, one has to wonder why it's so easy for a third party site to provide download links to Marketplace apps.
Click to expand...
Click to collapse
They are talking about the website: http://winmobile7.apphab.com/
Kind of a strange site. They are offering free downloads of paid marketplace applications. Unless you are a developer, you can't do anything with it. But it's still strange...
This sounds like a good way to get in a lot of trouble. I would bet Microsoft can see what apps are installed when the phone checks for marketplace app updates even if you side load it as a developer.
And its still live and offering files to download. Shoddy MS security on display, extremely troubling for devs.
Hopefully Microsoft will look into that site and any similar sites.
We cant have developers loosing money because of these people.
I can't see where you download apps - if its real why not post a link on http://social.answers.microsoft.com/Forums/en-US/windowsphone7/threads ?
It says it's for free and trial versions. Isn't it pointless to provide download files anyway since you can only install apps via the Marketplace?
****, they have my app on there, not happy
my app does support trial, I'm not seeing anything about xap downloads, hopefully this means the breach has been fixed and not that I'm looking in the wrong place
I don't mind free publicity, but I put many hours into that and don't want it spread around in such a way (free, unauthorized downloads, raw code)
Definitely not cool for developers. One issue is that all the apps are silverlight and are only compiled to MSIL. Pop open the binaries with Reflector and you've basically got the source code. All devs should utilize Dotfuscator to at least help with this.
http://windowsteamblog.com/windows_...-with-preemptive-solutions-for-analytics.aspx
ckacey said:
my app does support trial, I'm not seeing anything about xap downloads, hopefully this means the breach has been fixed and not that I'm looking in the wrong place
I don't mind free publicity, but I put many hours into that and don't want it spread around in such a way (free, unauthorized downloads, raw code)
Click to expand...
Click to collapse
It looks like the site that had the links (http://winmobile7.apphab.com) took down the link to the XAPs but I bet the issue is still there. It was a pretty simple URL to the Microsoft server. You just had to know the application's GUID and you could download the XAP.
I don't see how this makes them free... you can easily see you need a registered dev device, I doubt it makes the app "free" because there is a fee you must pay.
efjay said:
And its still live and offering files to download. Shoddy MS security on display, extremely troubling for devs.
Click to expand...
Click to collapse
Microsoft can check your device and see if you have pirated software on it, just like they do for XBox live. They already have the infrastructure in place and if you pirate be prepared to have your phone banned from Marketplace, Zune, XBox Live, etc.
RustyGrom said:
Definitely not cool for developers. One issue is that all the apps are silverlight and are only compiled to MSIL. Pop open the binaries with Reflector and you've basically got the source code. All devs should utilize Dotfuscator to at least help with this.
http://windowsteamblog.com/windows_...-with-preemptive-solutions-for-analytics.aspx
Click to expand...
Click to collapse
Any decent develper will Obfuscate the code. If they didn't, they were kind of asking for it since it's hot hard to intercept data being downloaded over WiFi, etc. The fact that it can only come from the market was never enough to stop people from getting their hands on the files downloaded from said market.
It's no different than any other platform that uses a VM architecture (Android, WP7, WM 6.x .NET CF, Java ME, etc.).
I found my own app there. I don't however see a download link?
--edit: Nvm, should've read the thread to its end.
What is the URL? To replace with GUID or XAP filename? Could always use archive.org.
i guys!i have a mega pack xap installers with games and apps.
i poste for everyone previous.
sorry bad english...
cmpts
is a method to decrypt files xap
http://forum.xda-developers.com/showpost.php?p=34246750&postcount=3

Recompiling Dolfin and making changes.

The Dolpfin browser's source is available at http://opensource.samsung.com/reception/reception_main.do?method=reception_list&menu_item=mobile
Would it be possible to modify the source to include say, full screen browsing, updated webkit components and so on?
check this thread- http://forum.xda-developers.com/showthread.php?t=967180
adfree is trying to replace XXJL2's dolfin browser with that of XXJID. it might be useful to you.
sabianadmin said:
The Dolpfin browser's source is available at http://opensource.samsung.com/reception/reception_main.do?method=reception_list&menu_item=mobile
Would it be possible to modify the source to include say, full screen browsing, updated webkit components and so on?
Click to expand...
Click to collapse
Modify sources and recompile? Sure.
Load it on the Wave? No option at the moment and there might even be difficult to be done in the future.
Remember that open source means you are free to review the source, offer modifications and reuse the sources elsewhere (if in line with the license used), but that does not mean you can replace it.
Thank you very much himadri_sm.
But adfree is not smart enough to do this.
Dolfin is not standalone App like Facebook or Twitter for instance...
It is hardcoded into apps_compressed.bin and additional uses Exe/DLL00111104.DLL
About sabianadmin's idea.
This is tough job too.
As I know such project needs manpower... to make stable trusted Browser.
Nobody knows, if all parts in this source and if easily to port into bada App possible...
Maybe if Opera Developer would do such experiments, then more success.
If Hobby Programmer...
Best Regards
mijoma said:
Modify sources and recompile? Sure.
Load it on the Wave? No option at the moment and there might even be difficult to be done in the future.
Remember that open source means you are free to review the source, offer modifications and reuse the sources elsewhere (if in line with the license used), but that does not mean you can replace it.
Click to expand...
Click to collapse
:-/ not sure you quite get my meaning, im talking about using the Bada SDK to compile a modified version of the browser and creating a new browser based on the original Dolfin source, the source is just weird i was expecting .cpp and so forth but instead they have gone with microsoft standards like .dll and .bat . Is it me or are samsung new to this platform development thing...
Dolfin is not only for bada... Samsung used this for several platforms...
So its same... you have to port the source...
Look here for Example:
http://forum.xda-developers.com/showthread.php?t=1004193
Linked Browser is around 3 MB...
Better we start some easier project... for example TICTACTOE on JAVA with Bluetooth Support... NO JOKE
http://forum.xda-developers.com/showthread.php?t=999256
Here are the source code for bada...
We need someone who made JAVA Version for instance. Then you could play S8500 against I9000 user.
This source could also help to develop simple check... or other Multiplayer over Bluetooth.
Best Regards

[CLIENT-APP] MetroPack - Cydia for Windows Phone 7 (desktop)

It is a desktop client (package management on the phone is another topic) that aggregates existing repositories (my own basic format - currently no APT or NuGet) and provides a way to distribute homebrew applications in a more convenient manner.
this looks great! but wheres the download file?
it said "This project has no releases."
As I said in the main post, the binaries are not there yet, but you can always compile the source code yourself. Binaries will be available this weekend.
Here is the latest changeset.
Looks really good.
Downloaded,compiled,ran,downloaded the test apps. IT WORKS!! Really nice concept. I do hope you make some documentation for it. For all I know, this could be the next big thing.
Thanks. Compiled it and ran it. Works.
What i'd like to see is some kind of
- rating.
- possible to not show only screenshots but maybe short videos to demonstrate app.
- possibility to upload also source code of the xaps, so developers can decide if they want to brew this app by themselves or install "unchecked" xaps
thanks so far. i think youre on a good way!
ps: i remember last year there were big discussions microsoft wanted allow homebrew and integrate this into marketplace. hello? chevron? hello? so hopefully youre work is not for nothing.
@amannigam @oOp thanks for the feedback! It works at a very basic level - many more improvements have to be made, but that's going to happen over the weekend.
What specific documentation would you need for it?
Also, ratings sounds like a good idea. The only thing is I need to think of is a way to write those to the repository the user is exposing. Or, I could simply create a central repo/pack-ID link database on my own server that will keep a record of app ratings (can cause some problems, but I am plainly thinking of a PoC now).
I appreciate the feedback!
mwang's post about the DFT 7220 release says that the ROM includes the ability to install XAP's over the net. Homebrew like this but on phone. Just thought you'd be interested in that.
Great concept! I'll have to join in on this. I'll be setting up a repository later on.
What I feel that this project can go a really long way. So try making docs for everything that is being added. So people never lose track of anything. Also info of how to create a repo and adding the repo to app will help them jump to it easy.
Looks great! c# WPF, nothing beats this.
1. The new Mango hack allows downloading and installing XAPS directly from the OS (without a PC connected). Maybe we can use the infrastructure of your PC app and make another mobile app?
2. How can I contribute?
snickler said:
Great concept! I'll have to join in on this. I'll be setting up a repository later on.
Click to expand...
Click to collapse
Awesome! Let me know what the URL is when it's ready.
amannigam said:
What I feel that this project can go a really long way. So try making docs for everything that is being added. So people never lose track of anything. Also info of how to create a repo and adding the repo to app will help them jump to it easy.
Click to expand...
Click to collapse
Will try to do that. I will put together a tool to automatically create a repo in the next hours and will make it available by tomorrow. It will be bundled as a part of MetroPack. Thanks for the feedback!
Thank you all!
yes, pls make it into a phone app
Also tell us how can we contribute to the project. Yes we will test it. But apart from that if you need any help in development or anything. Do tell us.
the weekend is almost over and still no release?
And you have my full support also
Coming this evening (Central Time). Have to do some late adjustments and bug fixes.
Got done with the repository builder tool. I decided to integrate it with MetroPack, so it's work in progress now - you can see it as RepoDev, I need to port the rest tomorrow (bindings and actual export).
For those who do not want to download the source code, the binaries will be available here. The current binaries are very raw (functionality-wise it is a PoC). Once I integrate the repo builder tool, I will make sure that packages are actually installed on the device.
Also, if you are creating a repo, make sure you read this first:
http://metropack.codeplex.com/wikipage?title=Creating a new repository
There is a breaking change related to the version format.
GREAT APP, cant wait till final build , I get force close error and cant use it for long , I want to donate some money , its not alot but all donations help.
it really has potential
I really appreciate your guys' feedback, but until there is a final release - no donations Thank you, though!
@confrontation - what were you doing to get a forced close?
ZeBond said:
I really appreciate your guys' feedback, but until there is a final release - no donations Thank you, though!
@confrontation - what were you doing to get a forced close?
Click to expand...
Click to collapse
I was just checking out all the fuctions of the app

[Lib][Java/JAR] RegIOLib - Java/Registry In/Out Communications Lib

Hey there,
I thought it was time to release something new
A bit of background storyline:
My last projects were all VB/.Net programs, and they were somewhat great, sure. But I was missing the Linux portability and the programs aren't available on all Windows version - Which bugged me a lot. So I finally started coding in Java again! I'm also porting Universal Android Toolkit to Java, so I can easily create a Linux version of that as well.
(If you want to make that happen faster, please donate to me. I managed to fix my laptop, but I've only got a 60GB HDD and I need that much space alone for Windows and I have no income, I'm only 16 )
Anyways, now that you know where I'm coming from, as I'm porting Universal Android Toolkit to Java, I need access to the registry to save the application's settings and easily access them. But unlike .Net languages, Java doesn't have built-in support for this kind of operation, so I looked around and grabbed bits and pieces of code and stuck them together into a Java Class Library.
Thus, RegIOLib was born.
It's licensed under the GPL 3.0 (License info included in the source).
Downloads
Sourceforge
Source Code
http://github.com/Beatsleigher/RegIOLib
EDIT:
I forgot to mention the following: To get access to the Windows registry, the application needs to be started with administrative rights!
You can either achieve this by starting the app via a launcher (Which is what I tempt to do) or by right-clicking the file and allowing it to run as admin.
Beatsleigher said:
It's licensed under the GPL 3.0 (License info included in the source).
Click to expand...
Click to collapse
So closed source applications may not use it?
nikwen said:
So closed source applications may not use it?
Click to expand...
Click to collapse
Of course they can use it
Just add a link to this thread and my website, done.
But if you're coming from some major company or something, then I would like something more
Beatsleigher said:
Of course they can use it
Just add a link to this thread and my website, done.
But if you're coming from some major company or something, then I would like something more
Click to expand...
Click to collapse
According to the GPL they can't because it requires the source code of derivative work to be published. That's the "problem" with that license if you use it for libraries.
Due to that the LGPL exists.
http://www.tldrlegal.com/license/gnu-general-public-license-v3-(gpl-3)
Limited commercial use. Must include source code. So no, GPL libraries and closed source applications do not mix.
An inelegant solution (which is the one I have always used actually) is to save settings in a file in %APPDATA%, no admin rights are required to edit files in there, or roll your own registry library for the application. Or Beatsleigher could LGPL it, but its his project, his license, I think he has full right to stick it under GPL if he wants to.
Although I dont think saving into a registry key is really cross platform Neither is %APPDATA% but using the %APPDATA% method is simple file read/write so on a cross platform application you can simply change the filepath dependent on the current execution environment.
System.getenv("APPDATA") will return the filepath for the current users APPDATA folder on windows. System.getProperty("user.home") works on linux and I think OSX to get the home directory. I dont think user.home works properly on windows. But it should be easy to switch between the 2 methods, add on an extra bit for where your settings file is and detect which to use at runtime.
Disadvantage (and to some advantage, depends on what the application is doing and whether the author likes it or not) is that saving configuration files as actual files means the user can play around with them. APPDATA is by default a hidden folder. But chances are most users dont even know what the registry is so in a way your settings might be more secure left in there.
Even possible to have an application load settings from the registry on windows and files on everything else.
SixSixSevenSeven said:
Or Beatsleigher could LGPL it, but its his project, his license, I think he has full right to stick it under GPL if he wants to.
Click to expand...
Click to collapse
Of course, he has that right. It's his code. The GNU even collected some reasons for sticking with the GPL.
Just wanted to point out that the GPL says that all derivative work (which includes programs that use libraries licenced under the GPL) must be GPL'ed (and therefore open source'd), too.
SixSixSevenSeven said:
http://www.tldrlegal.com/license/gnu-general-public-license-v3-(gpl-3)
Limited commercial use. Must include source code. So no, GPL libraries and closed source applications do not mix.
An inelegant solution (which is the one I have always used actually) is to save settings in a file in %APPDATA%, no admin rights are required to edit files in there, or roll your own registry library for the application. Or Beatsleigher could LGPL it, but its his project, his license, I think he has full right to stick it under GPL if he wants to.
Although I dont think saving into a registry key is really cross platform Neither is %APPDATA% but using the %APPDATA% method is simple file read/write so on a cross platform application you can simply change the filepath dependent on the current execution environment.
System.getenv("APPDATA") will return the filepath for the current users APPDATA folder on windows. System.getProperty("user.home") works on linux and I think OSX to get the home directory. I dont think user.home works properly on windows. But it should be easy to switch between the 2 methods, add on an extra bit for where your settings file is and detect which to use at runtime.
Disadvantage (and to some advantage, depends on what the application is doing and whether the author likes it or not) is that saving configuration files as actual files means the user can play around with them. APPDATA is by default a hidden folder. But chances are most users dont even know what the registry is so in a way your settings might be more secure left in there.
Even possible to have an application load settings from the registry on windows and files on everything else.
Click to expand...
Click to collapse
No, as far as I'm aware, only Windows has a registry. I could be wrong though. In the past 5-6 years that I've been developing, I was only developing in VB.Net - A decision that I highly regret nowadays
But I'm so used to being able to save my settings in the registry where no 'normal' user can modify them and cause the program to misbehave, that I'd like my java programs to do so as well.
And seeming as Universal Android Toolkit is a big, big project (I've been developing it for over a year now and I'm constantly adding new features and now I'm porting it to Java making it really hard to release, but I'll get there eventually.
As soon as I've got the major stuff sorted out, I think I'm ready to release a Pre-Release candidate for testing and bug-fixing, but like I said, I'm still having some trouble and then I need to figure out a way to get those settings saved on Mac OS and Linux machines, for which I've already written some classes, but only to install ADB and stuff... And I'm getting side-tracked again, aren't I?
Anywhosers, I think I'm going to leave it under the GPL, even though you're right and that that means that closed-source programs can't use it, but I'll think of something. Even if it's a commercial license, say someone pays 2$ per program. I don't know.
But for the thing you said with %AppData%, what you can do on Linux machines, is (in Java)
Code:
private final String userProf = System.getenv("user.home");
final File tempDir = new File(userProf + "/Temp/(.)<Program>/temp.file");
private void setupTempDir() {
Path tmp = tempDir.getParentFile().getPath();
if (!tmp.exists()) {
tempDir.createNewFile();
}
}
That should solve that problem, then you COULD create some sort of settings file, but then it's just a pain to get and save the settings when you're using multiple GUIs, like me.
And then there's another way of doing that in Android apps, which I haven't figured out yet, mainly because I haven't even started with Android apps and I don't have the hard drive space to do so :/
Beatsleigher said:
Anywhosers, I think I'm going to leave it under the GPL, even though you're right and that that means that closed-source programs can't use it, but I'll think of something. Even if it's a commercial license, say someone pays 2$ per program. I don't know.
Click to expand...
Click to collapse
OK, no problem. The GPL, however, says that you may not relicense it. :/
(All of my comments I've posted yet sound as if the GPL is a bad license. To clarify that: I don't think so. I prefer it for applications, but use the LGPL or Apache v2 license for libraries.)
Beatsleigher said:
(If you want to make that happen faster, please donate to me. I managed to fix my laptop, but I've only got a 60GB HDD and I need that much space alone for Windows and I have no income, I'm only 16 )
Click to expand...
Click to collapse
I'm 17 and I have a 64GB SSD. C#, C++ works great.
Anyway 700 lines of license make no sense. The same about the portable registry library for linux. Could you tell the purpose of it?
Useless guy said:
I'm 17 and I have a 64GB SSD. C#, C++ works great.
Anyway 700 lines of license make no sense. The same about the portable registry library for linux. Could you tell the purpose of it?
Click to expand...
Click to collapse
GPL isn't 700 lines last time I checked, also I left a link to a simple description of it above (I do love tldrlegal).
There is no registry for linux, no one mentioned a portable registry for linux.
SixSixSevenSeven said:
GPL isn't 700 lines last time I checked, also I left a link to a simple description of it above (I do love tldrlegal).
There is no registry for linux, no one mentioned a portable registry for linux.
Click to expand...
Click to collapse
I did
Anyways, now that you know where I'm coming from, as I'm porting Universal Android Toolkit to Java, I need access to the registry to save the application's settings and easily access them.
Click to expand...
Click to collapse
nikwen said:
OK, no problem. The GPL, however, says that you may not relicense it. :/
(All of my comments I've posted yet sound as if the GPL is a bad license. To clarify that: I don't think so. I prefer it for applications, but use the LGPL or Apache v2 license for libraries.)
Click to expand...
Click to collapse
I'm working on a license for it and any other such things. So I'll release it again for commercial and closed-source programs when it's done.
And yes, it does sound like you think it's a bad license. But meh. Everyone has their own opinion, I guess.
Useless guy said:
I'm 17 and I have a 64GB SSD. C#, C++ works great.
Anyway 700 lines of license make no sense. The same about the portable registry library for linux. Could you tell the purpose of it?
Click to expand...
Click to collapse
GPL isn' 700 lines.
That's cool for you, that you've got that stuff. I don't. Anyways, I'm getting away from .Net languages, and C# is easy for anyone to learn. Especially if they're coming from VB, like me.
C++ isn#'t my kinda thing, as you can't natively create GUIs in it. You always need some kind of library for that sort of stuff.
And I didn't intend this for use with Linux. Everyone that has basic knowledge of these operating systems knows that Linux, BSD, Mac OS etc. don't have registries. And I never even noted that I'm attempting to use registry stuff in Linux. I said I'm porting Universal Android Toolkit to JAVA, and that I need access to the WINDOWS registry to save the application's settings in the reg, so that users can actively change the settings if the program starts misbehaving.
Useless guy said:
I did
Click to expand...
Click to collapse
I said JAVA, not Linux. What I probably did say, however, is that I'm porting my program to Java so that it can easily be ported to said OSs. But never that I'm attempting to save my settings in the registry in all OSs.
Beatsleigher said:
C++ isn#'t my kinda thing, as you can't natively create GUIs in it. You always need some kind of library for that sort of stuff.
Click to expand...
Click to collapse
Lolwhat?
Beatsleigher said:
C++ isn#'t my kinda thing, as you can't natively create GUIs in it. You always need some kind of library for that sort of stuff..
Click to expand...
Click to collapse
Errm, those libraries are written in C or C++... native code such as C and C++ are the only languages which can create GUI's. VB.net/C#/anything else .NET use libraries too which in the case of WinForms and WPF are just wrappers around win32 functionality implemented in C.
Beatsleigher said:
And yes, it does sound like you think it's a bad license. But meh. Everyone has their own opinion, I guess.
Click to expand...
Click to collapse
I love the GPL. I use it for everything (except libraries).
But I'll stop the off-topic now.

How to create an Android app using HTML, CSS and JavaScript

Hello, I have a question on Android development. Personally, I know web development but I do not know JAVA programming because I am not into software development.
I want to develop an android app by using HTML5, CSS3 and JQuery Mobile. The app will be simple, it will be just an app on poetry where users will click some categories and read poems, and also search. That's all. It will be free, no registration, no ads and no server side. I want to use JQuery Mobile for this or even pure HTML5 and CSS3. In fact, HTML and CSS will be used of course.
Bear in ind that I am NOT converting an existing website into an app, but rather creating an app through HTML, CSS and JavaScript. So, the Web View tool is not appropriate here.
My questions are:
1/ Can we really create an APK with obly HTML, CSS or JavaScript?
2/ If we can create, what software (which is free) can I use to create the APK by compiling/converting my web pages?
Thank!
ali20142014 said:
Hello, I have a question on Android development. Personally, I know web development but I do not know JAVA programming because I am not into software development.
I want to develop an android app by using HTML5, CSS3 and JQuery Mobile. The app will be simple, it will be just an app on poetry where users will click some categories and read poems, and also search. That's all. It will be free, no registration, no ads and no server side. I want to use JQuery Mobile for this or even pure HTML5 and CSS3. In fact, HTML and CSS will be used of course.
Bear in ind that I am NOT converting an existing website into an app, but rather creating an app through HTML, CSS and JavaScript. So, the Web View tool is not appropriate here.
My questions are:
1/ Can we really create an APK with obly HTML, CSS or JavaScript?
2/ If we can create, what software (which is free) can I use to create the APK by compiling/converting my web pages?
Thank!
Click to expand...
Click to collapse
You'll need to go through the (sometimes painful) installation of Eclipse/Android Developer Tools and the Android SDK...
https://developer.android.com/sdk/installing/bundle.html
After that you can then do exactly what you are asking for with this...
http://cordova.apache.org/
I'm using that technology to create professional apps (as in, commercial apps for customers) using HTML5 & CSS, Javascript, jQuery and I opt for Bootstrap over jQuery Mobile as it's a lot lighter, but jQuery Mobile works fine with it too.
There's also PhoneGap, but that's just a rebranding of Cordova at the moment. They may branch out in different directions at some point, but at the moment there's no difference. The only advantage to PhoneGap is that you can point it at your source on GitHub and it will build online for you. Very handy if you want to do pure online development, but a bit messy.
Thank you for replying. I think I will try with the PhoneGap and Eclipse as you suggested. I have other questions:
1/ Even the APK will be developed using just HTML, CSS and JavaScript, how to notify the user an update is available through a notification method? I am not asking for tutorials, but just the steps.
2/ As you know, to view the source code of a website, a user will right click and view. As the APK will be developed using client side languages, will they be able to view the source codes in any other way apart decompiling?
ali20142014 said:
Thank you for replying. I think I will try with the PhoneGap and Eclipse as you suggested. I have other questions:
1/ Even the APK will be developed using just HTML, CSS and JavaScript, how to notify the user an update is available through a notification method? I am not asking for tutorials, but just the steps.
Click to expand...
Click to collapse
Your best bet is to let Google Play Store do all that for you. It means paying for a developer account, but it's not expensive and it means that people can get your app from the Play Store, which looks a lot more credible than a link and instructions how to allow 3rd party apps. Also, you push an update to the Play Store, and that pushes the update to all your users. You can't really ask for better than that.
ali20142014 said:
2/ As you know, to view the source code of a website, a user will right click and view. As the APK will be developed using client side languages, will they be able to view the source codes in any other way apart decompiling?
Click to expand...
Click to collapse
They can't do anything as simple as "View source" as all the files are embedded in the application, but they can decompile it and get at your source that way, but there's nothing to stop someone doing that with an APK anyway. They best thing would be to develop your app till your happy with it, and then obfuscate the crap out of the html, css & js files. Sure someone could decompile the app and get your source, but they'd really struggle to do anything with it.
Have a play with it and see if it's any good for you. It really does make it simple for a developer with web experience to make apps.
Also, if this is of any use, I made a guide for developing and building Phonegap Android apps purely online, without any SDK or IDE installation. It's not ideal as debugging would be a nightmare. I mostly made it as reference for myself, but check it out anyway...
http://johncmolyneux.blogspot.co.uk/2014/05/how-to-build-android-apps-online.html
Sorry for the late reply. Can I know where is the APK file is stored?
ali20142014 said:
Sorry for the late reply. Can I know where is the APK file is stored?
Click to expand...
Click to collapse
/data/app/packagename-1.apk
You tube is your friend
Just do a youtube search with these key words "html5 webview android" and you should be able to find everything you need to know on how to build your html5 powered app
Google offers a "ProGuard" solution on how to mask your code by obfuscation. Good luck!
You can also use phonegap build to build your web apps without using eclipse.
You can't make an app using HTML and all these web developing languages but you can simply make a responsive website (I hope you know that) and then integrate that website into the android app. You may also add something like that once a user opens app once his app will connect to your website and then download the files offline for future offline use.
You can make fully functional games and apps with HTML + Javascript. Once you learn a the basic's you can use the framework I posted here to make a quiz game. As you learn more you can make small puzzle games and action games but that takes time to learn. Start by using this framework to build a game.
http://forum.xda-developers.com/showthread.php?t=2785378
And if you dont know how to use eclipse then use phonegap build it will build the game for you and the 1st game is free with their service.
Sorry, just saw this now... i could have saved you a bit of hassle
If you really dont want to make a deep dive and stay with your current skills theres a really great way to do so (no, im not involed in the project and wanna advertise it i just use it and love it).
Theres really great tool from Intel, named Intel XDK. This thingy lets you easyly use either the Intel based framework (thats really fast and depending on how you "build" the app at the end you get native code, not just an simple AKP that displays content in a webview.).
The above mentioned Cordova is also a build option, so if you already learned about that, you can still use it in here. You can also make the userinterface of your app in a drag&drop IDE that saves you TONS of time.
Check here for some easy examples:
http://app-framework-software.intel.com/components.php
The very best comes at the end, you dont have to care ONE BIT about installing anything on your machine, all build stuff is done on Intel servers. You code the app, decide on a way to build it (Cordova, Android, iOS or whatever) and you get an APK out of it. Whats more, you can test/debug directly on device, in browser or any other possible way.
If you dont want to learn the appfraework (whats is basically just like jquery, you dont really have to "learn" it if your familiar with javascript) or use other known frameworks like jQuery mobile. Best is, you can still use the IDE-Designer even with jQuery. So you can for example choose jquerymobile framework and but in a nvigation layout just with drag&drop. Of course you als have a standard Code-View with autocompletion and all if you want.
Take alook, its awesome...
The reason why i post this here that tere is one flaw (in my opinion), the documentation is not the best (its there of course, full API guides and all) and the Intel foum is not really active, since noone really knows about it it seems. If more ppl use it the community could be great and starters have a really easy tool at hand to get into the world of mobile-development.
Hi,
You can create an Android app using the HTML, CSS, JavaScript by PhoneGap. PhoneGap is a free and open source framework that allows you to create mobile apps using standardized web APIs for the platforms you care about. You can learn it at: phonegap.com
Good luck!
Website 2 APK Builder
The all new Website 2 APK Builder for Windows is now available at sourceforge.
as i'm new and can't post external links,
so i'm unable to provide a link of it,
try searching "Website 2 APK Builder" on Google.
Just Launched Yesterday,
that's all.
Easy to use,
Generates ad-free apps.
and available for offline use.
Give it a try.
Oboy
oboy
If you're planning on making a update thingy like that basically use github for that where you have a text file and test for the version every time the app launches with window.onload in JS
ali20142014 said:
Hello, I have a question on Android development. Personally, I know web development but I do not know JAVA programming because I am not into software development.
I want to develop an android app by using HTML5, CSS3 and JQuery Mobile. The app will be simple, it will be just an app on poetry where users will click some categories and read poems, and also search. That's all. It will be free, no registration, no ads and no server side. I want to use JQuery Mobile for this or even pure HTML5 and CSS3. In fact, HTML and CSS will be used of course.
Bear in ind that I am NOT converting an existing website into an app, but rather creating an app through HTML, CSS and JavaScript. So, the Web View tool is not appropriate here.
My questions are:
1/ Can we really create an APK with obly HTML, CSS or JavaScript?
2/ If we can create, what software (which is free) can I use to create the APK by compiling/converting my web pages?
Thank!
Click to expand...
Click to collapse
I'm not sure if it's still a question for you but maybe try to search some helpful articles on this subject? They are usually easy to read and you'll an understanding of what you need to do.
we can create an APK with only HTML, CSS or JavaScript through new frameworks
CODENAME ONE
This cross platform framework enables in growing industry-based totally applications. The level underpins fast application development. The designer can compose code in Java and the software may be attempted and showed with Codename One’s test system devices and check mechanization devices. The system bolsters well known IDEs like NetBeans, Eclipse, and IntelliJ idea. The maximum captivating detail about its collect server is that the designer can fabricate local iOS applications simply as nearby windows packages with out a Mac gadget or windows pc. The degree is usually recommended for creating iOS applications.
You may ask your suggestion from App Development Company in Bangalore which helps in developing innovative apps according to your ideas

Categories

Resources