Thanks Wim. I will look into it and come back soon.

Currently I successfully installed Wt(git) with android-ndk-r8e + boost1.53
+ for android 2.3.3 API level 10


On Mon, May 27, 2013 at 1:59 PM, Wim Dumon <w...@emweb.be> wrote:

> Hello Rashad,
>
> Wt's android code is intended to build the examples for android. But if
> you're writing an application yourself, I expect that you'll have to
> provide your own .java files. There are no specific hooks in Wt that allow
> to extend the java classes that we provide.
>
> In a project we did, IIRC we extended the JS interface of a webview to
> provide access to phone-specific information (call java code from the JS
> interface). This will probably also work with GPS and camera. See
> http://developer.android.com/guide/webapps/webview.html
>
> BR,
> Wim.
>
>
>
> 2013/5/26 Rashad M <mohammedrasha...@gmail.com>
>
>> Hi All,
>>
>> Wt already support running its apps on Android devices and this has been
>> sucessfull so far even with custom build Wt Apps.
>>
>> I would like to access Android Phone's GPS, Camera etc from a Wt code.
>>
>> Is this possible?. Wt currently build apps as example and load it using
>> JNI and a custom generated code. I had checked this code in Koen's
>> repository[1] and this extends an Activity and just load the webview with
>> necessary parameters.
>>
>> But can I add an extra acitivity which can take pictures from phone's
>> camera or location from its built-in GPS facility.?
>>
>> I think since current code generation may not allow this option. But I
>> can include android specific (can be NDK code, using ifdef's). If then how
>> to proceed further?
>>
>> [1]
>> https://github.com/kdeforche/wt/blob/master/target/android/wt-android/src/eu/webtoolkit/android/WtAndroid.java
>>
>> --
>> Regards,
>>    Rashad
>>
>>
>> ------------------------------------------------------------------------------
>> Try New Relic Now & We'll Send You this Cool Shirt
>> New Relic is the only SaaS-based application performance monitoring
>> service
>> that delivers powerful full stack analytics. Optimize and monitor your
>> browser, app, & servers with just a few lines of code. Try New Relic
>> and get this awesome Nerd Life shirt!
>> http://p.sf.net/sfu/newrelic_d2d_may
>> _______________________________________________
>> witty-interest mailing list
>> witty-interest@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/witty-interest
>>
>>
>
>
> ------------------------------------------------------------------------------
> Try New Relic Now & We'll Send You this Cool Shirt
> New Relic is the only SaaS-based application performance monitoring service
> that delivers powerful full stack analytics. Optimize and monitor your
> browser, app, & servers with just a few lines of code. Try New Relic
> and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
> _______________________________________________
> witty-interest mailing list
> witty-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>


-- 
Regards,
   Rashad
------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to