mobile

How can I bring up the keyboard on mobile devices to catch the input for drawing on an HTML5 canvas?

China☆狼群 提交于 2021-02-07 07:27:22
问题 I'm trying to make a crossword puzzle in javascript / html5 canvas which works on a mobile website. I found this library (modit): https://mod.it/8UmnmJ11 which seems to work well and look good on the desktop, but the mobile version doesn't bring up the keyboard. How can I bring up the keyboard on mobile devices to catch the input for drawing on an HTML5 canvas? The library makes use of HTML5 canvas, which gives the puzzle a nice look and feel. I know I can make such a crossword puzzle with

Mobile app - Authentication and authorization with ASP.NET

戏子无情 提交于 2021-02-06 14:21:43
问题 I was thinking in develop a mobile app, integrated with and old Web App. My first idea is use PhoneGap (with the new support on VS 2013) and REST WebApi Service. The idea is to have my web app with registration, login, etc (using ASP.NET Identity). And the Mobile app with registration, login, etc (using a wrapper or something like ASP.NET Identity with token authentication) Basically mirror the functionality of the web app on my mobile app (only with the authentication and authorization

JavaCard 3 in real world?

你。 提交于 2021-02-06 10:19:28
问题 I'm currently working on my diploma work. Part of the work includes development of JavaCard applet for regular SIM cards. First option is to use JavaCard2.X API and use APDU commands to communicate with the applet. This might be very tricky as I need to develop client-app for android (which will be communicate with this applet) and that is so far possible only trough special - not so user friendly - API called Seek-for-android . (if I'm wrong, please correct me) However, I also came across

Media query about screen size instead of resolution

允我心安 提交于 2021-02-06 10:14:24
问题 Is there a workaround to use physical screen width in CSS media queries? Today, there are phones which exceed the resolution of desktop monitors. However, phones should still display the mobile layout and desktops the standard layout. So I can't rely on pixel based queries like the example below. Instead, I need either a physical measurement, or one about the pixel density. @media screen and (min-width: 700px) { } Since I haven't found such measurements through my research, they might not

Media query about screen size instead of resolution

那年仲夏 提交于 2021-02-06 10:14:21
问题 Is there a workaround to use physical screen width in CSS media queries? Today, there are phones which exceed the resolution of desktop monitors. However, phones should still display the mobile layout and desktops the standard layout. So I can't rely on pixel based queries like the example below. Instead, I need either a physical measurement, or one about the pixel density. @media screen and (min-width: 700px) { } Since I haven't found such measurements through my research, they might not

App install via Android Studio starts at boot but not if installed as an .apk

余生颓废 提交于 2021-02-05 11:43:52
问题 I've got an app with the following in the manifest <receiver android:name="com.redacted.BroadcastReceiver"> <intent-filter> <action android:name="android.intent.action.PHONE_STATE"></action> <action android:name="android.net.conn.CONNECTIVITY_CHANGE" /> </intent-filter> </receiver> <activity android:name="com.redacted.activity.UserLaunch" android:label="@string/app_name" android:launchMode="standard" android:clearTaskOnLaunch="true" android:enabled="true"> <intent-filter> <action android:name

Android Repeated Notifications not working When App is Closed

和自甴很熟 提交于 2021-02-05 09:14:25
问题 I want to send notification everyday on a particular time. The code is working when the app is opened. But when it closed and remove, the notifications are not showing. I have used broadcast receiver and service to this. The code is given below. Can anyone help to clear this issue. Manifest File <receiver android:name=".MyReceiver" android:enabled="true" android:exported="true" /> <service android:name=".MyService" android:enabled="true" android:exported="true" /> MyReceiver.java public class

Whats the difference between OnApplicationFocus() and OnApplicationPause()?

徘徊边缘 提交于 2021-02-05 05:47:22
问题 Speaking of mobile devices, whats the difference between those two methods? If I press the home key both are called. Is there any situation when one is called and not the other? 回答1: Since this UnityAnswer is one of the first (if not the first) to be returned on a search for OnApplicationFocus/Pause & iOS, an important update in Unity 4.6.1 has changed the behavior for iOS. As of 4.6.1, both OnApplicationFocus and OnApplicationPause will be called in iOS. The order is : App initially starts:

Whats the difference between OnApplicationFocus() and OnApplicationPause()?

一曲冷凌霜 提交于 2021-02-05 05:46:11
问题 Speaking of mobile devices, whats the difference between those two methods? If I press the home key both are called. Is there any situation when one is called and not the other? 回答1: Since this UnityAnswer is one of the first (if not the first) to be returned on a search for OnApplicationFocus/Pause & iOS, an important update in Unity 4.6.1 has changed the behavior for iOS. As of 4.6.1, both OnApplicationFocus and OnApplicationPause will be called in iOS. The order is : App initially starts:

android beacon library not start detecting beacons

≡放荡痞女 提交于 2021-01-29 18:52:57
问题 I don't know where is the problem with my code, I'm trying to detect beacon using https://altbeacon.github.io/android-beacon-library sorry for bad English and I'm new in mobile application development. AndroidManifiets.xml <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.isleem.hospital"> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.BLUETOOTH"/> <uses