|
|
pongky zone wrote: ...new phone with good machine?
Do you have a question regarding mobile development?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
|
|
|
|
|
No, it's site driving spam.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
When I want to select from a dropdown box on a desktop browser I can use the keyboard to type a letter to cut the searching short, e.g. press K and the list will jump to entries starting with K. Unfortunately this does not work on my BB (not sure about Android or iPhone) and I don't know if it is even possible on mobile to achieve a similar result.
BB just shows the dropdown box and forces me to scroll the entire list. I have already shortened the list but the number of entries can still be substantial (50 - 100 entries).
I have searched high and low to see if I can force a keyboard to pop up or jump to specific entries but came up empty.
Any help would be appreciated.
|
|
|
|
|
Does this have anything to do with programming?
|
|
|
|
|
Does your reply help in any way?
|
|
|
|
|
Help with what? Your question does not contain anything that implies a programming problem, so I was trying to get you to clarify it.
|
|
|
|
|
The question is, is there a way to force a keyboard to pop up, through js or otherwise to achieve the same results I get on my desktop. Hope that clarifies.
|
|
|
|
|
None that I am aware of. Most devices automatically show the keyboard when an input field gets the focus.
|
|
|
|
|
That's what I was afraid of but I thought I'd give it a shot. Don't know why that is not incorporated natively but still hoping someone will come up with a viable solution. Thanks
|
|
|
|
|
Provide a "filter" above the list that allows you to type a letter (e.g., K). As each letter is typed, the list will be refreshed with only those items that start with (or contain) the typed letter(s).
I did this very thing in an Android app that had a semi-large list of bullet calibers. As I typed a character, the list would only show those calibers starting with what I had typed (e.g., .30 would show calibers .30, .30-30, .300, .307, .308, .30-06, .30-378, .303).
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
|
|
|
|
|
Thanks David. Not sure if that's what you're saying but I am not developing a mobile app but want to do it for a mobile website.
However, I will start looking for anything that will allow me to filter on a website. If you can suggest any places I should look I'd appreciate it.
Btw I do not use ASP or .net
|
|
|
|
|
David, great suggestion.
Found just what I was looking for here http://jsfiddle.net/x6cfF/4/
For those who want to filter long dropdown boxes with many entries, you may want to look into that. I now use it whenever I can.
Short and sweet and works like a charm. By default it only finds entries starting with what you type but it can be tweaked to find entries where the text appears anywhere in the entries.
Cheers
|
|
|
|
|
Maybe I have some CE gurus lurking here - the post is free.... I've got a CE 5.0 application that has started reporting Fatal Application Errors under the "right" circumstances:
Fatal Application Error
Applicaton block block has performed an illegal....
Program: block block
Exception:
Address:
When I say block block clearly the final exception handler has garbage data there (think a hollow graphical block). Considering my application has a dozen threads, 6 processes, etc. it would be nice to populate these fields.
I don't see anything in CreateProcess, CreateThread, etc. Anyone know if this can be done?
Thanks
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
moved to Android
modified 19-Jan-21 21:04pm.
|
|
|
|
|
Hello those who are reading, I am a beginner in programmer and currently frequent in C#. I am working on building a cross-platform mobile application and I am confused on what to do. I know what I want my application to do and I am done with making the sketches and connecting them. Now I do not know how to proceed. ANY HELP/ADVICE WILL BE VERY APPRECIATED. THANK YOU.
|
|
|
|
|
|
You already posted this in the C# forum, please do not cross-post.
|
|
|
|
|
<pre>There are two kinds of platforms that can be used to build an app, Hybrid or Cross platforms and Native platforms. Hybrid and Native technologies have their own pros and cons although it is still debatable which framework is better. Businesses fail to take an apt decision when it comes to Mobile App Development as it is difficult to determine which technology is better or suits their needs.
If the budget and time are constraints for you Hybrid Apps may be a better choice. Hybrid Apps are multi-platform apps developed using Cross Compatible technology. Developing an app using Hybrid technology requires lesser time as there is no need to develop separate codes for different Operating Systems. This also helps in reducing the overall development cost as the same HTML code components can be reused on different operating systems. These apps are easy to integrate with devices or web view.
However, they fail to provide a functioning as smooth as the apps built using Native technology. It is hard cater a rich user experience with a single code base for various platforms. They lack some of the features available exclusively to Native Apps and have a higher chance of rejection at app stores. On the other hand, if you are looking for an app that provides a smooth functioning and great user experience then, it is better to use Native technology to build your app.
Native App is a phone or tablet application developed for a specific Operating System. These apps are encoded in a specific programming language. They perform faster and more efficiently than Hybrid Apps and have access to various mobile features such as GPS and contacts. Native technology is used to build various video game apps since it provides a great User Interface and Design.
These great Native features come with a cost. Native apps are very complex as they have a different codebase for various platforms. A lot of time and efforts are required to maintain these apps. Also, the cost to develop these apps is higher since the developer has to write separate codes for different OS. More developers who specialize in different platforms are required to build the app. Which technology to use for mobile app development depends on various factors such as viability, financial feasibility, time required to build the app and the features that users expect to be in the app. The below points will help you understand the same.
Advantages of Hybrid Apps:
It is Cost and Time Effective:
As you do not have to create separate code bases for Android and iOS you save on a lot of time and money. Also, with the help and proficiency of JavaScript and HTML it becomes easier for the developers to build great mobile apps at a lesser cost.
Best solution for BYOD Programs:
If you are planning to implement a BYOD policy in your company then, Hybrid App is the ideal solution for you. As it works across various platforms and devices your employees will be able to access it from different devices and Operating Systems.
Lower Requirements:
The developers do not need to learn specific languages for the development of Hybrid Apps. A web developer with the skills of HTML 5, JavaScript and CSS can develop a Hybrid App.
Offline Availability:
Hybrid Apps provide offline support with local storage. You can have access to the data in your app even when there is no internet connectivity and this enhances the overall user experience.
Disadvantages of Hybrid Apps:
User Interface (UI) :
The UI of a Hybrid App is not up to the mark. Hybrid apps most of the times do not follow the interface guidelines set by Apple and Google and thus fail to give the users a Native feel.
Performance:
You may encounter lags while using a Hybrid App. It fails to provide a seamless user experience as some parts of the app may function smoothly with iOS but lag on Android.
Animation and graphics:
The Hybrid Apps has poor video and audio processing. The apps that are graphic and animation heavy do not work smoothly.
Debugging:
Debugging can be a major issue in Hybrid apps because of the extra layer present between the source code and the mobile app platform. Since developers do not have a deep knowledge of the targeted platform, figuring out the issue can be difficult.
This was about the Hybrid Apps, now let us try to understand the Native Apps.
Advantages of Native Apps:
Great performance:
Native Apps are perfect for high-performance applications and games. As they are developed for a specific platform, they are faster and offer a better performance than Hybrid Apps.
Better UX:
As the Native Apps follow the platform specific UI standards, they offer a smooth functioning and a better user experience. The users can smoothly navigate through the app thus providing a seamless user experience.
Device Integration:
Native Apps make full use of the device’s functionality and hardware. They can access functions like GPS, push notifications, address book, SMS messaging etc. The users get to enjoy more features as compared to the Hybrid Apps.
Availability in App Store:
Native Apps are easily accessible in the App Store. As they are easily accessible they catch users’ attention and thus monetization goals can be achieved.
Disadvantages of Native Apps:
High Development Cost:
Native Apps are more expensive than their Hybrid counterparts. Native Apps are complicated and multiple code bases are required to build a Native App, this demands for greater number of Android and iOS developers and increases the overall expenditure.
Time Consuming:
An API interface is required to build a Native app and building it is a time consuming process. Also, different codes are required for Android and iOS platforms and it takes a lot of time.
App approval and authorization:
The process of getting a Native app approved and authorized by the App store is long and there is no guarantee that the app will be approved. The App updates also need to be authorized by the App store.
Complex Maintenance:
The Native Apps have a complex framework hence, it is difficult to troubleshoot or update the app. Several Android and iOS developers are required to maintain the native apps across different platforms.
Conclusion:
Hybrid apps are basically a combination of native technology, HTML5, CSS and Java Script. Xamarin and Phone Gap are a part of the cross platform framework.
Native apps are made for a specific Operating System. Android and iOS developers use tools such as Android Studio and X-code to develop Native Apps. Native Apps use Swift or Objective-C to write iOS apps, Java to write Android apps and C# to write Windows Apps.</pre>
|
|
|
|
|
Hi,
1) I want to integrate Apple Pay on my website (so it's a Apple Pay - Web Integration), using the Braintree payment provider, JS as a client side language and Java as a server side language.
I'm having difficulties creating a proper sandbox environment for my Apple Pay implementation Testing.
Followed the steps from the Apple docs but it seems they are not accurate :
-says to create a Merchant Id, one for sandbox and one for production (as far as I can see, at the moment of creating those 2, there's no way of telling that you want to use one for the development environment and the other for the production)
- after that, says to create a Certificate using the Merchant ID created before; if I sign in to my Apple Developer Account, I can see the 'Development' and the 'Production' sections, but when I try to create a sandbox/development certificate, Apple Pay is not available for it, only in the production section (see below images).
Is there a way to create a Sandbox / Development Apple Pay certificate, or are there any other ways to properly test the Apple Pay integration ?
2) I tried creating a sandbox user tester account from iTunes, but when I tried to login on Itunes on my Ipad which I'm using for testing, I get the following error: 'Itunes account creation not allowed. This Apple ID cannot be used with the Itunes Store at this time. Please try again later.' (I already verified my Apple ID and followed all the steps to activate the account, but without any success)
3) As I was trying to create Sandbox Apple Pay certificates I mistakenly created 2 for the production environment. Could I revoke them without any problems and create another ones ?
If you integrated Apple Pay on the WEB, I would highly appreciate any help, since I'm having such difficulty in simply setting up my testing environment.
Images - links:
https://i.stack.imgur.com/7aGer.png
https://i.stack.imgur.com/WEYPR.png
Thanks Smile |
|
|
|
|
|
Please do not post multiple copies of the same question. Especially as it is not a programming issue.
|
|
|
|
|
This is normal with windows10 for a universal application since it is the OS that manages the permission of the user OK fine !!! But my app is automatically compatible windows 8.x at submission store and it fails since with 8.x it is the programmer who manages the authorization with the code:
Var accessStatus = await Geolocator.RequestAccessAsync (); Request access
Switch (accessStatus)
In Visual Studio 2015 no definition in geolocator for requestaccessasync (), (only "equal" and "reference equal") I've been searching for a week.how can i
|
|
|
|
|
That method was added in Windows 10. It's not available in Windows 8.1 - instead, you'll need to request the location, and catch the exception thrown if the location services are turned off.
This StackOverflow answer[^] has the required code.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
I have problem to create running leds with Raspberry PI 3 Windows IOT, but random led blink does work.
The code for both are almost the same, only diffrent runnings leds is controlled by variable count and random led
is generated with random generator.
The running led code is below this text. I will get only the first led to light, and rest of leds stays dark. Can someone see what's wrong with this code?
But the random blink led works, which comes after this running leds code and both codes almost identically, but still the running leds code does not work.
Running leds code
private void Timer_Tick(object sender, object e)
{
int ledCheck = 1, ledCheck2 = 1;
int ledValue = 0, ledValue2 = 0;
int checkValue = 0;
if (ledCheck2 == 1)
{
pinValue1 = GpioPinValue.Low;
pin.Write(pinValue1);
pinValue2 = GpioPinValue.Low;
pin2.Write(pinValue2);
pinValue3 = GpioPinValue.Low;
pin3.Write(pinValue3);
pinValue4 = GpioPinValue.Low;
pin4.Write(pinValue4);
pinValue5 = GpioPinValue.Low;
pin5.Write(pinValue5);
pinValue6 = GpioPinValue.Low;
pin6.Write(pinValue6);
pinValue7 = GpioPinValue.Low;
pin7.Write(pinValue7);
ledCheck2 = 0;
}
ledValue2 = ledValue2 + 1;
TextBlock1.Text = ledValue2.ToString();
if (ledValue2 == 1)
{
pinValue1 = GpioPinValue.High;
}
if (ledValue2 == 2)
{
pinValue2 = GpioPinValue.High;
}
if (ledValue == 3)
{
pinValue3 = GpioPinValue.High;
}
if (ledValue2 == 4)
{
pinValue4 = GpioPinValue.High;
}
if (ledValue2 == 5)
{
pinValue5 = GpioPinValue.High;
}
if (ledValue2 == 6)
{
pinValue6 = GpioPinValue.High;
}
if (ledValue2 == 7)
{
pinValue7 = GpioPinValue.High;
}
if (pinValue1 == GpioPinValue.High)
{
pinValue1 = GpioPinValue.High;
pin.Write(pinValue1);
pinValue2 = GpioPinValue.Low;
pin2.Write(pinValue2);
pinValue3 = GpioPinValue.Low;
pin3.Write(pinValue3);
pinValue4 = GpioPinValue.Low;
pin4.Write(pinValue4);
pinValue5 = GpioPinValue.Low;
pin5.Write(pinValue5);
pinValue6 = GpioPinValue.Low;
pin6.Write(pinValue6);
pinValue7 = GpioPinValue.Low;
pin7.Write(pinValue7);
}
if (pinValue2 == GpioPinValue.High)
{
pinValue1 = GpioPinValue.Low;
pin.Write(pinValue1);
pinValue2 = GpioPinValue.High;
pin2.Write(pinValue2);
pinValue3 = GpioPinValue.Low;
pin3.Write(pinValue3);
pinValue4 = GpioPinValue.Low;
pin4.Write(pinValue4);
pinValue5 = GpioPinValue.Low;
pin5.Write(pinValue5);
pinValue6 = GpioPinValue.Low;
pin6.Write(pinValue6);
pinValue7 = GpioPinValue.Low;
pin7.Write(pinValue7);
}
if (pinValue3 == GpioPinValue.High)
{
pinValue1 = GpioPinValue.Low;
pin.Write(pinValue1);
pinValue2 = GpioPinValue.Low;
pin2.Write(pinValue2);
pinValue3 = GpioPinValue.High;
pin3.Write(pinValue3);
pinValue4 = GpioPinValue.Low;
pin4.Write(pinValue4);
pinValue5 = GpioPinValue.Low;
pin5.Write(pinValue5);
pinValue6 = GpioPinValue.Low;
pin6.Write(pinValue6);
pinValue7 = GpioPinValue.Low;
pin7.Write(pinValue7);
}
if (pinValue4 == GpioPinValue.High)
{
pinValue1 = GpioPinValue.Low;
pin.Write(pinValue1);
pinValue2 = GpioPinValue.Low;
pin2.Write(pinValue2);
pinValue3 = GpioPinValue.Low;
pin3.Write(pinValue3);
pinValue4 = GpioPinValue.High;
pin4.Write(pinValue4);
pinValue5 = GpioPinValue.Low;
pin5.Write(pinValue5);
pinValue6 = GpioPinValue.Low;
pin6.Write(pinValue6);
pinValue7 = GpioPinValue.Low;
pin7.Write(pinValue7);
}
if (pinValue5 == GpioPinValue.High)
{
pinValue1 = GpioPinValue.Low;
pin.Write(pinValue1);
pinValue2 = GpioPinValue.Low;
pin2.Write(pinValue2);
pinValue3 = GpioPinValue.Low;
pin3.Write(pinValue3);
pinValue4 = GpioPinValue.Low;
pin4.Write(pinValue4);
pinValue5 = GpioPinValue.High;
pin5.Write(pinValue5);
pinValue6 = GpioPinValue.Low;
pin6.Write(pinValue6);
pinValue7 = GpioPinValue.Low;
pin7.Write(pinValue7);
}
if (pinValue6 == GpioPinValue.High)
{
pinValue1 = GpioPinValue.Low;
pin.Write(pinValue1);
pinValue2 = GpioPinValue.Low;
pin2.Write(pinValue2);
pinValue3 = GpioPinValue.Low;
pin3.Write(pinValue3);
pinValue4 = GpioPinValue.Low;
pin4.Write(pinValue4);
pinValue5 = GpioPinValue.Low;
pin5.Write(pinValue5);
pinValue6 = GpioPinValue.High;
pin6.Write(pinValue6);
pinValue7 = GpioPinValue.Low;
pin7.Write(pinValue7);
}
if (pinValue7 == GpioPinValue.High)
{
pinValue1 = GpioPinValue.Low;
pin.Write(pinValue1);
pinValue2 = GpioPinValue.Low;
pin2.Write(pinValue2);
pinValue3 = GpioPinValue.Low;
pin3.Write(pinValue3);
pinValue4 = GpioPinValue.Low;
pin4.Write(pinValue4);
pinValue5 = GpioPinValue.Low;
pin5.Write(pinValue5);
pinValue6 = GpioPinValue.Low;
pin6.Write(pinValue6);
pinValue7 = GpioPinValue.High;
pin7.Write(pinValue7);
}
TextBlock1.Text = "TEST " + ledValue2.ToString();
}
Random led blink
private void Timer_Tick(object sender, object e)
{
int ledCheck = 1, ledCheck2 = 1;
int ledValue = 0, ledValue2 = 0;
int checkValue = 0;
if (ledCheck == 1)
{
pinValue1 = GpioPinValue.Low;
pin.Write(pinValue1);
pinValue2 = GpioPinValue.Low;
pin2.Write(pinValue2);
pinValue3 = GpioPinValue.Low;
pin3.Write(pinValue3);
pinValue4 = GpioPinValue.Low;
pin4.Write(pinValue4);
pinValue5 = GpioPinValue.Low;
pin5.Write(pinValue5);
pinValue6 = GpioPinValue.Low;
pin6.Write(pinValue6);
pinValue7 = GpioPinValue.Low;
pin7.Write(pinValue7);
ledCheck = 0;
}
Random rnd = new Random();
ledValue = rnd.Next(1, 8);
if (ledValue != checkValue)
{
checkValue = ledValue;
if (ledValue == 1)
{
pinValue1 = GpioPinValue.High;
}
if (ledValue == 2)
{
pinValue1 = GpioPinValue.High;
}
if (ledValue == 3)
{
pinValue3 = GpioPinValue.High;
}
if (ledValue == 4)
{
pinValue4 = GpioPinValue.High;
}
if (ledValue == 5)
{
pinValue5 = GpioPinValue.High;
}
if (ledValue == 6)
{
pinValue6 = GpioPinValue.High;
}
if (ledValue == 7)
{
pinValue7 = GpioPinValue.High;
}
if (pinValue1 == GpioPinValue.High)
{
pinValue1 = GpioPinValue.High;
pin.Write(pinValue1);
pinValue2 = GpioPinValue.Low;
pin2.Write(pinValue2);
pinValue3 = GpioPinValue.Low;
pin3.Write(pinValue3);
pinValue4 = GpioPinValue.Low;
pin4.Write(pinValue4);
pinValue5 = GpioPinValue.Low;
pin5.Write(pinValue5);
pinValue6 = GpioPinValue.Low;
pin6.Write(pinValue6);
pinValue7 = GpioPinValue.Low;
pin7.Write(pinValue7);
}
if (pinValue2 == GpioPinValue.High)
{
pinValue1 = GpioPinValue.Low;
pin.Write(pinValue1);
pinValue2 = GpioPinValue.High;
pin2.Write(pinValue2);
pinValue3 = GpioPinValue.Low;
pin3.Write(pinValue3);
pinValue4 = GpioPinValue.Low;
pin4.Write(pinValue4);
pinValue5 = GpioPinValue.Low;
pin5.Write(pinValue5);
pinValue6 = GpioPinValue.Low;
pin6.Write(pinValue6);
pinValue7 = GpioPinValue.Low;
pin7.Write(pinValue7);
}
if (pinValue3 == GpioPinValue.High)
{
pinValue1 = GpioPinValue.Low;
pin.Write(pinValue1);
pinValue2 = GpioPinValue.Low;
pin2.Write(pinValue2);
pinValue3 = GpioPinValue.High;
pin3.Write(pinValue3);
pinValue4 = GpioPinValue.Low;
pin4.Write(pinValue4);
pinValue5 = GpioPinValue.Low;
pin5.Write(pinValue5);
pinValue6 = GpioPinValue.Low;
pin6.Write(pinValue6);
pinValue7 = GpioPinValue.Low;
pin7.Write(pinValue7);
}
if (pinValue4 == GpioPinValue.High)
{
pinValue1 = GpioPinValue.Low;
pin.Write(pinValue1);
pinValue2 = GpioPinValue.Low;
pin2.Write(pinValue2);
pinValue3 = GpioPinValue.Low;
pin3.Write(pinValue3);
pinValue4 = GpioPinValue.High;
pin4.Write(pinValue4);
pinValue5 = GpioPinValue.Low;
pin5.Write(pinValue5);
pinValue6 = GpioPinValue.Low;
pin6.Write(pinValue6);
pinValue7 = GpioPinValue.Low;
pin7.Write(pinValue7);
}
if (pinValue5 == GpioPinValue.High)
{
pinValue1 = GpioPinValue.Low;
pin.Write(pinValue1);
pinValue2 = GpioPinValue.Low;
pin2.Write(pinValue2);
pinValue3 = GpioPinValue.Low;
pin3.Write(pinValue3);
pinValue4 = GpioPinValue.Low;
pin4.Write(pinValue4);
pinValue5 = GpioPinValue.High;
pin5.Write(pinValue5);
pinValue6 = GpioPinValue.Low;
pin6.Write(pinValue6);
pinValue7 = GpioPinValue.Low;
pin7.Write(pinValue7);
}
if (pinValue6 == GpioPinValue.High)
{
pinValue1 = GpioPinValue.Low;
pin.Write(pinValue1);
pinValue2 = GpioPinValue.Low;
pin2.Write(pinValue2);
pinValue3 = GpioPinValue.Low;
pin3.Write(pinValue3);
pinValue4 = GpioPinValue.Low;
pin4.Write(pinValue4);
pinValue5 = GpioPinValue.Low;
pin5.Write(pinValue5);
pinValue6 = GpioPinValue.High;
pin6.Write(pinValue6);
pinValue7 = GpioPinValue.Low;
pin7.Write(pinValue7);
}
if (pinValue7 == GpioPinValue.High)
{
pinValue1 = GpioPinValue.Low;
pin.Write(pinValue1);
pinValue2 = GpioPinValue.Low;
pin2.Write(pinValue2);
pinValue3 = GpioPinValue.Low;
pin3.Write(pinValue3);
pinValue4 = GpioPinValue.Low;
pin4.Write(pinValue4);
pinValue5 = GpioPinValue.Low;
pin5.Write(pinValue5);
pinValue6 = GpioPinValue.Low;
pin6.Write(pinValue6);
pinValue7 = GpioPinValue.High;
pin7.Write(pinValue7);
}
TextBlock1.Text = "NOT Same value!";
}
else
{
TextBlock1.Text = "Same value!";
}
}
|
|
|
|
|
I am trying to create a cross platform app which live stream's radio from different radio stations and people can choose which radio to listen to.
How should i get started?
|
|
|
|