Cordova app not working on all devices - Web App Development

My app does not seem to work on different Android devices (haven't tested on iOS yet).
What my app does is doing a HTTPXMLRequest and displays the data by adding child elements to an existing DIV.
It seems like the part in appBundle.js is not executing on some devices, however I have added jQuery and Slick(a slideshow plugin). These plugins do load and work on all devices, just not the JavaScript that I created.
The functioning of the app does not seems to depend on root permissions, I have tested it with 20 different devices, 10 rooted and 10 unrooted. It only works on 2 or 3 devices.
I have attached the Visual Studio solution to this post ( VS2015 required with Mobile Dev options ), any help would really help me.
Note: Open the solution with BlankCordovaApp1.jsproj

Robinnaiitor said:
My app does not seem to work on different Android devices (haven't tested on iOS yet).
What my app does is doing a HTTPXMLRequest and displays the data by adding child elements to an existing DIV.
It seems like the part in appBundle.js is not executing on some devices, however I have added jQuery and Slick(a slideshow plugin). These plugins do load and work on all devices, just not the JavaScript that I created.
The functioning of the app does not seems to depend on root permissions, I have tested it with 20 different devices, 10 rooted and 10 unrooted. It only works on 2 or 3 devices.
I have attached the Visual Studio solution to this post ( VS2015 required with Mobile Dev options ), any help would really help me.
Note: Open the solution with BlankCordovaApp1.jsproj
Click to expand...
Click to collapse
perhaps if you give us the devices it's not working on that can clue in efforts to help you.

emcp333 said:
perhaps if you give us the devices it's not working on that can clue in efforts to help you.
Click to expand...
Click to collapse
Try the development mode build and Final Version Built both

badmama said:
Try the development mode build and Final Version Built both
Click to expand...
Click to collapse
Seems to have fixed it, thanks!

Related

UK Good Beer Guide - mobile

Hi,
I know this is a long shot, but someone more knowledgeable than me might know the answer.
I am keen to use the mobile version of the UK Good Beer Guide Mobile Good Beer Guide. In the FAQs available from the links from the attached page, it says that touch screen and WM phones aren't yet supported, but mysteriously implies that it might be possible to get it working.
Regrettably, the application is not officially supported on the following phones, however a version of the application may still be available:
* Apple iPhone
* Windows Mobile
* Touch screen phones
* Phones released before 2006
* Phones with no internet browser
Click to expand...
Click to collapse
I have installed it, the phone recognised the Java files and compiled them. The application shows in the Java link on the programs page, but only shows a white screen when it is started. I was hoping someone could shed some light on the subject. The zip folder contains a .jar and .jad file. He are a couple of links to the downloads SonyEricsson C905 and Samsung GT S5603 as examples of the files.
Is an emulator needed or a certain version of Java?
Cheers.
Wonder why they do it as a mobile application rather than just subscription access to the server the data resides on?
I have the pubs stored in Memory Map and Copilot...don't really need things like tasting notes when I'm somewhere different...just need to know where there is real ale
(given how few phones appear to be supported it would be far easier to say it works on the following: 1, 2 and 3 rather than list hundreds of phones that it won't work on!)
morfis said:
Wonder why they do it as a mobile application rather than just subscription access to the server the data resides on?
I have the pubs stored in Memory Map and Copilot...don't really need things like tasting notes when I'm somewhere different...just need to know where there is real ale
Click to expand...
Click to collapse
I have bought the POIs for TomTom, but the mobile version would be better than dragging the paperbook around giving you back ache . I'm also a bit of a real ale geek .
(given how few phones appear to be supported it would be far easier to say it works on the following: 1, 2 and 3 rather than list hundreds of phones that it won't work on!)
Click to expand...
Click to collapse
You're not wrong
Only a month until the next (even more bloated?) book comes out. Have e-mailed them about the lack of phone support in the hope they'll sort it out before then (and maybe do native poi files for other satnav/mapping as they have been promising for over a year).......I'm not holding my breath

[XAP|Source] Marketplace Config - Easily change marketplace settings

Here is an app I made to quickly and easily change marketplace settings. Similar apps exist already, but this one has a few features I've not seen in the other ones. This project was more of a way for me to learn about homebrew dev, but it resulted in a useful program so nothing wrong with that
Source
This app is open source. It is hosted on Google Code. If anyone would like to help contribute, PM me and we'll discuss getting you added.
What you can do
Change OEM marketplace - You can choose from any of the 8 OEM stores, or view a combined market with all 8 at the same time.
Change MO marketplace - I'm working on getting as many as possible included. The app will ask kindly to submit if yours is a new one.
Change the maximum file size cap over 3g - Download larger apps and podcasts over 3G without needing a wifi connection
Lock the settings - Prevents your settings from reverting back in a day or two when the marketplace updates itself
Who can run this?
You need a root unlock. So either a full unlock or WP7 Root Tools with this app marked as Trusted.
Changelog
Beta 2.0.3 - 6/7/12 - Going off of the error reports I received from yesterday's release, I added better error handling to hopefully alleviate those problems.
Beta 2.0.2 - 6/6/12 - Added a better error handler. Users are now prompted with the option to submit bug reports, so I may better track down issues.
Beta 2.0.1 - 6/4/12 - Fixed a bug that would cause the app to crash if no MO store was configured on the device. The app also informs you if it's not set to Trusted in WP7 Root Tools.
Beta 2 - 5/31/12 - After spending too much time working on a rewrite, the next beta is ready. I've changed a ton of things under the hood, but the big new feature is viewing all OEM markets at the same time. I've also released the source as of this version, though I am not speaking for it's quality. Some parts are more polished than others.
Beta 1.4 - 5/2/12 - Added a few new mobile operators. Added country flags to MO selection screen. Fixed more crashed.
Beta 1.3 - 5/1/12 - Added a slew of new mobile operators, along with an option to remove it (for contract-free phones, direct from OEM, etc)
Beta 1.2 - 4/29/12 - Fixed crashing bug. Added Telekom MO (thanks contable). Added OEM logos.
Beta 1.1 - 4/28/12 - Removed device spoofing (it can break DRM, thanks for the heads up GoodDayToDie). Added Sprint MO.
Beta 1 - 4/28/12 - Initial release
Thanks to
Heathcliff74 for the wonderful WP7 Root Tools SDK
GoodDayToDie for his homebrew efforts, which I use for file IO
balcsida for providing new icons
It doesn't launch on my Titan...so it will probably need a higher level of unlock than a Dev unlock.
You'll need "root" unlock, meaning either full-unlock or WP7 Root Tools and the app marked as "Trusted".
@ken52787: Very cool! I was actually working on something very much like this. Would you mind sharing your source code? If I can merge what I was working on into what you've already got, that would be great.
One very big concern, though: changing the OEM name in DeviceTargetingInfo (which is what I assume you're doing to make apps like Nokia Drive work) is extremely dangerous. Although I'm not sure exactly what the trigger is (suggestions have been things like leaving it changed for more than 24 hours, or changing it more than 5 times), changing that value can permanently break the Marketplace DRM on your phone. All your Marketplace apps will stop launching, and you won't be able to install more. The only solution we know of is a hard-reset or a restore point; returning the registry value to the original OEM name does not help.
GoodDayToDie said:
You'll need "root" unlock, meaning either full-unlock or WP7 Root Tools and the app marked as "Trusted".
@ken52787: Very cool! I was actually working on something very much like this. Would you mind sharing your source code? If I can merge what I was working on into what you've already got, that would be great.
One very big concern, though: changing the OEM name in DeviceTargetingInfo (which is what I assume you're doing to make apps like Nokia Drive work) is extremely dangerous. Although I'm not sure exactly what the trigger is (suggestions have been things like leaving it changed for more than 24 hours, or changing it more than 5 times), changing that value can permanently break the Marketplace DRM on your phone. All your Marketplace apps will stop launching, and you won't be able to install more. The only solution we know of is a hard-reset or a restore point; returning the registry value to the original OEM name does not help.
Click to expand...
Click to collapse
Yikes! I was not aware of this. I took that out and reupped the xap.
And yes, I'll share the source soon, I just want to clean it up a bit first since it's rather sloppy at the moment
ken52787 said:
Here is an app I made to quickly and easily change marketplace settings. Similar apps exist already, but this one has a few features I've not seen in the other ones. This project was more of a way for me to learn about homebrew dev, but it resulted in a useful program so nothing wrong with that
The initial beta is a little rough around the edges, but should be stable. Please report any oddities you notice and provide feedback and suggestions.
What you can do
Change OEM marketplace - Included are Acer, Dell, Fujitsu, HTC, LG, Nokia, Samsung, and ZTE (although only HTC, LG, Nokia, and Samsung have accessible marketplaces)
Change MO marketplace - Included are AT&T, Orange, Sprint, and Verizon (I had a hard time finding other marketplaces. If you are on a carrier other than these, please send me your settings so I can include them, the program will automate this for you with your permission)
Change the maximum file size cap over 3g - Download larger apps and podcasts over 3G without needing a wifi connection
Lock the settings - Prevents your settings from reverting back in a day or two when the marketplace updates itself
Who can run this?
You need a root unlock. So either a full unlock or WP7 Root Tools with this app marked as Trusted.
Changelog
Beta 1.1 - 4/28/12 - Removed device spoofing (it can break DRM, thanks for the heads up GoodDayToDie). Added Sprint MO.
Beta 1 - 4/28/12 - Initial release
Thanks to
Heathcliff74 for the wonderful WP7 Root Tools SDK
GoodDayToDie for his homebrew efforts, which I use for file IO
Click to expand...
Click to collapse
not working with my mozart?
life25ak said:
not working with my mozart?
Click to expand...
Click to collapse
What kind of unlock do you have?
curious... why are XAPs being posted in this sub-forum when their is a WP7 Software Development sub-forum?
nice looking app, though. curious as to how you 'locked' the Market.
would love to add that into my version of this app, Market Select.
The Software Development sub-forum always seemsed more focused on general app development rather than tweaks to the OS. Last time I was reading that forum, it seemed like it was mostly stuff using the official APIs, too. Maybe I should start reading it again, though...
You can lock in changes to Marketplace configurations by setting read-only on the XML files.
@OP: Thanks for the quick fix, and you're welcome for the tip! The 1.1 version works well on my phone. Two (related) suggestions, though:
1: The messageboxes the pop up at first run block the UI from loading. If the UI doesn't load within a few seconds (10 or so) the OS will kill the app. You may want to cause them to pop up on a delay or something...
2: There's no option to send your MO (or OEM) files after the initial messagebox prompt. I'd like to send you the T-Mobile US files (not that the TMoUS apps are super-exciting) but the app was killed on me before I could click it! I can go pull them off the filesystem manually, of course...
Thx for this app.
I have sent you the settings for Telekom Germany (T-Mobile DE), would be nice if you could add them...
GoodDayToDie said:
@OP: Thanks for the quick fix, and you're welcome for the tip! The 1.1 version works well on my phone. Two (related) suggestions, though:
1: The messageboxes the pop up at first run block the UI from loading. If the UI doesn't load within a few seconds (10 or so) the OS will kill the app. You may want to cause them to pop up on a delay or something...
2: There's no option to send your MO (or OEM) files after the initial messagebox prompt. I'd like to send you the T-Mobile US files (not that the TMoUS apps are super-exciting) but the app was killed on me before I could click it! I can go pull them off the filesystem manually, of course...
Click to expand...
Click to collapse
See what I mean about sloppy coding and wanting to clean it up before releasing the source
App works good on my hd7. Although during first run it made a backup. Then asked me if I wanted to sent my carrier setting since you don't have them. I was going to then the app crashed and never gave me the option again. App runs fine other than the first run when it crashed.
Sent from my HD7 T9292 using XDA Windows Phone 7 App
I posted a quick update. This one fixes the crashing bug.
Thx for the quick update...
Sent from my OMNIA7 using XDA Windows Phone 7 App
Very Cool..!!! Thank you! Htc Arrive
v1.1 and v 1.2 are crash
it mean i install this app then set trust on root...it open but quickly get out
so;
whats the problem !?
Doesn't load on my Dev Unlocked TITAN.
Says something about an error occurred while reading current store config
VegaNovus said:
Doesn't load on my Dev Unlocked TITAN.
Says something about an error occurred while reading current store config
Click to expand...
Click to collapse
You need a full unlock or root access with WP7 Root Tools. Dev unlock is not enough (the phone doesn't like me messing about in the file system)
Also, I just posted an update. No changes other than adding a bunch of new MOs. Thanks to everyone who submitted them! I have some ideas for beta 2, if only I could find some time to work on it I also plan on releasing the source when I get that version out.
Using 1.3 with Samsung Focus... Set the Trust to ON through RootTools as well.
I Get the "an error occured while reading your current store config".
If i click on OK application shows the main screen briefly and then exists. Otherwise shows the following error:::
CreateFile failed for \My Documents\Zune\PimentoCache\Keepers\LKKG_MOStoreConfig.xml! GetLastError: 2
Thanks.
You're sure it's two Ks ("LKKG_MOStoreConfig.xml")? That's a typo, then. It would explain why you're getting an error of File Not Found as well.

[TOOL] AppThwack - Easily test apps on real devices we host

Hi, I'm Trent and I co-created AppThwack, a service for on-demand automated testing of Android apps on real devices. Basically, you upload an apk and a couple minutes later you get screenshots and logcat dumps from actual phones and tablets we host.
Beta Users Needed
We're currently looking for devs to join our private beta. You can message me or sign up on our website and I'll get a beta code to you shortly. We're trying to stress the system and make additions/adjustments so the service is as useful as possible for developers.
Current Features
Real phones and tablets: About 20 high- and low-end devices and we add a few more every week.
Fast: See results in real time. Full test runs on all devices takes a minute or two to complete.
Selectable default tests: Install, launch, UI Monkey, Cleanup
Configurable tests: For example, specify the number of UI Monkey events and seed the randomizer
JUnit including Robotium support via uploaded test packages
Screenshots in portrait and landscape on all devices
Logcat and filterable logcat viewer
High-level results sortable by device or test
Full stack-traces for any exception that occurs
Future
We're working on adding more test frameworks like monkeyrunner and more default tests, particularly performance tests that measure battery consumption, CPU usage, etc. We're also adding more data visualization and charting so it's easy to see what some of the gathered statistics mean.
We plan to launch soon, but the beta program will remain in effect even after that. The service will follow a freemium model. Again, the beta is free and we're going to keep it in place even after we eventually launch.
Inter-device automation
Our back-end supports device-to-device automation, so if you have an app or scenario that you'd like to test that involves multiple devices or interaction with other devices, even non-Android devices, let me know. We're looking for people to help us develop how this service will be exposed.
Edit: I can't post links, but if you search for "appthwack" you'll find it. Btw, I've apparently lurked since October, 2008. Yikes.
Just wondering will this support of testing apps that require root?
Also any chance we can see like a live pic of the device when it installs the app and opens it?
Sent from my VS910 4G using xda premium
motodroidfreak said:
Just wondering will this support of testing apps that require root?
Click to expand...
Click to collapse
Right now it does not and all of our phones are as close to stock as possible. I'll look into making it an option so we automatically root before your app installs and then un-root after the tests are complete. Root opens up some new possibilities, both good and bad, so I'll need to think about it.
motodroidfreak said:
Also any chance we can see like a live pic of the device when it installs the app and opens it?
Click to expand...
Click to collapse
Yes! The launch test takes a screenshot in both landscape and portrait. You can see all screenshots sorted by device by clicking "By Device" or "By Test" and clicking the "Screenshots" link in the blue box at the top.
Screenshots also show up in each launch test log so you can see the context as the shot was captured. Logcat dumps show up in the same place (Link from the blue box at the top will open a filterable and highlighted log viewer).
Alright thanks I'll try it out tonight
Sent from my VS910 4G using xda premium
Holy cow. Didn't realize such web service existed.
I just signed up and currently having a look around. Is it possible for me to join the beta? Thanks!
Is it possible for a "free" upgrade for my account? Heh just asking
EDIT : Created a new project. Then I'm stuck. The "Runs" tab is empty.
EDIT again : Oh.. uploading had error previously. Uploading again.
Very interesting project. Good luck to your team and I hope I can be a good beta tester
Realy interesting, for us, almost of our apps needs root access, so please think about adding root to your service
Test on my Sensation
Will test on my sensation
test
nullFactory said:
Hi, I'm Trent and I co-created AppThwack, a service for on-demand automated testing of Android apps on real devices. Basically, you upload an apk and a couple minutes later you get screenshots and logcat dumps from actual phones and tablets we host.
Beta Users Needed
We're currently looking for devs to join our private beta. You can message me or sign up on our website and I'll get a beta code to you shortly. We're trying to stress the system and make additions/adjustments so the service is as useful as possible for developers.
Current Features
Real phones and tablets: About 20 high- and low-end devices and we add a few more every week.
Fast: See results in real time. Full test runs on all devices takes a minute or two to complete.
Selectable default tests: Install, launch, UI Monkey, Cleanup
Configurable tests: For example, specify the number of UI Monkey events and seed the randomizer
JUnit including Robotium support via uploaded test packages
Screenshots in portrait and landscape on all devices
Logcat and filterable logcat viewer
High-level results sortable by device or test
Full stack-traces for any exception that occurs
Future
We're working on adding more test frameworks like monkeyrunner and more default tests, particularly performance tests that measure battery consumption, CPU usage, etc. We're also adding more data visualization and charting so it's easy to see what some of the gathered statistics mean.
We plan to launch soon, but the beta program will remain in effect even after that. The service will follow a freemium model. Again, the beta is free and we're going to keep it in place even after we eventually launch.
Inter-device automation
Our back-end supports device-to-device automation, so if you have an app or scenario that you'd like to test that involves multiple devices or interaction with other devices, even non-Android devices, let me know. We're looking for people to help us develop how this service will be exposed.
Edit: I can't post links, but if you search for "appthwack" you'll find it. Btw, I've apparently lurked since October, 2008. Yikes.
Click to expand...
Click to collapse
I would like to test the tool, can you share with me..
Tested
Tested the tool, seems too good..
Suggestion : In-case if you want to reach maximum number of developer. Allow developer to use has free.
IDEA : You can request developer to post about you're tool on there app page, website & play store... As you're giving the tool as free you will get enough number of people to view & use the tool.. if the developer agree then you will allow him to use the tool for free of cost..
As a developer am ready to use the tool & post about you in my app & other places too...
This is a great tool, just uploaded an apk of my app that's in my signature and it worked, with a couple of NullPointers from the Play Store's licence service. That shouldn't happen, and doesn't on any of my devices, so I suspect it's an issue on your end. Any idea why?
HTML:
java.lang.NullPointerException at com.google.android.vending.licensing.LicenseValidator.verify(LicenseValidator.java:99) at com.google.android.vending.licensing.LicenseChecker$ResultListener$2.run(LicenseChecker.java:228) at android.os.Handler.handleCallback(Handler.java:605) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:137) at android.os.HandlerThread.run(HandlerThread.java:60)
HTML:
FATAL EXCEPTION: background thread java.lang.NullPointerException at com.google.android.vending.licensing.LicenseValidator.verify(LicenseValidator.java:99) at com.google.android.vending.licensing.LicenseChecker$ResultListener$2.run(LicenseChecker.java:228) at android.os.Handler.handleCallback(Handler.java:608) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:156) at android.os.HandlerThread.run(HandlerThread.java:60)
Borland
We are using Silk Mobile for end to end applications testing. Do you ever used this tool?
What an interesting service! I'll look into this from work tomorrow.
Not having used this at all, the first things which do spring to mind are:
-streaming realtime logcat
-a (skype?) connection with live streaming video of the app running, so you can see layouts/animations etc.
Anyway, I'm going to check this out tomorrow!
Quinny899 said:
This is a great tool, just uploaded an apk of my app that's in my signature and it worked, with a couple of NullPointers from the Play Store's licence service. That shouldn't happen, and doesn't on any of my devices, so I suspect it's an issue on your end. Any idea why?
Click to expand...
Click to collapse
Thanks for checking out the service. My immediate guess it that this is caused by the absence of a default Play account. Many devices have no account as one of our supported frameworks, calabash, removes accounts upon cleanup after script completion. On the plus-side, if you were to write scripts you should be able to add a temporary account from the test itself.
Highly unlikely you'd hit this bug in a real world situation, but it is a bug nonetheless.
Really awesome service! Can't test it for the moment as it doesn't support root apps, but this is really a great concept :good:
Maybe you could build a superuser permissions manager which would grant root access but makes sure to keep /system mounted as read-only, this way no harm could be done to the devices and us root apps devs could use your awesome service.
I actually got quite a few ideas, you could delete the mount binary in /system/xbin and use it in an internal appthwack app's private data, so that it's the only app able to call this binary and thus to mount /system.
I'd definitely subscribe to AppThwack if it had root support.
If you want help with developing this kind of secure root environment for the testing, I'd gladly contribute.
EDIT : Strangely enough, I just tested it with my app (which asks for root in the launcher activity, so I really didn't expect it to work) and had 0 failures, 75 pass.
How comes ? Have you already added root support ?^^
Either way this is really cool, I'm going to spread the words and most likely subscribe a paid account :good:
Is there somewhere we can see pictures of your device lab? Gotta be one hell of a device museum you got over there^^
Androguide.fr said:
Really awesome service! Can't test it for the moment as it doesn't support root apps, but this is really a great concept :good:
Click to expand...
Click to collapse
Awesome, thanks for the kind words!
EDIT : Strangely enough, I just tested it with my app (which asks for root in the launcher activity, so I really didn't expect it to work) and had 0 failures, 75 pass.
How comes ? Have you already added root support ?^^
Click to expand...
Click to collapse
This is pretty interesting. The only two rooted devices are a couple running CM. I'll look into this further, and if you have any ideas I'd love to hear them as well.
Either way this is really cool, I'm going to spread the words and most likely subscribe a paid account :good:
Is there somewhere we can see pictures of your device lab? Gotta be one hell of a device museum you got over there^^
Click to expand...
Click to collapse
Sweet, I really appreciate it. As soon as I have the number of posts to do so I'll post a pic of the lab.
Some things can not be automated, like scanning a QR code or reading/writing to an NFC tag. Do you plan on adding "manual tests" for a fee?
This would be really great to test apps on specific hardware.
worldtiki said:
Some things can not be automated, like scanning a QR code or reading/writing to an NFC tag. Do you plan on adding "manual tests" for a fee?
This would be really great to test apps on specific hardware.
Click to expand...
Click to collapse
Thanks for the question! Our primary focus is on automation. There are existing test houses and services that will execute manual tests like those you describe, but of course because of the manual component they're slow and expensive.
We often push folks to break their testing down into more granular chunks. For instance, verify you can take a picture and deal with the image, even if it's not the QR code or whatever your app usually consumes. This will find problems with simply using the camera and resulting image location. Now, have a separate test that processes a photo of a QR code, but feed the image in as part of the test. This removes the camera component from the analysis part, meaning it's now possible to benchmark the image analysis algorithm on all devices.
With a combination of a service like ours where you test very, very quickly on tons of devices, you can now do some more UX/end-to-end tests on a handful of devices yourself. This hybrid approach is great for finding the vast majority of issues before release.
nice post
Realy interesting, for us
Awesome tool !
No Developer can test his/her app on many devices. But your tool ... A W E S O M E ! ... I Used it yesterday to test two of my new apps ... Found some error is my app on certain devices which i'd have never found without AppThwack .. :good: :good:

[APP] Lemon v1.3.0.1

Lemon
MODERN BROWSING
FEATURED
Massive Overhaul - completely rewritten to optimize the code and unify the overall interface
OTA Updates - updates require little to no user interaction
Security - hide and lock the browser with the touch of a button
Privacy - browsing history is only stored locally and can even be automatically deleted on exit
Auto Complete - suggests words depending on your history
Screenshot - nothing special, but you may take HD screenshots right within the browser
Notepad - notes that save automagically
Open Source - the source has now been released
Click to expand...
Click to collapse
NEW
Privileges Fixed - no longer runs needs to run in administrator mode thanks to @SixSixSevenSeven
Click to expand...
Click to collapse
BUGS
Outdated Browser Component - this browser is based off IE7 on some computers
Mishandles Links - links that open in a new window or tab will most likely open in your default browser
Click to expand...
Click to collapse
Lemon has been abandoned for quite some time now and I have removed the screenshots and download links. I am considering coming back to this project in the near future when I have time to put Windows on my MacBook. Until then, however, you may play with the source.
Source // Website
Maybe post some screenshots, or possibly a download?
netham45 said:
Maybe post some screenshots, or possibly a download?
Click to expand...
Click to collapse
Thank you for the recommendations Just uploaded 3 screenshots and added a download link towards the bottom.
Nice start. No go on RT.
cx1 said:
Nice start. No go on RT.
Click to expand...
Click to collapse
I wonder why this is not working on the RT.. I wish I had this device to test some things on. Anyways, this build was focused on 4.0 .NET framework made in visual studio 2012 for windows 8 Desktop. Thanks for trying.
EDIT: Problem is with the installer, download the ZIP below it and use that. I will try to find a fix for the installer. Sorry for the inconvenience.
mellowdev said:
I wonder why this is not working on the RT.. I wish I had this device to test some things on. Anyways, this build was focused on 4.0 .NET framework made in visual studio 2012 for windows 8 Desktop. Thanks for trying.
Click to expand...
Click to collapse
Try targeting 4.5 for Windows RT.
netham45 said:
Try targeting 4.5 for Windows RT.
Click to expand...
Click to collapse
Just updated to .NET 4.5
Nope will not run on RT unless I'm doing something wrong?
THEBIG360 said:
Nope will not run on RT unless I'm doing something wrong?
Click to expand...
Click to collapse
hmm, any errors being displayed? Or just not opening?
EDIT: Problem is with the installer, download the ZIP below it and use that. I will try to find a fix for the installer. Sorry for the inconvenience.
You would need to target "Any CPU" in the .NET code, and recompile any third-party x86 libraries that you are using to target ARM, and it would probably work then. Most (although not all) of the system libraries on Win8 are also on Windows RT, and (at least in the case of .NET libraries), the ones that aren't can sometimes be brought over from a Win8 box anyhow.
GoodDayToDie said:
You would need to target "Any CPU" in the .NET code, and recompile any third-party x86 libraries that you are using to target ARM, and it would probably work then. Most (although not all) of the system libraries on Win8 are also on Windows RT, and (at least in the case of .NET libraries), the ones that aren't can sometimes be brought over from a Win8 box anyhow.
Click to expand...
Click to collapse
At the moment, I am trying to get geckoFX 15 and xulrunner 19 added to the project so I do not have to use the default WebBrowser component given in Visual Studio. If you would like, I could send you the source and maybe you could help porting to Windows RT and adding geckoFX? Btw after v1.0 this will be Open Source to all Thanks for all the support guys.
Works now thanks, scrolling is a little hitchy how ever its a great start. On another note would it be possible to make the onscreen keyboard auto pop up?
Will the flash be optimized, the browser is really fast. Its just the flash side of things that is buggy.
Seems to bypass the Flash whitelist on Windows RT. That's quite handy.
Re: [APP] Lemon Browser v0.9.7.3
I can surely attempt the auto pop up on screen keyboard, also the glitchy scrolling will be fixed soon. Thanks
Sent from my Nexus 4 using xda premium
Just FYI: a web browser requiring Administrator to run is absolutely unacceptable. Browsers should run with extremely limited permissions (lower than standard user, ideally) rather than elevated permissions. I fixed this by hand-editing the .EXE file's embedded manifest to run AsInvoker (rather than RequireAdministrator). You should change the manifest in VS. Preferably, the whole thing would run in a low-IL sandbox the way IE does, and/or use some other sandboxing technique.
Also, there's little reason, especially for RT-targeted builds, to use Debug unless you include the source files and expect people to use them when reporting bugs. Release builds are typically smaller and faster.
Finally, could you get this to use a somewhat less awful rendering engine than IE7? I don't mind using Trident in general, but IE7 is archaic and awful. How do you justify "faster than Chrome" on a browser that can't even pass Acid2, much less run a modern speed benchmark? Gecko would be awesome, though I don't believe anybody has managed to port it to RT yet so that would be x86-only at first.
There are other things I'd like to see, ranging from simple UI conventions (double-clicking the tab bar, tapping Alt to show the menu bar, etc.) to some significant security issues (loading mixed content - that is, HTTP content on an HTTPS site - is a potentially serious risk).
Re: [APP] Lemon Browser v0.9.7.3
I appreciate the feedback, about the debug, i honestly did not even think about that, its just much faster to update using the debug folder. I will make it the release build next time. Next - about the admin permissions - Unfortunately this is needed to enable the temporary download of version.txt (allows OTA updates). And I was not planning on targeting the RT at all. I simply made this on my windows 8 laptop and released to the public for however they would like. I am now working on a 3D FPS though and will be releasing the code to this very shortly. And for the IE7 subject, I tried using firefox component but it does not allow the "LoadComplete" sub. Simply put, I do not know how to do 'if web page loaded' do this. I need this feature so i can load favicons etc. Please understand that this was made < 1 week ago. I highly appreciate all the comments though because I can not even begin testing all of these. Plus with school and other activities I do not expext this to be a huge project. Just simply a fun project (focused on gui) to add to my projects. Thanks again
Sent from my Nexus 4 using xda premium
No worries on the Debug/Release, just a tip.
The admin thing, though... that's a serious problem. If the problem is just downloading a file, download it to the local application data folder instead of the install directory. If auto-updating is desired, make a separate updater that runs as Admin, and have the browser launch the updater program when it detects an update.
That said, though, admin is only needed if the browser is "installed" to a location where Admin is required to write. Programs installed in (for example) the user profile don't require this. In fact, on machines where the user *can't* get Admin (think about computers at a school, library, or office), the fact that it can install and run without requiring admin is a major advantage.
I understand that this is a side project for you, and I applaud you for hobby programming and sharing it with us, that's fantastic to see. I also do quite like the GUI, although I find it a bit bare-bones at the moment. Additionally, you getting it to work on RT is fantastic. However... I cannot in good conscience recommend using a web browser that sets the state of environment security back by nearly seven years. The web is an extremely hostile "place" and we've learned many lessons over the years. one of the critical ones is that web browsers are simply too easy to attack for them to be trusted; the only safe way to use one is to assume it will be compromised, and run it in a suitable contained environment. Microsoft did his with the IE7 Protected Mode on Vista betas in 2006, but even on XP it was possible to run IE as a non-Admin.
Re: [APP] Lemon Browser v0.9.7.3
I will admit chrome will always be my favorite browser Just wanted to throw something visually appealing together though after seeing all the horribly designed ones on youtube lol. If anyone would like the source just email me. The code is (slightly cluttered) but OCD friendly. everything labeled and named properly. If someone would like the source, i recommend also downloading the android holo icons from their site. That is what I am currently using and this allows identical pre-made light / dark icons.
Sent from my Nexus 4 using xda premium
Hello !
really thank for this build ! :good:
A question:
Can you integrate a download manager which allow us to download files with screen off but which avoid the complet stand-by state of the tablet during the download ?
Because with IE it's impossible to download something with the Surface screen OFF.
It could be a really cool feature, and the only browser which allow that ! :highfive:
@+
*********_
Edit:
Oh......
Your browser yet intagrate this feature !
Cool... Now I can download big files with screen Off !
I love you
samco08 said:
Hello !
really thank for this build ! :good:
...
Cool... Now I can download big files with screen Off !
I love you
Click to expand...
Click to collapse
Thanks! I appreciate that aha. Major update (kinda lol) will be released soon. Have to work on Mango Tools first (I might toss a thread up on this tool) but this can be found on my site mellowdev.net It just allows you to easily perform ADB commands on android phone. Anyways right after this I will work on v0.9.8! Hoping to add lots of cool, unique features to give this browser an edge. I know that speed means a lot and I have received many complaints on using the IE7 component. However my focus at the moment is to add features. Web browsing for most is just type in words and search. I want this to be so much more. So anyways aha thanks again. Love the support here!

Calabash-Android

Hello, I'm new on XDA and I am working on test for an application. And I made scenarios using calabash-android, cucumber and ruby.
Before I explain my problem, I want to know if I am in the right section and if somebody use or know calabash-android ?
Thanks, Momo James
Momo James said:
Hello, I'm new on XDA and I am working on test for an application. And I made scenarios using calabash-android, cucumber and ruby.
Before I explain my problem, I want to know if I am in the right section and if somebody use or know calabash-android ?
Click to expand...
Click to collapse
I think that you don't found a thread about your test application, but you can develop here what you want to do or explain.
Good luck :good:
For info for other members
Calabash enables you to write and execute automated acceptance tests of mobile apps. Calabash is cross-platform, supporting Android and iOS native apps. It is open source and free, and has a company, LessPainful, backing and developing it.
Calabash consists of libraries that enable test-code to programmatically interact with native and hybrid apps. The interaction consists of a number of end-user actions.
Click to expand...
Click to collapse

Categories

Resources