|
There's actually a whole article on this somewhere... how HTML is coming back around as the goto since everyone went with different runtime environments in the mobile world.
|
|
|
|
|
Hi Everyone,
I have a problem when I develop on ASP.NET MVC 4 (mobile)
I using jquery mobile
<link rel="stylesheet" type="text/css" href="http://dev.jtsage.com/cdn/simpledialog/latest/jquery.mobile.simpledialog.min.css" />
<script type="text/javascript" src="http://dev.jtsage.com/cdn/simpledialog/latest/jquery.mobile.simpledialog2.min.js"></script>
<script type="text/javascript">
$(document).delegate('#simpleraw', 'click', function () {
$('<div>').simpledialog2({
mode: 'blank',
headerText: 'Some Stuff',
headerClose: true,
blankContent:
"<ul data-role='listview'><li>Some</li><li>List</li><li>Items</li></ul>" +
// NOTE: the use of rel="close" causes this button to close the dialog.
"<a rel='close' data-role='button' href='#'>Close</a>"
})
})
</script>
in html, i add link "Show Dialog"
Show Dialog
When i run --> it ok!
but i replace:
<script type="text/javascript">
$(document).delegate('#simpleraw', 'click', function () {
$('<div>').simpledialog2({
mode: 'blank',
headerText: 'Some Stuff',
headerClose: true,
blankContent: function () {$(this).load('@Url.Action("Menu")')}
})
})
</script>
but not ok!
Please help me!
Thanks all.
|
|
|
|
|
I searched CP and google and didn't find anything on CP. I found apps for this and that for android, but not quite what I wanted.
I'm looking for information on creating a backup image of an android tablet, and then restore it from that image. I found it googling once before, but at the time the company thought it was less than useful. Now I need to find the information again, having not saved it the first time, as it is useful now....
Anyone have the information/link handy?
-edit
I figured out how to get it into "fast boot" mode. I'm reading that I should be able to make a recovery/backup from there so I may be going in the right direction now.
If it moves, compile it
modified 10-May-12 12:26pm.
|
|
|
|
|
Anybody know 'how to add and remove local notification badge in ios5 and above'?
Thanks in advance.
FriendlyCoding
|
|
|
|
|
Hi, I am doing Airplay application for capture any screen shot in my iphone device. I don't know how to add the airplay button on to video footer bar(means airplay button beside forward backword buttons). Can u help me anyone how to get this feature. And when click on Airplay button need to display all enabled devices. Can u anyone please share the code thing also.
|
|
|
|
|
Good Day All
i am consuming a Wcf service from Android. i am a bit new to Android Dev most of my problems i was able to resolve. this one caught me off guard. My wcf service is defined as follows
public List<MemberModel> Helloworld(string number)
{
List<MemberModel> lstnames = new List<MemberModel>();
MemberModel model = new MemberModel();
model.MEMBER_NAME = "Vuyiswa";
lstnames.Add(model);
return lstnames;
}
and my Memember datacontract class is defined like this
[DataContract]
public class MemberModel
{
private string _MEMBER_NAME;
[DataMember(Name = "MEMBER_NAME")]
public string MEMBER_NAME
{
get
{
return _MEMBER_NAME;
}
set
{
_MEMBER_NAME = value;
}
}
}
and my ServiceContract looks like this
[DataContract]
public class MemberModel
{
private string _MEMBER_NAME;
[DataMember(Name = "MEMBER_NAME")]
public string MEMBER_NAME
{
get
{
return _MEMBER_NAME;
}
set
{
_MEMBER_NAME = value;
}
}
}
and i am consuming this in my Adroid app like this
public void getWcfService() throws ClientProtocolException, IOException, JSONException
{
TextView textView1 = (TextView)findViewById(R.id.textView1);
DefaultHttpClient httpClient = new DefaultHttpClient();
HttpGet request = new HttpGet(SERVICE_URI + "/Helloworld/1");
request.setHeader("Accept", "application/json");
request.setHeader("Content-type", "application/json");
HttpResponse response = httpClient.execute(request);
HttpEntity responseEntity = response.getEntity();
char[] buffer = new char[(int)responseEntity.getContentLength()];
InputStream stream = responseEntity.getContent();
InputStreamReader reader = new InputStreamReader(stream);
reader.read(buffer);
stream.close();
JSONObject MemberModel = new JSONObject(new String(buffer));
textView1.setText(MemberModel.getString("MEMBER_NAME"));
}
i get an Error on the Following line
JSONObject MemberModel = new JSONObject(new String(buffer));
and the Error is
org.json.JSONException: End of input at character 0 of
I have looked at the my Wcf service, i used the wcftestclient to test the public url and it brings that one item in the list.
Thanks for your Help in Advance
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa[at]dotnetfunda.com
http://www.Dotnetfunda.com
|
|
|
|
|
What is the value of the buffer? It looks like the buffer is empty.
"You get that on the big jobs."
|
|
|
|
|
.. Ya it looks like the buffer is empty...
|
|
|
|
|
Hi
We have a website developed using html. Events and data are handled by jQuery and Web services resp. Now our customer wants this site to be viewed on SharePoint 2010. This part is simple and straight. But they want this SharePoint site to be viewed on mobile. I understand that I will have to develop web parts for mobile. But currently I am very confused and not sure how to proceed. Any help/tips/suggestions appreciated.
Thanks
MK.
|
|
|
|
|
hi
i have an android application and i want to connect it to a server (java server )
i know how to connect J2ME client to a server
can i do the same thing with android?
or there is another way (so what is it ) ?
is there any tutorials (even videos ) for that
thank you very much
|
|
|
|
|
Depending on what kind of connectivity you're trying to achieve:
If you mean connecting via raw sockets, Android java supports the java.net[^] package.
For accessing SOAP web-services there is an open source project[^] which you can use in your application (of course, after you check the licenses to make sure you comply). Last I tried it, it still had issues, but it might be better now. You can search google for a bunch of tuts.
Google showed me this[^] among others when I searched for http client programming, but I haven't used it, so I wouldn't know much about it.
"It was when I found out I could make mistakes that I knew I was on to something."
-Ornette Coleman
"Philosophy is a study that lets us be unhappy more intelligently."
-Anon.
|
|
|
|
|
I'd like to write a WPF Windows app that can access the images on my Windows Phone.
When I plug the phone in, I don't see it. I've had other phones that showed up in Windows Explorer as another hard drive and you could copy images on/off the phone.
How can I access the images on a Windows 7 Phone in a WPF application?
Everything makes sense in someone's mind
|
|
|
|
|
For accessing the pictures from code you will probably need to use the media library class[^]
If you want to browse your phones pictures from your computer, you'll need to install the Zune software and browse them from there. You can of course also sync from the Zune software to get the pictures off of your phone.
And lastly, you can set the phone to upload all of the pictures to SkyDrive and browse that from your computer as well.
|
|
|
|
|
I use an assemble to get a code for WP7 app use RDP protocol to connect to the PC and control it
It debug right but the problem it can't connect to any PC.
I know the code it right but I don't find any problem in the code
video Show the connection
I upload some videos using monitor traffic :
the original RDP
Showing my error
error
You see the difference between he 2 apps, it's the send the RDP started from the 4th line
|
|
|
|
|
Hi All,
I have done a google search and asked some colleagues but i am stumped. I need to set/change APN settings by running code and the only examples i have found on the internet are for Android or Apple products, the platform i need it for is Windows 3G laptop rather than a phone. Is there anyone with ideas just to get me strated?
Thank you in advance!!
|
|
|
|
|
I have a project at work. I open it in Visual Studio 2008 and I get this error message:
The project consists entirely of configurations that require support for platforms which are not installed on this machine. The project cannot be loaded.
I open the SLN file (Microsoft Visual Studio Solution) in notepad. I find out the platform is Windows CE 5.0 (ARMV4I).
I search the web and find out there is Windows CE 5.0 SDK that can be downloaded from Microsoft. I download it and install. I notice it says Standard SDK for Windows CE 5.0.
After installing, I double click on the SLN file again. I still see the same error message. Any idea? Please help out.
|
|
|
|
|
I have a second hand Onmnia i900 running Windows Mobile 6.1. Battery life seems OK but when I use the phone as a tethered modem, e.g. share its net connection over BlueTooth, it inevitably at some point stops charging and rapidly discharges the battery. I then need to stop using it as a modem, and disconnect the power cable, until something, somewhere cools down, before it will charge/operate off external power again.
Any suggestions on whether I should be looking at a new power adapter, battery, or phone, or doing something else?
|
|
|
|
|
This is a programming forum, not a hardware forum. Your question has fallen on deaf ears.
"You get that on the big jobs."
|
|
|
|
|
No harm in trying. It's also fallen on deaf ears on all the hardware only mobile forums I've asked on.
|
|
|
|
|
The forum should have been named "Mobile Development" than "Mobile"
Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.
|
|
|
|
|
Hi All,
I have created web application for video gallery in asp.net.This gallery is playing in all browser fine through Jw Player But now i want to play video in any Mobile then not work properly in mobile. when i play in flv file then display file format not supported and when play mp4 then whenever click on play button then downloading start after downloaded doesn't play only downloading it. So please help me, what i can do for this issue?
Thanks in advance..
|
|
|
|
|
Try to download real player apps on your mobile or just update your mp4 apps.
|
|
|
|
|
I an working on a POS based project,in android,there a need to connect with a commercial printer and print some coupon data.I have already shared some images via bluetooth in a bluetooth printer.Please provide me some idea of how can I do that.
-- modified 7-Apr-12 3:05am.
|
|
|
|
|
You can save your images coupon via SD card and print it to any commercial printer SD capable. I believe now adays majority of the printer are SD capable.
|
|
|
|
|
I need a mobile phone platform to communicate with a SIM card by exchanging APDU commands and responses with it (ISO 7816-4)
I know how to do it on Windows desktop platforms, but I could not locate any documentation on the subject from the Windows Phone Development website.
http://msdn.microsoft.com/en-us/library/ff402535(v=vs.92).aspx[^]
Is this possible on Windows Mobile Phone, and can someone point me to some documentation on the subject?
|
|
|
|